From becad4962ffd613aabcf8a317b2c779ff95d4545 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Wed, 13 Mar 2019 12:02:19 +0300 Subject: [PATCH] Add STACKPROTECTOR_PER_TASK check for ARM --- kconfig-hardened-check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kconfig-hardened-check.py b/kconfig-hardened-check.py index f39995d..b149567 100755 --- a/kconfig-hardened-check.py +++ b/kconfig-hardened-check.py @@ -245,6 +245,8 @@ def construct_checklist(arch): page_poisoning_is_set)) if debug_mode or arch == 'X86_32': checklist.append(OptCheck('PAGE_TABLE_ISOLATION', 'y', 'my', 'self_protection')) + if debug_mode or arch == 'ARM': + checklist.append(OptCheck('STACKPROTECTOR_PER_TASK', 'y', 'my', 'self_protection')) if debug_mode or arch == 'X86_64' or arch == 'ARM64' or arch == 'X86_32': checklist.append(OptCheck('SECURITY', 'y', 'defconfig', 'security_policy')) -- 2.31.1