-
- Downloads
compiler.h: drop fallback overflow checkers
Once upgrading the minimum supported version of GCC to 5.1, we can drop the fallback code for !COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW. This is effectively a revert of commit f0907827 ("compiler.h: enable builtin overflow checkers and add fallback code") Link: https://github.com/ClangBuiltLinux/linux/issues/1438#issuecomment-916745801 Suggested-by:Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by:
Nick Desaulniers <ndesaulniers@google.com> Acked-by:
Kees Cook <keescook@chromium.org> Reviewed-by:
Nathan Chancellor <nathan@kernel.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- include/linux/compiler-clang.h 0 additions, 13 deletionsinclude/linux/compiler-clang.h
- include/linux/compiler-gcc.h 0 additions, 4 deletionsinclude/linux/compiler-gcc.h
- include/linux/overflow.h 3 additions, 135 deletionsinclude/linux/overflow.h
- tools/include/linux/compiler-gcc.h 0 additions, 4 deletionstools/include/linux/compiler-gcc.h
- tools/include/linux/overflow.h 3 additions, 137 deletionstools/include/linux/overflow.h
Loading
Please register or sign in to comment