public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Mimi Zohar <zohar@linux.vnet.ibm.com>
To: ltp@lists.linux.it
Subject: [LTP] [COMMITTED] [PATCH 1/1] ima/ima_measurements.sh: Add info about tests expecting tcb policy
Date: Fri, 27 Apr 2018 09:46:23 -0400	[thread overview]
Message-ID: <1524836783.3416.57.camel@linux.vnet.ibm.com> (raw)
In-Reply-To: <20180427134333.29017-1-pvorel@suse.cz>

On Fri, 2018-04-27 at 15:43 +0200, Petr Vorel wrote:
> IMA tests assume tcb policy [1]. But only measurement tests are failing,
> let's puts the info only for them.
> 
> This should be better detected [1] as after tests running for first time
> tcb policy is loaded by ima_policy.sh test.
> 
> Suggested-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
> 
> [1] https://lists.linux.it/pipermail/ltp/2018-April/007924.html
> 
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>  testcases/kernel/security/integrity/ima/tests/ima_measurements.sh | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/testcases/kernel/security/integrity/ima/tests/ima_measurements.sh b/testcases/kernel/security/integrity/ima/tests/ima_measurements.sh
> index 294e29d30..88eabd2a3 100755
> --- a/testcases/kernel/security/integrity/ima/tests/ima_measurements.sh
> +++ b/testcases/kernel/security/integrity/ima/tests/ima_measurements.sh
> @@ -37,6 +37,8 @@ setup()
>  	DIGEST_INDEX=
>  	grep -q "ima-ng" $ASCII_MEASUREMENTS && DIGEST_INDEX=1
>  	grep -q "ima-sig" $ASCII_MEASUREMENTS && DIGEST_INDEX=2
> +
> +	tst_res TINFO "IMA measurement tests assume tcb policy to be loaded (ima_policy=tbc)"
>  }

^tcb

>  # TODO: find support for rmd128 rmd256 rmd320 wp256 wp384 tgr128 tgr160


  reply	other threads:[~2018-04-27 13:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-27 13:43 [LTP] [COMMITTED] [PATCH 1/1] ima/ima_measurements.sh: Add info about tests expecting tcb policy Petr Vorel
2018-04-27 13:46 ` Mimi Zohar [this message]
2018-05-01 14:02   ` Petr Vorel

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=1524836783.3416.57.camel@linux.vnet.ibm.com \
    --to=zohar@linux.vnet.ibm.com \
    --cc=ltp@lists.linux.it \
    /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