Joseph Myers
7f994279e9
Fix getifaddrs, freeifaddrs namespace (bug 17668).
...
Various objects in glibc bring in ifaddrs.o (via references to
__netlink_*) and thereby getifaddrs and freeifaddrs, which are not
part of any standard supported by glibc. These should be weak aliases
of __getifaddrs and __freeifaddrs; this patch makes them so.
(The path by which these functions are brought in is Linux-specific,
but it seems less confusing to make all versions of these functions
weak aliases rather than only the Linux-specific versions that
definitely need it.)
Tested for x86_64 (testsuite, and that disassembly of installed shared
libraries is unchanged by this patch).
[BZ #17668 ]
* inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
as weak alias of __getifaddrs. Use libc_hidden_weak.
(freeifaddrs): Rename to __freeifaddrs and define as weak alias of
__freeifaddrs. Use libc_hidden_weak.
* sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
define as weak alias of __getifaddrs. Use libc_hidden_weak.
(freeifaddrs): Rename to __freeifaddrs and define as weak alias of
__freeifaddrs. Use libc_hidden_weak.
* sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
__getifaddrs and define as weak alias of __getifaddrs. Use
libc_hidden_weak.
(freeifaddrs): Rename to __freeifaddrs and define as weak alias of
__freeifaddrs. Use libc_hidden_weak.
* conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
Remove variable.
(test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
(test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2014-12-02 23:11:09 +00:00
..
2014-11-24 15:03:45 +05:30
2014-11-24 15:03:45 +05:30
2014-11-26 15:13:27 +00:00
2014-11-24 17:28:41 +01:00
2014-10-30 19:44:31 +00:00
2014-11-24 15:03:45 +05:30
2014-11-24 15:03:45 +05:30
2014-11-24 15:03:45 +05:30
2014-10-08 23:19:32 +00:00
2014-11-24 15:03:45 +05:30
2014-11-24 15:03:45 +05:30
2014-11-24 15:03:45 +05:30
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-12 23:41:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-11-24 15:03:45 +05:30
2014-11-24 15:03:45 +05:30
2014-01-01 22:00:23 +10:00
2014-11-24 15:03:45 +05:30
2014-11-24 15:03:45 +05:30
2014-09-20 14:05:49 +02:00
2014-11-24 15:03:45 +05:30
2014-10-30 19:44:31 +00:00
2014-09-26 17:33:04 +00:00
2014-11-24 15:03:45 +05:30
2014-01-01 22:00:23 +10:00
2013-06-05 20:44:03 +00:00
2014-02-20 17:50:31 +00:00
2014-10-08 23:19:32 +00:00
2014-07-07 09:28:38 -07:00
2014-01-01 22:00:23 +10:00
2014-07-07 09:28:38 -07:00
2014-05-16 11:47:13 -07:00
2014-01-01 22:00:23 +10:00
2014-11-24 11:41:44 +05:30
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-09-16 17:45:03 +00:00
2014-09-16 17:45:03 +00:00
2014-11-18 11:03:20 -08:00
2014-11-20 10:56:20 -08:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 20:29:45 +00:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-07-02 11:10:08 -07:00
2014-02-06 08:46:20 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-09-20 14:05:49 +02:00
2014-05-13 09:49:20 -07:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-20 15:41:35 +00:00
2014-06-20 20:04:33 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-05-29 09:41:29 +05:30
2014-06-23 14:05:14 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 11:36:10 +00:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-20 15:41:35 +00:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-11-24 11:41:48 +05:30
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-11-24 15:03:45 +05:30
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-11-12 22:39:36 +00:00
2013-07-21 15:39:55 -04:00
2014-06-25 18:09:01 +00:00
2014-12-02 23:11:09 +00:00
2014-06-25 18:09:01 +00:00
2014-06-12 13:48:47 -07:00
2014-02-20 17:50:31 +00:00
2014-02-20 17:53:08 +00:00
2014-02-20 17:55:35 +00:00
2014-05-29 09:41:29 +05:30
2014-01-01 22:00:23 +10:00
2013-11-26 12:32:28 +01:00
2014-01-01 22:00:23 +10:00
2014-07-17 17:55:44 +00:00
2014-07-07 09:28:38 -07:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-02-08 06:39:10 -05:00
2014-01-01 22:00:23 +10:00
2014-11-24 15:03:45 +05:30
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-11-24 15:03:45 +05:30
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-07-07 09:28:38 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-10 15:07:12 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-11-24 15:03:45 +05:30
2014-07-31 11:37:48 -07:00
2014-01-01 22:00:23 +10:00
2014-10-08 23:19:32 +00:00
2014-10-08 23:19:32 +00:00
2014-01-01 22:00:23 +10:00
2013-05-03 16:33:26 -07:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-06-20 23:22:08 +00:00
2014-06-25 16:39:33 +00:00
2014-01-01 22:00:23 +10:00
2012-11-04 10:10:58 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-10 15:07:12 +01:00
2014-02-10 15:07:12 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-10-31 21:22:35 +00:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-06-12 13:48:47 -07:00
2014-07-07 09:28:38 -07:00
2014-01-01 22:00:23 +10:00
2014-05-16 00:07:29 +02:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-07-07 09:28:38 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-09-20 13:53:44 +02:00
2013-08-27 10:34:16 -07:00
2014-07-31 14:00:33 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-10 15:07:12 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-20 17:55:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-09-12 12:28:47 +00:00
2014-06-25 20:29:45 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-07-07 09:28:38 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-01-01 22:00:23 +10:00
2014-07-07 09:28:38 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-05-29 09:41:29 +05:30
2014-05-29 09:41:29 +05:30
2014-01-01 22:00:23 +10:00
2014-11-01 12:26:09 +00:00
2014-07-01 15:01:24 -07:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-10 15:07:12 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-07-07 09:28:38 -07:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-04 08:34:01 -05:00
2014-07-07 09:28:38 -07:00
2014-06-25 18:09:01 +00:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2013-12-22 14:49:48 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-11-07 01:27:16 +00:00
2014-01-01 22:00:23 +10:00
2014-06-20 15:41:35 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-25 18:09:01 +00:00