From: Alexander Popov Date: Sat, 10 Dec 2022 06:33:43 +0000 (+0300) Subject: Add the nomte check X-Git-Tag: v0.6.1~34 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=67d4c7de68cac2b1cc0c62cb77702c08dbb32368;p=kconfig-hardened-check.git Add the nomte check --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index f2170a5..ebe6fc8 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -21,8 +21,6 @@ # ARM64: # kpti=on # -# arm64.nomte -# # Hardware tag-based KASAN with arm64 Memory Tagging Extension (MTE): # kasan=on # kasan.stacktrace=off @@ -727,6 +725,7 @@ def add_cmdline_checks(l, arch): 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 += [CmdlineCheck('self_protection', 'defconfig', 'arm64.nomte', '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'),