* Adding cmldine args measure to ima
@ 2019-03-22 17:27 Prakhar Srivastava
2019-03-22 20:36 ` Mimi Zohar
0 siblings, 1 reply; 2+ messages in thread
From: Prakhar Srivastava @ 2019-03-22 17:27 UTC (permalink / raw)
To: linux-kernel, linux-integrity
Hi,
Currently Kexec (kexec_file_load) code path does not measure the cmdline
arguments passed to the next kernel.The boot_aggregate won't change since
the EFI loader hasn't been triggered. Attesting the same in K2 has no impact.
Adding the cmdline measurement will add some attestable criteria.
To account for the cmdline passed, we are looking at using IMA to measure and
pass the buffer so that it can be attested.
Do you have any alternate solutions/concerns with this approach?
Thanks,
Prakhar Srivastava
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Adding cmldine args measure to ima
2019-03-22 17:27 Adding cmldine args measure to ima Prakhar Srivastava
@ 2019-03-22 20:36 ` Mimi Zohar
0 siblings, 0 replies; 2+ messages in thread
From: Mimi Zohar @ 2019-03-22 20:36 UTC (permalink / raw)
To: Prakhar Srivastava, linux-kernel, linux-integrity
On Fri, 2019-03-22 at 17:27 +0000, Prakhar Srivastava wrote:
> Hi,
>
> Currently Kexec (kexec_file_load) code path does not measure the cmdline
> arguments passed to the next kernel.The boot_aggregate won't change since
> the EFI loader hasn't been triggered. Attesting the same in K2 has no impact.
> Adding the cmdline measurement will add some attestable criteria.
>
> To account for the cmdline passed, we are looking at using IMA to measure and
> pass the buffer so that it can be attested.
>
> Do you have any alternate solutions/concerns with this approach?
I started looking at this a couple of years ago, but haven't had time.
I definitely don't have problems with extending IMA to measure the
boot command line.
Mimi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-22 20:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22 17:27 Adding cmldine args measure to ima Prakhar Srivastava
2019-03-22 20:36 ` Mimi Zohar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).