Thread (29 messages) read the whole thread 29 messages, 9 authors, 2025-10-14

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

From: Linus Walleij <hidden>
Date: 2025-08-28 12:08:54
Also in: linux-doc, linux-hardening, linux-kbuild, linux-riscv, llvm

On Mon, Aug 25, 2025 at 4:26 PM Kees Cook [off-list ref] wrote:
From: Kees Cook <redacted>

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[1], rename CONFIG_CFI_CLANG to CONFIG_CFI (along with
associated options).

Link: https://lore.kernel.org/linux-hardening/20250821064202.work.893-kees@kernel.org (local) [1]
Signed-off-by: Kees Cook <redacted>
---
Cc: Sami Tolvanen <samitolvanen@google.com>
Cc: Linus Walleij <redacted>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Puranjay Mohan <puranjay@kernel.org>
Yeah that was not a good neutral name to begin with.
Reviewed-by: Linus Walleij <redacted>

I don't know about all that fuzz with providing the old symbol.
Seems complex. Folks anyway have to go over their config
symbols with every new kernel. But if people insist. I'm fine
either way.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help