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:
befa4a3
)
Add ARM64_PAN
author
Alexander Popov
<alex.popov@linux.com>
Fri, 10 Jul 2020 20:35:35 +0000
(23:35 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Fri, 10 Jul 2020 20:35:35 +0000
(23:35 +0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index 3b470443daf3c618e7cb019279381185f04cfaec..8bf79374824675c1649f6bb67a6eb716e95fc189 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-303,6
+303,7
@@
def construct_checklist(l, arch):
l += [AND(OptCheck('self_protection', 'defconfig', 'AMD_IOMMU', 'y'),
iommu_support_is_set)]
if arch == 'ARM64':
+ l += [OptCheck('self_protection', 'defconfig', 'ARM64_PAN', 'y')]
l += [OptCheck('self_protection', 'defconfig', 'UNMAP_KERNEL_AT_EL0', 'y')]
l += [OptCheck('self_protection', 'defconfig', 'HARDEN_EL2_VECTORS', 'y')]
l += [OptCheck('self_protection', 'defconfig', 'RODATA_FULL_DEFAULT_ENABLED', 'y')]