Re: [PATCH] perf/arm-cci: Remove VLA usage

2018-07-02 Thread Will Deacon
On Fri, Jun 29, 2018 at 11:45:36AM -0700, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > removes the VLA in favor of a maximum size and adds a sanity check > at registration time. The sizes are all explicitly enumerated already, > so this just collects them

Re: [PATCH] perf/arm-cci: Remove VLA usage

2018-06-29 Thread Arnd Bergmann
On Fri, Jun 29, 2018 at 8:45 PM, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > removes the VLA in favor of a maximum size and adds a sanity check > at registration time. The sizes are all explicitly enumerated already, > so this just collects them into ma

[PATCH] perf/arm-cci: Remove VLA usage

2018-06-29 Thread Kees Cook
In the quest to remove all stack VLA usage from the kernel[1], this removes the VLA in favor of a maximum size and adds a sanity check at registration time. The sizes are all explicitly enumerated already, so this just collects them into macros. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2F