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:
4839f6d
)
Add the KSPP recommendation of SCHED_CORE
author
Alexander Popov
<alex.popov@linux.com>
Wed, 20 Apr 2022 14:42:49 +0000
(17:42 +0300)
committer
Alexander Popov
<alex.popov@linux.com>
Wed, 20 Apr 2022 14:42:49 +0000
(17:42 +0300)
kconfig_hardened_check/__init__.py
patch
|
blob
|
history
diff --git
a/kconfig_hardened_check/__init__.py
b/kconfig_hardened_check/__init__.py
index a3fdf0784a950e01ab1b9176efc678842a174cc0..65c47e6276bcf8e0c2b56fbd40816596795e7863 100644
(file)
--- a/
kconfig_hardened_check/__init__.py
+++ b/
kconfig_hardened_check/__init__.py
@@
-421,6
+421,7
@@
def add_kconfig_checks(l, arch):
stackleak_is_set = KconfigCheck('self_protection', 'kspp', 'GCC_PLUGIN_STACKLEAK', 'y')
l += [stackleak_is_set]
l += [KconfigCheck('self_protection', 'kspp', 'RANDOMIZE_KSTACK_OFFSET_DEFAULT', 'y')]
+ l += [KconfigCheck('self_protection', 'kspp', 'SCHED_CORE', 'y')]
if arch in ('X86_64', 'X86_32'):
l += [KconfigCheck('self_protection', 'kspp', 'DEFAULT_MMAP_MIN_ADDR', '65536')]
if arch in ('ARM64', 'ARM'):