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

Kees Cook keescook at chromium.org
Wed Oct 13 18:02:41 AEDT 2021


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 at csgroup.eu>

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

-- 
Kees Cook


More information about the Linuxppc-dev mailing list