]> git.ipfire.org Git - thirdparty/glibc.git/commit
linux: Implement pipe in terms of __NR_pipe2
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 26 Jun 2020 12:29:11 +0000 (09:29 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 30 Nov 2021 16:13:03 +0000 (13:13 -0300)
commitefc6b2dbc47231dee7a7ac39beec808deb4e4d1f
treef5686babdb8325e2bbe9a41e36e0f9c26006c095
parent5b3e31e3124bf89710e5c25176c70fdf66c2a212
linux: Implement pipe in terms of __NR_pipe2

The syscall pipe2 was added in linux 2.6.27 and glibc requires linux
3.2.0.  The patch removes the arch-specific implementation for alpha,
ia64, mips, sh, and sparc which requires a different kernel ABI
than the usual one.

Checked on x86_64-linux-gnu and with a build for the affected ABIs.
sysdeps/unix/alpha/pipe.S [deleted file]
sysdeps/unix/mips/pipe.S [deleted file]
sysdeps/unix/sysv/linux/alpha/pipe.S [deleted file]
sysdeps/unix/sysv/linux/ia64/pipe.S [deleted file]
sysdeps/unix/sysv/linux/mips/pipe.S [deleted file]
sysdeps/unix/sysv/linux/pipe.c [moved from sysdeps/unix/sysv/linux/generic/pipe.c with 87% similarity]
sysdeps/unix/sysv/linux/sh/pipe.S [deleted file]
sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S [deleted file]
sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S [deleted file]
sysdeps/unix/sysv/linux/syscalls.list