Home » Mailing lists » Devel » [patch -mm 00/17] new namespaces and related syscalls
Re: [patch -mm 08/17] nsproxy: add hashtable [message #17026 is a reply to message #16984] |
Wed, 13 December 2006 15:00 |
Cedric Le Goater
Messages: 443 Registered: February 2006
|
Senior Member |
|
|
Serge E. Hallyn wrote:
> Quoting Cedric Le Goater (clg@fr.ibm.com):
>> Dave Hansen wrote:
>>> On Mon, 2006-12-11 at 16:23 +0100, Cedric Le Goater wrote:
>>>>> Even letting the concept of nsproxy escape to user space sounds wrong.
>>>>> nsproxy is an internal space optimization. It's not struct container
>>>>> and I don't think we want it to become that.
>>>> i don't agree here. we need that, so does openvz, vserver, people working
>>>> on resource management.
>>> I think what those projects need is _some_ way to group tasks. I'm not
>>> sure they actually need nsproxies.
>> not only tasks. ipc, fs, etc.
>>
>>> Two tasks in the same container could very well have different
>>> nsproxies. The nsproxy defines how the pid namespace, and pid<->task
>>> mappings happen for a given task.
>> not only. there are other namespaces in nsproxy.
>
> Right, and as Eric has pointed out, you may well want to use one id to
> refer to several nsproxies - for instance if you are using unshare
> to provide per-user private mount namespaces using pam_namespace.so
> (that's mostly for LSPP systems right now, but I do this on my laptop
> too). All my accounts are in the same 'container', but have different
> mount namespaces, hence different nsproxies.
I think we have definition issue here : what is a 'container' ?
I don't see any issue with the above scenario. unsharing mount namespace
results in the creation of a new nsproxy which will require a new identifier
in order to find this new mount namespace.
so yes, different mount namespaces, hence different nsproxies, hence
different ids if you want to find that new mount namespace.
>>> The init process for a container is
>>> special and might actually appear in more than one pid namespace, while
>>> its children might only appear in one. That means that this init
>>> process's nsproxy can and should actually be different from its
>>> children's. This is despite the fact that they are in the same
>>> container.
>>>
>>> If we really need this 'container' grouping, it can easily be something
>>> pointed to _by_ the nsproxy, but it shouldn't _be_ the nsproxy.
>> ok so let's add a container object, containing a nsproxy and add
>> another indirection ...
>
> No thanks.
exactly.
C.
_______________________________________________
Containers mailing list
Containers@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers
|
|
|
|
|
[patch -mm 00/17] new namespaces and related syscalls
|
|
|
[patch -mm 01/17] net namespace: empty framework
|
|
|
[patch -mm 02/17] user namespace: add the framework
|
|
|
[patch -mm 03/17] namespace : export unshare of namespace and fs_struct
|
|
|
[patch -mm 04/17] nsproxy: externalizes exit_task_namespaces
|
|
|
Re: [patch -mm 04/17] nsproxy: externalizes exit_task_namespaces
By: ebiederm on Fri, 08 December 2006 20:16
|
|
|
Re: [patch -mm 04/17] nsproxy: externalizes exit_task_namespaces
|
|
|
[patch -mm 05/17] ipc namespace : externalizes unshare_ipcs
|
|
|
Re: [patch -mm 05/17] ipc namespace : externalizes unshare_ipcs
|
|
|
Re: [patch -mm 05/17] ipc namespace : externalizes unshare_ipcs
|
|
|
[patch -mm 06/17] nsproxy: add extern to nsproxy functions
|
|
|
[patch -mm 07/17] nsproxy: make put_nsproxy an extern
|
|
|
[patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: ebiederm on Fri, 08 December 2006 19:30
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: serue on Fri, 08 December 2006 19:53
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: ebiederm on Fri, 08 December 2006 20:57
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: ebiederm on Sat, 09 December 2006 07:54
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: serue on Mon, 11 December 2006 15:29
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: serue on Mon, 11 December 2006 15:56
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: ebiederm on Mon, 11 December 2006 19:35
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: serue on Mon, 11 December 2006 20:03
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: ebiederm on Mon, 11 December 2006 20:34
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: serue on Mon, 11 December 2006 22:01
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: serue on Wed, 20 December 2006 06:12
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: serue on Mon, 11 December 2006 22:18
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: ebiederm on Tue, 12 December 2006 03:28
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: serue on Tue, 12 December 2006 15:29
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: serue on Tue, 12 December 2006 15:45
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: dev on Tue, 12 December 2006 08:43
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: ebiederm on Tue, 12 December 2006 07:52
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: ebiederm on Tue, 12 December 2006 08:37
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: ebiederm on Tue, 12 December 2006 08:57
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: ebiederm on Wed, 13 December 2006 18:53
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
|
|
|
Re: [patch -mm 08/17] nsproxy: add hashtable
By: ebiederm on Thu, 14 December 2006 21:08
|
|
|
[patch -mm 09/17] nsproxy: add namespace flags
|
|
|
Re: [patch -mm 09/17] nsproxy: add namespace flags
|
|
|
Re: [patch -mm 09/17] nsproxy: add namespace flags
|
|
|
Re: [patch -mm 09/17] nsproxy: add namespace flags
By: ebiederm on Fri, 08 December 2006 19:40
|
|
|
Re: [patch -mm 09/17] nsproxy: add namespace flags
|
|
|
Re: [patch -mm 09/17] nsproxy: add namespace flags
By: ebiederm on Mon, 11 December 2006 20:02
|
|
|
[patch -mm 10/17] nsproxy: add unshare_ns and bind_ns syscalls
|
|
|
Re: [patch -mm 10/17] nsproxy: add unshare_ns and bind_ns syscalls
By: ebiederm on Fri, 08 December 2006 19:26
|
|
|
Re: [patch -mm 10/17] nsproxy: add unshare_ns and bind_ns syscalls
|
|
|
Re: [patch -mm 10/17] nsproxy: add unshare_ns and bind_ns syscalls
|
|
|
Re: [patch -mm 10/17] nsproxy: add unshare_ns and bind_ns syscalls
|
|
|
Re: [patch -mm 10/17] nsproxy: add unshare_ns and bind_ns syscalls
By: ebiederm on Sat, 09 December 2006 07:40
|
|
|
Re: [patch -mm 10/17] nsproxy: add unshare_ns and bind_ns syscalls
|
|
|
[patch -mm 11/17] user namespace: add user_namespace ptr to vfsmount
|
|
|
Re: [patch -mm 11/17] user namespace: add user_namespace ptr to vfsmount
By: serue on Tue, 05 December 2006 18:27
|
|
|
[patch -mm 12/17] user namespace: hook permission
|
|
|
[patch -mm 13/17] user namespace: implement shared mounts
|
|
|
[patch -mm 14/17] user namespace: maintain user ns for priv_userns mounts to vfsmount
|
|
|
[patch -mm 15/17] pid namespace: add unshare
|
|
|
[patch -mm 16/17] net namespace: add unshare
|
|
|
[patch -mm 17/17] user namespace: add unshare
|
Goto Forum:
Current Time: Sat Nov 09 06:57:03 GMT 2024
Total time taken to generate the page: 0.03235 seconds
|