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 <20120916152553.GA1275%antioche.eu.org@localhost>,
Manuel Bouyer  <bouyer%antioche.eu.org@localhost> 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



Home | Main Index | Thread Index | Old Index