Maybe SHADOW_CALL_STACK should be alternative to STACKPROTECTOR_STRONG
authorAlexander Popov <alex.popov@linux.com>
Fri, 18 Jun 2021 21:11:41 +0000 (00:11 +0300)
committerAlexander Popov <alex.popov@linux.com>
Fri, 18 Jun 2021 21:11:41 +0000 (00:11 +0300)
kconfig_hardened_check/__init__.py

index 3d058dca0771531c8538d3e6e0f28f9149c3349b..b35f10d67f7cf4601df93b262dba5423460408d9 100644 (file)
@@ -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'):