From: Alexander Popov Date: Mon, 11 Jul 2022 06:49:44 +0000 (+0300) Subject: Add IOMMU_DEFAULT_PASSTHROUGH check X-Git-Tag: v0.6.1~127 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=1300fb0efbab5d76cc99029a59a557bce490c65c;p=kconfig-hardened-check.git Add IOMMU_DEFAULT_PASSTHROUGH check --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index dd811c1..28a661c 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -394,6 +394,7 @@ def add_kconfig_checks(l, arch): l += [KconfigCheck('self_protection', 'kspp', 'KFENCE', 'y')] l += [KconfigCheck('self_protection', 'kspp', 'WERROR', 'y')] l += [KconfigCheck('self_protection', 'kspp', 'IOMMU_DEFAULT_DMA_STRICT', 'y')] + l += [KconfigCheck('self_protection', 'kspp', 'IOMMU_DEFAULT_PASSTHROUGH', 'is not set')] # true if IOMMU_DEFAULT_DMA_STRICT is set l += [KconfigCheck('self_protection', 'kspp', 'ZERO_CALL_USED_REGS', 'y')] randstruct_is_set = KconfigCheck('self_protection', 'kspp', 'GCC_PLUGIN_RANDSTRUCT', 'y') l += [randstruct_is_set]