From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Serge E. Hallyn" Subject: Re: [RFC][PATCH 2/5] mqueue namespace: add unshare support Date: Fri, 11 Jul 2008 09:41:23 -0500 Message-ID: <20080711144123.GA26032@us.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Bastian Blank Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org, Dave Hansen List-Id: containers.vger.kernel.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 > Date: Fri, 11 Jul 2008 11:39:59 +0200 > From: Bastian Blank > To: Dave Hansen > Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org > Subject: Re: [RFC][PATCH 2/5] mqueue namespace: add unshare support > > On Thu, Jul 10, 2008 at 03:30:48PM -0700, Dave Hansen wrote: > > * 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