tech-kern archive

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

Re: Linux ioctl emulation



On Fri, Jul 10, 2015 at 09:21:25PM +0100, Robert Swindells wrote:
> 
> I'm getting a panic in compat_ifioctl() in if_43.c when a linux binary
> makes an ioctl(fd, SIOCGIFBRDADDR, &data ) call.
> 
> In this code at the end of the function oifr is NULL.
> 
>         if (cmd != ocmd)
>                 ifreqn2o(oifr, ifr);

Should be fixed, please test.

Thanks.

-- 
Nicolas Joly

Computing Group
Biology IT Center
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index