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>
This commit is contained in:
Daniel Lezcano 2010-10-27 15:34:37 -07:00 коммит произвёл Linus Torvalds
Родитель 9bd38c2cda
Коммит 17a6d4411a
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -746,6 +746,7 @@ config NAMESPACES
config UTS_NS config UTS_NS
bool "UTS namespace" bool "UTS namespace"
depends on NAMESPACES depends on NAMESPACES
default y
help help
In this namespace tasks see different info provided with the In this namespace tasks see different info provided with the
uname() system call uname() system call
@ -753,6 +754,7 @@ config UTS_NS
config IPC_NS config IPC_NS
bool "IPC namespace" bool "IPC namespace"
depends on NAMESPACES && (SYSVIPC || POSIX_MQUEUE) depends on NAMESPACES && (SYSVIPC || POSIX_MQUEUE)
default y
help help
In this namespace tasks work with IPC ids which correspond to In this namespace tasks work with IPC ids which correspond to
different IPC objects in different namespaces. different IPC objects in different namespaces.
@ -760,6 +762,7 @@ config IPC_NS
config USER_NS config USER_NS
bool "User namespace (EXPERIMENTAL)" bool "User namespace (EXPERIMENTAL)"
depends on NAMESPACES && EXPERIMENTAL depends on NAMESPACES && EXPERIMENTAL
default y
help help
This allows containers, i.e. vservers, to use user namespaces This allows containers, i.e. vservers, to use user namespaces
to provide different user info for different servers. to provide different user info for different servers.
@ -767,8 +770,8 @@ config USER_NS
config PID_NS config PID_NS
bool "PID Namespaces" bool "PID Namespaces"
default n
depends on NAMESPACES depends on NAMESPACES
default y
help help
Support process id namespaces. This allows having multiple Support process id namespaces. This allows having multiple
processes with the same pid as long as they are in different processes with the same pid as long as they are in different
@ -776,8 +779,8 @@ config PID_NS
config NET_NS config NET_NS
bool "Network namespace" bool "Network namespace"
default n
depends on NAMESPACES && NET depends on NAMESPACES && NET
default y
help help
Allow user space to create what appear to be multiple instances Allow user space to create what appear to be multiple instances
of the network stack. of the network stack.