On Tue, 18 Apr 2023 21:18:10 +0800, Ming Lei wrote: > All ublk commands(control, IO) should have taken ioctl command encoding > from the beginning, because ioctl command encoding defines each code > uniquely, so driver can figure out wrong command sent from userspace > easily; 2) it might help security subsystem for audit uring cmd[1]. > > Unfortunately we didn't do that way, and it could be one lesson for > ublk driver. > > [...] Applied, thanks! [1/1] block: ublk: switch to ioctl command encoding commit: 2d786e66c9662d84cbeab981ce3a371d2fb5a4bb Best regards, -- Jens Axboe