[Devel] [RFC][PATCH 1/2] add user namespace [try #2]

Herbert Poetzl herbert at 13thfloor.at
Thu Sep 7 10:15:08 PDT 2006


On Thu, Sep 07, 2006 at 08:05:30PM +0400, Kirill Korotaev wrote:
> BTW...
> 
> > --- 2.6.18-rc4-mm3.orig/include/linux/sched.h
> > +++ 2.6.18-rc4-mm3/include/linux/sched.h
> > @@ -26,6 +26,7 @@
> >  #define CLONE_STOPPED		0x02000000	/* Start in stopped state */
> >  #define CLONE_NEWUTS		0x04000000	/* New utsname group? */
> >  #define CLONE_NEWIPC		0x08000000	/* New ipcs */
> > +#define CLONE_NEWUSER		0x10000000	/* New user */
> we have place for 3 namespaces more only.
> Does anyone have a plan what to do then?

what about having a new clone syscall with 32 or 
better 64 bits reserved for namespace stuff, and
only put basic/generic namespaces or even aggregate
flags into the existing clone interface?

something like: uts+ipc+user -> CLONE_NEWXYZ
but CLONE2_NEWUTS, CLONE2_NEWIPC, CLONE2_NEWUSER

best,
Herbert

PS: what happened to the idea of forwarding
this whole stuff to _both_ mailing lists?
as far as I can tell we are adding those lists
every now and then to the CC, could that be
addressed soon?

> I warned about this at the beginning when we were discussing the
> interfaces and this flags soon going to be exhausted, so probably it
> is time to do something in advance...
> 
> Thanks,
> Kirill
> _______________________________________________
> Containers mailing list
> Containers at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/containers




More information about the Devel mailing list