diff options
author | Marc Zyngier <[email protected]> | 2015-09-16 10:54:37 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2015-09-16 14:50:04 +0100 |
commit | 1713e5aa05fff3951e747548b373bd2c81be4e7a (patch) | |
tree | d8d1c9a4e9ae3b81de11343139c56b29c7d2e043 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 43297dda0a51e4ffed0888ce727c218cfb7474b6 (diff) |
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 <[email protected]>
Cc: Alex Bennée <[email protected]>
Reviewed-by: Christoffer Dall <[email protected]>
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