mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 17:50:20 +00:00
3e9ff426cb
This patch consolidates the connect Linux syscall implementation on sysdeps/unix/sysv/linux/accept.c. The changes are: 1. Remove connect from auto-generation syscalls.list on the architecture that uses __NR_connect. 2. Define __NR_connect as default (__ASSUME_CONNECT_SYSCALL) and undef for architectures that do not support it. Checked on i686-linux-gnu, x86_64-linux-gnu, x86_64-linux-gnux32, aarch64-linux-gnu, arm-linux-gnueabihf, and powerpc64le-linux-gnu. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from auto-generation list. * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/connect.c: Simplify include list. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_CONNECT_SYSCALL): Define. * sysdeps/unix/sysv/linux/i386/kernel-features.h (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it. * sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_CONNECT_SYSCALL): Likewise. * sysdeps/unix/sysv/linux/s390/kernel-features.h (__ASSUME_CONNECT_SYSCALL): Likewise. * sysdeps/unix/sysv/linux/sparc/kernel-features.h (__ASSUME_CONNECT_SYSCALL): Likewise. |
||
---|---|---|
.. | ||
bits | ||
sys | ||
____longjmp_chk.S | ||
aeabi_read_tp.S | ||
alphasort64.c | ||
arch-fork.h | ||
arm-features.h | ||
atomic-machine.h | ||
brk.c | ||
c++-types.data | ||
clone.S | ||
dl-cache.h | ||
dl-machine.h | ||
dl-procinfo.c | ||
dl-procinfo.h | ||
fcntl.c | ||
fxstat.c | ||
fxstatat.c | ||
getcontext.S | ||
getdents64.c | ||
glob64.c | ||
Implies | ||
init-first.c | ||
ioperm.c | ||
kernel-features.h | ||
ld.abilist | ||
ldconfig.h | ||
ldsodefs.h | ||
libanl.abilist | ||
libBrokenLocale.abilist | ||
libc-do-syscall.S | ||
libc-vdso.h | ||
libc.abilist | ||
libcrypt.abilist | ||
libdl.abilist | ||
libm.abilist | ||
libnsl.abilist | ||
libpthread.abilist | ||
libresolv.abilist | ||
librt.abilist | ||
libthread_db.abilist | ||
libutil.abilist | ||
localplt.data | ||
lockf64.c | ||
lxstat.c | ||
makecontext.c | ||
Makefile | ||
mmap.c | ||
profil-counter.h | ||
readahead.c | ||
readdir64_r.c | ||
readdir64.c | ||
readelflib.c | ||
register-dump.h | ||
scandir64.c | ||
setcontext.S | ||
setegid.c | ||
seteuid.c | ||
setgid.c | ||
setgroups.c | ||
setregid.c | ||
setresgid.c | ||
setresuid.c | ||
setreuid.c | ||
setuid.c | ||
shlib-versions | ||
sigaction.c | ||
sigcontextinfo.h | ||
sigrestorer.S | ||
swapcontext.S | ||
syscall.S | ||
syscalls.list | ||
sysdep-cancel.h | ||
sysdep.h | ||
sysdep.S | ||
tls.h | ||
ucontext_i.sym | ||
umount.c | ||
Versions | ||
versionsort64.c | ||
vfork.S | ||
xstat.c |