From: Alexander Popov Date: Sun, 20 Mar 2022 21:53:37 +0000 (+0300) Subject: Add HARDEN_BRANCH_HISTORY for arm X-Git-Tag: v0.5.17~21 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=b0b91b58adc962da01c7fc45cef662ae1b462828;p=kconfig-hardened-check.git Add HARDEN_BRANCH_HISTORY for arm --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 586658e..3f7aa19 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -380,6 +380,7 @@ def add_kconfig_checks(l, arch): if arch == 'ARM': l += [KconfigCheck('self_protection', 'defconfig', 'CPU_SW_DOMAIN_PAN', 'y')] l += [KconfigCheck('self_protection', 'defconfig', 'HARDEN_BRANCH_PREDICTOR', 'y')] + l += [KconfigCheck('self_protection', 'defconfig', 'HARDEN_BRANCH_HISTORY', 'y')] # 'self_protection', 'kspp' l += [KconfigCheck('self_protection', 'kspp', 'SECURITY_DMESG_RESTRICT', 'y')]