glibc/sysdeps/unix/sysv/linux/generic
Alistair Francis 07fe93cd98 generic/typesizes.h: Add support for 32-bit arches with 64-bit types
Update the default typesizes.h to match the new kernel sizes for 32-bit
architectures with a 64-bit time_t and friends. This follows the sizes
used for RV32 which is a y2038 safe architecture added after Linux 5.1.

Reviewed-by: Vineet Gupta <vgupta@synopsys.com>
Tested-by: Vineet Gupta <vgupta@synopsys.com>
2020-04-29 08:30:03 -07:00
..
bits generic/typesizes.h: Add support for 32-bit arches with 64-bit types 2020-04-29 08:30:03 -07:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00: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 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
chown.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dl-origin.c linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
dup2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
epoll_create.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
futimesat.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
inotify_init.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
kernel_stat.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
lchown.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
link.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
lxstat.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00: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 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
readlink.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
README
rmdir.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stat-check.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
symlink.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
syscalls.list
sysdep.h Linux: Clean up pread64/pwrite64 system call names 2020-03-03 12:14:40 +01:00
unlink.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
utimes.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
xmknod.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
xstat.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00: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.