nptl: Remove close from libpthread

The libc version is identical and built with same flags.

Checked on x86_64-linux-gnu.
This commit is contained in:
Adhemerval Zanella 2021-03-12 16:26:53 -03:00
parent baab50cfb9
commit bdfed2e2cd
33 changed files with 4 additions and 64 deletions

View File

@ -104,6 +104,7 @@ CFLAGS-fallocate.c += -fexceptions
CFLAGS-fallocate64.c += -fexceptions
CFLAGS-read.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-write.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-close.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-test-stat.c += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CFLAGS-test-lfs.c += -D_LARGEFILE64_SOURCE

View File

@ -81,7 +81,7 @@ static-only-routines = pthread_atfork
# We need to provide certain routines for compatibility with existing
# binaries.
pthread-compat-wrappers = \
close accept \
accept \
connect recv recvfrom send \
sendto fsync lseek lseek64 \
msync open open64 pause \
@ -307,7 +307,6 @@ CFLAGS-connect.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-recvfrom.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-close.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-msync.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables

View File

@ -103,7 +103,6 @@ libpthread {
_IO_flockfile;
_IO_ftrylockfile;
_IO_funlockfile;
__close;
__connect;
__errno_location;
__fcntl;
@ -131,7 +130,6 @@ libpthread {
_pthread_cleanup_push;
_pthread_cleanup_push_defer;
accept;
close;
connect;
fcntl;
flockfile;

View File

@ -175,7 +175,7 @@ sem_open (const char *name, int oflag, ...)
(void) unlink (tmpfname);
/* Close the file. */
(void) __libc_close (fd);
close (fd);
goto try_again;
}
@ -201,7 +201,7 @@ sem_open (const char *name, int oflag, ...)
{
/* Do not disturb errno. */
int save = errno;
__libc_close (fd);
close (fd);
errno = save;
}

View File

@ -1,7 +1,6 @@
GLIBC_2.17 _IO_flockfile F
GLIBC_2.17 _IO_ftrylockfile F
GLIBC_2.17 _IO_funlockfile F
GLIBC_2.17 __close F
GLIBC_2.17 __connect F
GLIBC_2.17 __errno_location F
GLIBC_2.17 __fcntl F
@ -47,7 +46,6 @@ GLIBC_2.17 _pthread_cleanup_pop_restore F
GLIBC_2.17 _pthread_cleanup_push F
GLIBC_2.17 _pthread_cleanup_push_defer F
GLIBC_2.17 accept F
GLIBC_2.17 close F
GLIBC_2.17 connect F
GLIBC_2.17 fcntl F
GLIBC_2.17 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.0 _IO_flockfile F
GLIBC_2.0 _IO_ftrylockfile F
GLIBC_2.0 _IO_funlockfile F
GLIBC_2.0 __close F
GLIBC_2.0 __connect F
GLIBC_2.0 __errno_location F
GLIBC_2.0 __fcntl F
@ -27,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_pop_restore F
GLIBC_2.0 _pthread_cleanup_push F
GLIBC_2.0 _pthread_cleanup_push_defer F
GLIBC_2.0 accept F
GLIBC_2.0 close F
GLIBC_2.0 connect F
GLIBC_2.0 fcntl F
GLIBC_2.0 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.32 _IO_flockfile F
GLIBC_2.32 _IO_ftrylockfile F
GLIBC_2.32 _IO_funlockfile F
GLIBC_2.32 __close F
GLIBC_2.32 __connect F
GLIBC_2.32 __errno_location F
GLIBC_2.32 __h_errno_location F
@ -47,7 +46,6 @@ GLIBC_2.32 _pthread_cleanup_push F
GLIBC_2.32 _pthread_cleanup_push_defer F
GLIBC_2.32 accept F
GLIBC_2.32 call_once F
GLIBC_2.32 close F
GLIBC_2.32 cnd_broadcast F
GLIBC_2.32 cnd_destroy F
GLIBC_2.32 cnd_init F

View File

@ -36,7 +36,6 @@ GLIBC_2.31 pthread_clockjoin_np F
GLIBC_2.4 _IO_flockfile F
GLIBC_2.4 _IO_ftrylockfile F
GLIBC_2.4 _IO_funlockfile F
GLIBC_2.4 __close F
GLIBC_2.4 __connect F
GLIBC_2.4 __errno_location F
GLIBC_2.4 __fcntl F
@ -82,7 +81,6 @@ GLIBC_2.4 _pthread_cleanup_pop_restore F
GLIBC_2.4 _pthread_cleanup_push F
GLIBC_2.4 _pthread_cleanup_push_defer F
GLIBC_2.4 accept F
GLIBC_2.4 close F
GLIBC_2.4 connect F
GLIBC_2.4 fcntl F
GLIBC_2.4 flockfile F

View File

@ -36,7 +36,6 @@ GLIBC_2.31 pthread_clockjoin_np F
GLIBC_2.4 _IO_flockfile F
GLIBC_2.4 _IO_ftrylockfile F
GLIBC_2.4 _IO_funlockfile F
GLIBC_2.4 __close F
GLIBC_2.4 __connect F
GLIBC_2.4 __errno_location F
GLIBC_2.4 __fcntl F
@ -82,7 +81,6 @@ GLIBC_2.4 _pthread_cleanup_pop_restore F
GLIBC_2.4 _pthread_cleanup_push F
GLIBC_2.4 _pthread_cleanup_push_defer F
GLIBC_2.4 accept F
GLIBC_2.4 close F
GLIBC_2.4 connect F
GLIBC_2.4 fcntl F
GLIBC_2.4 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.29 _IO_flockfile F
GLIBC_2.29 _IO_ftrylockfile F
GLIBC_2.29 _IO_funlockfile F
GLIBC_2.29 __close F
GLIBC_2.29 __connect F
GLIBC_2.29 __errno_location F
GLIBC_2.29 __h_errno_location F
@ -47,7 +46,6 @@ GLIBC_2.29 _pthread_cleanup_push F
GLIBC_2.29 _pthread_cleanup_push_defer F
GLIBC_2.29 accept F
GLIBC_2.29 call_once F
GLIBC_2.29 close F
GLIBC_2.29 cnd_broadcast F
GLIBC_2.29 cnd_destroy F
GLIBC_2.29 cnd_init F

View File

@ -9,7 +9,6 @@ GLIBC_2.18 pthread_setattr_default_np F
GLIBC_2.2 _IO_flockfile F
GLIBC_2.2 _IO_ftrylockfile F
GLIBC_2.2 _IO_funlockfile F
GLIBC_2.2 __close F
GLIBC_2.2 __connect F
GLIBC_2.2 __errno_location F
GLIBC_2.2 __fcntl F
@ -49,7 +48,6 @@ GLIBC_2.2 _pthread_cleanup_pop_restore F
GLIBC_2.2 _pthread_cleanup_push F
GLIBC_2.2 _pthread_cleanup_push_defer F
GLIBC_2.2 accept F
GLIBC_2.2 close F
GLIBC_2.2 connect F
GLIBC_2.2 fcntl F
GLIBC_2.2 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.0 _IO_flockfile F
GLIBC_2.0 _IO_ftrylockfile F
GLIBC_2.0 _IO_funlockfile F
GLIBC_2.0 __close F
GLIBC_2.0 __connect F
GLIBC_2.0 __errno_location F
GLIBC_2.0 __fcntl F
@ -27,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_pop_restore F
GLIBC_2.0 _pthread_cleanup_push F
GLIBC_2.0 _pthread_cleanup_push_defer F
GLIBC_2.0 accept F
GLIBC_2.0 close F
GLIBC_2.0 connect F
GLIBC_2.0 fcntl F
GLIBC_2.0 flockfile F

View File

@ -9,7 +9,6 @@ GLIBC_2.18 pthread_setattr_default_np F
GLIBC_2.2 _IO_flockfile F
GLIBC_2.2 _IO_ftrylockfile F
GLIBC_2.2 _IO_funlockfile F
GLIBC_2.2 __close F
GLIBC_2.2 __connect F
GLIBC_2.2 __errno_location F
GLIBC_2.2 __fcntl F
@ -49,7 +48,6 @@ GLIBC_2.2 _pthread_cleanup_pop_restore F
GLIBC_2.2 _pthread_cleanup_push F
GLIBC_2.2 _pthread_cleanup_push_defer F
GLIBC_2.2 accept F
GLIBC_2.2 close F
GLIBC_2.2 connect F
GLIBC_2.2 fcntl F
GLIBC_2.2 flockfile F

View File

@ -36,7 +36,6 @@ GLIBC_2.31 pthread_clockjoin_np F
GLIBC_2.4 _IO_flockfile F
GLIBC_2.4 _IO_ftrylockfile F
GLIBC_2.4 _IO_funlockfile F
GLIBC_2.4 __close F
GLIBC_2.4 __connect F
GLIBC_2.4 __errno_location F
GLIBC_2.4 __fcntl F
@ -82,7 +81,6 @@ GLIBC_2.4 _pthread_cleanup_pop_restore F
GLIBC_2.4 _pthread_cleanup_push F
GLIBC_2.4 _pthread_cleanup_push_defer F
GLIBC_2.4 accept F
GLIBC_2.4 close F
GLIBC_2.4 connect F
GLIBC_2.4 fcntl F
GLIBC_2.4 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.0 _IO_flockfile F
GLIBC_2.0 _IO_ftrylockfile F
GLIBC_2.0 _IO_funlockfile F
GLIBC_2.0 __close F
GLIBC_2.0 __connect F
GLIBC_2.0 __errno_location F
GLIBC_2.0 __fcntl F
@ -27,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_pop_restore F
GLIBC_2.0 _pthread_cleanup_push F
GLIBC_2.0 _pthread_cleanup_push_defer F
GLIBC_2.0 accept F
GLIBC_2.0 close F
GLIBC_2.0 connect F
GLIBC_2.0 fcntl F
GLIBC_2.0 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.18 _IO_flockfile F
GLIBC_2.18 _IO_ftrylockfile F
GLIBC_2.18 _IO_funlockfile F
GLIBC_2.18 __close F
GLIBC_2.18 __connect F
GLIBC_2.18 __errno_location F
GLIBC_2.18 __fcntl F
@ -47,7 +46,6 @@ GLIBC_2.18 _pthread_cleanup_pop_restore F
GLIBC_2.18 _pthread_cleanup_push F
GLIBC_2.18 _pthread_cleanup_push_defer F
GLIBC_2.18 accept F
GLIBC_2.18 close F
GLIBC_2.18 connect F
GLIBC_2.18 fcntl F
GLIBC_2.18 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.18 _IO_flockfile F
GLIBC_2.18 _IO_ftrylockfile F
GLIBC_2.18 _IO_funlockfile F
GLIBC_2.18 __close F
GLIBC_2.18 __connect F
GLIBC_2.18 __errno_location F
GLIBC_2.18 __fcntl F
@ -47,7 +46,6 @@ GLIBC_2.18 _pthread_cleanup_pop_restore F
GLIBC_2.18 _pthread_cleanup_push F
GLIBC_2.18 _pthread_cleanup_push_defer F
GLIBC_2.18 accept F
GLIBC_2.18 close F
GLIBC_2.18 connect F
GLIBC_2.18 fcntl F
GLIBC_2.18 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.0 _IO_flockfile F
GLIBC_2.0 _IO_ftrylockfile F
GLIBC_2.0 _IO_funlockfile F
GLIBC_2.0 __close F
GLIBC_2.0 __connect F
GLIBC_2.0 __errno_location F
GLIBC_2.0 __fcntl F
@ -27,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_pop_restore F
GLIBC_2.0 _pthread_cleanup_push F
GLIBC_2.0 _pthread_cleanup_push_defer F
GLIBC_2.0 accept F
GLIBC_2.0 close F
GLIBC_2.0 connect F
GLIBC_2.0 fcntl F
GLIBC_2.0 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.0 _IO_flockfile F
GLIBC_2.0 _IO_ftrylockfile F
GLIBC_2.0 _IO_funlockfile F
GLIBC_2.0 __close F
GLIBC_2.0 __connect F
GLIBC_2.0 __errno_location F
GLIBC_2.0 __fcntl F
@ -27,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_pop_restore F
GLIBC_2.0 _pthread_cleanup_push F
GLIBC_2.0 _pthread_cleanup_push_defer F
GLIBC_2.0 accept F
GLIBC_2.0 close F
GLIBC_2.0 connect F
GLIBC_2.0 fcntl F
GLIBC_2.0 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.21 _IO_flockfile F
GLIBC_2.21 _IO_ftrylockfile F
GLIBC_2.21 _IO_funlockfile F
GLIBC_2.21 __close F
GLIBC_2.21 __connect F
GLIBC_2.21 __errno_location F
GLIBC_2.21 __fcntl F
@ -47,7 +46,6 @@ GLIBC_2.21 _pthread_cleanup_pop_restore F
GLIBC_2.21 _pthread_cleanup_push F
GLIBC_2.21 _pthread_cleanup_push_defer F
GLIBC_2.21 accept F
GLIBC_2.21 close F
GLIBC_2.21 connect F
GLIBC_2.21 fcntl F
GLIBC_2.21 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.0 _IO_flockfile F
GLIBC_2.0 _IO_ftrylockfile F
GLIBC_2.0 _IO_funlockfile F
GLIBC_2.0 __close F
GLIBC_2.0 __connect F
GLIBC_2.0 __errno_location F
GLIBC_2.0 __fcntl F
@ -27,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_pop_restore F
GLIBC_2.0 _pthread_cleanup_push F
GLIBC_2.0 _pthread_cleanup_push_defer F
GLIBC_2.0 accept F
GLIBC_2.0 close F
GLIBC_2.0 connect F
GLIBC_2.0 fcntl F
GLIBC_2.0 flockfile F

View File

@ -30,7 +30,6 @@ GLIBC_2.28 tss_set F
GLIBC_2.3 _IO_flockfile F
GLIBC_2.3 _IO_ftrylockfile F
GLIBC_2.3 _IO_funlockfile F
GLIBC_2.3 __close F
GLIBC_2.3 __connect F
GLIBC_2.3 __errno_location F
GLIBC_2.3 __fcntl F
@ -70,7 +69,6 @@ GLIBC_2.3 _pthread_cleanup_pop_restore F
GLIBC_2.3 _pthread_cleanup_push F
GLIBC_2.3 _pthread_cleanup_push_defer F
GLIBC_2.3 accept F
GLIBC_2.3 close F
GLIBC_2.3 connect F
GLIBC_2.3 fcntl F
GLIBC_2.3 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.17 _IO_flockfile F
GLIBC_2.17 _IO_ftrylockfile F
GLIBC_2.17 _IO_funlockfile F
GLIBC_2.17 __close F
GLIBC_2.17 __connect F
GLIBC_2.17 __errno_location F
GLIBC_2.17 __fcntl F
@ -47,7 +46,6 @@ GLIBC_2.17 _pthread_cleanup_pop_restore F
GLIBC_2.17 _pthread_cleanup_push F
GLIBC_2.17 _pthread_cleanup_push_defer F
GLIBC_2.17 accept F
GLIBC_2.17 close F
GLIBC_2.17 connect F
GLIBC_2.17 fcntl F
GLIBC_2.17 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.33 _IO_flockfile F
GLIBC_2.33 _IO_ftrylockfile F
GLIBC_2.33 _IO_funlockfile F
GLIBC_2.33 __close F
GLIBC_2.33 __connect F
GLIBC_2.33 __errno_location F
GLIBC_2.33 __h_errno_location F
@ -47,7 +46,6 @@ GLIBC_2.33 _pthread_cleanup_push F
GLIBC_2.33 _pthread_cleanup_push_defer F
GLIBC_2.33 accept F
GLIBC_2.33 call_once F
GLIBC_2.33 close F
GLIBC_2.33 cnd_broadcast F
GLIBC_2.33 cnd_destroy F
GLIBC_2.33 cnd_init F

View File

@ -1,7 +1,6 @@
GLIBC_2.27 _IO_flockfile F
GLIBC_2.27 _IO_ftrylockfile F
GLIBC_2.27 _IO_funlockfile F
GLIBC_2.27 __close F
GLIBC_2.27 __connect F
GLIBC_2.27 __errno_location F
GLIBC_2.27 __fcntl F
@ -47,7 +46,6 @@ GLIBC_2.27 _pthread_cleanup_pop_restore F
GLIBC_2.27 _pthread_cleanup_push F
GLIBC_2.27 _pthread_cleanup_push_defer F
GLIBC_2.27 accept F
GLIBC_2.27 close F
GLIBC_2.27 connect F
GLIBC_2.27 fcntl F
GLIBC_2.27 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.0 _IO_flockfile F
GLIBC_2.0 _IO_ftrylockfile F
GLIBC_2.0 _IO_funlockfile F
GLIBC_2.0 __close F
GLIBC_2.0 __connect F
GLIBC_2.0 __errno_location F
GLIBC_2.0 __fcntl F
@ -27,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_pop_restore F
GLIBC_2.0 _pthread_cleanup_push F
GLIBC_2.0 _pthread_cleanup_push_defer F
GLIBC_2.0 accept F
GLIBC_2.0 close F
GLIBC_2.0 connect F
GLIBC_2.0 fcntl F
GLIBC_2.0 flockfile F

View File

@ -11,7 +11,6 @@ GLIBC_2.19 siglongjmp F
GLIBC_2.2 _IO_flockfile F
GLIBC_2.2 _IO_ftrylockfile F
GLIBC_2.2 _IO_funlockfile F
GLIBC_2.2 __close F
GLIBC_2.2 __connect F
GLIBC_2.2 __errno_location F
GLIBC_2.2 __fcntl F
@ -51,7 +50,6 @@ GLIBC_2.2 _pthread_cleanup_pop_restore F
GLIBC_2.2 _pthread_cleanup_push F
GLIBC_2.2 _pthread_cleanup_push_defer F
GLIBC_2.2 accept F
GLIBC_2.2 close F
GLIBC_2.2 connect F
GLIBC_2.2 fcntl F
GLIBC_2.2 flockfile F

View File

@ -9,7 +9,6 @@ GLIBC_2.18 pthread_setattr_default_np F
GLIBC_2.2 _IO_flockfile F
GLIBC_2.2 _IO_ftrylockfile F
GLIBC_2.2 _IO_funlockfile F
GLIBC_2.2 __close F
GLIBC_2.2 __connect F
GLIBC_2.2 __errno_location F
GLIBC_2.2 __fcntl F
@ -49,7 +48,6 @@ GLIBC_2.2 _pthread_cleanup_pop_restore F
GLIBC_2.2 _pthread_cleanup_push F
GLIBC_2.2 _pthread_cleanup_push_defer F
GLIBC_2.2 accept F
GLIBC_2.2 close F
GLIBC_2.2 connect F
GLIBC_2.2 fcntl F
GLIBC_2.2 flockfile F

View File

@ -9,7 +9,6 @@ GLIBC_2.18 pthread_setattr_default_np F
GLIBC_2.2 _IO_flockfile F
GLIBC_2.2 _IO_ftrylockfile F
GLIBC_2.2 _IO_funlockfile F
GLIBC_2.2 __close F
GLIBC_2.2 __connect F
GLIBC_2.2 __errno_location F
GLIBC_2.2 __fcntl F
@ -49,7 +48,6 @@ GLIBC_2.2 _pthread_cleanup_pop_restore F
GLIBC_2.2 _pthread_cleanup_push F
GLIBC_2.2 _pthread_cleanup_push_defer F
GLIBC_2.2 accept F
GLIBC_2.2 close F
GLIBC_2.2 connect F
GLIBC_2.2 fcntl F
GLIBC_2.2 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.0 _IO_flockfile F
GLIBC_2.0 _IO_ftrylockfile F
GLIBC_2.0 _IO_funlockfile F
GLIBC_2.0 __close F
GLIBC_2.0 __connect F
GLIBC_2.0 __errno_location F
GLIBC_2.0 __fcntl F
@ -27,7 +26,6 @@ GLIBC_2.0 _pthread_cleanup_pop_restore F
GLIBC_2.0 _pthread_cleanup_push F
GLIBC_2.0 _pthread_cleanup_push_defer F
GLIBC_2.0 accept F
GLIBC_2.0 close F
GLIBC_2.0 connect F
GLIBC_2.0 fcntl F
GLIBC_2.0 flockfile F

View File

@ -9,7 +9,6 @@ GLIBC_2.18 pthread_setattr_default_np F
GLIBC_2.2 _IO_flockfile F
GLIBC_2.2 _IO_ftrylockfile F
GLIBC_2.2 _IO_funlockfile F
GLIBC_2.2 __close F
GLIBC_2.2 __connect F
GLIBC_2.2 __errno_location F
GLIBC_2.2 __fcntl F
@ -49,7 +48,6 @@ GLIBC_2.2 _pthread_cleanup_pop_restore F
GLIBC_2.2 _pthread_cleanup_push F
GLIBC_2.2 _pthread_cleanup_push_defer F
GLIBC_2.2 accept F
GLIBC_2.2 close F
GLIBC_2.2 connect F
GLIBC_2.2 fcntl F
GLIBC_2.2 flockfile F

View File

@ -9,7 +9,6 @@ GLIBC_2.18 pthread_setattr_default_np F
GLIBC_2.2.5 _IO_flockfile F
GLIBC_2.2.5 _IO_ftrylockfile F
GLIBC_2.2.5 _IO_funlockfile F
GLIBC_2.2.5 __close F
GLIBC_2.2.5 __connect F
GLIBC_2.2.5 __errno_location F
GLIBC_2.2.5 __fcntl F
@ -49,7 +48,6 @@ GLIBC_2.2.5 _pthread_cleanup_pop_restore F
GLIBC_2.2.5 _pthread_cleanup_push F
GLIBC_2.2.5 _pthread_cleanup_push_defer F
GLIBC_2.2.5 accept F
GLIBC_2.2.5 close F
GLIBC_2.2.5 connect F
GLIBC_2.2.5 fcntl F
GLIBC_2.2.5 flockfile F

View File

@ -1,7 +1,6 @@
GLIBC_2.16 _IO_flockfile F
GLIBC_2.16 _IO_ftrylockfile F
GLIBC_2.16 _IO_funlockfile F
GLIBC_2.16 __close F
GLIBC_2.16 __connect F
GLIBC_2.16 __errno_location F
GLIBC_2.16 __fcntl F
@ -47,7 +46,6 @@ GLIBC_2.16 _pthread_cleanup_pop_restore F
GLIBC_2.16 _pthread_cleanup_push F
GLIBC_2.16 _pthread_cleanup_push_defer F
GLIBC_2.16 accept F
GLIBC_2.16 close F
GLIBC_2.16 connect F
GLIBC_2.16 fcntl F
GLIBC_2.16 flockfile F