Skip to contentSkip to conversation

mqueue namespace: add unshare support

RFC PATCH Serge E. Hallyn 1 participant 1 message Jul 11, 2008 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): mailman.34.1215769205.23891.containers@lists.linux-foundation.org

A message that is not in the archive (sent off-list or not yet received): mailman.34.1215769205.23891.containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org

#2 lore raw

(Sorry, Bastian's message seems to have hit a snag in the mailing list, and I see no option to re-post it)

Quoting Bastian Blank <[email protected]>

Quoted 11 lines

Date: Fri, 11 Jul 2008 11:39:59 +0200
From: Bastian Blank <[email protected]>
To: Dave Hansen <[email protected]>
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, ebiederm-aS9lmoZGLiVWk0Htik3J/[email protected]
Subject: Re: [RFC][PATCH 2/5] mqueue namespace: add unshare support

Quoted 2 lines · Dave Hansen

* dropped new clone flag CLONE_NEWMQ and used CLONE_NEWIPC instead

Hmm, can't it be merged into the ipc namespace then?

That could be done, but since CONFIG_SYSVIPC and CONFIG_POSIX_MQUEUE are separate options, in order to keep ifdefs out of .c we'd still have separate handlers for initializing the sysv and posixmqueue portions of the ipcns. So keeping two separate namespace structs seems like a clean separation to me in this case.

-serge