[PATCH 5/5] kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI
Miguel Ojeda
miguel.ojeda.sandonis at gmail.com
Thu Aug 28 15:46:16 PDT 2025
On Thu, Aug 28, 2025 at 10:19 PM Nathan Chancellor <nathan at kernel.org> wrote:
>
> Ah yes, I reread your suggestion and that would probably be the best
> course of action, as it does avoid the extra symbol (although I am not
> sure what you mean by one less rename?). As I understand it:
>
> config CFI_CLANG
> bool "Use Kernel Control Flow Integrity (kCFI)"
> depends on ARCH_SUPPORTS_CFI
> depends on $(cc-option,-fsanitize=kcfi)
> help
> <generic help text>
>
> config CFI
> def_bool CFI_CLANG
>
> then keep the rest of the change the same with the rename? I guess the
Yeah, exactly. The name isn't great, though, as you mention, if users
with GCC see it early on.
By one less rename I just meant that we wouldn't have both CFI_GCC and
CFI_CLANG "moved"/"merged" into CFI later on (just 1).
Cheers,
Miguel
More information about the linux-riscv
mailing list