aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2019-10-17 20:39:22 +0100
committerMartin K. Petersen <[email protected]>2019-11-06 00:04:03 -0500
commitd9fc5617bcb6f8278ffedd0f25bfbb697da5ca87 (patch)
tree675b821667fa27f235ef8e95cd2487baa0b83b3f /tools/perf/scripts/python/stackcollapse.py
parentc35a5cfb41509c2214228aa321509ffd91cbf063 (diff)
scsi: sg: sg_new_write(): don't bother with access_ok
... just use copy_from_user(). We copy only SZ_SG_IO_HDR bytes, so that would, strictly speaking, loosen the check. However, for call chains via ->write() the caller has actually checked the entire range and SG_IO passes exactly SZ_SG_IO_HDR for count. So no visible behaviour changes happen if we check only what we really need for copyin. 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions