|
@@ -242,16 +242,16 @@ void zap_pid_ns_processes(struct pid_namespace *pid_ns)
|
|
|
|
|
|
/*
|
|
/*
|
|
* Reap the EXIT_ZOMBIE children we had before we ignored SIGCHLD.
|
|
* Reap the EXIT_ZOMBIE children we had before we ignored SIGCHLD.
|
|
- * sys_wait4() will also block until our children traced from the
|
|
|
|
|
|
+ * kernel_wait4() will also block until our children traced from the
|
|
* parent namespace are detached and become EXIT_DEAD.
|
|
* parent namespace are detached and become EXIT_DEAD.
|
|
*/
|
|
*/
|
|
do {
|
|
do {
|
|
clear_thread_flag(TIF_SIGPENDING);
|
|
clear_thread_flag(TIF_SIGPENDING);
|
|
- rc = sys_wait4(-1, NULL, __WALL, NULL);
|
|
|
|
|
|
+ rc = kernel_wait4(-1, NULL, __WALL, NULL);
|
|
} while (rc != -ECHILD);
|
|
} while (rc != -ECHILD);
|
|
|
|
|
|
/*
|
|
/*
|
|
- * sys_wait4() above can't reap the EXIT_DEAD children but we do not
|
|
|
|
|
|
+ * kernel_wait4() above can't reap the EXIT_DEAD children but we do not
|
|
* really care, we could reparent them to the global init. We could
|
|
* really care, we could reparent them to the global init. We could
|
|
* exit and reap ->child_reaper even if it is not the last thread in
|
|
* exit and reap ->child_reaper even if it is not the last thread in
|
|
* this pid_ns, free_pid(pid_allocated == 0) calls proc_cleanup_work(),
|
|
* this pid_ns, free_pid(pid_allocated == 0) calls proc_cleanup_work(),
|