diff options
author | Brijesh Singh <[email protected]> | 2018-02-23 12:36:50 -0600 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2018-02-24 02:24:12 +0100 |
commit | 3e233385ef4a217a2812115ed84d4be36eb16817 (patch) | |
tree | 68739747947735b581d92137b65d148227dec70a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 45d0be876308bf2f858559e84455219eadd9ddc7 (diff) |
KVM: SVM: no need to call access_ok() in LAUNCH_MEASURE command
Using the access_ok() to validate the input before issuing the SEV
command does not buy us anything in this case. If userland is
giving us a garbage pointer then copy_to_user() will catch it when we try
to return the measurement.
Suggested-by: Al Viro <[email protected]>
Fixes: 0d0736f76347 (KVM: SVM: Add support for KVM_SEV_LAUNCH_MEASURE ...)
Cc: Paolo Bonzini <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: [email protected]
Cc: Joerg Roedel <[email protected]>
Signed-off-by: Brijesh Singh <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions