Re: [PATCH 1/2] ima: don't access a file's integrity status before an IMA policy is loaded

From: Mimi Zohar
Date: Mon Mar 22 2021 - 14:03:37 EST


On Mon, 2021-03-22 at 09:51 -0700, Eric Biggers wrote:
> On Mon, Mar 22, 2021 at 11:42:06AM -0400, Mimi Zohar wrote:
> > Only after an IMA policy is loaded, check, save, or update the cached
> > file's integrity status.
> >
> > Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxxxxx>
>
> This commit message doesn't describe what the actual effect of this change is.
> Is it fixing something?

No, it's just short circuiting out even earlier, but isn't needed.

Mimi