Thread (2 messages) 2 messages, 2 authors, 2021-03-23

[LTP] [PATCH v4] IMA: Allow only ima-buf template for key measurement

From: Petr Vorel <pvorel@suse.cz>
Date: 2021-03-23 07:16:14
Also in: linux-integrity

Hi Lakshmi, Mimi,

merged this one with slightly updated text of docs and commit message.

...
+check_policy_template()
+{
+	while read line; do
+	if ( echo $line | grep -q 'template=') && ( ! echo $line | grep -q 'template=ima-buf' ); then
FYI: parentheses are not necessary, thus I removed them.
+		tst_res TCONF "only template=ima-buf can be specified for KEY_CHECK"
+		return 1
+	fi
Kind regards,
Petr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help