kernel: add defaults for new SELinux options
authorDaniel Golle <daniel@makrotopia.org>
Tue, 2 Feb 2021 12:56:16 +0000 (12:56 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 5 Feb 2021 13:17:49 +0000 (13:17 +0000)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
config/Config-kernel.in

index 3350558adb06bf68ffdbd667bf0bdbc5bdea9644..c0460db72aba5bbb9845bab0615eefdfdfdda860 100644 (file)
@@ -1176,6 +1176,16 @@ config KERNEL_SECURITY_SELINUX_DEVELOP
        depends on KERNEL_SECURITY_SELINUX
        default y
 
+config KERNEL_SECURITY_SELINUX_SIDTAB_HASH_BITS
+       int
+       depends on KERNEL_SECURITY_SELINUX
+       default 9
+
+config KERNEL_SECURITY_SELINUX_SID2STR_CACHE_SIZE
+       int
+       depends on KERNEL_SECURITY_SELINUX
+       default 256
+
 config KERNEL_LSM
        string
        default "lockdown,yama,loadpin,safesetid,integrity,selinux"