Re: [PATCH] ubsan: Restore dependency on ARCH_HAS_UBSAN

2024-05-15 Thread Marco Elver
On Wed, 15 May 2024 at 01:38, Kees Cook wrote: > > 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: Masahiro Yamada >

[PATCH] ubsan: Restore dependency on ARCH_HAS_UBSAN

2024-05-14 Thread Kees Cook
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: Masahiro Yamada Closes: