diff options
Diffstat (limited to 'sysdeps')
38 files changed, 15 insertions, 120 deletions
diff --git a/sysdeps/pthread/sem_open.c b/sysdeps/pthread/sem_open.c index 9755be70ee..0265abc45b 100644 --- a/sysdeps/pthread/sem_open.c +++ b/sysdeps/pthread/sem_open.c @@ -59,8 +59,8 @@ sem_open (const char *name, int oflag, ...) if ((oflag & O_CREAT) == 0 || (oflag & O_EXCL) == 0) { try_again: - fd = __libc_open (dirname.name, - (oflag & ~(O_CREAT|O_ACCMODE)) | O_NOFOLLOW | O_RDWR); + fd = open (dirname.name, + (oflag & ~(O_CREAT|O_ACCMODE)) | O_NOFOLLOW | O_RDWR); if (fd == -1) { @@ -127,7 +127,7 @@ sem_open (const char *name, int oflag, ...) } /* Open the file. Make sure we do not overwrite anything. */ - fd = __libc_open (tmpfname, O_RDWR | O_CREAT | O_EXCL, mode); + fd = open (tmpfname, O_RDWR | O_CREAT | O_EXCL, mode); if (fd == -1) { if (errno == EEXIST) diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist index b7e002e258..23aa949791 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist @@ -6,8 +6,6 @@ GLIBC_2.17 __h_errno_location F GLIBC_2.17 __libc_allocate_rtsig F GLIBC_2.17 __libc_current_sigrtmax F GLIBC_2.17 __libc_current_sigrtmin F -GLIBC_2.17 __open F -GLIBC_2.17 __open64 F GLIBC_2.17 __pread64 F GLIBC_2.17 __pthread_cleanup_routine F GLIBC_2.17 __pthread_getspecific F @@ -45,8 +43,6 @@ GLIBC_2.17 flockfile F GLIBC_2.17 ftrylockfile F GLIBC_2.17 funlockfile F GLIBC_2.17 longjmp F -GLIBC_2.17 open F -GLIBC_2.17 open64 F GLIBC_2.17 pread F GLIBC_2.17 pread64 F GLIBC_2.17 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/alpha/libc.abilist b/sysdeps/unix/sysv/linux/alpha/libc.abilist index ec7a5a47f2..ef49b96bf8 100644 --- a/sysdeps/unix/sysv/linux/alpha/libc.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libc.abilist @@ -1906,6 +1906,7 @@ GLIBC_2.2 mkstemp64 F GLIBC_2.2 moncontrol F GLIBC_2.2 msgctl F GLIBC_2.2 ngettext F +GLIBC_2.2 open64 F GLIBC_2.2 posix_fadvise F GLIBC_2.2 posix_fadvise64 F GLIBC_2.2 posix_fallocate F diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist index 225123604d..4d908d4527 100644 --- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist @@ -3,7 +3,6 @@ GLIBC_2.0 _IO_ftrylockfile F GLIBC_2.0 _IO_funlockfile F GLIBC_2.0 __errno_location F GLIBC_2.0 __h_errno_location F -GLIBC_2.0 __open F GLIBC_2.0 __pthread_getspecific F GLIBC_2.0 __pthread_key_create F GLIBC_2.0 __pthread_mutex_destroy F @@ -25,7 +24,6 @@ GLIBC_2.0 flockfile F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F -GLIBC_2.0 open F GLIBC_2.0 pthread_atfork F GLIBC_2.0 pthread_cancel F GLIBC_2.0 pthread_cond_broadcast F @@ -109,7 +107,6 @@ GLIBC_2.12 pthread_mutexattr_setrobust F GLIBC_2.12 pthread_setname_np F GLIBC_2.18 pthread_getattr_default_np F GLIBC_2.18 pthread_setattr_default_np F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_rwlock_destroy F GLIBC_2.2 __pthread_rwlock_init F @@ -120,7 +117,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __pwrite64 F GLIBC_2.2 __res_state F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist index dbb502fd65..f25fca45c5 100644 --- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist @@ -6,8 +6,6 @@ GLIBC_2.32 __h_errno_location F GLIBC_2.32 __libc_allocate_rtsig F GLIBC_2.32 __libc_current_sigrtmax F GLIBC_2.32 __libc_current_sigrtmin F -GLIBC_2.32 __open F -GLIBC_2.32 __open64 F GLIBC_2.32 __pread64 F GLIBC_2.32 __pthread_cleanup_routine F GLIBC_2.32 __pthread_getspecific F @@ -57,8 +55,6 @@ GLIBC_2.32 mtx_lock F GLIBC_2.32 mtx_timedlock F GLIBC_2.32 mtx_trylock F GLIBC_2.32 mtx_unlock F -GLIBC_2.32 open F -GLIBC_2.32 open64 F GLIBC_2.32 pread F GLIBC_2.32 pread64 F GLIBC_2.32 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist index 24a6a38920..8e60d60b21 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist @@ -41,8 +41,6 @@ GLIBC_2.4 __h_errno_location F GLIBC_2.4 __libc_allocate_rtsig F GLIBC_2.4 __libc_current_sigrtmax F GLIBC_2.4 __libc_current_sigrtmin F -GLIBC_2.4 __open F -GLIBC_2.4 __open64 F GLIBC_2.4 __pread64 F GLIBC_2.4 __pthread_cleanup_routine F GLIBC_2.4 __pthread_getspecific F @@ -80,8 +78,6 @@ GLIBC_2.4 flockfile F GLIBC_2.4 ftrylockfile F GLIBC_2.4 funlockfile F GLIBC_2.4 longjmp F -GLIBC_2.4 open F -GLIBC_2.4 open64 F GLIBC_2.4 pread F GLIBC_2.4 pread64 F GLIBC_2.4 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist index 24a6a38920..8e60d60b21 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist @@ -41,8 +41,6 @@ GLIBC_2.4 __h_errno_location F GLIBC_2.4 __libc_allocate_rtsig F GLIBC_2.4 __libc_current_sigrtmax F GLIBC_2.4 __libc_current_sigrtmin F -GLIBC_2.4 __open F -GLIBC_2.4 __open64 F GLIBC_2.4 __pread64 F GLIBC_2.4 __pthread_cleanup_routine F GLIBC_2.4 __pthread_getspecific F @@ -80,8 +78,6 @@ GLIBC_2.4 flockfile F GLIBC_2.4 ftrylockfile F GLIBC_2.4 funlockfile F GLIBC_2.4 longjmp F -GLIBC_2.4 open F -GLIBC_2.4 open64 F GLIBC_2.4 pread F GLIBC_2.4 pread64 F GLIBC_2.4 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index be4507e5ac..bac436bd00 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -6,8 +6,6 @@ GLIBC_2.29 __h_errno_location F GLIBC_2.29 __libc_allocate_rtsig F GLIBC_2.29 __libc_current_sigrtmax F GLIBC_2.29 __libc_current_sigrtmin F -GLIBC_2.29 __open F -GLIBC_2.29 __open64 F GLIBC_2.29 __pread64 F GLIBC_2.29 __pthread_cleanup_routine F GLIBC_2.29 __pthread_getspecific F @@ -57,8 +55,6 @@ GLIBC_2.29 mtx_lock F GLIBC_2.29 mtx_timedlock F GLIBC_2.29 mtx_trylock F GLIBC_2.29 mtx_unlock F -GLIBC_2.29 open F -GLIBC_2.29 open64 F GLIBC_2.29 pread F GLIBC_2.29 pread64 F GLIBC_2.29 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist index d20fa17c94..ed1cd3a6e3 100644 --- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist @@ -14,8 +14,6 @@ GLIBC_2.2 __h_errno_location F GLIBC_2.2 __libc_allocate_rtsig F GLIBC_2.2 __libc_current_sigrtmax F GLIBC_2.2 __libc_current_sigrtmin F -GLIBC_2.2 __open F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_getspecific F GLIBC_2.2 __pthread_key_create F @@ -47,8 +45,6 @@ GLIBC_2.2 flockfile F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F -GLIBC_2.2 open F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/i386/libc.abilist b/sysdeps/unix/sysv/linux/i386/libc.abilist index 4249ffd53c..759e488238 100644 --- a/sysdeps/unix/sysv/linux/i386/libc.abilist +++ b/sysdeps/unix/sysv/linux/i386/libc.abilist @@ -1915,6 +1915,7 @@ GLIBC_2.2 mkstemp64 F GLIBC_2.2 moncontrol F GLIBC_2.2 msgctl F GLIBC_2.2 ngettext F +GLIBC_2.2 open64 F GLIBC_2.2 posix_fadvise F GLIBC_2.2 posix_fadvise64 F GLIBC_2.2 posix_fallocate F diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist index a3f1f91ed6..8866f2f049 100644 --- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist @@ -3,7 +3,6 @@ GLIBC_2.0 _IO_ftrylockfile F GLIBC_2.0 _IO_funlockfile F GLIBC_2.0 __errno_location F GLIBC_2.0 __h_errno_location F -GLIBC_2.0 __open F GLIBC_2.0 __pthread_getspecific F GLIBC_2.0 __pthread_key_create F GLIBC_2.0 __pthread_mutex_destroy F @@ -25,7 +24,6 @@ GLIBC_2.0 flockfile F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F -GLIBC_2.0 open F GLIBC_2.0 pthread_atfork F GLIBC_2.0 pthread_cancel F GLIBC_2.0 pthread_cond_broadcast F @@ -109,7 +107,6 @@ GLIBC_2.12 pthread_mutexattr_setrobust F GLIBC_2.12 pthread_setname_np F GLIBC_2.18 pthread_getattr_default_np F GLIBC_2.18 pthread_setattr_default_np F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_rwlock_destroy F GLIBC_2.2 __pthread_rwlock_init F @@ -120,7 +117,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __pwrite64 F GLIBC_2.2 __res_state F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist index c7e502460a..2d96fd1a41 100644 --- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist @@ -14,8 +14,6 @@ GLIBC_2.2 __h_errno_location F GLIBC_2.2 __libc_allocate_rtsig F GLIBC_2.2 __libc_current_sigrtmax F GLIBC_2.2 __libc_current_sigrtmin F -GLIBC_2.2 __open F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_getspecific F GLIBC_2.2 __pthread_key_create F @@ -47,8 +45,6 @@ GLIBC_2.2 flockfile F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F -GLIBC_2.2 open F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist index 24a6a38920..8e60d60b21 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist @@ -41,8 +41,6 @@ GLIBC_2.4 __h_errno_location F GLIBC_2.4 __libc_allocate_rtsig F GLIBC_2.4 __libc_current_sigrtmax F GLIBC_2.4 __libc_current_sigrtmin F -GLIBC_2.4 __open F -GLIBC_2.4 __open64 F GLIBC_2.4 __pread64 F GLIBC_2.4 __pthread_cleanup_routine F GLIBC_2.4 __pthread_getspecific F @@ -80,8 +78,6 @@ GLIBC_2.4 flockfile F GLIBC_2.4 ftrylockfile F GLIBC_2.4 funlockfile F GLIBC_2.4 longjmp F -GLIBC_2.4 open F -GLIBC_2.4 open64 F GLIBC_2.4 pread F GLIBC_2.4 pread64 F GLIBC_2.4 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist index c1eaa57190..9f6b0adeaf 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist @@ -1871,6 +1871,7 @@ GLIBC_2.2 mkstemp64 F GLIBC_2.2 moncontrol F GLIBC_2.2 msgctl F GLIBC_2.2 ngettext F +GLIBC_2.2 open64 F GLIBC_2.2 posix_fadvise F GLIBC_2.2 posix_fadvise64 F GLIBC_2.2 posix_fallocate F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist index a3f1f91ed6..8866f2f049 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist @@ -3,7 +3,6 @@ GLIBC_2.0 _IO_ftrylockfile F GLIBC_2.0 _IO_funlockfile F GLIBC_2.0 __errno_location F GLIBC_2.0 __h_errno_location F -GLIBC_2.0 __open F GLIBC_2.0 __pthread_getspecific F GLIBC_2.0 __pthread_key_create F GLIBC_2.0 __pthread_mutex_destroy F @@ -25,7 +24,6 @@ GLIBC_2.0 flockfile F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F -GLIBC_2.0 open F GLIBC_2.0 pthread_atfork F GLIBC_2.0 pthread_cancel F GLIBC_2.0 pthread_cond_broadcast F @@ -109,7 +107,6 @@ GLIBC_2.12 pthread_mutexattr_setrobust F GLIBC_2.12 pthread_setname_np F GLIBC_2.18 pthread_getattr_default_np F GLIBC_2.18 pthread_setattr_default_np F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_rwlock_destroy F GLIBC_2.2 __pthread_rwlock_init F @@ -120,7 +117,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __pwrite64 F GLIBC_2.2 __res_state F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index 59da2262b4..82faec3024 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist @@ -6,8 +6,6 @@ GLIBC_2.18 __h_errno_location F GLIBC_2.18 __libc_allocate_rtsig F GLIBC_2.18 __libc_current_sigrtmax F GLIBC_2.18 __libc_current_sigrtmin F -GLIBC_2.18 __open F -GLIBC_2.18 __open64 F GLIBC_2.18 __pread64 F GLIBC_2.18 __pthread_cleanup_routine F GLIBC_2.18 __pthread_getspecific F @@ -45,8 +43,6 @@ GLIBC_2.18 flockfile F GLIBC_2.18 ftrylockfile F GLIBC_2.18 funlockfile F GLIBC_2.18 longjmp F -GLIBC_2.18 open F -GLIBC_2.18 open64 F GLIBC_2.18 pread F GLIBC_2.18 pread64 F GLIBC_2.18 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist index 59da2262b4..82faec3024 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist @@ -6,8 +6,6 @@ GLIBC_2.18 __h_errno_location F GLIBC_2.18 __libc_allocate_rtsig F GLIBC_2.18 __libc_current_sigrtmax F GLIBC_2.18 __libc_current_sigrtmin F -GLIBC_2.18 __open F -GLIBC_2.18 __open64 F GLIBC_2.18 __pread64 F GLIBC_2.18 __pthread_cleanup_routine F GLIBC_2.18 __pthread_getspecific F @@ -45,8 +43,6 @@ GLIBC_2.18 flockfile F GLIBC_2.18 ftrylockfile F GLIBC_2.18 funlockfile F GLIBC_2.18 longjmp F -GLIBC_2.18 open F -GLIBC_2.18 open64 F GLIBC_2.18 pread F GLIBC_2.18 pread64 F GLIBC_2.18 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist index 7afda39c49..d9deb67fb8 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist @@ -3,7 +3,6 @@ GLIBC_2.0 _IO_ftrylockfile F GLIBC_2.0 _IO_funlockfile F GLIBC_2.0 __errno_location F GLIBC_2.0 __h_errno_location F -GLIBC_2.0 __open F GLIBC_2.0 __pthread_getspecific F GLIBC_2.0 __pthread_key_create F GLIBC_2.0 __pthread_mutex_destroy F @@ -25,7 +24,6 @@ GLIBC_2.0 flockfile F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F -GLIBC_2.0 open F GLIBC_2.0 pthread_atfork F GLIBC_2.0 pthread_cancel F GLIBC_2.0 pthread_cond_broadcast F @@ -75,7 +73,6 @@ GLIBC_2.18 pthread_setattr_default_np F GLIBC_2.2 __libc_allocate_rtsig F GLIBC_2.2 __libc_current_sigrtmax F GLIBC_2.2 __libc_current_sigrtmin F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_rwlock_destroy F GLIBC_2.2 __pthread_rwlock_init F @@ -86,7 +83,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __pwrite64 F GLIBC_2.2 __res_state F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_attr_getguardsize F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist index 7afda39c49..d9deb67fb8 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist @@ -3,7 +3,6 @@ GLIBC_2.0 _IO_ftrylockfile F GLIBC_2.0 _IO_funlockfile F GLIBC_2.0 __errno_location F GLIBC_2.0 __h_errno_location F -GLIBC_2.0 __open F GLIBC_2.0 __pthread_getspecific F GLIBC_2.0 __pthread_key_create F GLIBC_2.0 __pthread_mutex_destroy F @@ -25,7 +24,6 @@ GLIBC_2.0 flockfile F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F -GLIBC_2.0 open F GLIBC_2.0 pthread_atfork F GLIBC_2.0 pthread_cancel F GLIBC_2.0 pthread_cond_broadcast F @@ -75,7 +73,6 @@ GLIBC_2.18 pthread_setattr_default_np F GLIBC_2.2 __libc_allocate_rtsig F GLIBC_2.2 __libc_current_sigrtmax F GLIBC_2.2 __libc_current_sigrtmin F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_rwlock_destroy F GLIBC_2.2 __pthread_rwlock_init F @@ -86,7 +83,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __pwrite64 F GLIBC_2.2 __res_state F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_attr_getguardsize F diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist index 7e8d091a9d..4b69ecd332 100644 --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist @@ -6,8 +6,6 @@ GLIBC_2.21 __h_errno_location F GLIBC_2.21 __libc_allocate_rtsig F GLIBC_2.21 __libc_current_sigrtmax F GLIBC_2.21 __libc_current_sigrtmin F -GLIBC_2.21 __open F -GLIBC_2.21 __open64 F GLIBC_2.21 __pread64 F GLIBC_2.21 __pthread_cleanup_routine F GLIBC_2.21 __pthread_getspecific F @@ -45,8 +43,6 @@ GLIBC_2.21 flockfile F GLIBC_2.21 ftrylockfile F GLIBC_2.21 funlockfile F GLIBC_2.21 longjmp F -GLIBC_2.21 open F -GLIBC_2.21 open64 F GLIBC_2.21 pread F GLIBC_2.21 pread64 F GLIBC_2.21 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/open64.c b/sysdeps/unix/sysv/linux/open64.c index 98db26f501..0904696973 100644 --- a/sysdeps/unix/sysv/linux/open64.c +++ b/sysdeps/unix/sysv/linux/open64.c @@ -20,8 +20,8 @@ #include <sys/stat.h> #include <fcntl.h> #include <stdarg.h> - #include <sysdep-cancel.h> +#include <shlib-compat.h> #ifdef __OFF_T_MATCHES_OFF64_T @@ -59,3 +59,7 @@ strong_alias (__libc_open64, __open) libc_hidden_weak (__open) weak_alias (__libc_open64, open) #endif + +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_2) +compat_symbol (libc, __libc_open64, open64, GLIBC_2_2); +#endif diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist index e6fd54355e..1861a901e9 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist @@ -1876,6 +1876,7 @@ GLIBC_2.2 mkstemp64 F GLIBC_2.2 moncontrol F GLIBC_2.2 msgctl F GLIBC_2.2 ngettext F +GLIBC_2.2 open64 F GLIBC_2.2 posix_fadvise F GLIBC_2.2 posix_fadvise64 F GLIBC_2.2 posix_fallocate F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index 1322e933fe..6fe70d287a 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -3,7 +3,6 @@ GLIBC_2.0 _IO_ftrylockfile F GLIBC_2.0 _IO_funlockfile F GLIBC_2.0 __errno_location F GLIBC_2.0 __h_errno_location F -GLIBC_2.0 __open F GLIBC_2.0 __pthread_getspecific F GLIBC_2.0 __pthread_key_create F GLIBC_2.0 __pthread_mutex_destroy F @@ -25,7 +24,6 @@ GLIBC_2.0 flockfile F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F -GLIBC_2.0 open F GLIBC_2.0 pthread_atfork F GLIBC_2.0 pthread_cancel F GLIBC_2.0 pthread_cond_broadcast F @@ -109,7 +107,6 @@ GLIBC_2.12 pthread_mutexattr_setrobust F GLIBC_2.12 pthread_setname_np F GLIBC_2.18 pthread_getattr_default_np F GLIBC_2.18 pthread_setattr_default_np F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_rwlock_destroy F GLIBC_2.2 __pthread_rwlock_init F @@ -120,7 +117,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __pwrite64 F GLIBC_2.2 __res_state F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist index fbacd7a032..20c9c6cba4 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist @@ -1880,6 +1880,7 @@ GLIBC_2.2 mkstemp64 F GLIBC_2.2 moncontrol F GLIBC_2.2 msgctl F GLIBC_2.2 ngettext F +GLIBC_2.2 open64 F GLIBC_2.2 posix_fadvise F GLIBC_2.2 posix_fadvise64 F GLIBC_2.2 posix_fallocate F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index 4074b94854..00e3e9e820 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -35,8 +35,6 @@ GLIBC_2.3 __h_errno_location F GLIBC_2.3 __libc_allocate_rtsig F GLIBC_2.3 __libc_current_sigrtmax F GLIBC_2.3 __libc_current_sigrtmin F -GLIBC_2.3 __open F -GLIBC_2.3 __open64 F GLIBC_2.3 __pread64 F GLIBC_2.3 __pthread_getspecific F GLIBC_2.3 __pthread_key_create F @@ -68,8 +66,6 @@ GLIBC_2.3 flockfile F GLIBC_2.3 ftrylockfile F GLIBC_2.3 funlockfile F GLIBC_2.3 longjmp F -GLIBC_2.3 open F -GLIBC_2.3 open64 F GLIBC_2.3 pread F GLIBC_2.3 pread64 F GLIBC_2.3 pthread_attr_getguardsize F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index b7e002e258..23aa949791 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -6,8 +6,6 @@ GLIBC_2.17 __h_errno_location F GLIBC_2.17 __libc_allocate_rtsig F GLIBC_2.17 __libc_current_sigrtmax F GLIBC_2.17 __libc_current_sigrtmin F -GLIBC_2.17 __open F -GLIBC_2.17 __open64 F GLIBC_2.17 __pread64 F GLIBC_2.17 __pthread_cleanup_routine F GLIBC_2.17 __pthread_getspecific F @@ -45,8 +43,6 @@ GLIBC_2.17 flockfile F GLIBC_2.17 ftrylockfile F GLIBC_2.17 funlockfile F GLIBC_2.17 longjmp F -GLIBC_2.17 open F -GLIBC_2.17 open64 F GLIBC_2.17 pread F GLIBC_2.17 pread64 F GLIBC_2.17 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index eeb20113f2..8adb5990a2 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -6,8 +6,6 @@ GLIBC_2.33 __h_errno_location F GLIBC_2.33 __libc_allocate_rtsig F GLIBC_2.33 __libc_current_sigrtmax F GLIBC_2.33 __libc_current_sigrtmin F -GLIBC_2.33 __open F -GLIBC_2.33 __open64 F GLIBC_2.33 __pread64 F GLIBC_2.33 __pthread_cleanup_routine F GLIBC_2.33 __pthread_getspecific F @@ -57,8 +55,6 @@ GLIBC_2.33 mtx_lock F GLIBC_2.33 mtx_timedlock F GLIBC_2.33 mtx_trylock F GLIBC_2.33 mtx_unlock F -GLIBC_2.33 open F -GLIBC_2.33 open64 F GLIBC_2.33 pread F GLIBC_2.33 pread64 F GLIBC_2.33 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index 85381e7a34..e2cd105df0 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -6,8 +6,6 @@ GLIBC_2.27 __h_errno_location F GLIBC_2.27 __libc_allocate_rtsig F GLIBC_2.27 __libc_current_sigrtmax F GLIBC_2.27 __libc_current_sigrtmin F -GLIBC_2.27 __open F -GLIBC_2.27 __open64 F GLIBC_2.27 __pread64 F GLIBC_2.27 __pthread_cleanup_routine F GLIBC_2.27 __pthread_getspecific F @@ -44,8 +42,6 @@ GLIBC_2.27 _pthread_cleanup_push_defer F GLIBC_2.27 flockfile F GLIBC_2.27 ftrylockfile F GLIBC_2.27 funlockfile F -GLIBC_2.27 open F -GLIBC_2.27 open64 F GLIBC_2.27 pread F GLIBC_2.27 pread64 F GLIBC_2.27 pthread_attr_getaffinity_np F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist index 95b93a7369..d821c145a0 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist @@ -1874,6 +1874,7 @@ GLIBC_2.2 mkstemp64 F GLIBC_2.2 moncontrol F GLIBC_2.2 msgctl F GLIBC_2.2 ngettext F +GLIBC_2.2 open64 F GLIBC_2.2 posix_fadvise F GLIBC_2.2 posix_fadvise64 F GLIBC_2.2 posix_fallocate F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist index 7aa1746d39..f7ad32376a 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist @@ -3,7 +3,6 @@ GLIBC_2.0 _IO_ftrylockfile F GLIBC_2.0 _IO_funlockfile F GLIBC_2.0 __errno_location F GLIBC_2.0 __h_errno_location F -GLIBC_2.0 __open F GLIBC_2.0 __pthread_getspecific F GLIBC_2.0 __pthread_key_create F GLIBC_2.0 __pthread_mutex_destroy F @@ -25,7 +24,6 @@ GLIBC_2.0 flockfile F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F -GLIBC_2.0 open F GLIBC_2.0 pthread_atfork F GLIBC_2.0 pthread_cancel F GLIBC_2.0 pthread_cond_broadcast F @@ -111,7 +109,6 @@ GLIBC_2.18 pthread_getattr_default_np F GLIBC_2.18 pthread_setattr_default_np F GLIBC_2.19 longjmp F GLIBC_2.19 siglongjmp F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_rwlock_destroy F GLIBC_2.2 __pthread_rwlock_init F @@ -122,7 +119,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __pwrite64 F GLIBC_2.2 __res_state F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist index b02251ec7d..8ecb675798 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist @@ -16,8 +16,6 @@ GLIBC_2.2 __h_errno_location F GLIBC_2.2 __libc_allocate_rtsig F GLIBC_2.2 __libc_current_sigrtmax F GLIBC_2.2 __libc_current_sigrtmin F -GLIBC_2.2 __open F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_getspecific F GLIBC_2.2 __pthread_key_create F @@ -49,8 +47,6 @@ GLIBC_2.2 flockfile F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F -GLIBC_2.2 open F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist index d20fa17c94..ed1cd3a6e3 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist @@ -14,8 +14,6 @@ GLIBC_2.2 __h_errno_location F GLIBC_2.2 __libc_allocate_rtsig F GLIBC_2.2 __libc_current_sigrtmax F GLIBC_2.2 __libc_current_sigrtmin F -GLIBC_2.2 __open F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_getspecific F GLIBC_2.2 __pthread_key_create F @@ -47,8 +45,6 @@ GLIBC_2.2 flockfile F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F -GLIBC_2.2 open F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist index d20fa17c94..ed1cd3a6e3 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist @@ -14,8 +14,6 @@ GLIBC_2.2 __h_errno_location F GLIBC_2.2 __libc_allocate_rtsig F GLIBC_2.2 __libc_current_sigrtmax F GLIBC_2.2 __libc_current_sigrtmin F -GLIBC_2.2 __open F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_getspecific F GLIBC_2.2 __pthread_key_create F @@ -47,8 +45,6 @@ GLIBC_2.2 flockfile F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F -GLIBC_2.2 open F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist index a660a9f062..7006678a9a 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist @@ -1870,6 +1870,7 @@ GLIBC_2.2 mkstemp64 F GLIBC_2.2 moncontrol F GLIBC_2.2 msgctl F GLIBC_2.2 ngettext F +GLIBC_2.2 open64 F GLIBC_2.2 posix_fadvise F GLIBC_2.2 posix_fadvise64 F GLIBC_2.2 posix_fallocate F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist index 225123604d..4d908d4527 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist @@ -3,7 +3,6 @@ GLIBC_2.0 _IO_ftrylockfile F GLIBC_2.0 _IO_funlockfile F GLIBC_2.0 __errno_location F GLIBC_2.0 __h_errno_location F -GLIBC_2.0 __open F GLIBC_2.0 __pthread_getspecific F GLIBC_2.0 __pthread_key_create F GLIBC_2.0 __pthread_mutex_destroy F @@ -25,7 +24,6 @@ GLIBC_2.0 flockfile F GLIBC_2.0 ftrylockfile F GLIBC_2.0 funlockfile F GLIBC_2.0 longjmp F -GLIBC_2.0 open F GLIBC_2.0 pthread_atfork F GLIBC_2.0 pthread_cancel F GLIBC_2.0 pthread_cond_broadcast F @@ -109,7 +107,6 @@ GLIBC_2.12 pthread_mutexattr_setrobust F GLIBC_2.12 pthread_setname_np F GLIBC_2.18 pthread_getattr_default_np F GLIBC_2.18 pthread_setattr_default_np F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_rwlock_destroy F GLIBC_2.2 __pthread_rwlock_init F @@ -120,7 +117,6 @@ GLIBC_2.2 __pthread_rwlock_unlock F GLIBC_2.2 __pthread_rwlock_wrlock F GLIBC_2.2 __pwrite64 F GLIBC_2.2 __res_state F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_attr_getstack F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index c7e502460a..2d96fd1a41 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -14,8 +14,6 @@ GLIBC_2.2 __h_errno_location F GLIBC_2.2 __libc_allocate_rtsig F GLIBC_2.2 __libc_current_sigrtmax F GLIBC_2.2 __libc_current_sigrtmin F -GLIBC_2.2 __open F -GLIBC_2.2 __open64 F GLIBC_2.2 __pread64 F GLIBC_2.2 __pthread_getspecific F GLIBC_2.2 __pthread_key_create F @@ -47,8 +45,6 @@ GLIBC_2.2 flockfile F GLIBC_2.2 ftrylockfile F GLIBC_2.2 funlockfile F GLIBC_2.2 longjmp F -GLIBC_2.2 open F -GLIBC_2.2 open64 F GLIBC_2.2 pread F GLIBC_2.2 pread64 F GLIBC_2.2 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist index e8fe6b0101..1429c67b42 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist @@ -14,8 +14,6 @@ GLIBC_2.2.5 __h_errno_location F GLIBC_2.2.5 __libc_allocate_rtsig F GLIBC_2.2.5 __libc_current_sigrtmax F GLIBC_2.2.5 __libc_current_sigrtmin F -GLIBC_2.2.5 __open F -GLIBC_2.2.5 __open64 F GLIBC_2.2.5 __pread64 F GLIBC_2.2.5 __pthread_getspecific F GLIBC_2.2.5 __pthread_key_create F @@ -47,8 +45,6 @@ GLIBC_2.2.5 flockfile F GLIBC_2.2.5 ftrylockfile F GLIBC_2.2.5 funlockfile F GLIBC_2.2.5 longjmp F -GLIBC_2.2.5 open F -GLIBC_2.2.5 open64 F GLIBC_2.2.5 pread F GLIBC_2.2.5 pread64 F GLIBC_2.2.5 pthread_atfork F diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist index 0133881099..060ad61de2 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist @@ -6,8 +6,6 @@ GLIBC_2.16 __h_errno_location F GLIBC_2.16 __libc_allocate_rtsig F GLIBC_2.16 __libc_current_sigrtmax F GLIBC_2.16 __libc_current_sigrtmin F -GLIBC_2.16 __open F -GLIBC_2.16 __open64 F GLIBC_2.16 __pread64 F GLIBC_2.16 __pthread_cleanup_routine F GLIBC_2.16 __pthread_getspecific F @@ -45,8 +43,6 @@ GLIBC_2.16 flockfile F GLIBC_2.16 ftrylockfile F GLIBC_2.16 funlockfile F GLIBC_2.16 longjmp F -GLIBC_2.16 open F -GLIBC_2.16 open64 F GLIBC_2.16 pread F GLIBC_2.16 pread64 F GLIBC_2.16 pthread_attr_getaffinity_np F |