On Mon, Apr 17, 2023 at 03:22:07PM +0800, Ming Lei wrote: > The traditional ioctl command encodes type/nr/dir info, and basically > each command is unique if every driver respects the rule, so at least: > > 1) driver can figure out wrong command sent from userspace easily > > 2) easier for security subsystem audit[1] Please add this to the commit log. And maybe add a config option for the old opcodes so that distros newly picking up ublk can disable them from the start.