[PATCH v4 0/2] allow blk-zoned ioctls without CAP_SYS_ADMIN
From: Niklas Cassel <hidden>
Date: 2021-08-09 09:50:30
Also in:
lkml
From: Niklas Cassel <hidden>
Date: 2021-08-09 09:50:30
Also in:
lkml
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. Changes since v3: -Picked up additional Reviewed-by tags. Niklas Cassel (2): blk-zoned: allow zone management send operations without CAP_SYS_ADMIN blk-zoned: allow BLKREPORTZONE without CAP_SYS_ADMIN block/blk-zoned.c | 6 ------ 1 file changed, 6 deletions(-) -- 2.31.1