diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-09-16 12:54:37 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2015-09-16 16:50:04 +0300 |
commit | 1713e5aa05fff3951e747548b373bd2c81be4e7a (patch) | |
tree | d8d1c9a4e9ae3b81de11343139c56b29c7d2e043 /tools/perf/scripts/python/syscall-counts.py | |
parent | 43297dda0a51e4ffed0888ce727c218cfb7474b6 (diff) | |
download | linux-1713e5aa05fff3951e747548b373bd2c81be4e7a.tar.xz |
arm64: KVM: Fix user access for debug registers
When setting the debug register from userspace, make sure that
copy_from_user() is called with its parameters in the expected
order. It otherwise doesn't do what you think.
Fixes: 84e690bfbed1 ("KVM: arm64: introduce vcpu->arch.debug_ptr")
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Cc: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions