aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2019-10-17 20:39:24 +0100
committerMartin K. Petersen <[email protected]>2019-11-06 00:04:03 -0500
commita64e5a868573d6fe3b76e8d17538b10499239631 (patch)
tree8ba2815425201489eb73721fa405300449d82a64 /tools/perf/scripts/python
parentc8c12792d5fe11375af54c6bbbbebdda105eb933 (diff)
scsi: sg: sg_write(): get rid of access_ok()/__copy_from_user()/__get_user()
Just use plain copy_from_user() and get_user(). Note that while a buf-derived pointer gets stored into ->dxferp, all places that actually use the resulting value feed it either to import_iovec() or to import_single_range(), and both will do validation. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Al Viro <[email protected]> Acked-by: Douglas Gilbert <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions