summaryrefslogtreecommitdiffstats
path: root/arch/Kconfig
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2024-03-12 20:45:52 -0700
committerKees Cook <keescook@chromium.org>2024-03-18 11:24:14 -0700
commit77fcc34769c8a0a228af32c52ba7d3ef64690c0d (patch)
treec479f0468a890bc06a7a8460b3884f90a9da6ddc /arch/Kconfig
parent0a7b0acecea273c8816f4f5b0e189989470404cf (diff)
downloadlinux-stable-77fcc34769c8a0a228af32c52ba7d3ef64690c0d.tar.gz
linux-stable-77fcc34769c8a0a228af32c52ba7d3ef64690c0d.tar.bz2
linux-stable-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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202403110643.27JXEVCI-lkp@intel.com/ Reviewed-by: Marco Elver <elver@google.com> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions