]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
namespaces: mqueue ns: move mqueue_mnt into struct ipc_namespace
authorSerge E. Hallyn <serue@us.ibm.com>
Tue, 7 Apr 2009 02:01:08 +0000 (19:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Apr 2009 15:31:09 +0000 (08:31 -0700)
commit614b84cf4e4a920d2af32b8f147ea1e3b8c27ea6
tree52478e38cd400042bd89f123c4101c95943ae492
parent909e6d94795654040ed416ac69858d5d2ce66dd3
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>
include/linux/ipc_namespace.h
init/Kconfig
ipc/mqueue.c
ipc/msgutil.c
ipc/namespace.c
ipc/util.c
ipc/util.h