From: Paul Moore <paul@paul-moore.com>
To: Xiu Jianfeng <xiujianfeng@huawei.com>
Cc: eparis@redhat.com, gustavoars@kernel.org, keescook@chromium.org,
linux-audit@redhat.com, linux-kernel@vger.kernel.org,
linux-hardening@vger.kernel.org
Subject: Re: [PATCH -next, v3 1/2] audit: use struct_size() helper in audit_[send|make]_reply()
Date: Mon, 20 Dec 2021 14:52:22 -0500 [thread overview]
Message-ID: <CAHC9VhSAj08HSV4XKvRraK3v4PVSyh5jaLpNYxfOde5KJgsaQg@mail.gmail.com> (raw)
In-Reply-To: <20211217010152.61796-1-xiujianfeng@huawei.com>
On Thu, Dec 16, 2021 at 8:01 PM Xiu Jianfeng <xiujianfeng@huawei.com> wrote:
>
> Make use of struct_size() helper instead of an open-coded calculation.
>
> Link: https://github.com/KSPP/linux/issues/160
> Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
> ---
> kernel/audit.c | 2 +-
> kernel/auditfilter.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Merged into audit/next, thanks!
--
paul moore
www.paul-moore.com
next prev parent reply other threads:[~2021-12-20 19:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-17 1:01 [PATCH -next, v3 1/2] audit: use struct_size() helper in audit_[send|make]_reply() Xiu Jianfeng
2021-12-17 1:01 ` [PATCH -next, v3 2/2] audit: replace zero-length array with flexible-array member Xiu Jianfeng
2021-12-20 21:20 ` Paul Moore
2021-12-20 19:52 ` Paul Moore [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-16 2:08 [PATCH -next, v3 1/2] audit: use struct_size() helper in audit_[send|make]_reply() Xiu Jianfeng
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=CAHC9VhSAj08HSV4XKvRraK3v4PVSyh5jaLpNYxfOde5KJgsaQg@mail.gmail.com \
--to=paul@paul-moore.com \
--cc=eparis@redhat.com \
--cc=gustavoars@kernel.org \
--cc=keescook@chromium.org \
--cc=linux-audit@redhat.com \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=xiujianfeng@huawei.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;
as well as URLs for NNTP newsgroup(s).