NetBSD-Bugs archive

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

Re: kern/39424 (SIOCGIFFLAGS ioctl(2) from 4.0 does not work under compat netbsd32)



In article <5470.1260044119%splode.eterna.com.au@localhost>,
matthew green  <mrg%eterna.com.au@localhost> wrote:
>
>   On Dec 5,  8:41am, mrg%eterna.com.au@localhost (matthew green) wrote:
>   -- Subject: re: kern/39424 (SIOCGIFFLAGS ioctl(2) from 4.0 does not work 
> unde
>   
>   | 
>   | my guess is that this commit is the problem:
>   | 
>   |   http://mail-index.netbsd.org/source-changes/2007/05/29/msg186117.html
>   | 
>   | it changed the size of struct ifreq, pushing the ifru_flags flags further
>   | into memory by sizeof(struct sockaddr_storage).
>   | 
>   | christos?  the comment says it should be backwrds compatible.
>   
>   Yes, the code is supposed to be backwards compatible by checking the
>type/size
>   of the ioctl and emulating it.
>
>i don't see any references to "oifreq" in sys/compat/netbsd32.
>
>can you have a look at this please?

Sure, can njoly provide an example binary for me to test?

christos



Home | Main Index | Thread Index | Old Index