Re: [PATCH v2 2/2] ima_policy.sh: Require kernel 4.5+ for test02
Mimi Zohar <[email protected]>
| Newsgroups | org.kernel.vger.linux-integrity,it.linux.lists.ltp |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2026-08-10 at 16:33 +0200, Petr Vorel wrote: > Signed-off-by: Petr Vorel <[email protected]> > --- > New in v2. > > @Mimi I appreciate your RBT or ABT. Thanks, Petr. Reviewed-by: Mimi Zohar <[email protected]> > > testcases/kernel/security/integrity/ima/tests/ima_policy.sh | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/testcases/kernel/security/integrity/ima/tests/ima_policy.sh b/testcases/kernel/security/integrity/ima/tests/ima_policy.sh > index d66f261a81..e6f4ff133a 100755 > --- a/testcases/kernel/security/integrity/ima/tests/ima_policy.sh > +++ b/testcases/kernel/security/integrity/ima/tests/ima_policy.sh > @@ -60,6 +60,11 @@ test2() > { > tst_res TINFO "verify that policy file is not opened concurrently and able to loaded multiple times" > > + if tst_kvcmp -lt 4.5; then > + tst_res TCONF "test requires kernel 4.5+" > + return > + fi > + > local p1 p2 rc1 rc2 > > require_policy_writable