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