All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] allow blk-zoned ioctls without CAP_SYS_ADMIN
@ 2021-08-11 11:05 Niklas Cassel
  2021-08-11 11:05 ` [PATCH v5 1/2] blk-zoned: allow zone management send operations " Niklas Cassel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Niklas Cassel @ 2021-08-11 11:05 UTC (permalink / raw)
  To: Jens Axboe, Hannes Reinecke, Shaun Tancheff, Martin K. Petersen,
	Damien Le Moal
  Cc: Damien Le Moal, Niklas Cassel, Jens Axboe, linux-block, linux-kernel

From: Niklas Cassel <niklas.cassel@wdc.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.

Changes since v4:
-Picked up additional Reviewed-by tags.
-Corrected Damien's email in patch 2/2.

Changes since v3:
-Picked up additional Reviewed-by tags.

Changes since v2:
-Dropped the FMODE_READ check from patch 2/2.

Changes since v1:
-Picked up tags from Damien.
-Added fixes 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-24 16:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 11:05 [PATCH v5 0/2] allow blk-zoned ioctls without CAP_SYS_ADMIN Niklas Cassel
2021-08-11 11:05 ` [PATCH v5 1/2] blk-zoned: allow zone management send operations " Niklas Cassel
2021-08-11 11:05 ` [PATCH v5 2/2] blk-zoned: allow BLKREPORTZONE " Niklas Cassel
2021-08-24 16:13 ` [PATCH v5 0/2] allow blk-zoned ioctls " Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.