[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <168512138720.187005.8346289423859319616.b4-ty@chromium.org>
Date: Fri, 26 May 2023 10:16:29 -0700
From: Kees Cook <keescook@...omium.org>
To: ojeda@...nel.org, keescook@...omium.org
Cc: qing.zhao@...cle.com, morbo@...gle.com, llvm@...ts.linux.dev,
trix@...hat.com, linux-kernel@...r.kernel.org, nathan@...nel.org,
linux-hardening@...r.kernel.org, gustavoars@...nel.org,
ndesaulniers@...gle.com
Subject: Re: [PATCH v2] Compiler Attributes: Add __counted_by macro
On Wed, 17 May 2023 12:08:44 -0700, Kees Cook wrote:
> In an effort to annotate all flexible array members with their run-time
> size information, the "element_count" attribute is being introduced by
> Clang[1] and GCC[2] in future releases. This annotation will provide
> the CONFIG_UBSAN_BOUNDS and CONFIG_FORTIFY_SOURCE features the ability
> to perform run-time bounds checking on otherwise unknown-size flexible
> arrays.
>
> [...]
FYI, applied to for-next/hardening:
[1/1] Compiler Attributes: Add __counted_by macro
https://git.kernel.org/kees/c/86a76e91cbab
--
Kees Cook
Powered by blists - more mailing lists