diff options
author | Pavel Emelyanov <xemul@parallels.com> | 2012-01-13 02:20:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-13 05:13:11 +0100 |
commit | b8f566b04d3cddd192cfd2418ae6d54ac6353792 (patch) | |
tree | 32a5bf86548cd43feff4822d800b6a99e157b5d7 /kernel/mutex.h | |
parent | kdump: add udev events for memory online/offline (diff) | |
download | linux-b8f566b04d3cddd192cfd2418ae6d54ac6353792.tar.xz linux-b8f566b04d3cddd192cfd2418ae6d54ac6353792.zip |
sysctl: add the kernel.ns_last_pid control
The sysctl works on the current task's pid namespace, getting and setting
its last_pid field.
Writing is allowed for CAP_SYS_ADMIN-capable tasks thus making it possible
to create a task with desired pid value. This ability is required badly
for the checkpoint/restore in userspace.
This approach suits all the parties for now.
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions