lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wj7boyAACq+KN1_kd009W83FTJpXQrCRifTs_Zr=xTg+Q@mail.gmail.com>
Date:   Thu, 9 Jun 2022 11:51:29 -0700
From:   Linus Torvalds <torvalds@...ux-foundation.org>
To:     Nathan Chancellor <nathan@...nel.org>
Cc:     Kees Cook <keescook@...omium.org>,
        Philipp Zabel <p.zabel@...gutronix.de>,
        Shawn Guo <shawnguo@...nel.org>,
        Sascha Hauer <s.hauer@...gutronix.de>,
        Fabio Estevam <festevam@...il.com>,
        David Howells <dhowells@...hat.com>,
        Sven Schnelle <svens@...ux.ibm.com>,
        Heiko Carstens <hca@...ux.ibm.com>,
        Vasily Gorbik <gor@...ux.ibm.com>,
        Alexander Gordeev <agordeev@...ux.ibm.com>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] s390: disable -Warray-bounds

On Thu, Jun 9, 2022 at 7:55 AM Nathan Chancellor <nathan@...nel.org> wrote:
>
> I think this should be $(CONFIG_CC_NO_ARRAY_BOUNDS)?

Thanks, fixed.

Anyway, in order to deal with the (few - the rc2 week does tend to be
small) pull requests I have pending, I have basically worked around
all the new warnings I see.

Some of the workarounds are the proper fixes, but mostly it's a pretty
harsh "just shut that warning up". That includes for things that have
proper fixes pending (ie the netfs issue), where I just did a pretty
ugly but very localized

  #pragma GCC diagnostic ignored "-Wattribute-warning"

in the affected files.

End result: I have a clean 'allmodconfig' build again, and hopefully
most of these workarounds can either be tightened up or removed
entirely at some point.

It's this in my tree now:

    507160f46c55 ("netfs: gcc-12: temporarily disable
'-Wattribute-warning' for now")
    f0be87c42cbd ("gcc-12: disable '-Warray-bounds' universally for now")
    842c3b3ddc5f ("mellanox: mlx5: avoid uninitialized variable
warning with gcc-12")
    49beadbd47c2 ("gcc-12: disable '-Wdangling-pointer' warning for now")
    7aefd8b53815 ("drm: imx: fix compiler warning with gcc-12")
    6bfb56e93bce ("cert host tools: Stop complaining about deprecated
OpenSSL functions")

in case people care.

                      Linus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ