diff options
| author | Kees Cook <keescook@chromium.org> | 2018-09-06 01:03:51 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-10-08 08:42:00 +0300 |
| commit | 31a43fa7945a1de8c550b35c211be5670e32f12b (patch) | |
| tree | 4e2bc3c2bea2aa6b4e644013718cefc9e99f7e37 /tools/perf/scripts/python | |
| parent | df58f37b5d8f883fb18ba85e8d9a624154879832 (diff) | |
| download | linux-31a43fa7945a1de8c550b35c211be5670e32f12b.tar.xz | |
sparc64: viohs: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this
allocates a fixed size array for the maximum number of cookies and
adds a runtime sanity check.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1
RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
