From: Johannes Berg <johannes.b...@intel.com>

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 <johannes.b...@intel.com>
---
 arch/um/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/um/Kconfig b/arch/um/Kconfig
index 93a5a8999b07..bc930cca92e2 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                        if X86_64
+       select ARCH_HAS_UBSAN
 
 config MMU
        bool
-- 
2.45.2


Reply via email to