[openwrt/openwrt] kernel: add defaults for new SELinux options

LEDE Commits lede-commits at lists.infradead.org
Fri Feb 5 08:21:11 EST 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a21be2a70365363f5dd08efd6c629a254cc37170

commit a21be2a70365363f5dd08efd6c629a254cc37170
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Tue Feb 2 12:56:16 2021 +0000

    kernel: add defaults for new SELinux options
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 config/Config-kernel.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

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"



More information about the lede-commits mailing list