From: Alexander Popov Date: Sun, 23 Jul 2023 21:15:57 +0000 (+0300) Subject: Check the kernel.dmesg_restrict sysctl X-Git-Tag: v0.6.6~110 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=bb1fc8b96945a06841a55fd56b23666fdbdd8b71;hp=b23f245bfa6ad860692a78d4acb71933608bab32;p=kconfig-hardened-check.git Check the kernel.dmesg_restrict sysctl --- diff --git a/kconfig_hardened_check/checks.py b/kconfig_hardened_check/checks.py index fc63f3a..e30746c 100644 --- a/kconfig_hardened_check/checks.py +++ b/kconfig_hardened_check/checks.py @@ -609,4 +609,4 @@ def add_sysctl_checks(l, arch): l += [SysctlCheck('self_protection', 'kspp', 'net.core.bpf_jit_harden', '2')] - l += [SysctlCheck('self_protection', 'kspp', 'kernel.dmesg_restrict', '1')] + l += [SysctlCheck('cut_attack_surface', 'kspp', 'kernel.dmesg_restrict', '1')]