[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1166204197.2846.22.camel@mulgrave.il.steeleye.com>
Date: Fri, 15 Dec 2006 11:36:37 -0600
From: James Bottomley <James.Bottomley@...elEye.com>
To: Heiko Carstens <heiko.carstens@...ibm.com>
Cc: Christoph Hellwig <hch@...radead.org>,
Andrew Morton <akpm@...l.org>, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org
Subject: Re: [patch 5/5] scsi: fix uaccess handling
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists