From 44cea798ac18c4a92fa9d8cd98be59f88bf9d957 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 17 Dec 2023 02:41:40 +0300 Subject: [PATCH] Add the RANDOM_KMALLOC_CACHES check Refers to #83 --- kernel_hardening_checker/checks.py | 1 + 1 file changed, 1 insertion(+) 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'): -- 2.31.1