From: Alexander Popov Date: Sun, 17 Jul 2022 14:57:19 +0000 (+0300) Subject: Check ARM64_BTI for userspace hardening X-Git-Tag: v0.6.1~123 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=a91195e72547a6975404c50685b8acd00e1aa823;p=kconfig-hardened-check.git Check ARM64_BTI for userspace hardening --- 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'):