From: Alexander Popov Date: Sat, 10 Dec 2022 17:44:23 +0000 (+0300) Subject: Add the nospectre_bhb check X-Git-Tag: v0.6.1~29 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=732eac6e7e7672693a5ee23c04c83a379a52917b;p=kconfig-hardened-check.git Add the nospectre_bhb check --- diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index d10cc62..8130dd4 100644 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -721,6 +721,7 @@ def add_cmdline_checks(l, arch): l += [CmdlineCheck('self_protection', 'defconfig', 'nopti', 'is not set')] l += [CmdlineCheck('self_protection', 'defconfig', 'nospectre_v1', 'is not set')] l += [CmdlineCheck('self_protection', 'defconfig', 'nospectre_v2', 'is not set')] + l += [CmdlineCheck('self_protection', 'defconfig', 'nospectre_bhb', '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')]