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:
303573e
)
Add the RANDOM_KMALLOC_CACHES check
author
Alexander Popov
<alex.popov@linux.com>
Sat, 16 Dec 2023 23:41:40 +0000
(
02:41
+0300)
committer
Alexander Popov
<alex.popov@linux.com>
Sat, 16 Dec 2023 23:41:40 +0000
(
02:41
+0300)
Refers to #83
kernel_hardening_checker/checks.py
patch
|
blob
|
history
diff --git
a/kernel_hardening_checker/checks.py
b/kernel_hardening_checker/checks.py
index 69a9fd960c90d8eb521cfa759d6d3c85f2173911..64c69a63d3eddf7de9383534f4547cc81b39dfb1 100644
(file)
--- a/
kernel_hardening_checker/checks.py
+++ b/
kernel_hardening_checker/checks.py
@@
-231,6
+231,7
@@
def add_kconfig_checks(l, arch):
# 'self_protection', 'my'
l += [KconfigCheck('self_protection', 'my', 'LIST_HARDENED', 'y')]
+ l += [KconfigCheck('self_protection', 'my', 'RANDOM_KMALLOC_CACHES', 'y')]
# 'security_policy'
if arch in ('X86_64', 'ARM64', 'X86_32'):