[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8dfb3fa6-5c1f-d644-7d21-72a9448c52cc@linux.microsoft.com>
Date: Fri, 5 Jun 2020 12:54:14 -0700
From: Lakshmi Ramasubramanian <nramas@...ux.microsoft.com>
To: Paul Moore <paul@...l-moore.com>, Mimi Zohar <zohar@...ux.ibm.com>
Cc: linux-integrity@...r.kernel.org, tusharsu@...ux.microsoft.com,
linux-kernel@...r.kernel.org, linux-audit@...hat.com
Subject: Re: [PATCH] IMA: Add log statements for failure conditions
On 6/5/20 12:37 PM, Paul Moore wrote:
> If it's audit related, it's generally best to CC the linux-audit list,
> not just me (fixed).
>
> It's not clear to me what this pr_err() is trying to indicate other
> than *something* failed. Can someone provide some more background on
> this message?
process_buffer_measurement() is currently used to measure
"kexec command line", "keys", and "blacklist-hash". If there was any
error in the measurement, this pr_err() will indicate which of the above
measurement failed and the related error code.
Please let me know if you need more info on this one.
Since a pr_xyz() call was already present, I just wanted to change the
log level to keep the code change to the minimum. But if audit log is
the right approach for this case, I'll update.
thanks,
-lakshmi
Powered by blists - more mailing lists