login
Header Space

 
 

Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eric W. Biederman <ebiederm@...>
Cc: Pavel Emelyanov <xemul@...>, Andrew Morton <akpm@...>, David Miller <davem@...>, Alexey Dobriyan <adobriyan@...>, Linux Netdev List <netdev@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Thursday, February 28, 2008 - 5:17 pm

Quoting Eric W. Biederman (ebiederm@xmission.com):

Sentiment granted, but I'm not sure it can be an issue.  It *could* be
in issue if we moved to a more flexible access control here here any
netns could access the .netns/N directories for all it's child
namespaces.

But it can't, and /proc/net is set by the kernel.  So the <id> can't be
an issue for any checkpoint/restart except htat of the whole system, and
of course on whole-system resume we have no <id> collision worries.

So userspace can't do anything with <id>, so there is no reason to worry
about it becoming another namespace?

Right?

thanks,
-serge

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] Fix /proc/net in presence of net namespaces, Pavel Emelyanov, (Thu Feb 28, 11:46 am)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, Eric W. Biederman, (Thu Feb 28, 3:31 pm)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, Pavel Emelyanov, (Fri Feb 29, 3:42 am)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, Eric W. Biederman, (Sat Mar 1, 10:29 pm)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, Eric W. Biederman, (Tue Mar 4, 6:23 pm)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, , (Thu Feb 28, 5:17 pm)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, Pavel Emelyanov, (Fri Feb 29, 3:44 am)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, Eric W. Biederman, (Thu Feb 28, 6:39 pm)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, Pavel Emelyanov, (Fri Feb 29, 3:58 am)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, Eric W. Biederman, (Sat Mar 1, 10:17 pm)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, Eric W. Biederman, (Tue Mar 4, 6:49 pm)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, Eric W. Biederman, (Sat Mar 1, 10:03 pm)
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces, Pavel Emelyanov, (Fri Feb 29, 4:16 am)
[PATCH 2/2] Make /proc/net a symlink and drop proc shadows, Pavel Emelyanov, (Thu Feb 28, 11:51 am)
[PATCH 1/2] Add an id to struct net, Pavel Emelyanov, (Thu Feb 28, 11:49 am)
speck-geostationary