]> Pileus Git - ~andy/linux/commit
pidns: Wait in zap_pid_ns_processes until pid_ns->nr_hashed == 1
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 1 Aug 2012 22:03:42 +0000 (15:03 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Mon, 19 Nov 2012 13:59:12 +0000 (05:59 -0800)
commitaf4b8a83add95ef40716401395b44a1b579965f4
tree2f3f606b7327f74c1c1beb8a75886318c51c838a
parent5e1182deb81ae8c68494017c4a8a71811659c870
pidns: Wait in zap_pid_ns_processes until pid_ns->nr_hashed == 1

Looking at pid_ns->nr_hashed is a bit simpler and it works for
disjoint process trees that an unshare or a join of a pid_namespace
may create.

Acked-by: "Serge E. Hallyn" <serge@hallyn.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/exit.c
kernel/pid.c
kernel/pid_namespace.c