| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
unused variable 'p'.
|
|
|
|
|
|
|
| |
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
[!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
* misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
GLRO(dl_auxv) list.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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().
|
| |
|
| |
|
|
|
|
|
| |
* misc/sys/auxv.h: Include <sys/cdefs.h>.
(getauxval): Use unsigned long int.
|
|
|