diff options
author | 2019-12-01 20:52:39 +0000 | |
---|---|---|
committer | 2019-12-01 21:05:56 +0000 | |
commit | dd67928700bc9b5954c93b29a6e0b0c4b279d454 (patch) | |
tree | 7557514a0d014468c56c9f0d000f9c0387337dee /include | |
parent | hurd: Fix ld.so __getcwd override from libc (diff) | |
download | glibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.tar.gz glibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.tar.bz2 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 'include')
-rw-r--r-- | include/unistd.h | 3 |
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, |