glibc/sysdeps/unix/sysv/linux/generic
Adhemerval Zanella Netto 2fc81f6ca5 Linux: consolidate readlink implementation
Use readlink syscall if defined, otherwise readlinkat.

Checked on x86_64-linux-gnu.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
2022-12-07 11:27:01 -03:00
..
bits linux: Fix generic struct_stat for 64 bit time (BZ# 29657) 2022-10-25 15:53:19 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Makefile linux: Remove stat-check.c 2021-02-11 08:02:16 -03:00
README
____longjmp_chk.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
rmdir.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
symlink.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
syscalls.list linux: Consolidate Linux setsockopt implementation 2021-07-06 11:45:35 -03:00
sysdep.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
unlink.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
xstatver.h Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00

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.