summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>2008-10-29 14:01:11 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-24 16:36:23 -0800
commit0cbb746bbeca35376d6ab56196271a827fadf55e (patch)
treeda92e77f5ec7888b02e728bf7da04b727c836ca3 /lib
parente377565b19b465b307c7924438b768517dab8a6a (diff)
downloadlwn-0cbb746bbeca35376d6ab56196271a827fadf55e.tar.gz
lwn-0cbb746bbeca35376d6ab56196271a827fadf55e.zip
'kill sig -1' must only apply to caller's namespace
commit d25141a818383b3c3b09f065698c544a7a0ec6e7 upstream. Currently "kill <sig> -1" kills processes in all namespaces and breaks the isolation of namespaces. Earlier attempt to fix this was discussed at: http://lkml.org/lkml/2008/7/23/148 As suggested by Oleg Nesterov in that thread, use "task_pid_vnr() > 1" check since task_pid_vnr() returns 0 if process is outside the caller's namespace. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Acked-by: Eric W. Biederman <ebiederm@xmission.com> Tested-by: Daniel Hokka Zakrisson <daniel@hozac.com> Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions