Thread (4 messages) 4 messages, 2 authors, 2021-08-24

Re: [PATCH v5 0/2] allow blk-zoned ioctls without CAP_SYS_ADMIN

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-08-24 16:13:47
Also in: lkml

On 8/11/21 5:05 AM, Niklas Cassel wrote:
From: Niklas Cassel <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help