Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1291798 > unrolled thread

Re: [RFC] powerpc: Enable UBSAN support

Started byAndrew Donnellan <andrew.donnellan@au1.ibm.com>
First post2015-12-15 03:50 +0100
Last post2015-12-15 03:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC] powerpc: Enable UBSAN support Andrew Donnellan <andrew.donnellan@au1.ibm.com> - 2015-12-15 03:50 +0100

#1291798 — Re: [RFC] powerpc: Enable UBSAN support

FromAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Date2015-12-15 03:50 +0100
SubjectRe: [RFC] powerpc: Enable UBSAN support
Message-ID<qFNQB-6ms-1@gated-at.bofh.it>
On 10/12/15 11:42, Daniel Axtens wrote:
> This hooks up UBSAN support for PowerPC.
>
> So far it's found some interesting cases where we don't properly sanitise
> input to shifts, including one in our futex handling. Nothing critical,
> but interesting and worth fixing.
>
> CC: Andrey Ryabinin <aryabinin@virtuozzo.com>
> ---
>
> This to be applied on top of next with Andrey's patches:
>   1) https://patchwork.kernel.org/patch/7761341/
>   2) https://patchwork.kernel.org/patch/7761351/
>   3) https://patchwork.kernel.org/patch/7761361/
>   4) https://patchwork.kernel.org/patch/7785791/
>
> This is RFC for a couple of reasons:
>
>   - I'd like the original patches to
>     s/ARCH_HAS_UBSAN_SANTIZE_ALL/ARCH_HAS_UBSAN_SAN*I*TIZE_ALL/
>     (I'm about to send an email about that)
>
>   - I've only tested on LE pseries so far - I want to test on powernv,
>     and on BE.
>
> Signed-off-by: Daniel Axtens <dja@axtens.net>

I tested this patch as found in linux-next, along with the SANITIZE_ALL 
typo fix, on a big-endian BML system, with gcc 5.2.1. It successfully 
picked up one of the shift input issues that Daniel found, so therefore...

Tested-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>

-- 
Andrew Donnellan              Software Engineer, OzLabs
andrew.donnellan@au1.ibm.com  Australia Development Lab, Canberra
+61 2 6201 8874 (work)        IBM Australia Limited

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web