public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC patch 0/2] posix mqueue namespace (v12)
@ 2008-12-17 17:55 Serge E. Hallyn
  2008-12-17 17:55 ` [PATCH 1/2] mqueue ns: move mqueue_mnt into struct ipc_namespace Serge E. Hallyn
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Serge E. Hallyn @ 2008-12-17 17:55 UTC (permalink / raw)
  To: lkml; +Cc: Linux Containers

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

^ permalink raw reply	[flat|nested] 15+ messages in thread
[parent not found: <OF26B639F1.391568B6-ON65257523.00197359-65257523.00197F23@LocalDomain>]

end of thread, other threads:[~2008-12-18 21:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-17 17:55 [RFC patch 0/2] posix mqueue namespace (v12) Serge E. Hallyn
2008-12-17 17:55 ` [PATCH 1/2] mqueue ns: move mqueue_mnt into struct ipc_namespace Serge E. Hallyn
2008-12-17 18:36   ` Dave Hansen
2008-12-17 18:52     ` Serge E. Hallyn
2008-12-17 18:55       ` Dave Hansen
2008-12-17 17:55 ` [PATCH 2/2] ipc namespaces: implement support for posix msqueues Serge E. Hallyn
2008-12-17 18:54   ` Dave Hansen
2008-12-17 19:08     ` Serge E. Hallyn
2008-12-17 21:25   ` Sukadev Bhattiprolu
2008-12-18 21:36     ` Serge E. Hallyn
2008-12-17 17:57 ` [LTP PATCH 1/4] posix message queue namespaces: first test Serge E. Hallyn
2008-12-17 17:57 ` [LTP PATCH 2/4] posix mqns: test parent to child mq access Serge E. Hallyn
2008-12-17 17:58 ` [LTP PATCH 3/4] posix mqns: test vfs and mq interaction Serge E. Hallyn
2008-12-17 17:58 ` [LTP PATCH 4/4] posix mqns: test that user mount of posixmq survivies the ipcns Serge E. Hallyn
     [not found] <OF26B639F1.391568B6-ON65257523.00197359-65257523.00197F23@LocalDomain>
2008-12-18  4:44 ` [LTP PATCH 1/4] posix message queue namespaces: first test Subrata Modak1

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox