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  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]
Date:   Wed, 25 Nov 2020 10:53:13 +1100 (AEDT)
From:   Finn Thain <>
To:     Miguel Ojeda <>
cc:     Kees Cook <>,
        James Bottomley <>,
        "Gustavo A. R. Silva" <>,
        Joe Perches <>,
        Jakub Kicinski <>,,,,,
        linux-wireless <>,,,
        linux-kernel <>,
        Nathan Chancellor <>,,,,,,,,,,,,,,,,
        Nick Desaulniers <>,,,,,,,,,,,,
        linux-input <>,
        Miguel Ojeda <>,,
        Ext4 Developers List <>,
        Linux Media Mailing List <>,,,,,,,,,,,,,,,,
        Linux ARM <>,,
        "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" <>,,,
        Linux-MM <>,
        Network Development <>,,,,,,,
        Linux Crypto Mailing List <>,,,,,
        Jonathan Cameron <>,
        Greg KH <>
Subject: Re: [Intel-wired-lan] [PATCH 000/141] Fix fall-through warnings for

On Wed, 25 Nov 2020, Miguel Ojeda wrote:

> The C standard has nothing to do with this. We use compiler extensions 
> of several kinds, for many years. Even discounting those extensions, the 
> kernel is not even conforming to C due to e.g. strict aliasing. I am not 
> sure what you are trying to argue here.

I'm saying that supporting the official language spec makes more sense 
than attempting to support a multitude of divergent interpretations of the 
spec (i.e. gcc, clang, coverity etc.)

I'm also saying that the reason why we use -std=gnu89 is that existing 
code was written in that language, not in ad hoc languages comprised of 
collections of extensions that change with every release.

> But, since you insist: yes, the `fallthrough` attribute is in the 
> current C2x draft.

Thank you for checking. I found a free version that's only 6 weeks old:

It will be interesting to see whether changes once the various 
implementations reach agreement.

Powered by blists - more mailing lists