Commit b30bc86
committed
IMA: measure.policy: limit dont_measure tmpfs policy to func=FILE_CHECK
add func=FILE_CHECK to dont_measure tmpfs
Similarly to tcb.policy limit dont_measure tmpfs policy to func=FILE_CHECK.
This allows to do extra measurements, e.g. kexec boot command line, see
kernel commit
7eef7c8bac9a ("ima: limit the builtin 'tcb' dont_measure tmpfs policy rule")
Also remove leading 0 from tmpfs magic (to match IMA docs and tcb.policy).
Link: https://lore.kernel.org/ltp/20250203210233.1407530-1-pvorel@suse.cz/
Suggested-by: Mimi Zohar <zohar@linux.ibm.com>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>1 parent a5c4714 commit b30bc86
File tree
1 file changed
+1
-1
lines changed- testcases/kernel/security/integrity/ima/datafiles/ima_policy
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments