Skip to content

Commit

Permalink
namespaces Kconfig: make namespace a submenu
Browse files Browse the repository at this point in the history
Make the namespaces config option a submenu.

Signed-off-by: Daniel Lezcano <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: "Serge E. Hallyn" <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Paul Menage <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
dlezcano authored and torvalds committed Oct 28, 2010
1 parent 17a6d44 commit 8dd2a82
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ config RELAY

If unsure, say N.

config NAMESPACES
menuconfig NAMESPACES
bool "Namespaces support" if EMBEDDED
default !EMBEDDED
help
Expand All @@ -743,25 +743,26 @@ config NAMESPACES
or same user id or pid may refer to different tasks when used in
different namespaces.

if 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)
depends on (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
depends on EXPERIMENTAL
default y
help
This allows containers, i.e. vservers, to use user namespaces
Expand All @@ -770,7 +771,6 @@ config USER_NS

config PID_NS
bool "PID Namespaces"
depends on NAMESPACES
default y
help
Support process id namespaces. This allows having multiple
Expand All @@ -779,12 +779,14 @@ config PID_NS

config NET_NS
bool "Network namespace"
depends on NAMESPACES && NET
depends on NET
default y
help
Allow user space to create what appear to be multiple instances
of the network stack.

endif # NAMESPACES

config BLK_DEV_INITRD
bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
depends on BROKEN || !FRV
Expand Down

0 comments on commit 8dd2a82

Please sign in to comment.