Thread (15 messages) 15 messages, 4 authors, 2012-01-26

Re: [PATCH stable 3/4] block: fail SCSI passthrough ioctls on partition devices

From: Paolo Bonzini <pbonzini@redhat.com>
Date: 2012-01-17 09:56:10
Also in: linux-scsi, lkml

On 01/17/2012 05:07 AM, Ben Hutchings wrote:
Signed-off-by: Linus Torvalds<torvalds@linux-foundation.org>
[bwh: Backport to 2.6.32 - ENOIOCTLCMD does not get converted to
  ENOTTY, so we must return ENOTTY directly]
Signed-off-by: Ben Hutchings<redacted>
Have you tested 32-on-64?  I already did this change in the version for 
3.2 stable, but sd_compat_ioctl has to keep ENOIOCTLCMD:
[ Cherry picked from 3ed4e7ba4be8c72051d87dcb2dec279d97a18d41

  Changes with respect to 3.3: return -ENOTTY from scsi_verify_blk_ioctl
  and -ENOIOCTLCMD from sd_compat_ioctl. ]
Paolo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help