From: Alexander Popov Date: Fri, 2 Sep 2022 10:32:25 +0000 (+0300) Subject: Fix the comment: SHADOW_CALL_STACK is now available for gcc (Linux 5.18) X-Git-Tag: v0.6.1~100 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=4444990311f188c65b7c48d66a5f346e39d33f63;p=kconfig-hardened-check.git Fix the comment: SHADOW_CALL_STACK is now available for gcc (Linux 5.18) --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index a160d52..d487c0d 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -488,7 +488,7 @@ def add_kconfig_checks(l, arch): l += [AND(KconfigCheck('self_protection', 'my', 'AMD_IOMMU_V2', 'y'), iommu_support_is_set)] if arch == 'ARM64': - l += [KconfigCheck('self_protection', 'my', 'SHADOW_CALL_STACK', 'y')] # depends on clang, maybe it's alternative to STACKPROTECTOR_STRONG + l += [KconfigCheck('self_protection', 'my', 'SHADOW_CALL_STACK', 'y')] # maybe it's alternative to STACKPROTECTOR_STRONG l += [KconfigCheck('self_protection', 'my', 'KASAN_HW_TAGS', 'y')] cfi_clang_is_set = KconfigCheck('self_protection', 'my', 'CFI_CLANG', 'y') l += [cfi_clang_is_set]