Skip to content

Commit 53585f9

Browse files
committed
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 890a648 ("ubsan: Restore dependency on ARCH_HAS_UBSAN") (correctly) disabled it again, enable ARCH_HAS_UBSAN to get it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Link: https://patch.msgid.link/20240701220034.995eb04d656d.Ia29fe091b207fe66b5e26298c1e427ebcf131642@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
1 parent 5cd93c7 commit 53585f9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/um/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ config UML
3232
select TTY # Needed for line.c
3333
select HAVE_ARCH_VMAP_STACK
3434
select HAVE_RUST
35+
select ARCH_HAS_UBSAN
3536

3637
config MMU
3738
bool

0 commit comments

Comments
 (0)