2 Mar 2008 03:03
Re: [PATCH 0/2] Fix /proc/net in presence of net namespaces
Eric W. Biederman <ebiederm <at> xmission.com>
2008-03-02 02:03:28 GMT
2008-03-02 02:03:28 GMT
- The experience from vserver, planetlab and OpenVZ is that it is good to be able to monitor processes in other namespaces. - The linux experience says filesystems are a good way to do that. - So we really want to filesystem monitoring interfaces to depend on the filesystem mount options instead of current. - Starting with making /proc and sysctls depend on current is a cheap way to get things up and going. - When I consider breaking things up into multiple filesystems I run across the occasional file that depends on multiple namespaces. uids in /proc/sysvipc/* for example. Luckily I have yet to find any directory structures that depend on more then one namespace. Maybe that can be handled properly by capturing multiple namespaces at mount time but I am a bit leery of that. - The visibility of namespaces should be match the visibility of the processes that use them. Access control of course can be more restricted. - We want to see how namespaces connect to tasks. Therefore. /proc/net, /proc/sys, /proc/sysvipc, and probably a few others should migrate under /proc/≤pid>/task/≤tid> (not under /proc/≤pid>(Continue reading)
RSS Feed