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>
Showing
- include/linux/ipc_namespace.h 35 additions, 4 deletionsinclude/linux/ipc_namespace.h
- init/Kconfig 2 additions, 2 deletionsinit/Kconfig
- ipc/mqueue.c 68 additions, 56 deletionsipc/mqueue.c
- ipc/msgutil.c 22 additions, 0 deletionsipc/msgutil.c
- ipc/namespace.c 2 additions, 0 deletionsipc/namespace.c
- ipc/util.c 0 additions, 9 deletionsipc/util.c
- ipc/util.h 16 additions, 0 deletionsipc/util.h
Loading
Please register or sign in to comment