diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-04-29 14:43:41 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-04-29 14:43:41 -0700 |
commit | 3600cf1e524b2aad379fa5dc76d5e124b23fc9fa (patch) | |
tree | 5180d87b158a6f9485f50d4b02427b35b3511342 | |
parent | 314647f75ddfc94e600498a65ea8c7a05e9c20c0 (diff) | |
download | glibc-3600cf1e524b2aad379fa5dc76d5e124b23fc9fa.tar.gz glibc-3600cf1e524b2aad379fa5dc76d5e124b23fc9fa.tar.xz glibc-3600cf1e524b2aad379fa5dc76d5e124b23fc9fa.zip |
NaCl: Fix symbol names for euidaccess.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/nacl/euidaccess.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 5d154d2525..653cffe4e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-04-29 Roland McGrath <roland@hack.frob.com> + * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess. + (euidaccess, eaccess): Define as weak aliases. + * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size, but __suseconds_t is often 'long int' so some sources assume that diff --git a/sysdeps/nacl/euidaccess.c b/sysdeps/nacl/euidaccess.c index 036e736001..50cbcfba29 100644 --- a/sysdeps/nacl/euidaccess.c +++ b/sysdeps/nacl/euidaccess.c @@ -20,8 +20,10 @@ /* Test for access to FILE. */ int -euidaccess (const char *file, int type) +__euidaccess (const char *file, int type) { /* No NaCl process will ever be set-ID, so access and euidaccess are one. */ return __access (file, type); } +weak_alias (__euidaccess, euidaccess) +weak_alias (__euidaccess, eaccess) |