From: Alexander Popov Date: Sat, 21 Jan 2023 22:41:43 +0000 (+0300) Subject: Add the check for the slub_merge cmdline parameter X-Git-Tag: v0.6.1~5 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=c3775a1507ee81387dbbd4051c45e01dfd9a9a1c;p=kconfig-hardened-check.git Add the check for the slub_merge cmdline parameter --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 65d51fb..e5fd0ff 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -763,7 +763,8 @@ def add_cmdline_checks(l, arch): CmdlineCheck('self_protection', 'kspp', 'slub_debug', 'P')))] 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', 'slab_merge', 'is not set'), + CmdlineCheck('self_protection', 'kspp', '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')))]