about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/access.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-12-01 20:52:39 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-12-01 21:05:56 +0000
commitdd67928700bc9b5954c93b29a6e0b0c4b279d454 (patch)
tree7557514a0d014468c56c9f0d000f9c0387337dee /sysdeps/unix/sysv/linux/access.c
parentdb25266c9202a1235ce2e2f8a4f84cfb86254196 (diff)
downloadglibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.tar.gz
glibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.tar.xz
glibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.zip
hurd: Fix ld.so __access override from libc
ld.so symbols to be overriden by libc need to be extern to really get
overriden. __access happens to have never been exposed, putting it to
GLIBC_PRIVATE.
Diffstat (limited to 'sysdeps/unix/sysv/linux/access.c')
-rw-r--r--sysdeps/unix/sysv/linux/access.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/access.c b/sysdeps/unix/sysv/linux/access.c
index 690c99a856..f9fd6e64cf 100644
--- a/sysdeps/unix/sysv/linux/access.c
+++ b/sysdeps/unix/sysv/linux/access.c
@@ -29,4 +29,5 @@ __access (const char *file, int type)
   return INLINE_SYSCALL_CALL (faccessat, AT_FDCWD, file, type);
 #endif
 }
+libc_hidden_def (__access)
 weak_alias (__access, access)