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

Mimi Zohar zohar at linux.ibm.com
Mon Mar 22 18:02:27 UTC 2021


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 at linux.ibm.com>
> 
> 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





More information about the Linux-security-module-archive mailing list