You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ima_setup.sh: Quit the test on unsuitable IMA policy
Fixing 2 bug:
1) Test wrongly continued testing on SUT with unsuitable IMA policy when
LTP_IMA_LOAD_POLICY=1 was *not* set. That caused ima_keys.sh and
ima_kexec.sh TFAIL instead of TCONF.
2) Also don't attempt to load policy when needed but LTP_IMA_LOAD_POLICY=1
was *not* set.
This also reverts a5c4714 ("ima_measurements.sh: Check policy for test3")
which required the previous behavior. To restore behavior in the future
loading policy will need to be rewritten to allow check only for a
particular test or ima_measurements.sh can be split to require TCB
policy only for 3rd test.
Fixes: aac97cc ("ima_setup.sh: Allow to load predefined policy")
Signed-off-by: Petr Vorel <[email protected]>
0 commit comments