diff options
author | Kees Cook <[email protected]> | 2018-05-24 10:24:36 -0700 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2018-07-16 18:06:30 +1000 |
commit | 0d466901552a8b4e80cb3c0968e344751c2c9ac3 (patch) | |
tree | 2b76649f448fcfb1a026d3a755225b4c69263317 /tools/perf/util/trace-event-scripting.c | |
parent | 94a0b8634f4ccb0a512702f96df67914b615d556 (diff) |
drm/nouveau/secboot/acr: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this
allocates the working buffers before starting the writing so it won't
abort in the middle. This needs an initial walk of the lists to figure
out how large the buffer should be.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions