From: patchwork-bot+netdevbpf@kernel•org
To: Kees Cook <keescook@chromium•org>
Cc: idryomov@gmail•com, xiubli@redhat•com, jlayton@kernel•org,
davem@davemloft•net, edumazet@google•com, kuba@kernel•org,
pabeni@redhat•com, ceph-devel@vger•kernel.org,
netdev@vger•kernel.org, nathan@kernel•org,
ndesaulniers@google•com, trix@redhat•com,
linux-kernel@vger•kernel.org, llvm@lists•linux.dev,
linux-hardening@vger•kernel.org
Subject: Re: [PATCH] ceph: Annotate struct ceph_monmap with __counted_by
Date: Mon, 18 Sep 2023 09:40:21 +0000 [thread overview]
Message-ID: <169503002181.24344.5873701629214587241.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20230915201510.never.365-kees@kernel.org>
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft•net>:
On Fri, 15 Sep 2023 13:15:10 -0700 you wrote:
> Prepare for the coming implementation by GCC and Clang of the __counted_by
> attribute. Flexible array members annotated with __counted_by can have
> their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS
> (for array indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family
> functions).
>
> As found with Coccinelle[1], add __counted_by for struct ceph_monmap.
> Additionally, since the element count member must be set before accessing
> the annotated flexible array member, move its initialization earlier.
>
> [...]
Here is the summary with links:
- ceph: Annotate struct ceph_monmap with __counted_by
https://git.kernel.org/netdev/net-next/c/1cb6422ecac8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2023-09-18 9:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-15 20:15 [PATCH] ceph: Annotate struct ceph_monmap with __counted_by Kees Cook
2023-09-15 20:51 ` Gustavo A. R. Silva
2023-09-18 0:25 ` Xiubo Li
2023-09-18 2:00 ` Kees Cook
2023-09-18 2:04 ` Gustavo A. R. Silva
2023-09-18 2:25 ` Xiubo Li
2023-09-18 9:40 ` patchwork-bot+netdevbpf [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=169503002181.24344.5873701629214587241.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel$(echo .)org \
--cc=ceph-devel@vger$(echo .)kernel.org \
--cc=davem@davemloft$(echo .)net \
--cc=edumazet@google$(echo .)com \
--cc=idryomov@gmail$(echo .)com \
--cc=jlayton@kernel$(echo .)org \
--cc=keescook@chromium$(echo .)org \
--cc=kuba@kernel$(echo .)org \
--cc=linux-hardening@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=llvm@lists$(echo .)linux.dev \
--cc=nathan@kernel$(echo .)org \
--cc=ndesaulniers@google$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=trix@redhat$(echo .)com \
--cc=xiubli@redhat$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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