From: Alexander Popov Date: Sun, 17 Jul 2022 14:52:56 +0000 (+0300) Subject: Check ARM64_PTR_AUTH for userspace hardening X-Git-Tag: v0.6.1~124 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=594fcd1c9b909e5eaa6f98df2f300b0ae876a038;p=kconfig-hardened-check.git Check ARM64_PTR_AUTH for userspace hardening --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index ef8e0df..1398534 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -629,6 +629,8 @@ def add_kconfig_checks(l, arch): l += [KconfigCheck('harden_userspace', 'defconfig', 'INTEGRITY', 'y')] if arch == 'ARM': l += [KconfigCheck('harden_userspace', 'my', 'INTEGRITY', 'y')] + if arch == 'ARM64': + l += [KconfigCheck('harden_userspace', 'defconfig', 'ARM64_PTR_AUTH', 'y')] if arch in ('ARM', 'X86_32'): l += [KconfigCheck('harden_userspace', 'defconfig', 'VMSPLIT_3G', 'y')] if arch in ('X86_64', 'ARM64'):