Commit 5b6eb04c authored by Kees Cook's avatar Kees Cook Committed by Greg Kroah-Hartman
Browse files

ubsan: integer-overflow: depend on BROKEN to keep this out of CI

[ Upstream commit d6a0e0bf ]

Depending on !COMPILE_TEST isn't sufficient to keep this feature out of
CI because we can't stop it from being included in randconfig builds.
This feature is still highly experimental, and is developed in lock-step
with Clang's Overflow Behavior Types[1]. Depend on BROKEN to keep it
from being enabled by anyone not expecting it.

Link: https://discourse.llvm.org/t/rfc-v2-clang-introduce-overflowbehaviortypes-for-wrapping-and-non-wrapping-arithmetic/86507

 [1]
Reported-by: default avatarkernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202505281024.f42beaa7-lkp@intel.com


Fixes: 557f8c58 ("ubsan: Reintroduce signed overflow sanitizer")
Acked-by: default avatarEric Biggers <ebiggers@kernel.org>
Link: https://lore.kernel.org/r/20250528182616.work.296-kees@kernel.org


Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
Acked-by: default avatarMarco Elver <elver@google.com>
Signed-off-by: default avatarKees Cook <kees@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f3a472b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment