From: Mimi Zohar <zohar@linux.ibm.com>
To: Xiaoke Wang <xkernel.wang@foxmail.com>
Cc: paul <paul@paul-moore.com>, jmorris <jmorris@namei.org>,
serge <serge@hallyn.com>,
linux-integrity <linux-integrity@vger.kernel.org>,
linux-security-module <linux-security-module@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v4] integrity: check the return value of audit_log_start()
Date: Wed, 26 Jan 2022 21:19:08 -0500 [thread overview]
Message-ID: <f87e6cef510013e3a7ce2ce31a444767650f9fdf.camel@linux.ibm.com> (raw)
In-Reply-To: <tencent_0685FF3C104366D05C368E2E0A88F043A507@qq.com>
Hi Xiaoke,
On Thu, 2022-01-27 at 09:59 +0800, Xiaoke Wang wrote:
> From: Xiaoke Wang <xkernel.wang@foxmail.com>
>
> audit_log_start() returns audit_buffer pointer on success or NULL on
> error, so it is better to check the return value of it.
>
> Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com>
> Reviewed-by: Paul Moore <paul@paul-moore.com>
Thanks, this patch is staged in the next-integrity-testing branch
https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git/
Mimi
prev parent reply other threads:[~2022-01-27 2:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-27 1:59 Xiaoke Wang
2022-01-27 2:19 ` Mimi Zohar [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=f87e6cef510013e3a7ce2ce31a444767650f9fdf.camel@linux.ibm.com \
--to=zohar@linux.ibm.com \
--cc=jmorris@namei.org \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=paul@paul-moore.com \
--cc=serge@hallyn.com \
--cc=xkernel.wang@foxmail.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®