[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140827174746.GA18373@infradead.org>
Date: Wed, 27 Aug 2014 10:47:46 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Luis Henriques <luis.henriques@...onical.com>
Cc: Paolo Bonzini <pbonzini@...hat.com>, linux-kernel@...r.kernel.org,
tj@...nel.org
Subject: Re: [PATCH v3 part1 0/4] Fix SG_IO ambiguity between READ SUBCHANNEL
and UNMAP (and other similar cases)
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists