aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux
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/unix/sysv/linux
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/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/not-errno.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/sysdeps/unix/sysv/linux/not-errno.h b/sysdeps/unix/sysv/linux/not-errno.h
index 9100bde124..e55a7c4698 100644
--- a/sysdeps/unix/sysv/linux/not-errno.h
+++ b/sysdeps/unix/sysv/linux/not-errno.h
@@ -19,23 +19,6 @@
#include <sysdep.h>
#include <fcntl.h>
-/* This function is used on maybe_enable_malloc_check (elf/dl-tunables.c)
- and to avoid having to build/use multiple versions if stack protection
- in enabled it is defined as inline. */
-static inline int
-__access_noerrno (const char *pathname, int mode)
-{
- int res;
-#ifdef __NR_access
- res = INTERNAL_SYSCALL_CALL (access, pathname, mode);
-#else
- res = INTERNAL_SYSCALL_CALL (faccessat, AT_FDCWD, pathname, mode);
-#endif
- if (INTERNAL_SYSCALL_ERROR_P (res))
- return INTERNAL_SYSCALL_ERRNO (res);
- return 0;
-}
-
static inline int
__kill_noerrno (pid_t pid, int sig)
{