mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 15:20:10 +00:00
NaCl: Fix symbol names for euidaccess.
This commit is contained in:
parent
314647f75d
commit
3600cf1e52
@ -1,5 +1,8 @@
|
|||||||
2015-04-29 Roland McGrath <roland@hack.frob.com>
|
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
|
* sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
|
||||||
__SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
|
__SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
|
||||||
but __suseconds_t is often 'long int' so some sources assume that
|
but __suseconds_t is often 'long int' so some sources assume that
|
||||||
|
@ -20,8 +20,10 @@
|
|||||||
|
|
||||||
/* Test for access to FILE. */
|
/* Test for access to FILE. */
|
||||||
int
|
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. */
|
/* No NaCl process will ever be set-ID, so access and euidaccess are one. */
|
||||||
return __access (file, type);
|
return __access (file, type);
|
||||||
}
|
}
|
||||||
|
weak_alias (__euidaccess, euidaccess)
|
||||||
|
weak_alias (__euidaccess, eaccess)
|
||||||
|
Loading…
Reference in New Issue
Block a user