tech-kern archive

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

Re: Linux ioctl emulation



Nicolas Joly wrote:
>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.

Yes, works now. Thanks.

Robert Swindells


Home | Main Index | Thread Index | Old Index