freebsd-dev/lib/libc/include
Jilles Tjoelker e73151eb82 libc: Always use our own copy of sys_errlist and sys_nerr (.so only).
This ensures strerror() and friends continue to work correctly even if a
(non-PIE) executable linked against an older libc imports sys_errlist (which
causes sys_errlist to refer to the executable's copy with a size fixed when
that executable was linked).

The executable's use of sys_errlist remains broken because it uses the
current value of sys_nerr and may access past the bounds of the array.

Different from the message "Using sys_errlist from executables is not
ABI-stable" on freebsd-arch, this change does not affect the static library.
There seems no reason to prevent overriding the error messages in the static
library.
2013-08-31 22:32:42 +00:00
..
isc
compat.h Merge Capsicum overhaul: 2013-03-02 00:53:12 +00:00
errlst.h libc: Always use our own copy of sys_errlist and sys_nerr (.so only). 2013-08-31 22:32:42 +00:00
fpmath.h
libc_private.h libc: Access some unexported variables more efficiently (related to stdio). 2013-08-23 14:23:54 +00:00
namespace.h
nscache.h
nscachedcli.h
nss_tls.h
port_after.h
port_before.h
reentrant.h
resolv_mt.h
spinlock.h
un-namespace.h