glibc/misc/sys
Brooks Moses b9ab448f98 Add error reporting (via errno) to getauxval().
[BZ 15846] As discussed in the recent thread on my $EXEC_ORIGIN patch
and in BZ 15846, getauxval() presently has no unambiguous way of
reporting an error condition.  It currently returns zero on error, but
this may also be a valid result for some auxv entries.  As there is no
clear invalid result for all current and future auxv entries, this patch
sets errno (following a suggestion in the BZ entry).

This version of the patch also adds documentation and tests for the
value-not-found conditions in getauxval().
2013-12-18 10:52:37 -08:00
..
auxv.h Add error reporting (via errno) to getauxval(). 2013-12-18 10:52:37 -08:00
cdefs.h Use __gnu_inline__ for __extern_always_inline in g++-4.2 2013-05-01 21:59:01 +10:00
dir.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
file.h Fix copyright notice corruption from update-copyright bug. 2013-01-02 19:28:45 +00:00
ioctl.h Fix copyright notice corruption from update-copyright bug. 2013-01-02 19:28:45 +00:00
mman.h Fix a typo in the mremap comment. 2013-02-11 13:06:09 -08:00
param.h Only defined DEV_BSIZE if not already defined. 2013-05-08 00:00:46 +02:00
queue.h [BZ #5779] 2008-03-05 05:50:39 +00:00
select.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
syslog.h Fix LOG_MAKEPRI to agree with BSD 2012-07-10 22:39:30 +02:00
uio.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ustat.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
xattr.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00