aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/access.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2023-11-23 19:01:32 +0000
committerJoseph Myers <joseph@codesourcery.com>2023-11-23 19:01:32 +0000
commit2e0c0ff95ca0e3122eb5b906ee26a31f284ce5ab (patch)
tree4cba7b7727128374d4c8a659f32b0acef7a13bba /sysdeps/mach/hurd/access.c
parent472894d2cfee5751b44c0aaa71ed87df81c8e62e (diff)
downloadglibc-2e0c0ff95ca0e3122eb5b906ee26a31f284ce5ab.tar
glibc-2e0c0ff95ca0e3122eb5b906ee26a31f284ce5ab.tar.gz
glibc-2e0c0ff95ca0e3122eb5b906ee26a31f284ce5ab.tar.bz2
glibc-2e0c0ff95ca0e3122eb5b906ee26a31f284ce5ab.zip
Remove __access_noerrno
A recent commit, apparently commit 6c6fce572fb8f583f14d898e54fd7d25ae91cf56 "elf: Remove /etc/suid-debug support", resulted in localplt failures for i686-gnu and x86_64-gnu: Missing required PLT reference: ld.so: __access_noerrno After that commit, __access_noerrno is actually no longer used at all. So rather than just removing the localplt expectation for that symbol for Hurd, completely remove all definitions of and references to that symbol. Tested for x86_64, and with build-many-glibcs.py for i686-gnu and x86_64-gnu.
Diffstat (limited to 'sysdeps/mach/hurd/access.c')
-rw-r--r--sysdeps/mach/hurd/access.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sysdeps/mach/hurd/access.c b/sysdeps/mach/hurd/access.c
index 9e8b9014a7..87a15e5a8b 100644
--- a/sysdeps/mach/hurd/access.c
+++ b/sysdeps/mach/hurd/access.c
@@ -19,16 +19,6 @@
#include <unistd.h>
#include <fcntl.h>
-/* Test for access to FILE by our real user and group IDs without setting
- errno. This may be unsafe to run during initialization of tunables
- since access_common calls __hurd_file_name_lookup, which calls
- __hurd_file_name_lookup_retry, which can set errno. */
-int
-__access_noerrno (const char *file, int type)
-{
- return __faccessat_noerrno (AT_FDCWD, file, type, 0);
-}
-
/* Test for access to FILE by our real user and group IDs. */
int
__access (const char *file, int type)