glibc/sysdeps/unix/sysv/linux/generic
Adhemerval Zanella 01bd62517c Remove tls.h inclusion from internal errno.h
The tls.h inclusion is not really required and limits possible
definition on more arch specific headers.

This is a cleanup to allow inline functions on sysdep.h, more
specifically on i386 and ia64 which requires to access some tls
definitions its own.

No semantic changes expected, checked with a build against all
affected ABIs.
2020-11-13 12:59:19 -03:00
..
bits linux: Move the struct stat{64} to struct_stat.h 2020-10-09 17:02:06 -03:00
wordsize-32 Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
____longjmp_chk.c linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
brk.c linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
chmod.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
chown.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
dl-origin.c linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
dup2.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
epoll_create.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
inotify_init.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
kernel_stat.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
lchown.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
link.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
Makefile sysdeps/stat: Handle 64-bit ino_t types on 32-bit hosts 2019-10-23 12:43:31 -07:00
mkdir.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pipe.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
readlink.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
README linux-generic: add a README 2015-03-19 13:33:01 -04:00
rmdir.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
stat-check.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
symlink.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
syscalls.list Consolidate Linux sendto implementation 2017-03-09 15:22:06 +01:00
sysdep.h Linux: Clean up pread64/pwrite64 system call names 2020-03-03 12:14:40 +01:00
unlink.c Remove tls.h inclusion from internal errno.h 2020-11-13 12:59:19 -03:00
xstatver.h Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00

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.