From b0b91b58adc962da01c7fc45cef662ae1b462828 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 21 Mar 2022 00:53:37 +0300 Subject: [PATCH] Add HARDEN_BRANCH_HISTORY for arm --- kconfig_hardened_check/__init__.py | 1 + 1 file changed, 1 insertion(+) 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')] -- 2.31.1