[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)
The following reply was made to PR kern/39424; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: matthew green <mrg%eterna.com.au@localhost>, gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
Subject: re: kern/39424 (SIOCGIFFLAGS ioctl(2) from 4.0 does not work under
Date: Sat, 5 Dec 2009 12:07:00 -0500
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:
| 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.
Main Index |
Thread Index |