mqueue namespace: add unshare support
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
(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 supportQuoted 2 lines · Dave Hansen
* dropped new clone flag
CLONE_NEWMQand usedCLONE_NEWIPCinsteadHmm, 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