Re: [PATCH v2 2/3] block: fail SCSI passthrough ioctls on partitiondevices
From: Paolo Bonzini
Date: Mon Jan 16 2012 - 03:51:20 EST
On 01/15/2012 12:43 AM, Linus Torvalds wrote:
Anyway, with the changes to print out warnings and still allow it for
root, this all looked safe and nice, so they are in my tree now. I
only noticed after applying them that you hadn't marked them with 'cc:
stable@xxxxxxxxxx', so we should probably point Greg at them. They are
commits
577ebb374c78 block: add and use scsi_blk_cmd_ioctl
0bfc96cb7722 block: fail SCSI passthrough ioctls on partition devices
ec8013beddd7 dm: do not forward ioctls from logical volumes to the
underlying device
in my tree now.
I'll tweak them myself for stable based on what you committed, so that
they do not require your ENOTTY/ENOIOCTLCMD change (i.e. with the uglier
v1 implementation).
Thanks very much.
Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/