Date: Mon, 13 Nov 2017 10:54:51 +1100 From: "Tobin C. Harding" Message-ID: <20171112235451.GB11398@eros> References: <1509580240-28314-1-git-send-email-me@tobin.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [kernel-hardening] Re: [RFC] vla: add VLA macro and testing To: Nick Desaulniers Cc: Kees Cook , kernel-hardening@lists.openwall.com, Josh Poimboeuf List-ID: On Wed, Nov 08, 2017 at 03:04:25PM -0800, Nick Desaulniers wrote: > On Wed, Nov 8, 2017 at 2:58 PM, Kees Cook wrote: > > While I'd certainly like to see SOME kind of sanity checking for VLAs, > > my preference would be to entirely eliminate them at get -Werror=vla > > added to the Makefile. Even Linus has expressed irritation over the > > idea of VLAs in structs in the past: > > > > https://lkml.org/lkml/2013/9/23/500 > > VLAIS makes it difficult (impossible) to compile allyesconfig with > clang. VLA on the stack is fine, but VLAIS is not. What is VLAIS please? I don't get any results when grepping the kernel tree. $ git grep VLAIS thanks, Tobin.