lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <177083142865.157742.4766975435017061790.b4-ty@kernel.dk>
Date: Wed, 11 Feb 2026 10:37:08 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Stefan Hajnoczi <stefanha@...hat.com>
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org, 
 Christoph Hellwig <hch@....de>, Martin Wilck <mwilck@...e.com>, 
 Benjamin Marzinski <bmarzins@...hat.com>, Hannes Reinecke <hare@...e.de>
Subject: Re: [PATCH] block: allow IOC_PR_READ_* ioctls with BLK_OPEN_READ


On Tue, 10 Feb 2026 11:36:17 -0500, Stefan Hajnoczi wrote:
> The recently added IOC_PR_READ_* ioctls require the same BLK_OPEN_WRITE
> permission as the older persistent reservation ioctls. This has the
> drawback that udev triggers when the file descriptor is closed,
> resulting in unnecessary activity like scanning partitions even though
> these read-only ioctls do not modify the device.
> 
> Change IOC_PR_READ_KEYS and IOC_PR_READ_RESERVATION to require
> BLK_OPEN_READ. This prevents unnecessary activity every time `blkpr
> --read-keys` or `blkpr --read-reservation` is invoked by shell scripts,
> for example.
> 
> [...]

Applied, thanks!

[1/1] block: allow IOC_PR_READ_* ioctls with BLK_OPEN_READ
      commit: 5b88af7113feba2f0ae3402bb57cb5c94eea7dc3

Best regards,
-- 
Jens Axboe




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ