aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init/Kconfig14
1 files changed, 8 insertions, 6 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 239fae49750b..5b3a3942a98c 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -734,7 +734,7 @@ config RELAY
734 734
735 If unsure, say N. 735 If unsure, say N.
736 736
737config NAMESPACES 737menuconfig NAMESPACES
738 bool "Namespaces support" if EMBEDDED 738 bool "Namespaces support" if EMBEDDED
739 default !EMBEDDED 739 default !EMBEDDED
740 help 740 help
@@ -743,9 +743,10 @@ config NAMESPACES
743 or same user id or pid may refer to different tasks when used in 743 or same user id or pid may refer to different tasks when used in
744 different namespaces. 744 different namespaces.
745 745
746if NAMESPACES
747
746config UTS_NS 748config UTS_NS
747 bool "UTS namespace" 749 bool "UTS namespace"
748 depends on NAMESPACES
749 default y 750 default y
750 help 751 help
751 In this namespace tasks see different info provided with the 752 In this namespace tasks see different info provided with the
@@ -753,7 +754,7 @@ config UTS_NS
753 754
754config IPC_NS 755config IPC_NS
755 bool "IPC namespace" 756 bool "IPC namespace"
756 depends on NAMESPACES && (SYSVIPC || POSIX_MQUEUE) 757 depends on (SYSVIPC || POSIX_MQUEUE)
757 default y 758 default y
758 help 759 help
759 In this namespace tasks work with IPC ids which correspond to 760 In this namespace tasks work with IPC ids which correspond to
@@ -761,7 +762,7 @@ config IPC_NS
761 762
762config USER_NS 763config USER_NS
763 bool "User namespace (EXPERIMENTAL)" 764 bool "User namespace (EXPERIMENTAL)"
764 depends on NAMESPACES && EXPERIMENTAL 765 depends on EXPERIMENTAL
765 default y 766 default y
766 help 767 help
767 This allows containers, i.e. vservers, to use user namespaces 768 This allows containers, i.e. vservers, to use user namespaces
@@ -770,7 +771,6 @@ config USER_NS
770 771
771config PID_NS 772config PID_NS
772 bool "PID Namespaces" 773 bool "PID Namespaces"
773 depends on NAMESPACES
774 default y 774 default y
775 help 775 help
776 Support process id namespaces. This allows having multiple 776 Support process id namespaces. This allows having multiple
@@ -779,12 +779,14 @@ config PID_NS
779 779
780config NET_NS 780config NET_NS
781 bool "Network namespace" 781 bool "Network namespace"
782 depends on NAMESPACES && NET 782 depends on NET
783 default y 783 default y
784 help 784 help
785 Allow user space to create what appear to be multiple instances 785 Allow user space to create what appear to be multiple instances
786 of the network stack. 786 of the network stack.
787 787
788endif # NAMESPACES
789
788config BLK_DEV_INITRD 790config BLK_DEV_INITRD
789 bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support" 791 bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support"
790 depends on BROKEN || !FRV 792 depends on BROKEN || !FRV