projects
/
kconfig-hardened-check.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5ba73c
)
Add HARDEN_BRANCH_HISTORY for arm
author
Alexander Popov
<alex.popov@linux.com>
Sun, 20 Mar 2022 21:53:37 +0000
(
00:53
+0300)
committer
Alexander Popov
<alex.popov@linux.com>
Sun, 20 Mar 2022 21:53:37 +0000
(
00:53
+0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index 586658e6432963e2727dee337bdac140e8b63c6b..3f7aa19ced429e1951f98817218ab01dc516ef5b 100644
(file)
--- 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')]