Re: [PATCH v3 part1 0/4] Fix SG_IO ambiguity between READ SUBCHANNEL and UNMAP (and other similar cases)

From: Christoph Hellwig
Date: Wed Aug 27 2014 - 13:47:51 EST

On Wed, Aug 27, 2014 at 01:08:06PM +0100, Luis Henriques wrote:
> Thanks a lot for the update, Paolo.
> This is what I was actually expecting, although it's somewhat
> surprising, taking into account this is a security issue :-)

The right fix is to get rid of all the whitelisting BS and just allow
SG_IO if capable, not based on ownership checks.

With this all the problems with trying to work around the different commands
sets are gone.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at