Skip to content

Commit

Permalink
namespaces: default all the namespaces to 'yes' when CONFIG_NAMESPACE…
Browse files Browse the repository at this point in the history
…S 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>
  • Loading branch information
Daniel Lezcano authored and Linus Torvalds committed Oct 28, 2010
1 parent 9bd38c2 commit 17a6d44
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -746,38 +746,41 @@ 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

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.

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.
If unsure, say N.

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
pid namespaces. This is a building block of containers.

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.
Expand Down

0 comments on commit 17a6d44

Please sign in to comment.