From: Alexander Popov Date: Wed, 13 Mar 2019 13:45:34 +0000 (+0300) Subject: Add ARM64_PTR_AUTH check X-Git-Tag: v0.5.2~31 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=f30796b89422e32db2a5ca6c2cffb29993c190d6;p=kconfig-hardened-check.git Add ARM64_PTR_AUTH check --- 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':