From: Alexander Popov Date: Fri, 2 Sep 2022 10:23:35 +0000 (+0300) Subject: Add the SECURITY_LANDLOCK recommendation by KSPP X-Git-Tag: v0.6.1~101 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=9a42a4328a9d34b29afc420705621717778716e7;hp=a5fc48e48f6cba7a643db24efb04ccb8626cb484;p=kconfig-hardened-check.git Add the SECURITY_LANDLOCK recommendation by KSPP --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 8ecdbf1..a160d52 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -501,6 +501,7 @@ def add_kconfig_checks(l, arch): if arch == 'ARM': l += [KconfigCheck('security_policy', 'kspp', 'SECURITY', 'y')] # and choose your favourite LSM 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_LOCKDOWN_LSM', 'y')] l += [KconfigCheck('security_policy', 'clipos', 'SECURITY_LOCKDOWN_LSM_EARLY', 'y')]