From: Chuck Lever <chuck.lever@oracle.com>
To: Thorsten Blum <thorsten.blum@toblux.com>
Cc: jlayton@kernel.org, neilb@suse.de, okorniev@redhat.com,
Dai.Ngo@oracle.com, tom@talpey.com, kees@kernel.org,
gustavoars@kernel.org, linux-nfs@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: [PATCH] NFSD: Annotate struct pnfs_block_deviceaddr with __counted_by()
Date: Thu, 29 Aug 2024 10:37:09 -0400 [thread overview]
Message-ID: <ZtCHlVZSea/M7oHT@tissot.1015granger.net> (raw)
In-Reply-To: <20240828214254.2407-2-thorsten.blum@toblux.com>
On Wed, 28 Aug 2024 23:42:55 +0200, Thorsten Blum wrote:
> Add the __counted_by compiler attribute to the flexible array member
> volumes to improve access bounds-checking via CONFIG_UBSAN_BOUNDS and
> CONFIG_FORTIFY_SOURCE.
>
> Use struct_size() instead of manually calculating the number of bytes to
> allocate for a pnfs_block_deviceaddr with a single volume.
>
> [...]
Applied to nfsd-next for v6.12, thanks!
[1/1] NFSD: Annotate struct pnfs_block_deviceaddr with __counted_by()
commit: 7dd2311b21ef121d0ce9f9b2e56d3e42b2534991
--
Chuck Lever
prev parent reply other threads:[~2024-08-29 14:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-28 21:42 Thorsten Blum
2024-08-28 22:09 ` Jeff Layton
2024-08-28 23:58 ` Gustavo A. R. Silva
2024-08-29 14:37 ` Chuck Lever [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=ZtCHlVZSea/M7oHT@tissot.1015granger.net \
--to=chuck.lever@oracle.com \
--cc=Dai.Ngo@oracle.com \
--cc=gustavoars@kernel.org \
--cc=jlayton@kernel.org \
--cc=kees@kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=neilb@suse.de \
--cc=okorniev@redhat.com \
--cc=thorsten.blum@toblux.com \
--cc=tom@talpey.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
all inboxes | Powered by JetHome®