Add ARM64_EPAN
[kconfig-hardened-check.git] / kconfig_hardened_check / __init__.py
index 362a6e4dd4ac9408bd9b404211821be86c8e601d..caedb97320c52e40b5f3a73ca9500788812a4924 100644 (file)
@@ -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'),