[PATCH 5/5] kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Mon Aug 25 08:01:13 PDT 2025


On Mon, Aug 25, 2025 at 4:28 PM Kees Cook <kees at kernel.org> wrote:
>
> -config CFI_CLANG
> -       bool "Use Clang's Control Flow Integrity (CFI)"
> -       depends on ARCH_SUPPORTS_CFI_CLANG
> +config CFI
> +       bool "Use Kernel Control Flow Integrity (kCFI)"
> +       depends on ARCH_SUPPORTS_CFI
>         depends on $(cc-option,-fsanitize=kcfi)
>         help

Do we need to do something to make the transition smoother, i.e.
keeping the old one for a while to avoid a new question etc.?

Thanks!

Cheers,
Miguel



More information about the linux-riscv mailing list