Skip to content

RFC sg_ioctl(): fix copyout handling

Al Viro linux-arch linux-fsdevel linux-scsi lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8sg_ioctl(): fix copyout handlingdrivers/scsi/sg.c+16 -270 replies
2/8sg_new_write(): replace access_ok() + __copy_from_user() with copy_from_user()drivers/scsi/sg.c+1 -50 replies
3/8sg_write(): __get_user() can fail...drivers/scsi/sg.c+4 -20 replies
4/8sg_read(): simplify reading ->pack_id of userland sg_io_hdr_tdrivers/scsi/sg.c+2 -110 replies
5/8sg_new_write(): don't bother with access_okdrivers/scsi/sg.c+1 -30 replies
6/8sg_read(): get rid of access_ok()/__copy_..._user()drivers/scsi/sg.c+6 -120 replies
7/8sg_write(): get rid of access_ok()/__copy_from_user()/__get_user()drivers/scsi/sg.c+3 -50 replies
8/8SG_IO: get rid of access_ok()drivers/scsi/sg.c+0 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread