ubsan: remove cc-option test for UBSAN_TRAP
authorNick Desaulniers <ndesaulniers@google.com>
Fri, 7 Apr 2023 21:54:06 +0000 (14:54 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 17 May 2023 19:01:54 +0000 (12:01 -0700)
commit08e4044243a668ea2801cebffcb7c07df568ed3f
tree3c3142fc62a96fa505e0879ad38cedab4f52f19b
parent55c84a5cf2c72a821719823ef2ebef01b119025b
ubsan: remove cc-option test for UBSAN_TRAP

-fsanitize-undefined-trap-on-error has been supported since GCC 5.1 and
Clang 3.2.  The minimum supported version of these according to
Documentation/process/changes.rst is 5.1 and 11.0.0 respectively. Drop
this cc-option check.

Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230407215406.768464-1-ndesaulniers@google.com
lib/Kconfig.ubsan