diff options
author | Kees Cook <keescook@chromium.org> | 2018-06-29 21:45:36 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-07-02 14:50:03 +0300 |
commit | 1201a5a25cf0f7d8019d106a81c64f3a7397d17c (patch) | |
tree | 25b5c6edd320fad677a13c3b33c46718ab253685 /include/rdma | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) | |
download | linux-1201a5a25cf0f7d8019d106a81c64f3a7397d17c.tar.xz |
perf/arm-cci: Remove VLA usage
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@mail.gmail.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions