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)



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.

christos


Home | Main Index | Thread Index | Old Index