Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 890a6481 authored by Kees Cook's avatar Kees Cook
Browse files

ubsan: Restore dependency on ARCH_HAS_UBSAN


While removing CONFIG_UBSAN_SANITIZE_ALL, ARCH_HAS_UBSAN wasn't correctly
depended on. Restore this, as we do not want to attempt UBSAN builds
unless it's actually been tested on a given architecture.

Reported-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Closes: https://lore.kernel.org/all/20240514095427.541201-1-masahiroy@kernel.org
Fixes: 918327e9 ("ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL")
Link: https://lore.kernel.org/r/20240514233747.work.441-kees@kernel.org


Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent ce0d73ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment