OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 1/1] Revert "[PATCH] identifier to nsproxy"
Re: [PATCH 1/1] Revert "[PATCH] identifier to nsproxy" [message #17035 is a reply to message #16970] Wed, 13 December 2006 17:21 Go to previous messageGo to previous message
Cedric Le Goater is currently offline  Cedric Le Goater
Messages: 443
Registered: February 2006
Senior Member
Eric W. Biederman wrote:
> Daniel Lezcano <daniel.lezcano@free.fr> writes:
> 
>>> I agree with that and that is a worthy discussion.
>>>
>>> One of the reasons I'm not too concerned is that sys_ptrace completely
>>> solves that problem today.  The syscall interface completely sucks for
>>> handling that case but it works.
>>>
>>> The one instance where we clearly need a way to talk about namespaces
>>> besides enter is for moving network interfaces between network
>>> namespaces and I haven't looked close yet but I don't think either
>>> Dmitry or Daniel in their network namespace patches was using this id.
>>>
>> Well, I don't do that for the moment, but I was planning to use the namespace
>> id.
> 
> To be very clear.
> - I completely agree we need an identifier for namespaces.
>   So far my vision is one per namespace not one per nsproxy.
> - I believe the identifier should be in one of the namespaces,
>   so we don't have problems with recursion.

a new nsproxy is created each time any namespace is unshared, so it's 
basically the same to use the nsproxy id. today you can identify 
any namespace by its nsproxy. that's how the bind_ns syscalls works. 

but he, let's see where the discussion brings us.

at least, we *agreed* that we need an id. now, let's find a location
for it and a way to bind to it.

> I want to be able to use things like the pam_namespace module in a
> guest.

It should be possible.

C.
_______________________________________________
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
Previous Topic: [patch -mm] update mq_notify to use a struct pid
Next Topic: L3 network isolation
Goto Forum:
  


Current Time: Wed Sep 10 13:41:54 GMT 2025

Total time taken to generate the page: 0.10796 seconds