Re: [PATCH 02/10] compiler.h: drop fallback overflow checkers
From: Kees Cook <hidden>
Date: 2021-09-13 16:21:50
Also in:
lkml
From: Kees Cook <hidden>
Date: 2021-09-13 16:21:50
Also in:
lkml
On Fri, Sep 10, 2021 at 04:40:39PM -0700, Nick Desaulniers wrote:
Once upgrading the minimum supported version of GCC to 5.1, we can drop
the fallback code for !COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW.
Effectively a revert of
commit f0907827a8a9 ("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 <redacted>With Nathan's comments addressed: Acked-by: Kees Cook <redacted> -Kees -- Kees Cook