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:
d611894
)
Update the VMAP_STACK check: it is available for ARM
author
Alexander Popov
<alex.popov@linux.com>
Sun, 15 Jan 2023 21:10:12 +0000
(
00:10
+0300)
committer
Alexander Popov
<alex.popov@linux.com>
Sun, 15 Jan 2023 21:10:12 +0000
(
00:10
+0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index df94812e0a4765c23aa1ecea0639c451f8ce5474..ff2374631b93f99331a26dbb06222a512087f9ac 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-378,7
+378,7
@@
def add_kconfig_checks(l, arch):
VersionCheck((5, 5)))] # REFCOUNT_FULL is enabled by default since v5.5
if arch in ('X86_64', 'ARM64', 'X86_32'):
l += [KconfigCheck('self_protection', 'defconfig', 'RANDOMIZE_BASE', 'y')]
- if arch in ('X86_64', 'ARM64'):
+ if arch in ('X86_64', 'ARM64'
, 'ARM'
):
l += [KconfigCheck('self_protection', 'defconfig', 'VMAP_STACK', 'y')]
if arch in ('X86_64', 'X86_32'):
l += [KconfigCheck('self_protection', 'defconfig', 'DEBUG_WX', 'y')]