[PATCH] arch/x86/um: Disable UBSAN sanitization
Johannes Berg
johannes at sipsolutions.net
Mon May 13 05:52:56 PDT 2024
On Mon, 2024-05-13 at 14:42 +0200, Roberto Sassu wrote:
> On Mon, 2024-05-13 at 14:29 +0200, Johannes Berg wrote:
> > On Mon, 2024-05-13 at 14:27 +0200, Roberto Sassu wrote:
> > > From: Roberto Sassu <roberto.sassu at huawei.com>
> > >
> > > Disable UBSAN sanitization on UML, since UML does not support it.
> > >
> >
> > Luckily, that isn't actually true, nor does it actually do this at all.
> > Please fix the commit message.
>
> Thanks, I was actually wondering. I based that statement based on
> ARCH_HAS_UBSAN=n.
>
> Any other solution would be ok.
Not sure I get it. What you're doing in the patch is perfectly fine and
almost certainly required, but you're definitely not disabling UBSAN on
ARCH=um as you described in the commit message?
johannes
More information about the linux-um
mailing list