From a91195e72547a6975404c50685b8acd00e1aa823 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 17 Jul 2022 17:57:19 +0300 Subject: [PATCH] Check ARM64_BTI for userspace hardening --- kconfig_hardened_check/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 1398534..4c6353f 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -631,6 +631,7 @@ def add_kconfig_checks(l, arch): l += [KconfigCheck('harden_userspace', 'my', 'INTEGRITY', 'y')] if arch == 'ARM64': l += [KconfigCheck('harden_userspace', 'defconfig', 'ARM64_PTR_AUTH', 'y')] + l += [KconfigCheck('harden_userspace', 'defconfig', 'ARM64_BTI', 'y')] if arch in ('ARM', 'X86_32'): l += [KconfigCheck('harden_userspace', 'defconfig', 'VMSPLIT_3G', 'y')] if arch in ('X86_64', 'ARM64'): -- 2.31.1