From: Alexander Popov Date: Sun, 9 Oct 2022 18:25:33 +0000 (+0300) Subject: Check SECURITY_SELINUX_BOOTPARAM (recommended by Clip OS) X-Git-Tag: v0.6.1~75 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=ffee218d8fcba851515fbac54cf1d5756a5282f8;p=kconfig-hardened-check.git Check SECURITY_SELINUX_BOOTPARAM (recommended by Clip OS) --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 7cc81d6..9dcc9d8 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -534,6 +534,7 @@ def add_kconfig_checks(l, arch): l += [KconfigCheck('security_policy', 'kspp', 'SECURITY_YAMA', 'y')] l += [KconfigCheck('security_policy', 'kspp', 'SECURITY_LANDLOCK', 'y')] l += [KconfigCheck('security_policy', 'kspp', 'SECURITY_SELINUX_DISABLE', 'is not set')] + l += [KconfigCheck('security_policy', 'clipos', 'SECURITY_SELINUX_BOOTPARAM', 'is not set')] l += [KconfigCheck('security_policy', 'clipos', 'SECURITY_LOCKDOWN_LSM', 'y')] l += [KconfigCheck('security_policy', 'clipos', 'SECURITY_LOCKDOWN_LSM_EARLY', 'y')] l += [KconfigCheck('security_policy', 'clipos', 'LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY', 'y')]