In article <20120916152553.ga1...@antioche.eu.org>, Manuel Bouyer <bou...@antioche.eu.org> wrote: >-=-=-=-=-=- > >On Sun, Sep 16, 2012 at 03:23:22PM +0200, Manuel Bouyer wrote: >> Hello, >> the attached patch adds a pass-through ioctl interface, with the > >As several of you noctied I forgot (once again) to attach the patch. >Here it is.
As thor mentioned, the commands and arguments need sanity checking. For example the malloc'ed len is unchecked and comes from userland. I think that a better way to multiplex the ioctl is to determine what device you have from the fd. christos