[PATCH] ima: Report errno for failed hash collection to audit
Mimi Zohar
zohar at linux.ibm.com
Fri Jul 24 20:34:07 UTC 2026
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 at 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
More information about the Linux-security-module-archive
mailing list