mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
namespaces: mqueue ns: move mqueue_mnt into struct ipc_namespace
Move mqueue vfsmount plus a few tunables into the ipc_namespace struct. The CONFIG_IPC_NS boolean and the ipc_namespace struct will serve both the posix message queue namespaces and the SYSV ipc namespaces. The sysctl code will be fixed separately in patch 3. After just this patch, making a change to posix mqueue tunables always changes the values in the initial ipc namespace. Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
909e6d9479
commit
614b84cf4e
7 changed files with 145 additions and 71 deletions
|
@ -670,10 +670,10 @@ config UTS_NS
|
|||
|
||||
config IPC_NS
|
||||
bool "IPC namespace"
|
||||
depends on NAMESPACES && SYSVIPC
|
||||
depends on NAMESPACES && (SYSVIPC || POSIX_MQUEUE)
|
||||
help
|
||||
In this namespace tasks work with IPC ids which correspond to
|
||||
different IPC objects in different namespaces
|
||||
different IPC objects in different namespaces.
|
||||
|
||||
config USER_NS
|
||||
bool "User namespace (EXPERIMENTAL)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue