From: Alexander Popov Date: Fri, 23 Oct 2020 17:53:33 +0000 (+0300) Subject: Add SHADOW_CALL_STACK for ARM64 X-Git-Tag: v0.5.9~4 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=29700a52a2622c6e5076e0b3be2642b337ebc37b;p=kconfig-hardened-check.git Add SHADOW_CALL_STACK for ARM64 --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 5873a79..fe06bc9 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -404,6 +404,8 @@ def construct_checklist(l, arch): if arch == 'X86_64': l += [AND(OptCheck('self_protection', 'my', 'AMD_IOMMU_V2', 'y'), iommu_support_is_set)] + if arch == 'ARM64': + l += [OptCheck('self_protection', 'my', 'SHADOW_CALL_STACK', 'y')] # 'security_policy' if arch in ('X86_64', 'ARM64', 'X86_32'):