aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-05-25 20:37:55 -0400
committerEric W. Biederman <ebiederm@xmission.com>2013-11-26 23:55:33 -0500
commit261000a56b6382f597bcb12000f55c9ff26a1efb (patch)
tree5280a6706c24fea298faf82526166c28f86dc1de /init
parent41301ae78a99ead04ea42672a1ab72c6f44cc81d (diff)
userns: userns: Remove UIDGID_STRICT_TYPE_CHECKS
Removing UIDGID_STRICT_TYPE_CHECKS simplifies the code and always generates a compile error if the uids and kuids or gids and kgids are mixed by accident. Now that the appropriate conversions have been placed throughout the kernel there is no longer a need for a mode where we don't detect them as compile errors. Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig11
1 files changed, 0 insertions, 11 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 79383d3aa5dc..d4eb994d1757 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1110,8 +1110,6 @@ config IPC_NS
1110 1110
1111config USER_NS 1111config USER_NS
1112 bool "User namespace" 1112 bool "User namespace"
1113 select UIDGID_STRICT_TYPE_CHECKS
1114
1115 default n 1113 default n
1116 help 1114 help
1117 This allows containers, i.e. vservers, to use user namespaces 1115 This allows containers, i.e. vservers, to use user namespaces
@@ -1143,15 +1141,6 @@ config NET_NS
1143 1141
1144endif # NAMESPACES 1142endif # NAMESPACES
1145 1143
1146config UIDGID_STRICT_TYPE_CHECKS
1147 bool "Require conversions between uid/gids and their internal representation"
1148 default n
1149 help
1150 While the nececessary conversions are being added to all subsystems this option allows
1151 the code to continue to build for unconverted subsystems.
1152
1153 Say Y here if you want the strict type checking enabled
1154
1155config SCHED_AUTOGROUP 1144config SCHED_AUTOGROUP
1156 bool "Automatic process group scheduling" 1145 bool "Automatic process group scheduling"
1157 select EVENTFD 1146 select EVENTFD