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

Eric W. Biederman ebiederm at xmission.com
Thu Sep 7 13:01:00 PDT 2006


Kirill Korotaev <dev at sw.ru> writes:

> 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?
> 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...

Actually there is another unused bit in the middle :)
Plus there are a bunch of bits that unshare can use but clone can't.
Plus what other namespaces are on the todo list?
We have network, and pid, and time.
What else?

Eric




More information about the Devel mailing list