From: Alexander Popov Date: Sat, 16 Dec 2023 23:41:40 +0000 (+0300) Subject: Add the RANDOM_KMALLOC_CACHES check X-Git-Tag: v0.6.6~32 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=44cea798ac18c4a92fa9d8cd98be59f88bf9d957;p=kconfig-hardened-check.git Add the RANDOM_KMALLOC_CACHES check Refers to #83 --- diff --git a/kernel_hardening_checker/checks.py b/kernel_hardening_checker/checks.py index 69a9fd9..64c69a6 100644 --- 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'):