lkml.org 
[lkml]   [2012]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH stable 3/4] block: fail SCSI passthrough ioctls on partition devices
On Tue, Jan 24, 2012 at 01:56:10PM +0100, Paolo Bonzini wrote:
> On 01/18/2012 05:04 PM, Ben Hutchings wrote:
> >> There is harm. You'll be blacklisting also the standard block device
> >> ioctls, and those won't work on 32-on-64 anymore. A system with 32-bit
> >> userland will likely not boot anymore.
> >
> >It does (yes, I tested that myself now). The standard block device
> >ioctls are handled without calling the driver's compat_ioctl.
>
> What about the non-compat path when done by non-root?
>
> * Does BLKROSET still return EACCES when run by non-root and without
> CAP_SYS_ADMIN? I suspect your patch is changing it to EINVAL.
>
> * Does BLKFLSBUF work when run by non-root but with CAP_SYS_ADMIN?

I'm confused here as well.

Can someone please send me the proper patch that I need to apply to
resolve this issue on the 2.6.32.y kernel?

thanks,

greg k-h


\
 
 \ /
  Last update: 2012-01-26 01:21    [W:0.063 / U:5.104 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site