glibc/sysdeps/unix/sysv/linux/s390/bits
Alistair Francis 1c634e677f sysv: Define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64
On y2038 safe 32-bit systems the Linux kernel expects itimerval
and rusage to use a 32-bit time_t, even though the other time_t's
are 64-bit. There are currently no plans to make 64-bit time_t versions
of these structs.

There are also other occurrences where the time passed to the kernel via
timeval doesn't match the wordsize.

To handle these cases let's define a new macro
__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64. This macro specifies if the
kernel's old_timeval matches the new timeval64. This should be 1 for
64-bit architectures except for Alpha's osf syscalls. The define should
be 0 for 32-bit architectures and Alpha's osf syscalls.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2020-04-02 09:21:05 -07:00
..
elfclass.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
environments.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fcntl.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hwcap.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
procfs-extra.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
procfs-id.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
procfs.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigaction.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stat.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
statfs.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
typesizes.h sysv: Define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 2020-04-02 09:21:05 -07:00
utmp.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
utmpx.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00