Messages in this thread | | | Subject | Re: [patch 5/5] scsi: fix uaccess handling | From | James Bottomley <> | Date | Fri, 15 Dec 2006 11:36:37 -0600 |
| |
On Sun, 2006-10-29 at 22:39 +0100, Heiko Carstens wrote: > > While not your fault I'd suggest to fix the __put_user abuse at the same > > time, as in the untested patch below for scsi_ioctl.c: > > Makes sense. Even though the whole SCSI_IOCTL_GET_IDLUN ioctl interface > is pretty pointless. > It supports only up to 255 different ids and luns and might return the > same 'dev_id' for two different devices... > Any user space utility that depends on this interface would do the wrong > thing (whatever that would be).
So has anyone actually tested this?
James
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |