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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux