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:
1ce2fdc
)
Add SHADOW_CALL_STACK for ARM64
author
Alexander Popov
<alex.popov@linux.com>
Fri, 23 Oct 2020 17:53:33 +0000
(20:53 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Fri, 23 Oct 2020 17:53:33 +0000
(20:53 +0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index 5873a7994faa0324a487f674dfedfe14676e3109..fe06bc951136aa8baa1d836631a9558faf27d0a2 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-404,6
+404,8
@@
def construct_checklist(l, arch):
if arch == 'X86_64':
l += [AND(OptCheck('self_protection', 'my', 'AMD_IOMMU_V2', 'y'),
iommu_support_is_set)]
+ if arch == 'ARM64':
+ l += [OptCheck('self_protection', 'my', 'SHADOW_CALL_STACK', 'y')]
# 'security_policy'
if arch in ('X86_64', 'ARM64', 'X86_32'):