Skip to contentSkip to conversation

namespace filedescriptors

GIT PULL Eric W. Biederman 1 participant 1 message May 25, 2011

lore
Share & tools
lore
#0 lore raw

I have ripped out all of my work to wire up the syscalls and make that work properly.

Please think about pulling:
git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/linux-2.6-nsfd.git

The code really cleans up working with namespaces.

The killer feature is probably going to be that it becomes trivial to isolate a vpn connection into it's own network namespace, allowing all of the weirdness that comes with vpn connections to be isolated.

If nothing happens with this until the next merge cycle I will understand.

Eric W. Biederman (8):
ns: proc files for namespace naming policy.
ns: Introduce the setns syscall
ns proc: Add support for the network namespace.
ns proc: Add support for the uts namespace
ns proc: Add support for the ipc namespace
net: Allow setting the network namespace by fd
ns: Declare sys_setns in syscalls.h
ns proc: Return -ENOENT for a nonexistent /proc/self/ns/ entry.

Stephen Rothwell (1):
net: fix get_net_ns_by_fd for !CONFIG_NET_NS

 fs/proc/Makefile            |    1 +
 fs/proc/base.c              |   20 ++---
 fs/proc/inode.c             |    7 ++
 fs/proc/internal.h          |   18 ++++
 fs/proc/namespaces.c        |  198 +++++++++++++++++++++++++++++++++++++++++++
 include/linux/if_link.h     |    1 +
 include/linux/proc_fs.h     |   21 +++++
 include/linux/syscalls.h    |    1 +
 include/net/net_namespace.h |    1 +
 ipc/namespace.c             |   37 ++++++++
 kernel/nsproxy.c            |   42 +++++++++
 kernel/utsname.c            |   39 +++++++++
 net/core/net_namespace.c    |   65 ++++++++++++++
 net/core/rtnetlink.c        |    5 +-
 14 files changed, 444 insertions(+), 12 deletions(-)