Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761073AbXK2KxH (ORCPT ); Thu, 29 Nov 2007 05:53:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751662AbXK2Kwx (ORCPT ); Thu, 29 Nov 2007 05:52:53 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:53667 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750850AbXK2Kww (ORCPT ); Thu, 29 Nov 2007 05:52:52 -0500 Date: Thu, 29 Nov 2007 02:52:46 -0800 From: Andrew Morton To: Cedric Le Goater Cc: Pavel Emelyanov , Linux Containers , Linux Kernel Mailing List , "Eric W. Biederman" Subject: Re: [patch -mm 2/4] mqueue namespace : add unshare support Message-Id: <20071129025246.a0d03eef.akpm@linux-foundation.org> In-Reply-To: <474E944C.4020809@fr.ibm.com> References: <20071128163728.177495768@fr.ibm.com> <20071128164349.196734045@fr.ibm.com> <474DA61B.5030301@openvz.org> <474E944C.4020809@fr.ibm.com> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1262 Lines: 32 On Thu, 29 Nov 2007 11:28:28 +0100 Cedric Le Goater wrote: > >> Index: 2.6.24-rc3-mm2/include/linux/sched.h > >> =================================================================== > >> --- 2.6.24-rc3-mm2.orig/include/linux/sched.h > >> +++ 2.6.24-rc3-mm2/include/linux/sched.h > >> @@ -27,6 +27,7 @@ > >> #define CLONE_NEWUSER 0x10000000 /* New user namespace */ > >> #define CLONE_NEWPID 0x20000000 /* New pid namespace */ > >> #define CLONE_NEWNET 0x40000000 /* New network namespace */ > >> +#define CLONE_NEWMQ 0x80000000 /* New posix mqueue namespace */ > > > > That's it :) We've run out of clone flags on 32-bit platforms :( > > yes. > > I have been giving some thoughts to a clone2() to extend the flags There appears to be little alternative. > but > andrew is preparing to recycle CLONE_DETACHED and CLONE_STOPPED for > 2.6.26. Some we might have some more time in front of us. CLONE_DETACHED proved to be in use. There are no reports of anyone using CLONE_STOPPED though. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/