[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYnM98n3JLBwVnVD3BRf4qrg4g9aBDqL_2Qb_cao6f5yA@mail.gmail.com>
Date: Thu, 28 Aug 2025 14:08:42 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Kees Cook <kees@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>, Kees Cook <kees@...flux.net>,
Sami Tolvanen <samitolvanen@...gle.com>, Mark Rutland <mark.rutland@....com>,
Puranjay Mohan <puranjay@...nel.org>, David Woodhouse <dwmw2@...radead.org>,
Jonathan Corbet <corbet@....net>, Nathan Chancellor <nathan@...nel.org>, x86@...nel.org,
linux-doc@...r.kernel.org, linux-kbuild@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-riscv@...ts.infradead.org,
llvm@...ts.linux.dev, linux-hardening@...r.kernel.org
Subject: Re: [PATCH 5/5] kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI
On Mon, Aug 25, 2025 at 4:26 PM Kees Cook <kees@...nel.org> wrote:
> From: Kees Cook <kees@...flux.net>
>
> 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 [1]
> Signed-off-by: Kees Cook <kees@...flux.net>
> ---
> Cc: Sami Tolvanen <samitolvanen@...gle.com>
> Cc: Linus Walleij <linus.walleij@...aro.org>
> Cc: Mark Rutland <mark.rutland@....com>
> Cc: Peter Zijlstra <peterz@...radead.org>
> Cc: Puranjay Mohan <puranjay@...nel.org>
Yeah that was not a good neutral name to begin with.
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
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
Powered by blists - more mailing lists