From: Alexander Popov Date: Mon, 6 Mar 2023 14:35:29 +0000 (+0300) Subject: Drop the 'kvm.nx_huge_pages' check X-Git-Tag: v0.6.6~227 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=e84011fddceecda2d3d678ec3db08d3732d96ac2;p=kconfig-hardened-check.git Drop the 'kvm.nx_huge_pages' check It's not really about security --- diff --git a/kconfig_hardened_check/checks.py b/kconfig_hardened_check/checks.py index c20f096..1bb1de2 100644 --- a/kconfig_hardened_check/checks.py +++ b/kconfig_hardened_check/checks.py @@ -468,9 +468,6 @@ def add_cmdline_checks(l, arch): l += [OR(CmdlineCheck('self_protection', 'defconfig', 'kpti', 'is not off'), AND(CmdlineCheck('self_protection', 'kspp', 'mitigations', 'auto,nosmt'), CmdlineCheck('self_protection', 'defconfig', 'kpti', 'is not set')))] - l += [OR(CmdlineCheck('self_protection', 'defconfig', 'kvm.nx_huge_pages', 'is not off'), - AND(CmdlineCheck('self_protection', 'kspp', 'mitigations', 'auto,nosmt'), - CmdlineCheck('self_protection', 'defconfig', 'kvm.nx_huge_pages', 'is not set')))] if arch == 'ARM64': l += [OR(CmdlineCheck('self_protection', 'defconfig', 'ssbd', 'kernel'), CmdlineCheck('self_protection', 'my', 'ssbd', 'force-on'),