[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250924164544.GA461995@ax162>
Date: Wed, 24 Sep 2025 09:45:44 -0700
From: Nathan Chancellor <nathan@...nel.org>
To: Kees Cook <kees@...nel.org>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Sami Tolvanen <samitolvanen@...gle.com>,
Mark Rutland <mark.rutland@....com>,
Peter Zijlstra <peterz@...radead.org>,
Puranjay Mohan <puranjay@...nel.org>,
Nicolas Schier <nicolas.schier@...ux.dev>,
Vegard Nossum <vegard.nossum@...cle.com>,
Masahiro Yamada <masahiroy@...nel.org>,
Jonathan Corbet <corbet@....net>,
Randy Dunlap <rdunlap@...radead.org>, Arnd Bergmann <arnd@...db.de>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
linux-doc@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v3 3/3] kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI
On Tue, Sep 23, 2025 at 02:34:19PM -0700, Kees Cook wrote:
> 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, rename CONFIG_CFI_CLANG to CONFIG_CFI (along with
> associated options).
>
> Use new "transitional" Kconfig option for old CONFIG_CFI_CLANG that will
> enable CONFIG_CFI during olddefconfig.
>
> Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
> Signed-off-by: Kees Cook <kees@...nel.org>
Reviewed-by: Nathan Chancellor <nathan@...nel.org>
FWIW, another instance of CONFIG_CFI_CLANG has snuck into -next via
commit aa34642f6fc3 ("tools headers: Sync linux/cfi_types.h with the
kernel source").
Powered by blists - more mailing lists