Sounds like simulating file descriptors, with more overhead and less
functionality, just for having non-atomic access to name->value pairs.
Besides that, we don't yet know the purpose of the IOCTL, and even less about
the driver. Maybe the user will need to read or write, too, or pass the fd
to other processes.
--