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
..
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-03-06 19:59:42 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-02-13 15:46:33 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2011-12-02 15:41:09 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-08-31 22:32:42 +00:00
2013-05-28 20:57:40 +00:00
2012-05-11 20:06:46 +00:00
2013-05-28 20:57:40 +00:00
2010-03-13 00:15:06 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2011-11-20 14:45:42 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-02-13 15:46:33 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2011-11-20 14:45:42 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2011-11-20 14:45:42 +00:00
2013-05-28 20:57:40 +00:00