linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mimi Zohar <zohar@linux.ibm.com>
To: Prakhar Srivastava <prsriva@microsoft.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-integrity@vger.kernel.org"
	<linux-integrity@vger.kernel.org>
Subject: Re: Adding cmldine args measure to ima
Date: Fri, 22 Mar 2019 16:36:24 -0400	[thread overview]
Message-ID: <1553286984.5291.2.camel@linux.ibm.com> (raw)
In-Reply-To: <DM5PR21MB0747326E1CAA3F66CE61B149BC430@DM5PR21MB0747.namprd21.prod.outlook.com>

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


      reply	other threads:[~2019-03-22 20:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-22 17:27 Adding cmldine args measure to ima Prakhar Srivastava
2019-03-22 20:36 ` Mimi Zohar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1553286984.5291.2.camel@linux.ibm.com \
    --to=zohar@linux.ibm.com \
    --cc=linux-integrity@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=prsriva@microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).