Files
android_kernel_xiaomi_sm8450/drivers
Michael Ellerman c55d240003 lkdtm: Prevent the compiler from optimising lkdtm_CORRUPT_STACK()
At least on powerpc with GCC 6, the compiler is smart enough to optimise
lkdtm_CORRUPT_STACK() into an empty function that just returns.

If we print the buffer after we've written to it that prevents the
compiler from optimising away data and the memset().

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-15 19:26:06 +01:00
..
2016-11-11 23:23:02 +01:00
2016-11-14 16:39:47 +01:00
2016-11-14 16:39:47 +01:00
2016-11-13 10:02:22 -08:00
2016-11-14 16:39:47 +01:00
2016-11-14 16:39:47 +01:00
2016-11-09 16:54:31 +01:00
2016-11-10 13:12:59 +01:00
2016-11-01 09:04:04 -06:00
2016-10-19 08:39:47 -07:00