From 6f7e9c10f051e9b7120891403026cb927864cac0 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 10 Dec 2022 09:32:51 +0300 Subject: [PATCH] Add the nopauth check --- kconfig_hardened_check/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 34ecb25..f2170a5 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -21,7 +21,6 @@ # ARM64: # kpti=on # -# arm64.nopauth # arm64.nomte # # Hardware tag-based KASAN with arm64 Memory Tagging Extension (MTE): @@ -727,6 +726,7 @@ def add_cmdline_checks(l, arch): l += [CmdlineCheck('self_protection', 'defconfig', 'nospectre_v2', 'is not set')] l += [CmdlineCheck('self_protection', 'defconfig', 'nospec_store_bypass_disable', 'is not set')] l += [CmdlineCheck('self_protection', 'defconfig', 'arm64.nobti', 'is not set')] + l += [CmdlineCheck('self_protection', 'defconfig', 'arm64.nopauth', 'is not set')] l += [OR(CmdlineCheck('self_protection', 'defconfig', 'mitigations', 'is not off'), CmdlineCheck('self_protection', 'defconfig', 'mitigations', 'is not set'))] l += [OR(CmdlineCheck('self_protection', 'defconfig', 'spectre_v2', 'is not off'), -- 2.31.1