From: Adhemerval Zanella Date: Sun, 14 Mar 2021 12:28:25 +0000 (-0300) Subject: nptl: Remove sendmsg from libpthread X-Git-Tag: glibc-2.34~807 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=729cb5a2a7131440f9e36638def5b29ed645fc1b;p=thirdparty%2Fglibc.git nptl: Remove sendmsg from libpthread The libc version is identical and built with same flags. Checked on x86_64-linux-gnu. --- diff --git a/nptl/Makefile b/nptl/Makefile index 2efae4637ff..a144c2fafd6 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -87,7 +87,6 @@ pthread-compat-wrappers = \ pread pread64 pwrite pwrite64 \ msgrcv msgsnd \ sigsuspend \ - sendmsg libpthread-routines = \ $(pthread-compat-wrappers) \ @@ -297,7 +296,6 @@ CFLAGS-msgsnd.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-open.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-open64.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-send.c += -fexceptions -fasynchronous-unwind-tables -CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-fdatasync.c += -fexceptions -fasynchronous-unwind-tables diff --git a/nptl/Versions b/nptl/Versions index c6a851cfc15..6c4db9a59f1 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -173,7 +173,6 @@ libpthread { sem_trywait; sem_wait; send; - sendmsg; sigaction; siglongjmp; system; diff --git a/socket/Makefile b/socket/Makefile index 01d3d18fbca..75582b1513d 100644 --- a/socket/Makefile +++ b/socket/Makefile @@ -41,3 +41,4 @@ CFLAGS-recv.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-recvfrom.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-sendto.c += -fexceptions -fasynchronous-unwind-tables CFLAGS-recvmsg.c += -fexceptions -fasynchronous-unwind-tables +CFLAGS-sendmsg.c += -fexceptions -fasynchronous-unwind-tables diff --git a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist index 83f3d818e99..97c36bd3412 100644 --- a/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/aarch64/libpthread.abilist @@ -165,7 +165,6 @@ GLIBC_2.17 sem_trywait F GLIBC_2.17 sem_unlink F GLIBC_2.17 sem_wait F GLIBC_2.17 send F -GLIBC_2.17 sendmsg F GLIBC_2.17 sigaction F GLIBC_2.17 siglongjmp F GLIBC_2.17 system F diff --git a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist index cabcfe68ec6..ef8aa216466 100644 --- a/sysdeps/unix/sysv/linux/alpha/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/alpha/libpthread.abilist @@ -68,7 +68,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F -GLIBC_2.0 sendmsg F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 system F diff --git a/sysdeps/unix/sysv/linux/arc/libpthread.abilist b/sysdeps/unix/sysv/linux/arc/libpthread.abilist index 962885dc7ce..06e013f4a34 100644 --- a/sysdeps/unix/sysv/linux/arc/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arc/libpthread.abilist @@ -183,7 +183,6 @@ GLIBC_2.32 sem_trywait F GLIBC_2.32 sem_unlink F GLIBC_2.32 sem_wait F GLIBC_2.32 send F -GLIBC_2.32 sendmsg F GLIBC_2.32 sigaction F GLIBC_2.32 thrd_create F GLIBC_2.32 thrd_detach F diff --git a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist index bc6732bdb9e..fdfcb12577b 100644 --- a/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/be/libpthread.abilist @@ -194,7 +194,6 @@ GLIBC_2.4 sem_trywait F GLIBC_2.4 sem_unlink F GLIBC_2.4 sem_wait F GLIBC_2.4 send F -GLIBC_2.4 sendmsg F GLIBC_2.4 sigaction F GLIBC_2.4 siglongjmp F GLIBC_2.4 system F diff --git a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist index bc6732bdb9e..fdfcb12577b 100644 --- a/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/arm/le/libpthread.abilist @@ -194,7 +194,6 @@ GLIBC_2.4 sem_trywait F GLIBC_2.4 sem_unlink F GLIBC_2.4 sem_wait F GLIBC_2.4 send F -GLIBC_2.4 sendmsg F GLIBC_2.4 sigaction F GLIBC_2.4 siglongjmp F GLIBC_2.4 system F diff --git a/sysdeps/unix/sysv/linux/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index 10dff526ca8..9e1fbdb9693 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -177,7 +177,6 @@ GLIBC_2.29 sem_trywait F GLIBC_2.29 sem_unlink F GLIBC_2.29 sem_wait F GLIBC_2.29 send F -GLIBC_2.29 sendmsg F GLIBC_2.29 sigaction F GLIBC_2.29 thrd_create F GLIBC_2.29 thrd_detach F diff --git a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist index b7ef63124e2..0d23cc5d35e 100644 --- a/sysdeps/unix/sysv/linux/hppa/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/hppa/libpthread.abilist @@ -145,7 +145,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F -GLIBC_2.2 sendmsg F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 system F diff --git a/sysdeps/unix/sysv/linux/i386/libpthread.abilist b/sysdeps/unix/sysv/linux/i386/libpthread.abilist index ef52f3d49e3..b07bb2f20da 100644 --- a/sysdeps/unix/sysv/linux/i386/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/i386/libpthread.abilist @@ -68,7 +68,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F -GLIBC_2.0 sendmsg F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 system F diff --git a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist index cc1e2768e67..a1820851db0 100644 --- a/sysdeps/unix/sysv/linux/ia64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/ia64/libpthread.abilist @@ -145,7 +145,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F -GLIBC_2.2 sendmsg F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 system F diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist index bc6732bdb9e..fdfcb12577b 100644 --- a/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist @@ -194,7 +194,6 @@ GLIBC_2.4 sem_trywait F GLIBC_2.4 sem_unlink F GLIBC_2.4 sem_wait F GLIBC_2.4 send F -GLIBC_2.4 sendmsg F GLIBC_2.4 sigaction F GLIBC_2.4 siglongjmp F GLIBC_2.4 system F diff --git a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist index ef52f3d49e3..b07bb2f20da 100644 --- a/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist @@ -68,7 +68,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F -GLIBC_2.0 sendmsg F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 system F diff --git a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist index 14c940f4680..6323316dec5 100644 --- a/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist @@ -167,7 +167,6 @@ GLIBC_2.18 sem_trywait F GLIBC_2.18 sem_unlink F GLIBC_2.18 sem_wait F GLIBC_2.18 send F -GLIBC_2.18 sendmsg F GLIBC_2.18 sigaction F GLIBC_2.18 siglongjmp F GLIBC_2.18 system F diff --git a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist index 14c940f4680..6323316dec5 100644 --- a/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist @@ -167,7 +167,6 @@ GLIBC_2.18 sem_trywait F GLIBC_2.18 sem_unlink F GLIBC_2.18 sem_wait F GLIBC_2.18 send F -GLIBC_2.18 sendmsg F GLIBC_2.18 sigaction F GLIBC_2.18 siglongjmp F GLIBC_2.18 system F diff --git a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist index dac8da5a906..04cbf0059b1 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist @@ -68,7 +68,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F -GLIBC_2.0 sendmsg F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 system F diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist index dac8da5a906..04cbf0059b1 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist @@ -68,7 +68,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F -GLIBC_2.0 sendmsg F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 system F diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist index 23dd1e32063..e36725ead2e 100644 --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist @@ -167,7 +167,6 @@ GLIBC_2.21 sem_trywait F GLIBC_2.21 sem_unlink F GLIBC_2.21 sem_wait F GLIBC_2.21 send F -GLIBC_2.21 sendmsg F GLIBC_2.21 sigaction F GLIBC_2.21 siglongjmp F GLIBC_2.21 system F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist index 09020686067..f6b7a34fd85 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist @@ -68,7 +68,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F -GLIBC_2.0 sendmsg F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 system F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist index 6d736b8cebe..e44cdf7b932 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist @@ -165,7 +165,6 @@ GLIBC_2.3 sem_trywait F GLIBC_2.3 sem_unlink F GLIBC_2.3 sem_wait F GLIBC_2.3 send F -GLIBC_2.3 sendmsg F GLIBC_2.3 sigaction F GLIBC_2.3 siglongjmp F GLIBC_2.3 system F diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist index 83f3d818e99..97c36bd3412 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist @@ -165,7 +165,6 @@ GLIBC_2.17 sem_trywait F GLIBC_2.17 sem_unlink F GLIBC_2.17 sem_wait F GLIBC_2.17 send F -GLIBC_2.17 sendmsg F GLIBC_2.17 sigaction F GLIBC_2.17 siglongjmp F GLIBC_2.17 system F diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist index 51d53eddc77..48c03fc0810 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv32/libpthread.abilist @@ -183,7 +183,6 @@ GLIBC_2.33 sem_trywait F GLIBC_2.33 sem_unlink F GLIBC_2.33 sem_wait F GLIBC_2.33 send F -GLIBC_2.33 sendmsg F GLIBC_2.33 sigaction F GLIBC_2.33 thrd_create F GLIBC_2.33 thrd_detach F diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist index e9f72138799..7863278a85b 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist @@ -166,7 +166,6 @@ GLIBC_2.27 sem_trywait F GLIBC_2.27 sem_unlink F GLIBC_2.27 sem_wait F GLIBC_2.27 send F -GLIBC_2.27 sendmsg F GLIBC_2.27 sigaction F GLIBC_2.28 call_once F GLIBC_2.28 cnd_broadcast F diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist index a7185187085..3ca3e43c3a0 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist @@ -68,7 +68,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F -GLIBC_2.0 sendmsg F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 system F diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist index 308a11b5e35..a0330653f2d 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist @@ -147,7 +147,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F -GLIBC_2.2 sendmsg F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 system F diff --git a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist index b7ef63124e2..0d23cc5d35e 100644 --- a/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/be/libpthread.abilist @@ -145,7 +145,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F -GLIBC_2.2 sendmsg F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 system F diff --git a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist index b7ef63124e2..0d23cc5d35e 100644 --- a/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sh/le/libpthread.abilist @@ -145,7 +145,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F -GLIBC_2.2 sendmsg F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 system F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist index cabcfe68ec6..ef8aa216466 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist @@ -68,7 +68,6 @@ GLIBC_2.0 sem_post F GLIBC_2.0 sem_trywait F GLIBC_2.0 sem_wait F GLIBC_2.0 send F -GLIBC_2.0 sendmsg F GLIBC_2.0 sigaction F GLIBC_2.0 siglongjmp F GLIBC_2.0 system F diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist index cc1e2768e67..a1820851db0 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist @@ -145,7 +145,6 @@ GLIBC_2.2 sem_trywait F GLIBC_2.2 sem_unlink F GLIBC_2.2 sem_wait F GLIBC_2.2 send F -GLIBC_2.2 sendmsg F GLIBC_2.2 sigaction F GLIBC_2.2 siglongjmp F GLIBC_2.2 system F diff --git a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist index eb009cef2d2..067ed1851c2 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist @@ -145,7 +145,6 @@ GLIBC_2.2.5 sem_trywait F GLIBC_2.2.5 sem_unlink F GLIBC_2.2.5 sem_wait F GLIBC_2.2.5 send F -GLIBC_2.2.5 sendmsg F GLIBC_2.2.5 sigaction F GLIBC_2.2.5 siglongjmp F GLIBC_2.2.5 system F diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist index 94b2ff87f20..d63ad3d0a52 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist @@ -165,7 +165,6 @@ GLIBC_2.16 sem_trywait F GLIBC_2.16 sem_unlink F GLIBC_2.16 sem_wait F GLIBC_2.16 send F -GLIBC_2.16 sendmsg F GLIBC_2.16 sigaction F GLIBC_2.16 siglongjmp F GLIBC_2.16 system F