aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@free.fr>2010-10-27 15:34:37 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 18:03:16 -0700
commit17a6d4411a4dc7e436e1a71c24e10048452edd98 (patch)
tree3cde8e70677a15ed7b9460d077e74d3c4bcfbb94 /init
parent9bd38c2cdaba1f3ab2e6f90ac1b3d72481477092 (diff)
downloadkernel_samsung_smdk4412-17a6d4411a4dc7e436e1a71c24e10048452edd98.tar.gz
kernel_samsung_smdk4412-17a6d4411a4dc7e436e1a71c24e10048452edd98.tar.bz2
kernel_samsung_smdk4412-17a6d4411a4dc7e436e1a71c24e10048452edd98.zip
namespaces: default all the namespaces to 'yes' when CONFIG_NAMESPACES is selected
As the different namespaces depend on 'CONFIG_NAMESPACES', it is logical to enable all the namespaces when we enable NAMESPACES. Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: David Miller <davem@davemloft.net> Acked-By: Matt Helsley <matthltc@us.ibm.com> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig
index c91ce6bcbe6..239fae49750 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -746,6 +746,7 @@ config NAMESPACES
config UTS_NS
bool "UTS namespace"
depends on NAMESPACES
+ default y
help
In this namespace tasks see different info provided with the
uname() system call
@@ -753,6 +754,7 @@ config UTS_NS
config IPC_NS
bool "IPC namespace"
depends on NAMESPACES && (SYSVIPC || POSIX_MQUEUE)
+ default y
help
In this namespace tasks work with IPC ids which correspond to
different IPC objects in different namespaces.
@@ -760,6 +762,7 @@ config IPC_NS
config USER_NS
bool "User namespace (EXPERIMENTAL)"
depends on NAMESPACES && EXPERIMENTAL
+ default y
help
This allows containers, i.e. vservers, to use user namespaces
to provide different user info for different servers.
@@ -767,8 +770,8 @@ config USER_NS
config PID_NS
bool "PID Namespaces"
- default n
depends on NAMESPACES
+ default y
help
Support process id namespaces. This allows having multiple
processes with the same pid as long as they are in different
@@ -776,8 +779,8 @@ config PID_NS
config NET_NS
bool "Network namespace"
- default n
depends on NAMESPACES && NET
+ default y
help
Allow user space to create what appear to be multiple instances
of the network stack.