[LTP] [PATCH 2/4] ima_conditionals.sh: Split test by request

Andrea Cervesato andrea.cervesato@suse.com
Mon Oct 6 13:40:09 CEST 2025


> verify_measurement() writes into /sys/kernel/security/ima/policy which on
> kernels without CONFIG_IMA_WRITE_POLICY requires SUT reboot. Because LTP does
> not support any reboot, this needs to be handled after test finishes. That's why
> I separated the tests. This helps to cover more than the first test case out of
> four.

Now I see, this is clearly a corner case given by LTP limitations. I
think we should probably start to think about reboot flag then. Once the
PR for the new SUT will be implemented in kirk, it's time to work on
this.

-- 
Andrea Cervesato
andrea.cervesato@suse.com



More information about the ltp mailing list