From: Mimi Zohar <zohar@linux.ibm.com>
To: Frederick Lawler <fred@cloudflare.com>,
Roberto Sassu <roberto.sassu@huawei.com>,
Dmitry Kasatkin <dmitry.kasatkin@gmail.com>,
Eric Snowberg <eric.snowberg@oracle.com>,
Paul Moore <paul@paul-moore.com>,
James Morris <jmorris@namei.org>,
"Serge E. Hallyn" <serge@hallyn.com>
Cc: linux-integrity@vger.kernel.org,
linux-security-module@vger.kernel.org,
linux-kernel@vger.kernel.org, kernel-team@cloudflare.com
Subject: Re: [PATCH] ima: Report errno for failed hash collection to audit
Date: Fri, 24 Jul 2026 16:34:07 -0400 [thread overview]
Message-ID: <6e6642c14477e409ea34a6090a61cde7f00934fd.camel@linux.ibm.com> (raw)
In-Reply-To: <20260716-report-hash-error-v1-1-ac19281112e4@cloudflare.com>
Hi Frederick,
On Thu, 2026-07-16 at 14:10 -0500, Frederick Lawler wrote:
> integrity_audit_msg() wraps integrity_audit_message() such that errno is
> always set to zero. When debugging for failed hashes, it'd be nice to
> understand the corresponding error code with the cause.
>
> Signed-off-by: Frederick Lawler <fred@cloudflare.com>
This patch looks fine. Any chance you have time to look at the remaining IMA
calls to integrity_audit_msg() and fix them as well?
thanks,
Mimi
next prev parent reply other threads:[~2026-07-24 20:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-16 19:10 [PATCH] ima: Report errno for failed hash collection to audit Frederick Lawler
2026-07-24 20:34 ` Mimi Zohar [this message]
2026-07-24 21:59 ` Frederick Lawler
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=6e6642c14477e409ea34a6090a61cde7f00934fd.camel@linux.ibm.com \
--to=zohar@linux.ibm.com \
--cc=dmitry.kasatkin@gmail.com \
--cc=eric.snowberg@oracle.com \
--cc=fred@cloudflare.com \
--cc=jmorris@namei.org \
--cc=kernel-team@cloudflare.com \
--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=roberto.sassu@huawei.com \
--cc=serge@hallyn.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