diff options
author | Kees Cook <[email protected]> | 2018-06-29 11:46:18 -0700 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2018-07-21 16:02:14 +0100 |
commit | 2326aceebc516fe5e7c5b8456f22ef05e2961264 (patch) | |
tree | 58a32bb1357a35c7640bf061ed5775227f67d92e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1d47191de7e15900f8fbfe7cccd7c6e1c2d7c31a (diff) |
KVM: arm64: vgic-its: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this
switches to using a maximum size and adds sanity checks. Additionally
cleans up some of the int-vs-u32 usage and adds additional bounds checking.
As it currently stands, this will always be 8 bytes until the ABI changes.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Cc: Christoffer Dall <[email protected]>
Cc: Eric Auger <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
[maz: dropped WARN_ONs]
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions