[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240813125745.GO25962@twin.jikos.cz>
Date: Tue, 13 Aug 2024 14:57:45 +0200
From: David Sterba <dsterba@...e.cz>
To: Thorsten Blum <thorsten.blum@...lux.com>
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com, kees@...nel.org,
gustavoars@...nel.org, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH] btrfs: Annotate struct name_cache_entry with
__counted_by()
On Tue, Aug 13, 2024 at 12:53:15PM +0200, Thorsten Blum wrote:
> Add the __counted_by compiler attribute to the flexible array member
> name to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...lux.com>
Thanks,
Reviewed-by: David Sterba <dsterba@...e.com>
Powered by blists - more mailing lists