aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-02-02 12:56:16 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-02-05 13:17:49 +0000
commita21be2a70365363f5dd08efd6c629a254cc37170 (patch)
treea64d34453ec0c74e6e1ad78eebc535e22e500d22
parent36c9cf3e51c563d350207b16edee111485d3e04b (diff)
downloadupstream-a21be2a70365363f5dd08efd6c629a254cc37170.tar.gz
upstream-a21be2a70365363f5dd08efd6c629a254cc37170.tar.bz2
upstream-a21be2a70365363f5dd08efd6c629a254cc37170.zip
kernel: add defaults for new SELinux options
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--config/Config-kernel.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 3350558adb..c0460db72a 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -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"