musl/src
Timo Teräs 08e4052c43 reimplement if_nameindex and getifaddrs using netlink
the previous implementations had several deficiencies, the most severe
of which was the inability to report unconfigured interfaces or
interfaces without ipv4 addresses. among the options discussed for
fixing this, using netlink turned out to be the one with the least
cost and most additional advantages. other improvements include:

if_nameindex now avoids duplicates in the list it produces, but still
includes legacy-style interface aliases if any are in use.

getifaddrs now reports hardware addresses and includes the scope_id
for link-local ipv6 addresses in the resulting address.
2014-07-29 20:57:31 -04:00
..
aio eliminate use of cached pid from thread structure 2014-07-05 23:29:55 -04:00
complex complex: add C11 CMPLX macros and replace cpack with them 2012-11-13 01:31:49 +01:00
conf remove unsupported nonstandard sysconf macros and their table entries 2014-05-19 12:18:16 -04:00
crypt add legacy functions setkey() and encrypt() 2014-02-05 11:09:53 -05:00
ctype consolidate *_l ctype/wctype functions into their non-_l source files 2014-07-02 21:16:05 -04:00
dirent fix readdir not to set ENOENT when directory is removed while reading 2014-02-25 13:05:38 -05:00
env eliminate use of cached pid from thread structure 2014-07-05 23:29:55 -04:00
errno add support for LC_TIME and LC_MESSAGES translations 2014-07-26 05:36:25 -04:00
exit remove useless infinite loop from end of exit function 2014-07-17 21:37:10 -04:00
fcntl avoid invalid use of va_arg in open 2014-06-06 15:43:16 -04:00
fenv add nofpu subarchs to the sh arch, and properly detect compiler's fpu config 2014-02-27 23:18:42 -05:00
internal implement mo file string lookup for translations 2014-07-26 02:34:09 -04:00
ipc semctl: fix UB causing crashes on powerpc 2014-03-13 20:52:34 +01:00
ldso add or1k (OpenRISC 1000) architecture port 2014-07-18 14:10:23 -04:00
legacy fix multiple issues in legacy function getpass 2014-07-06 01:34:13 -04:00
linux fix missing argument to syscall in fanotify_mark 2014-06-14 00:10:16 -04:00
locale tweaks to plural rules evaluator 2014-07-29 19:39:19 +02:00
malloc avoid malloc failure for small requests when brk can't be extended 2014-04-02 17:57:15 -04:00
math math: fix aliasing violation in long double wrappers 2014-04-11 18:07:08 +02:00
misc add issetugid function to check for elevated privilege 2014-07-19 21:39:18 -04:00
mman include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
mq use restrict everywhere it's required by c99 and/or posix 2008 2012-09-06 22:44:55 -04:00
multibyte fix aliasing violations in mbtowc and mbrtowc 2014-07-01 18:27:19 -04:00
network reimplement if_nameindex and getifaddrs using netlink 2014-07-29 20:57:31 -04:00
passwd include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
prng fix initstate to make the state buffer usable in setstate 2014-01-21 02:01:35 +01:00
process eliminate use of cached pid from thread structure 2014-07-05 23:29:55 -04:00
regex add support for LC_TIME and LC_MESSAGES translations 2014-07-26 05:36:25 -04:00
sched remove useless __yield alias for sched_yield 2014-05-04 13:15:27 -04:00
search remove struct elem entirely from hsearch.c 2014-04-02 18:49:24 -04:00
select support linux kernel apis (new archs) with old syscalls removed 2014-05-29 21:01:32 -04:00
setjmp add or1k (OpenRISC 1000) architecture port 2014-07-18 14:10:23 -04:00
signal add or1k (OpenRISC 1000) architecture port 2014-07-18 14:10:23 -04:00
stat fix missing flags arg to fstatat syscall in fstat fallback path 2014-07-18 15:24:04 -04:00
stdio work around constant folding bug 61144 in gcc 4.9.0 and 4.9.1 2014-07-16 21:32:06 -04:00
stdlib include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
string add support for LC_TIME and LC_MESSAGES translations 2014-07-26 05:36:25 -04:00
temp include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
termios include cleanups: remove unused headers and add feature test macros 2013-12-12 05:09:18 +00:00
thread add or1k (OpenRISC 1000) architecture port 2014-07-18 14:10:23 -04:00
time properly pass current locale to *_l functions when used internally 2014-07-02 21:46:41 -04:00
unistd support linux kernel apis (new archs) with old syscalls removed 2014-05-29 21:01:32 -04:00