OpenVZ Forum


Home » Mailing lists » Devel » Re: [RFC][PATCH 1/2] add user namespace [try #2]
Re: [RFC][PATCH 1/2] add user namespace [try #2] [message #6077 is a reply to message #6071] Thu, 07 September 2006 17:15 Go to previous messageGo to previous message
Herbert Poetzl is currently offline  Herbert Poetzl
Messages: 239
Registered: February 2006
Senior Member
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@lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: [RFC][PATCH] Add child reaper to struct pspace
Next Topic: [patch 0/5]-Containers: Introduction
Goto Forum:
  


Current Time: Sun Aug 24 02:57:00 GMT 2025

Total time taken to generate the page: 0.05246 seconds