32 bit compatibility for getifaddrs()

Stef Walter stef-list at memberwebs.com
Sun Jun 14 04:28:51 UTC 2009


I've started running 64-bit FreeBSD (version 7.2) in production. I have
a lot of old 6.3 32-bit jails I need to run as is for now.

One problem I ran into is 32-bit getifaddrs() would crash accessing a
64-bit kernel via the sysctl NET_RT_IFLIST method.

Attached is a patch that adds 32-bit compatibility to the rtsock.c route
messages.

Who would I work with to get this (or something like it) committed?

Cheers,

Stef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getifaddrs-rtsock-compat32.patch
Type: text/x-diff
Size: 8994 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20090614/6dd763ca/getifaddrs-rtsock-compat32.bin


More information about the freebsd-net mailing list