NaCl: Fix symbol names for euidaccess.
authorRoland McGrath <roland@hack.frob.com>
Wed, 29 Apr 2015 21:43:41 +0000 (14:43 -0700)
committerRoland McGrath <roland@hack.frob.com>
Wed, 29 Apr 2015 21:43:41 +0000 (14:43 -0700)
ChangeLog
sysdeps/nacl/euidaccess.c

index 5d154d2..653cffe 100644 (file)
--- 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
index 036e736..50cbcfb 100644 (file)
 
 /* 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)