Re: [PATCH] ima: Report errno for failed hash collection to audit
From: Mimi Zohar
Date: Fri Jul 24 2026 - 16:34:43 EST
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@xxxxxxxxxxxxxx>
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