Re: [PATCH v3 5/7] selftests/ima: kexec_file_load syscall test

From: Mimi Zohar
Date: Thu Mar 14 2019 - 14:38:58 EST


On Wed, 2019-03-13 at 11:14 +0100, Petr Vorel wrote:

> > > So if split kexec tests to another folder is not doable please just
> > > ignore the comment.
>
> > Left in the selftests/ima is a similar test for kernel modules, which
> > uses the "common" functions. ÂSo either we wait to move the kexec
> > tests or allow them to reach into the ima directory and use the
> > ima_common_lib functions.
> I guess just load ima_common_lib.sh for now would be good enough.

After thinking about it some more, I've decided to remove the kernel
module test from this patch set and to simply move everything from the
selftests/ima to selftests/kexec.

The kernel module test will access scripts/kexec/kexec_common_lib.sh
until there is a generic set of functions.

Mimi