mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Eric W. Biederman <[email protected]>
This commit is contained in:
parent
41301ae78a
commit
261000a56b
4 changed files with 0 additions and 51 deletions
11
init/Kconfig
11
init/Kconfig
|
|
@ -1110,8 +1110,6 @@ config IPC_NS
|
|||
|
||||
config USER_NS
|
||||
bool "User namespace"
|
||||
select UIDGID_STRICT_TYPE_CHECKS
|
||||
|
||||
default n
|
||||
help
|
||||
This allows containers, i.e. vservers, to use user namespaces
|
||||
|
|
@ -1143,15 +1141,6 @@ config NET_NS
|
|||
|
||||
endif # NAMESPACES
|
||||
|
||||
config UIDGID_STRICT_TYPE_CHECKS
|
||||
bool "Require conversions between uid/gids and their internal representation"
|
||||
default n
|
||||
help
|
||||
While the nececessary conversions are being added to all subsystems this option allows
|
||||
the code to continue to build for unconverted subsystems.
|
||||
|
||||
Say Y here if you want the strict type checking enabled
|
||||
|
||||
config SCHED_AUTOGROUP
|
||||
bool "Automatic process group scheduling"
|
||||
select EVENTFD
|
||||
|
|
|
|||
Loading…
Reference in a new issue