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
..
..
2009-01-23 20:41:36 +00:00
2004-09-25 06:49:33 +00:00
2012-01-07 23:57:22 -05:00
2013-06-05 20:44:03 +00:00
2013-12-17 18:11:48 +00:00
2013-03-15 19:00:23 +01:00
2006-06-17 17:01:42 +00:00
2012-01-07 23:57:22 -05:00