From f30796b89422e32db2a5ca6c2cffb29993c190d6 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Wed, 13 Mar 2019 16:45:34 +0300 Subject: [PATCH 1/1] Add ARM64_PTR_AUTH check --- kconfig-hardened-check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kconfig-hardened-check.py b/kconfig-hardened-check.py index b149567..41ba08e 100755 --- a/kconfig-hardened-check.py +++ b/kconfig-hardened-check.py @@ -322,6 +322,8 @@ def construct_checklist(arch): if debug_mode or arch == 'X86_32': checklist.append(OptCheck('MODIFY_LDT_SYSCALL', 'is not set', 'my', 'cut_attack_surface')) + if debug_mode or arch == 'ARM64': + checklist.append(OptCheck('ARM64_PTR_AUTH', 'y', 'defconfig', 'userspace_protection')) if debug_mode or arch == 'X86_64' or arch == 'ARM64': checklist.append(OptCheck('ARCH_MMAP_RND_BITS', '32', 'my', 'userspace_protection')) if debug_mode or arch == 'X86_32' or arch == 'ARM': -- 2.31.1