public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v6 0/3] IMA: Add tests for uid, gid, fowner, and fgroup options
@ 2021-09-22 11:53 Petr Vorel
  2021-09-22 11:53 ` [LTP] [PATCH v6 1/3] IMA: Move check_policy_writable() to ima_setup.sh and rename it Petr Vorel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Petr Vorel @ 2021-09-22 11:53 UTC (permalink / raw)
  To: ltp; +Cc: linux-integrity

Hi,

I've fixed Alex's v5.

changes v5->v6:
* add test_file parameter to ima_check() (using global for function is ugly)
* keep $TEST_FILE in ima_measurements.sh ]
* add verify_measurement() (DRY)

Alex Henrie (3):
  IMA: Move check_policy_writable() to ima_setup.sh and rename it
  IMA: Move ima_check to ima_setup.sh
  IMA: Add tests for uid, gid, fowner, and fgroup options

 runtest/ima                                   |  1 +
 .../integrity/ima/tests/ima_conditionals.sh   | 62 +++++++++++++++++++
 .../integrity/ima/tests/ima_measurements.sh   | 31 +---------
 .../integrity/ima/tests/ima_policy.sh         | 16 +----
 .../security/integrity/ima/tests/ima_setup.sh | 38 ++++++++++++
 5 files changed, 106 insertions(+), 42 deletions(-)
 create mode 100755 testcases/kernel/security/integrity/ima/tests/ima_conditionals.sh

-- 
2.33.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-23  9:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-22 11:53 [LTP] [PATCH v6 0/3] IMA: Add tests for uid, gid, fowner, and fgroup options Petr Vorel
2021-09-22 11:53 ` [LTP] [PATCH v6 1/3] IMA: Move check_policy_writable() to ima_setup.sh and rename it Petr Vorel
2021-09-22 11:53 ` [LTP] [PATCH v6 2/3] IMA: Move ima_check to ima_setup.sh Petr Vorel
2021-09-22 11:53 ` [LTP] [PATCH v6 3/3] IMA: Add tests for uid, gid, fowner, and fgroup options Petr Vorel
2021-09-22 17:06   ` Alex Henrie
2021-09-23  9:14     ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox