tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pass-through linux ioctl for mfi(4)

In article <>,
Manuel Bouyer  <> 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.


Home | Main Index | Thread Index | Old Index