about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/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/mach/hurd/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/mach/hurd/access.c')
-rw-r--r--sysdeps/mach/hurd/access.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/access.c b/sysdeps/mach/hurd/access.c
index 2b5de8ea03..5072742352 100644
--- a/sysdeps/mach/hurd/access.c
+++ b/sysdeps/mach/hurd/access.c
@@ -35,4 +35,5 @@ __access (const char *file, int type)
 {
   return __faccessat (AT_FDCWD, file, type, 0);
 }
+libc_hidden_def (__access)
 weak_alias (__access, access)