Re: [PATCH v1 07/10] lkdtm: Force do_nothing() out of line

Kees Cook
2021-10-13T07:02:41Z

On Mon, Oct 11, 2021 at 05:25:34PM +0200, Christophe Leroy wrote:
> LKDTM tests display that the run do_nothing() at a given
> address, but in reality do_nothing() is inlined into the
> caller.
>
> Force it out of line so that it really runs text at the
> displayed address.
>
> Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>

Acked-by: Kees Cook <keescook@chromium.org>

--
Kees Cook