From: Johannes Berg Date: Mon, 1 Jul 2024 20:00:35 +0000 (+0200) Subject: um: enable UBSAN X-Git-Tag: v6.11-rc1~48^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53585f9ea40a9466ab9c1151f15984513eb542f7;p=thirdparty%2Flinux.git um: enable UBSAN We can select ARCH_HAS_UBSAN, it works just fine. It had been enabled and we even used it, but then commit 890a64810d59 ("ubsan: Restore dependency on ARCH_HAS_UBSAN") (correctly) disabled it again, enable ARCH_HAS_UBSAN to get it. Signed-off-by: Johannes Berg Link: https://patch.msgid.link/20240701220034.995eb04d656d.Ia29fe091b207fe66b5e26298c1e427ebcf131642@changeid Signed-off-by: Johannes Berg --- diff --git a/arch/um/Kconfig b/arch/um/Kconfig index e08a4a1a4bb6c..1faefc0a18eac 100644 --- a/arch/um/Kconfig +++ b/arch/um/Kconfig @@ -32,6 +32,7 @@ config UML select TTY # Needed for line.c select HAVE_ARCH_VMAP_STACK select HAVE_RUST + select ARCH_HAS_UBSAN config MMU bool