提交 17a6d441 编写于 作者: D Daniel Lezcano 提交者: Linus Torvalds

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: NDaniel Lezcano <daniel.lezcano@free.fr>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: David Miller <davem@davemloft.net>
Acked-By: NMatt Helsley <matthltc@us.ibm.com>
Acked-by: NSerge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 9bd38c2c
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册