aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDave Martin <Dave.Martin@arm.com>2018-09-27 16:53:21 +0100
committerWill Deacon <will.deacon@arm.com>2018-10-01 14:38:05 +0100
commitd26c25a9d19b5976b319af528886f89cf455692d (patch)
treea7d45ee45745dda7244f599d6374486672535417 /tools/perf/scripts/python/stackcollapse.py
parent031e6e6b4e1277e76e73a6ab209095ad9bf3ce52 (diff)
arm64: KVM: Tighten guest core register access from userspace
We currently allow userspace to access the core register file in about any possible way, including straddling multiple registers and doing unaligned accesses. This is not the expected use of the ABI, and nobody is actually using it that way. Let's tighten it by explicitly checking the size and alignment for each field of the register file. Cc: <stable@vger.kernel.org> Fixes: 2f4a07c5f9fe ("arm64: KVM: guest one-reg interface") Reviewed-by: Christoffer Dall <christoffer.dall@arm.com> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Dave Martin <Dave.Martin@arm.com> [maz: rewrote Dave's initial patch to be more easily backported] Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions