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:
becad49
)
Add ARM64_PTR_AUTH check
author
Alexander Popov
<alex.popov@linux.com>
Wed, 13 Mar 2019 13:45:34 +0000
(16:45 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Wed, 13 Mar 2019 13:45:34 +0000
(16:45 +0300)
kconfig-hardened-check.py
patch
|
blob
|
history
diff --git
a/kconfig-hardened-check.py
b/kconfig-hardened-check.py
index b149567fb1317d64eaada195e01e49bfe264c49d..41ba08e4fc51164a9d3f46dc7c2845f7c3ba95a5 100755
(executable)
--- a/
kconfig-hardened-check.py
+++ b/
kconfig-hardened-check.py
@@
-322,6
+322,8
@@
def construct_checklist(arch):
if debug_mode or arch == 'X86_32':
checklist.append(OptCheck('MODIFY_LDT_SYSCALL', 'is not set', 'my', 'cut_attack_surface'))
+ if debug_mode or arch == 'ARM64':
+ checklist.append(OptCheck('ARM64_PTR_AUTH', 'y', 'defconfig', 'userspace_protection'))
if debug_mode or arch == 'X86_64' or arch == 'ARM64':
checklist.append(OptCheck('ARCH_MMAP_RND_BITS', '32', 'my', 'userspace_protection'))
if debug_mode or arch == 'X86_32' or arch == 'ARM':