lkml.org 
[lkml]   [2012]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 2/3] block: fail SCSI passthrough ioctls on partition devices
From
Date
On Mon, 2012-01-16 at 09:51 +0100, Paolo Bonzini wrote:
> 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@kernel.org', 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, I've just done this for Debian's stable kernel based on 2.6.32.
I'll send them as a follow-up to this.

Ben.

--
Ben Hutchings
When in doubt, use brute force. - Ken Thompson
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-01-17 05:01    [from the cache]
©2003-2011 Jasper Spaans