Files
linux/drivers/misc
Kees Cook e6d468d32c lkdtm/heap: Avoid __alloc_size hint warning for VMALLOC_LINEAR_OVERFLOW
Once __alloc_size hints have been added, the compiler will (correctly!)
see this as an overflow. We are, however, trying to test for this
condition at run-time (not compile-time), so work around it with a
volatile int offset.

Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210818174855.2307828-5-keescook@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-08-18 22:28:51 +02:00
..
2021-05-14 13:43:26 +02:00
2021-05-13 17:03:20 +02:00
2021-03-02 22:41:23 +11:00
2021-08-05 14:29:27 +02:00
2021-05-21 15:05:08 +02:00
2021-08-05 14:29:27 +02:00