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:
e165289
)
Add ARM64_BTI_KERNEL
author
Alexander Popov
<alex.popov@linux.com>
Thu, 22 Oct 2020 19:38:35 +0000
(22:38 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Thu, 22 Oct 2020 19:38:35 +0000
(22:38 +0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index 1ca05301efe69c1fcc2f0d24c8733ad2d5e7151c..eb256de8b2e95b47ede1045bbbab2535d7886f2b 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-312,6
+312,7
@@
def construct_checklist(l, arch):
VerCheck((5, 9))))] # HARDEN_EL2_VECTORS was included in RANDOMIZE_BASE in v5.9
l += [OptCheck('self_protection', 'defconfig', 'RODATA_FULL_DEFAULT_ENABLED', 'y')]
l += [OptCheck('self_protection', 'defconfig', 'ARM64_PTR_AUTH', 'y')]
+ l += [OptCheck('self_protection', 'defconfig', 'ARM64_BTI_KERNEL', 'y')]
if arch in ('X86_64', 'ARM64'):
l += [OptCheck('self_protection', 'defconfig', 'VMAP_STACK', 'y')]
if arch in ('X86_64', 'ARM64', 'X86_32'):