[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <15e827b8-5bf9-eed4-7358-80f9e2a7766a@kernel.dk>
Date: Tue, 24 Aug 2021 10:13:42 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Niklas Cassel <Niklas.Cassel@....com>,
Hannes Reinecke <hare@...e.com>,
Shaun Tancheff <shaun@...cheff.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Damien Le Moal <Damien.LeMoal@....com>
Cc: Jens Axboe <axboe@...com>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v5 0/2] allow blk-zoned ioctls without CAP_SYS_ADMIN
On 8/11/21 5:05 AM, Niklas Cassel wrote:
> From: Niklas Cassel <niklas.cassel@....com>
>
> Allow the following blk-zoned ioctls: BLKREPORTZONE, BLKRESETZONE,
> BLKOPENZONE, BLKCLOSEZONE, and BLKFINISHZONE to be performed without
> CAP_SYS_ADMIN.
>
> Neither read() nor write() requires CAP_SYS_ADMIN, and considering
> the close relationship between read()/write() and these ioctls, there
> is no reason to require CAP_SYS_ADMIN for these ioctls either.
Applied, thanks.
--
Jens Axboe
Powered by blists - more mailing lists