From: Alexander Popov Date: Fri, 20 Aug 2021 17:10:54 +0000 (+0300) Subject: Add ARM64_EPAN X-Git-Tag: v0.5.14~11 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=264b0f6d674f7498b41c659713bfa707d04033bb;hp=57379d8c851656116e2b149e3f1d4003c17d22d9;p=kconfig-hardened-check.git Add ARM64_EPAN --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 362a6e4..caedb97 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -325,6 +325,7 @@ def construct_checklist(l, arch): iommu_support_is_set)] if arch == 'ARM64': l += [OptCheck('self_protection', 'defconfig', 'ARM64_PAN', 'y')] + l += [OptCheck('self_protection', 'defconfig', 'ARM64_EPAN', 'y')] l += [OptCheck('self_protection', 'defconfig', 'UNMAP_KERNEL_AT_EL0', 'y')] l += [OR(OptCheck('self_protection', 'defconfig', 'HARDEN_EL2_VECTORS', 'y'), AND(OptCheck('self_protection', 'defconfig', 'RANDOMIZE_BASE', 'y'),