linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] allow blk-zoned ioctls without CAP_SYS_ADMIN
@ 2021-08-09  9:50 Niklas Cassel
  2021-08-09  9:50 ` [PATCH v4 1/2] blk-zoned: allow zone management send operations " Niklas Cassel
  2021-08-09  9:50 ` [PATCH v4 2/2] blk-zoned: allow BLKREPORTZONE " Niklas Cassel
  0 siblings, 2 replies; 6+ messages in thread
From: Niklas Cassel @ 2021-08-09  9:50 UTC (permalink / raw)
  To: Jens Axboe, Damien Le Moal, Hannes Reinecke, Martin K. Petersen,
	Shaun Tancheff
  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 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

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

end of thread, other threads:[~2021-08-09 10:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-09  9:50 [PATCH v4 0/2] allow blk-zoned ioctls without CAP_SYS_ADMIN Niklas Cassel
2021-08-09  9:50 ` [PATCH v4 1/2] blk-zoned: allow zone management send operations " Niklas Cassel
2021-08-09  9:57   ` Johannes Thumshirn
2021-08-09  9:50 ` [PATCH v4 2/2] blk-zoned: allow BLKREPORTZONE " Niklas Cassel
2021-08-09  9:58   ` Johannes Thumshirn
2021-08-09 10:04     ` Niklas Cassel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).