diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2012-10-10 13:44:07 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-02-20 13:45:11 +0100 |
commit | 695e274cf7f24c596258827ee202d29ff735d9b9 (patch) | |
tree | e0c02d79f717410f92dee3a5760658c499aeb0e0 /libc/sysdeps/linux/common/faccessat.c | |
parent | 82cab378652c1d1601545a80b7241090c55b1e37 (diff) |
access: Use faccessat if arch does not have the access syscall
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/faccessat.c')
-rw-r--r-- | libc/sysdeps/linux/common/faccessat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/faccessat.c b/libc/sysdeps/linux/common/faccessat.c index 09ca129a2..156df64a5 100644 --- a/libc/sysdeps/linux/common/faccessat.c +++ b/libc/sysdeps/linux/common/faccessat.c @@ -11,6 +11,7 @@ #ifdef __NR_faccessat _syscall4(int, faccessat, int, fd, const char *, file, int, type, int, flag) +libc_hidden_def(faccessat) #else /* should add emulation with faccess() and /proc/self/fd/ ... */ #endif |