aboutsummaryrefslogtreecommitdiff
path: root/misc/getauxval.c
AgeCommit message (Collapse)Author
2015-01-02Update copyright dates with scripts/update-copyrights.Joseph Myers
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae
2013-12-18Add error reporting (via errno) to getauxval().Brooks Moses
[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-06-28Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.Ryan S. Arnold
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2012-05-21 * misc/getauxval.c (__getauxval): Use unsigned long int.Richard Henderson
* misc/sys/auxv.h: Include <sys/cdefs.h>. (getauxval): Use unsigned long int.
2012-05-20Add <sys/auxv.h> and getauxval.Richard Henderson