Thread (3 messages) 3 messages, 3 authors, 2018-07-02

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

From: Will Deacon <hidden>
Date: 2018-07-02 16:49:27
Also in: lkml

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 into macros.

[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA at mail.gmail.com

Signed-off-by: Kees Cook <redacted>
---
 drivers/perf/arm-cci.c | 38 ++++++++++++++++++++++++++------------
 1 file changed, 26 insertions(+), 12 deletions(-)
Thanks, I'll queue this up for 4.19.

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help