From: Nathan Chancellor <nathan@kernel.org>
To: Kees Cook <kees@kernel.org>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Sami Tolvanen <samitolvanen@google.com>,
Mark Rutland <mark.rutland@arm.com>,
Peter Zijlstra <peterz@infradead.org>,
Puranjay Mohan <puranjay@kernel.org>,
Nicolas Schier <nicolas.schier@linux.dev>,
Vegard Nossum <vegard.nossum@oracle.com>,
Masahiro Yamada <masahiroy@kernel.org>,
Jonathan Corbet <corbet@lwn.net>,
Randy Dunlap <rdunlap@infradead.org>,
Arnd Bergmann <arnd@arndb.de>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org,
linux-doc@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: [PATCH v3 3/3] kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI
Date: Wed, 24 Sep 2025 09:45:44 -0700 [thread overview]
Message-ID: <20250924164544.GA461995@ax162> (raw)
In-Reply-To: <20250923213422.1105654-3-kees@kernel.org>
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@linaro.org>
> Signed-off-by: Kees Cook <kees@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.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").
prev parent reply other threads:[~2025-09-24 16:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-23 21:34 [PATCH v3 0/3] kconfig: Add transitional symbol attribute for migration support Kees Cook
2025-09-23 21:34 ` [PATCH v3 1/3] kconfig: Fix BrokenPipeError warnings in selftests Kees Cook
2025-09-24 16:25 ` Nathan Chancellor
2025-09-23 21:34 ` [PATCH v3 2/3] kconfig: Add transitional symbol attribute for migration support Kees Cook
2025-09-24 16:38 ` Nathan Chancellor
2025-09-23 21:34 ` [PATCH v3 3/3] kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFI Kees Cook
2025-09-24 16:45 ` Nathan Chancellor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250924164544.GA461995@ax162 \
--to=nathan@kernel.org \
--cc=arnd@arndb.de \
--cc=corbet@lwn.net \
--cc=kees@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=masahiroy@kernel.org \
--cc=nicolas.schier@linux.dev \
--cc=peterz@infradead.org \
--cc=puranjay@kernel.org \
--cc=rdunlap@infradead.org \
--cc=samitolvanen@google.com \
--cc=vegard.nossum@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).