[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173203718634.3118906.4631874727014346327.b4-ty@kernel.org>
Date: Tue, 19 Nov 2024 09:26:27 -0800
From: Kees Cook <kees@...nel.org>
To: Jan Hendrik Farr <kernel@...rr.cc>
Cc: Kees Cook <kees@...nel.org>,
nathan@...nel.org,
ojeda@...nel.org,
ndesaulniers@...gle.com,
morbo@...gle.com,
justinstitt@...gle.com,
thorsten.blum@...lux.com,
ardb@...nel.org,
oliver.sang@...el.com,
gustavoars@...nel.org,
kent.overstreet@...ux.dev,
arnd@...db.de,
gregkh@...uxfoundation.org,
akpm@...ux-foundation.org,
tavianator@...ianator.com,
linux-hardening@...r.kernel.org,
llvm@...ts.linux.dev,
linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH 1/1] Compiler Attributes: disable __counted_by for clang < 19.1.3
On Tue, 29 Oct 2024 15:00:36 +0100, Jan Hendrik Farr wrote:
> This patch disables __counted_by for clang versions < 19.1.3 because
> of the two issues listed below. It does this by introducing
> CONFIG_CC_HAS_COUNTED_BY.
>
> 1. clang < 19.1.2 has a bug that can lead to __bdos returning 0:
> https://github.com/llvm/llvm-project/pull/110497
>
> [...]
Applied to for-next/hardening, thanks!
[1/1] Compiler Attributes: disable __counted_by for clang < 19.1.3
https://git.kernel.org/kees/c/f06e108a3dc5
Take care,
--
Kees Cook
Powered by blists - more mailing lists