From: Alexander Popov Date: Sun, 22 Jan 2023 22:16:52 +0000 (+0300) Subject: Fix the 'decision' for the slub_merge check X-Git-Tag: v0.6.1~2 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=23fe9e6b3032c0205177d4edbba89a609141107b;p=kconfig-hardened-check.git Fix the 'decision' for the slub_merge check --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 534978b..a3a3293 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -766,7 +766,7 @@ def add_cmdline_checks(l, arch): l += [OR(CmdlineCheck('self_protection', 'kspp', 'slab_nomerge', 'is present'), AND(KconfigCheck('self_protection', 'clipos', 'SLAB_MERGE_DEFAULT', 'is not set'), CmdlineCheck('self_protection', 'kspp', 'slab_merge', 'is not set'), - CmdlineCheck('self_protection', 'kspp', 'slub_merge', 'is not set')))] + CmdlineCheck('self_protection', 'clipos', 'slub_merge', 'is not set')))] l += [OR(CmdlineCheck('self_protection', 'kspp', 'iommu.strict', '1'), AND(KconfigCheck('self_protection', 'kspp', 'IOMMU_DEFAULT_DMA_STRICT', 'y'), CmdlineCheck('self_protection', 'kspp', 'iommu.strict', 'is not set')))]