On Tue, 31 Jan 2023 12:04:46 +0800, Ming Lei wrote:
Owner of one unprivileged ublk device could be one evil user, which
can grant this disk's privilege to other users deliberately, and
this way could be like making one trap and waiting for other users
to be caught.
So only owner to open unprivileged disk even though the owner
grants disk privilege to other user. This way is reasonable too
given anyone can create ublk disk, and no need other's grant.
[...]
Applied, thanks!
[1/1] ublk_drv: only allow owner to open unprivileged disk
commit: 48a9051980242128f844defe44c7e83217f79872
Best regards,
--
Jens Axboe