From: Alexander Popov Date: Wed, 3 Jul 2024 13:41:22 +0000 (+0300) Subject: Update the `decision` for the SLAB_MERGE_DEFAULT check X-Git-Tag: v0.6.10~40 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=74aabe019198e3b91a147246f74c9ec72e5406d9;p=kconfig-hardened-check.git Update the `decision` for the SLAB_MERGE_DEFAULT check --- diff --git a/kernel_hardening_checker/checks.py b/kernel_hardening_checker/checks.py index b33e3d9..be2689e 100755 --- a/kernel_hardening_checker/checks.py +++ b/kernel_hardening_checker/checks.py @@ -535,7 +535,7 @@ def add_cmdline_checks(l: List[ChecklistObjType], arch: str) -> None: l += [CmdlineCheck('self_protection', 'kspp', 'page_alloc.shuffle', '1')] l += [CmdlineCheck('self_protection', 'kspp', 'cfi', 'kcfi')] l += [OR(CmdlineCheck('self_protection', 'kspp', 'slab_nomerge', 'is present'), - AND(KconfigCheck('self_protection', 'clipos', 'SLAB_MERGE_DEFAULT', 'is not set'), + AND(KconfigCheck('self_protection', 'kspp', 'SLAB_MERGE_DEFAULT', 'is not set'), CmdlineCheck('self_protection', 'kspp', 'slab_merge', 'is not set'), CmdlineCheck('self_protection', 'kspp', 'slub_merge', 'is not set')))] l += [OR(CmdlineCheck('self_protection', 'kspp', 'init_on_alloc', '1'),