diff options
author | Sukadev Bhattiprolu <sukadev@us.ibm.com> | 2007-10-19 08:40:13 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 20:53:40 +0200 |
commit | 0fbc26a6cfab9f377e82e28225f2c0c6b4661e5c (patch) | |
tree | e91632584a3e10a2a4b0ba34843d9363eca66302 /kernel/sys.c | |
parent | pid namespaces: create a slab-cache for 'struct pid_namespace' (diff) | |
download | linux-0fbc26a6cfab9f377e82e28225f2c0c6b4661e5c.tar.xz linux-0fbc26a6cfab9f377e82e28225f2c0c6b4661e5c.zip |
pid namespaces: allow signalling cgroup-init
Only the global-init process must be special - any other cgroup-init
process must be killable to prevent run-away processes in the system.
TODO: Ideally we should allow killing the cgroup-init only from parent
cgroup and prevent it being killed from within the cgroup.
But that is a more complex change and will be addressed by a follow-on
patch. For now allow the cgroup-init to be terminated by any process
with sufficient privileges.
Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Acked-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Paul Menage <menage@google.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions