From: Alexander Popov Date: Fri, 18 Jun 2021 21:11:41 +0000 (+0300) Subject: Maybe SHADOW_CALL_STACK should be alternative to STACKPROTECTOR_STRONG X-Git-Tag: v0.5.10~15 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=029bd7f44ccb305688a6d0bc753c660c688088e9;p=kconfig-hardened-check.git Maybe SHADOW_CALL_STACK should be alternative to STACKPROTECTOR_STRONG --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 3d058dc..b35f10d 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -406,7 +406,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')] + l += [OptCheck('self_protection', 'my', 'SHADOW_CALL_STACK', 'y')] # maybe it should be alternative to STACKPROTECTOR_STRONG # 'security_policy' if arch in ('X86_64', 'ARM64', 'X86_32'):