On Tue, Sep 23, 2025 at 02:34:19PM -0700, Kees Cook wrote: > The kernel's CFI implementation uses the KCFI ABI specifically, and is > not strictly tied to a particular compiler. In preparation for GCC > supporting KCFI, rename CONFIG_CFI_CLANG to CONFIG_CFI (along with > associated options). > > Use new "transitional" Kconfig option for old CONFIG_CFI_CLANG that will > enable CONFIG_CFI during olddefconfig. > > Reviewed-by: Linus Walleij <[email protected]> > Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]> FWIW, another instance of CONFIG_CFI_CLANG has snuck into -next via commit aa34642f6fc3 ("tools headers: Sync linux/cfi_types.h with the kernel source").
