From: Alexander Popov Date: Fri, 22 Apr 2022 09:50:34 +0000 (+0300) Subject: Drop the ARM64_MTE check for userspace hardening X-Git-Tag: v0.5.17~4 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=6f4d93794d11d7c31dd53e85feff17eb6a1e792e;p=kconfig-hardened-check.git Drop the ARM64_MTE check for userspace hardening It is moved to kernel self protection. Thanks to @izh1979 for the idea. --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index e3488fd..493d177 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -629,8 +629,6 @@ 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_MTE', 'y')] if arch in ('ARM', 'X86_32'): l += [KconfigCheck('harden_userspace', 'defconfig', 'VMSPLIT_3G', 'y')] if arch in ('X86_64', 'ARM64'):