Re: [PATCH] kexec_buffer measure

From: Mimi Zohar
Date: Mon Apr 22 2019 - 20:18:21 EST


[Cc'ing LSM mailing list]

On Fri, 2019-04-19 at 17:30 -0700, prakhar srivastava wrote:

> 2) Adding a LSM hook
> We are doing both the command line and kernel version measurement in IMA.
> Can you please elaborate on how this can be used outside of the scenario?
> That will help me come back with a better design and code. I am
> neutral about this.

As I said previously, initially you might want to only measure the
kexec boot command line, but will you ever want to verify or audit log
the boot command line hash?ÂÂPerhaps LSMs would be interested in the
boot command line. ÂShould this be an LSM hook?

Mimi