From: Alexander Popov Date: Sat, 19 Jun 2021 15:22:23 +0000 (+0300) Subject: Remember that SHADOW_CALL_STACK depends on clang X-Git-Tag: v0.5.10~2 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=25cb2389d0d47892e472f7b66c39597ddf41a278;p=kconfig-hardened-check.git Remember that SHADOW_CALL_STACK depends on clang --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index d8d8f27..e47c5d4 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -407,7 +407,7 @@ def construct_checklist(l, arch): 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')] # maybe it should be alternative to STACKPROTECTOR_STRONG + l += [OptCheck('self_protection', 'my', 'SHADOW_CALL_STACK', 'y')] # depends on clang, maybe it's alternative to STACKPROTECTOR_STRONG # 'security_policy' if arch in ('X86_64', 'ARM64', 'X86_32'):