[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121113173834.GB19014@mtj.dyndns.org>
Date: Tue, 13 Nov 2012 09:38:34 -0800
From: Tejun Heo <tj@...nel.org>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
Alan Cox <alan@...rguk.ukuu.org.uk>,
James Bottomley <James.Bottomley@...senPartnership.com>,
Jens Axboe <axboe@...nel.dk>, Ric Wheeler <rwheeler@...hat.com>
Subject: Re: [PATCH v3 2/2] sg_io: introduce unpriv_sgio queue flag
On Tue, Nov 13, 2012 at 06:25:13PM +0100, Paolo Bonzini wrote:
> This queue flag will let unprivileged users send any SG_IO command to the
> device, without any filtering. This makes it possible to run a program
> where you want to access the full range of SCSI commands, while still
> running as confined as possible. With this patch, such a program will
> not need the CAP_SYS_RAWIO capability anymore, and will also not be
> able to send SCSI commands to a partition (which would affect the full
> disk).
>
> Cc: linux-scsi@...r.kernel.org
> Cc: Alan Cox <alan@...rguk.ukuu.org.uk>
> Cc: James Bottomley <James.Bottomley@...senPartnership.com>
> Cc: Jens Axboe <axboe@...nel.dk>
> Cc: Ric Wheeler <rwheeler@...hat.com>
> Cc: Tejun Heo <tj@...nel.org>
> Signed-off-by: Paolo Bonzini <pbonzini@...hat.com>
Acked-by: Tejun Heo <tj@...nel.org>
Thanks.
--
tejun
--
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