[dm-devel] [PATCH] dm: don't allow ioctls to targets that don't map to whole devices

Christoph Hellwig hch at lst.de
Fri Feb 3 10:34:43 UTC 2017


On Fri, Feb 03, 2017 at 11:10:10AM +0100, Johannes Thumshirn wrote:
> On 02/03/2017 11:06 AM, Christoph Hellwig wrote:
>> .. at least for unprivilegued users.  Before we called into the SCSI
>> ioctl code to allow excemptions for a few SCSI passthrough ioctls,
>> but this is pretty unsafe and except for this call dm knows nothing
>> about SCSI ioctls.  As SCSI the SCSI ioctl code is made optionally
>                                              ^~ duped SCSI or should it 
> read "as in SCSI the SCSI ioctl code [...]"

Yeah, thanks.




More information about the dm-devel mailing list