lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46yv33pq5ilwi6kylrxuciyg2gdqbdj4zdpcnqf6bbp2b3xcnt@raah6px5gzlg>
Date: Wed, 27 Aug 2025 15:02:35 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: David Kaplan <david.kaplan@....com>
Cc: Thomas Gleixner <tglx@...utronix.de>, Borislav Petkov <bp@...en8.de>, 
	Peter Zijlstra <peterz@...radead.org>, Pawan Gupta <pawan.kumar.gupta@...ux.intel.com>, 
	Ingo Molnar <mingo@...hat.com>, Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org, 
	"H . Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/5] x86/bugs: Simplify SSB cmdline parsing

On Tue, Aug 19, 2025 at 02:21:58PM -0500, David Kaplan wrote:
> +static int __init ssb_parse_cmdline(char *str)
> +{
> +	if (!str)
> +		return -EINVAL;
>  
> -		for (i = 0; i < ARRAY_SIZE(ssb_mitigation_options); i++) {
> -			if (!match_option(arg, ret, ssb_mitigation_options[i].option))
> -				continue;
> +	if (!IS_ENABLED(CONFIG_MITIGATION_SSB))
> +		return 0;

Similar to elsewhere, I think we want to be consistent and allow
overriding the compile time default.

-- 
Josh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ