glibc/sysdeps/unix/sysv/linux/generic
Adhemerval Zanella efc6b2dbc4 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.
2021-11-30 13:13:03 -03:00
..
bits Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wordsize-32 linux: Add prlimit64 C implementation 2021-11-30 13:13:03 -03:00
Makefile linux: Remove stat-check.c 2021-02-11 08:02:16 -03:00
README
____longjmp_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
chmod.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
chown.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
dl-origin.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
dup2.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
epoll_create.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
inotify_init.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
lchown.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
link.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
mkdir.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
readlink.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
rmdir.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
symlink.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
syscalls.list linux: Consolidate Linux setsockopt implementation 2021-07-06 11:45:35 -03:00
sysdep.h Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
unlink.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
xstatver.h

README

This hierarchy supports Linux systems using the new
asm-generic/unistd.h, which removes many familiar old syscalls.  For
example, to implement open(), newer Linux architectures require glibc
to invoke the __NR_openat syscall with AT_FDCWD.  This hierarchy
provides all those implementations.

It also provides support for 32-bit platforms using the 64-bit kernel
syscall APIs, as the 32-bit ones are no longer provided.  Note that
newer ILP32 environments (x32 or AArch64:ILP32, for example) are
converting to use more 64-bit types in kernel syscalls, so that aspect
of this support is in more flux as of this writing.