[PATCH v2 0/6] Consolidation patches for bz12683
Adhemerval Zanella
adhemerval.zanella@linaro.org
Tue Mar 7 10:52:00 GMT 2017
Changes from previous version:
- Fix m68k undef of __ASSUME_ACCEPT_SYSCALL
- Split recv{from} patch to one for remove recvfrom from auto-generation
list and another to remove recv.
- Split send{to} patch to one for remove sendto from auto-generation
list and another to remove send.
- Fixes some typos.
I also checked the changes on sparc64-linux-gnu and powerpc-linux-gnu
aside from previous ones.
--
This patchset is the initial one I am proposing for upcoming BZ#12683
(Race conditions in pthread cancellation) [1]. General idea is to remove
all the auto-generation cancellation syscall from syscalls.list for
all architectures to simplifiy bz12683 fix.
These patches consolidates the accept, connect, recv, recvfrom, send,
and sendto Linux implementation on default ones. I have tested
a full build/run on x86_64, i686, x32, powerpc64le, aarch64, and
armhf and a build/check for all other supported architectures
(with run-built-tests=no). Besides the already broken hppa
build (due the new pthread condition) I saw no regressions.
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=12683
Adhemerval Zanella (6):
Consolidate Linux accept implementation
Consolidate Linux connect implementation
Consolidate Linux recvfrom implementation
Consolidate Linux recv implementation
Consolidate Linux sendto implementation
Consolidate Linux send implementation
ChangeLog | 176 +++++++++++++++++++++
sysdeps/unix/sysv/linux/aarch64/sysdep.h | 4 +
sysdeps/unix/sysv/linux/accept.c | 7 +-
sysdeps/unix/sysv/linux/alpha/kernel-features.h | 3 +
sysdeps/unix/sysv/linux/alpha/syscalls.list | 6 -
sysdeps/unix/sysv/linux/arm/kernel-features.h | 3 +
sysdeps/unix/sysv/linux/arm/syscalls.list | 6 -
sysdeps/unix/sysv/linux/connect.c | 5 -
sysdeps/unix/sysv/linux/generic/recv.c | 32 ----
sysdeps/unix/sysv/linux/generic/send.c | 30 ----
sysdeps/unix/sysv/linux/generic/syscalls.list | 4 -
sysdeps/unix/sysv/linux/hppa/kernel-features.h | 3 +
sysdeps/unix/sysv/linux/hppa/syscalls.list | 6 -
sysdeps/unix/sysv/linux/i386/kernel-features.h | 11 +-
sysdeps/unix/sysv/linux/ia64/kernel-features.h | 3 +
sysdeps/unix/sysv/linux/ia64/syscalls.list | 6 -
sysdeps/unix/sysv/linux/kernel-features.h | 4 +
sysdeps/unix/sysv/linux/m68k/kernel-features.h | 11 +-
.../unix/sysv/linux/microblaze/kernel-features.h | 3 -
sysdeps/unix/sysv/linux/mips/kernel-features.h | 4 +
sysdeps/unix/sysv/linux/mips/mips64/recv.c | 1 -
sysdeps/unix/sysv/linux/mips/mips64/send.c | 1 -
sysdeps/unix/sysv/linux/mips/syscalls.list | 6 -
sysdeps/unix/sysv/linux/nios2/sysdep.h | 4 +
sysdeps/unix/sysv/linux/powerpc/kernel-features.h | 3 -
sysdeps/unix/sysv/linux/recv.c | 7 +-
sysdeps/unix/sysv/linux/recvfrom.c | 5 -
sysdeps/unix/sysv/linux/s390/kernel-features.h | 11 +-
sysdeps/unix/sysv/linux/send.c | 9 +-
sysdeps/unix/sysv/linux/sendto.c | 5 -
sysdeps/unix/sysv/linux/sh/kernel-features.h | 3 -
sysdeps/unix/sysv/linux/sparc/kernel-features.h | 6 +
.../unix/sysv/linux/sparc/sparc64/syscalls.list | 6 -
sysdeps/unix/sysv/linux/sysdep.h | 4 +
sysdeps/unix/sysv/linux/tile/sysdep.h | 4 +
sysdeps/unix/sysv/linux/x86_64/recv.c | 33 ----
sysdeps/unix/sysv/linux/x86_64/send.c | 31 ----
sysdeps/unix/sysv/linux/x86_64/syscalls.list | 4 -
38 files changed, 238 insertions(+), 232 deletions(-)
delete mode 100644 sysdeps/unix/sysv/linux/generic/recv.c
delete mode 100644 sysdeps/unix/sysv/linux/generic/send.c
delete mode 100644 sysdeps/unix/sysv/linux/mips/mips64/recv.c
delete mode 100644 sysdeps/unix/sysv/linux/mips/mips64/send.c
delete mode 100644 sysdeps/unix/sysv/linux/x86_64/recv.c
delete mode 100644 sysdeps/unix/sysv/linux/x86_64/send.c
--
2.7.4
More information about the Libc-alpha
mailing list