[LTP] [PATCH v6 0/3] IMA: Add tests for uid, gid, fowner, and fgroup options
Petr Vorel
pvorel@suse.cz
Wed Sep 22 13:53:07 CEST 2021
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
More information about the ltp
mailing list