Re: [PATCH v5 1/4] uio: add ioctl support
From: Stephen Hemminger
Date: Tue Oct 06 2015 - 17:33:56 EST
On Tue, 6 Oct 2015 20:17:36 +0300
Vlad Zolotarov <vladz@xxxxxxxxxxxxxxxxxxxx> wrote:
> Add the ability for underlying device drivers to register the ioctl
> commands. This is useful when some interaction with the user space
> beyond sysfs capabilities is required, e.g. query the interrupt mode
> or bind eventfd to interrupt notifications (similarly to vfio ioctl
> VFIO_DEVICE_SET_IRQS).
>
> Signed-off-by: Vlad Zolotarov <vladz@xxxxxxxxxxxxxxxxxxxx>
After discussions on and off list, the idea of an ioctl interface
is just not going to be accepted upstream because it can be abused.
Therefore another API will be necessary.
Ps: since I did most of this first, I am surprised you never gave
any attribution for the earlier work.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/