From: Daniel Golle Date: Tue, 2 Feb 2021 12:56:16 +0000 (+0000) Subject: kernel: add defaults for new SELinux options X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a21be2a70365363f5dd08efd6c629a254cc37170;p=openwrt%2Fstaging%2Fjow.git kernel: add defaults for new SELinux options Signed-off-by: Daniel Golle --- 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"