Skip to content

Commit f53871d

Browse files
committed
ima_violations.sh: Declare tcb builtin policy
IMA builtin policy contains required rules, allow using it. This helps more reliable results on kernels without CONFIG_IMA_READ_POLICY=y. Link: https://lore.kernel.org/ltp/[email protected]/ Reviewed-by: Mimi Zohar <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
1 parent 4c74c7d commit f53871d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testcases/kernel/security/integrity/ima/tests/ima_violations.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ TST_SETUP="setup"
1010
TST_CLEANUP="cleanup"
1111
TST_CNT=3
1212

13+
REQUIRED_BUILTIN_POLICY="tcb"
1314
REQUIRED_POLICY_CONTENT='violations.policy'
1415

1516
setup()

0 commit comments

Comments
 (0)