summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-04-04 15:13:13 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2024-04-11 20:08:22 +0300
commit8d2aec3b2d7937ed77d2daa8f29c6dfc01100953 (patch)
tree4b0e6b44a918b7e23675e960636799753ae3097a /tools/perf/scripts/python/task-analyzer.py
parent0d7bf5e5b00a131cc02ecadbbf42563c0721aaeb (diff)
downloadlinux-8d2aec3b2d7937ed77d2daa8f29c6dfc01100953.tar.xz
KVM: x86: use u64_to_user_ptr()
There is no danger to the kernel if 32-bit userspace provides a 64-bit value that has the high bits set, but for whatever reason happens to resolve to an address that has something mapped there. KVM uses the checked version of get_user() and put_user(), so any faults are caught properly. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20240404121327.3107131-4-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions