aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2021-08-18 10:48:55 -0700
committerGreg Kroah-Hartman <[email protected]>2021-08-18 22:28:51 +0200
commite6d468d32cd084edd030a8bae76440b17b854b5c (patch)
treee31a1277a3770907f2b290fea8713d3d31380b03 /scripts/gdb/linux/utils.py
parentb8661450bc7f1f3dd746f8cac48534e0dfdc1cdf (diff)
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 <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions