diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-09-27 01:04:26 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:52:46 -0400 |
commit | 9dd776b6d7b0b85966b6ddd03e2b2aae59012ab1 (patch) | |
tree | ed92aee1f242bb31a0965a4156063eac916ae15e /net/Kconfig | |
parent | 8b41d1887db718be9a2cd9e18c58ce25a4c7fd93 (diff) |
[NET]: Add network namespace clone & unshare support.
This patch allows you to create a new network namespace
using sys_clone, or sys_unshare.
As the network namespace is still experimental and under development
clone and unshare support is only made available when CONFIG_NET_NS is
selected at compile time.
As this patch introduces network namespace support into code paths
that exist when the CONFIG_NET is not selected there are a few
additions made to net_namespace.h to allow a few more functions
to be used when the networking stack is not compiled in.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
-rw-r--r-- | net/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index cdba08ca2ef..ab4e6da5012 100644 --- a/net/Kconfig +++ b/net/Kconfig | |||
@@ -27,6 +27,14 @@ if NET | |||
27 | 27 | ||
28 | menu "Networking options" | 28 | menu "Networking options" |
29 | 29 | ||
30 | config NET_NS | ||
31 | bool "Network namespace support" | ||
32 | default n | ||
33 | depends on EXPERIMENTAL && !SYSFS | ||
34 | help | ||
35 | Allow user space to create what appear to be multiple instances | ||
36 | of the network stack. | ||
37 | |||
30 | source "net/packet/Kconfig" | 38 | source "net/packet/Kconfig" |
31 | source "net/unix/Kconfig" | 39 | source "net/unix/Kconfig" |
32 | source "net/xfrm/Kconfig" | 40 | source "net/xfrm/Kconfig" |