summaryrefslogtreecommitdiff
path: root/include
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 /include
parentdb25266c9202a1235ce2e2f8a4f84cfb86254196 (diff)
downloadglibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.tar.gz
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 'include')
-rw-r--r--include/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index dbfa53dd94..f48da2c7a3 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -25,7 +25,8 @@ libc_hidden_proto (tcgetpgrp)
libc_hidden_proto (readlinkat)
/* Now define the internal interfaces. */
-extern int __access (const char *__name, int __type) attribute_hidden;
+extern int __access (const char *__name, int __type);
+libc_hidden_proto (__access)
extern int __euidaccess (const char *__name, int __type);
extern int __faccessat (int __fd, const char *__file, int __type, int __flag);
extern int __faccessat_noerrno (int __fd, const char *__file, int __type,