config: add KERNEL_LSM symbol
[openwrt/openwrt.git] / config / Config-kernel.in
index 492c762678804acbabd3da8c9c92773a59da8c89..32383dadab3988e334675b2eacaba66289d974dd 100644 (file)
@@ -1133,18 +1133,10 @@ config KERNEL_SECURITY_SELINUX_DEVELOP
        bool "NSA SELinux Development Support"
        depends on KERNEL_SECURITY_SELINUX
 
-choice
-       prompt "First legacy 'major LSM' to be initialized"
+config KERNEL_LSM
+       string
+       default "lockdown,yama,loadpin,safesetid,integrity,selinux"
        depends on KERNEL_SECURITY_SELINUX
-       default KERNEL_DEFAULT_SECURITY_SELINUX
-
-       config KERNEL_DEFAULT_SECURITY_SELINUX
-               bool "SELinux"
-
-       config KERNEL_DEFAULT_SECURITY_DAC
-               bool "Unix Discretionary Access Controls"
-
-endchoice
 
 config KERNEL_EXT4_FS_SECURITY
        bool "Ext4 Security Labels"