mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[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 [[email protected]: small fix for unshare of ipc namespace] [[email protected]: build fix] Signed-off-by: Pavel Emelianov <[email protected]> Signed-off-by: Kirill Korotaev <[email protected]> Signed-off-by: Cedric Le Goater <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c0b2fc3165
commit
25b21cb2f6
7 changed files with 95 additions and 17 deletions
|
|
@ -115,6 +115,15 @@ config SYSVIPC
|
|||
section 6.4 of the Linux Programmer's Guide, available from
|
||||
<http://www.tldp.org/guides.html>.
|
||||
|
||||
config IPC_NS
|
||||
bool "IPC Namespaces"
|
||||
depends on SYSVIPC
|
||||
default n
|
||||
help
|
||||
Support ipc namespaces. This allows containers, i.e. virtual
|
||||
environments, to use ipc namespaces to provide different ipc
|
||||
objects for different servers. If unsure, say N.
|
||||
|
||||
config POSIX_MQUEUE
|
||||
bool "POSIX Message Queues"
|
||||
depends on NET && EXPERIMENTAL
|
||||
|
|
|
|||
Loading…
Reference in a new issue