Skip to content

RFC posix mqueue namespace (v12)

Serge E. Hallyn containers lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mqueue ns: move mqueue_mnt into struct ipc_namespaceinclude/linux/ipc_namespace.h init/Kconfig ipc/mqueue.c +4 more+131 -683 replies
2/2ipc namespaces: implement support for posix msqueuesinclude/linux/ipc_namespace.h ipc/mqueue.c ipc/msgutil.c +2 more+144 -514 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC patch 0/2] posix mqueue namespace (v12)

Posix message queue support in ipc namespaces has had several submissions by various people. Hopefully this version, based on code by both Cedric Le Goater and Nadia Derbey has a shot at making it upstream.

To create a new ipc namespace with posix mq support, you would

	unshare(CLONE_NEWIPC|CLONE_NEWNS);
	umount /dev/mqueue
	mount -t mqueue mqueue /dev/mqueue

It's perfectly valid to do vfs operations on files in another ipc_namespace's /dev/mqueue, but any use of mq_open(3) and friends will act in your own ipc_ns.

thanks,
-serge