[PATCH] IPC namespace core
authorKirill Korotaev <dev@openvz.org>
Mon, 2 Oct 2006 09:18:19 +0000 (02:18 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:22 +0000 (07:57 -0700)
commit25b21cb2f6d69b0475b134e0a3e8e269137270fa
treecd9c3966408c0ca5903249437c35ff35961de544
parentc0b2fc316599d6cd875b6b8cafa67f03b9512b4d
[PATCH] IPC namespace core

This patch set allows to unshare IPCs and have a private set of IPC objects
(sem, shm, msg) inside namespace.  Basically, it is another building block of
containers functionality.

This patch implements core IPC namespace changes:
- ipc_namespace structure
- new config option CONFIG_IPC_NS
- adds CLONE_NEWIPC flag
- unshare support

[clg@fr.ibm.com: small fix for unshare of ipc namespace]
[akpm@osdl.org: build fix]
Signed-off-by: Pavel Emelianov <xemul@openvz.org>
Signed-off-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/init_task.h
include/linux/ipc.h
include/linux/nsproxy.h
include/linux/sched.h
init/Kconfig
kernel/fork.c
kernel/nsproxy.c