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:   Tue, 21 Aug 2018 12:04:50 -0700
From:   Kees Cook <>
To:     Masahiro Yamada <>
Cc:     Nick Desaulniers <>,
        Andrew Morton <>,
        Linus Torvalds <>,
        James Hogan <>,
        Joe Stringer <>,
        Daniel Santos <>,
        Rusty Russell <>,
        Arnd Bergmann <>,
        Christopher Li <>,
        Sparse Mailing-list <>,
        LKML <>,
        George Burgess <>,
        James Y Knight <>
Subject: Re: [RFC PATCH] compiler.h: give up __compiletime_assert_fallback()

On Tue, Aug 21, 2018 at 9:15 AM, Masahiro Yamada
<> wrote:
>> Note that there are a few definitions of BUILD_BUG_ON that still use
>> this negative array size trick.  Should that pattern be removed from
>> them as well?  See:
>> * arch/x86/boot/boot.h#L33
>> * include/linux/build_bug.h#L66
>> * tools/include/linux/kernel.h#L38
> At this moment, -Wvla is the warning-3 level
> in scripts/Makefile.extrawarn.

We're down to a handful of VLA uses, but I don't think the negative
cases should matter since they're _intended_ to break a compile.


Kees Cook
Pixel Security

Powered by blists - more mailing lists