aboutsummaryrefslogtreecommitdiffstats
path: root/lib/overflow_kunit.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2024-03-13 03:45:52 +0000
committerKees Cook <[email protected]>2024-03-18 18:24:14 +0000
commit77fcc34769c8a0a228af32c52ba7d3ef64690c0d (patch)
treec479f0468a890bc06a7a8460b3884f90a9da6ddc /lib/overflow_kunit.c
parentMerge tag 'vfs-6.9-rc1.fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadkernel-77fcc34769c8a0a228af32c52ba7d3ef64690c0d.tar.gz
kernel-77fcc34769c8a0a228af32c52ba7d3ef64690c0d.zip
ubsan: Disable signed integer overflow sanitizer on GCC < 8
For opting functions out of sanitizer coverage, the "no_sanitize" attribute is used, but in GCC this wasn't introduced until GCC 8. Disable the sanitizer unless we're not using GCC, or it is GCC version 8 or higher. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Reviewed-by: Marco Elver <[email protected]> Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions