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:
594fcd1
)
Check ARM64_BTI for userspace hardening
author
Alexander Popov
<alex.popov@linux.com>
Sun, 17 Jul 2022 14:57:19 +0000
(17:57 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Sun, 17 Jul 2022 14:57:19 +0000
(17:57 +0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index 139853470de2ec48376bd622d3ce5110fbed9e34..4c6353f8707203979a4de3a84df0e2f6afcdfe16 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-631,6
+631,7
@@
def add_kconfig_checks(l, arch):
l += [KconfigCheck('harden_userspace', 'my', 'INTEGRITY', 'y')]
if arch == 'ARM64':
l += [KconfigCheck('harden_userspace', 'defconfig', 'ARM64_PTR_AUTH', 'y')]
+ l += [KconfigCheck('harden_userspace', 'defconfig', 'ARM64_BTI', 'y')]
if arch in ('ARM', 'X86_32'):
l += [KconfigCheck('harden_userspace', 'defconfig', 'VMSPLIT_3G', 'y')]
if arch in ('X86_64', 'ARM64'):