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:
98371b5
)
Add the DEBUG_ALIGN_RODATA check for ARM
author
Alexander Popov
<alex.popov@linux.com>
Sun, 9 Apr 2023 22:54:41 +0000
(
01:54
+0300)
committer
Alexander Popov
<alex.popov@linux.com>
Sun, 9 Apr 2023 22:54:41 +0000
(
01:54
+0300)
kconfig_hardened_check/checks.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/checks.py
b/kconfig_hardened_check/checks.py
index af4c6e2fbf6a5efc2df4d507a709c1c453d162ec..c087bbc5d229b7e3e451f2dc418b432473022d56 100644
(file)
--- a/
kconfig_hardened_check/checks.py
+++ b/
kconfig_hardened_check/checks.py
@@
-135,6
+135,7
@@
def add_kconfig_checks(l, arch):
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')]
+ l += [KconfigCheck('self_protection', 'defconfig', 'DEBUG_ALIGN_RODATA', 'y')]
# 'self_protection', 'kspp'
l += [KconfigCheck('self_protection', 'kspp', 'BUG_ON_DATA_CORRUPTION', 'y')]