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