[PATCH 3/5] x86/cfi: Add option for cfi=debug bootparam

Kees Cook kees at kernel.org
Mon Aug 25 08:34:00 PDT 2025


On Mon, Aug 25, 2025 at 07:25:50AM -0700, Kees Cook wrote:
>  static void __apply_fineibt(s32 *start_retpoline, s32 *end_retpoline,
>  			    s32 *start_cfi, s32 *end_cfi, bool builtin)
>  {
> +	if (builtin)
> +		pr_info("CFI: Using standard kCFI\n");
>  }

Oops, this needs IS_ENABLED(CONFIG_CFI) && ...

-- 
Kees Cook



More information about the linux-riscv mailing list