|author||Eric W. Biederman||2013-03-26 04:27:11 -0500|
|committer||Greg Kroah-Hartman||2013-04-05 11:26:01 -0500|
pid: Handle the exit of a multi-threaded init.
commit 751c644b95bb48aaa8825f0c66abbcc184d92051 upstream. When a multi-threaded init exits and the initial thread is not the last thread to exit the initial thread hangs around as a zombie until the last thread exits. In that case zap_pid_ns_processes needs to wait until there are only 2 hashed pids in the pid namespace not one. v2. Replace thread_pid_vnr(me) == 1 with the test thread_group_leader(me) as suggested by Oleg. Reported-by: Caj Larsson <email@example.com> Cc: Oleg Nesterov <firstname.lastname@example.org> Signed-off-by: "Eric W. Biederman" <email@example.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions