Linux Integrity Measurement development
 help / color / mirror / Atom feed
From: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
To: Mimi Zohar <zohar@linux.ibm.com>, linux-integrity@vger.kernel.org
Cc: Tyler Hicks <tyhicks@linux.microsoft.com>
Subject: Measure data again even when it has not changed
Date: Wed, 29 Jul 2020 10:17:05 -0700	[thread overview]
Message-ID: <8bcf778d-8fa8-9985-43d7-c2b80d8d8445@linux.microsoft.com> (raw)

Hi Mimi,

I have a query related to measuring data (by IMA subsystem) when that 
data has been already been measured.

Consider the following sequence of events:

=> At time T0 IMA hook is called by another subsystem to measure data 
"foo". IMA measures it.

=> At time T1 data is "bar". IMA measures it.

=> At time T2 data is "foo" again. But IMA doesn't measure it since it 
is already in the measured list.

But for the subsystem making the call to IMA, the state has changed and 
"foo" has to be measured again.

One way to address the above is to use unique "event name" in each call 
so that IMA measures the given data every time.

Is there a better way to address the above?

thanks,
  -lakshmi


             reply	other threads:[~2020-07-29 17:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29 17:17 Lakshmi Ramasubramanian [this message]
2020-07-30  3:23 ` Measure data again even when it has not changed Mimi Zohar
2020-07-30  3:41   ` Lakshmi Ramasubramanian
2020-07-30 12:05     ` Mimi Zohar
2020-07-30 13:12       ` Lakshmi Ramasubramanian
2020-07-30 14:05         ` Stephen Smalley

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=8bcf778d-8fa8-9985-43d7-c2b80d8d8445@linux.microsoft.com \
    --to=nramas@linux.microsoft.com \
    --cc=linux-integrity@vger.kernel.org \
    --cc=tyhicks@linux.microsoft.com \
    --cc=zohar@linux.ibm.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