[hurd,commited 4/4] hurd: Fix `getifaddrs' and `freeifaddrs' symbol exposition

H.J. Lu hjl.tools@gmail.com
Thu Sep 28 00:21:00 GMT 2017


On 9/27/17, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
> from `freeaddrinfo'.
>
> `getifaddrs' and `freeifaddrs' are not in POSIX, they should not be
> exposed along `freeaddrinfo' (through `__check_pf') which is POSIX.
>
> 	* include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
> 	and use libc_hidden_def on them.
> 	* inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
> 	them.
> 	* sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
> 	* inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
> 	instead of getifaddrs and freeifaddrs.
>

I checked in this patch to fix Linux build.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-sysdeps-unix-sysv-linux-ifaddrs.c.patch
Type: text/x-patch
Size: 2051 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170928/0cfe1e36/attachment.bin>


More information about the Libc-alpha mailing list