glibc/sysdeps/unix/sysv/linux/alpha/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
..
a.out.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dirent.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elfclass.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
epoll.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
errno.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
eventfd.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
inotify.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ioctls.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
local_lim.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mman.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
netdb.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
procfs-prregset.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
resource.h Use gcc -finput-charset=ascii for check-installed-headers. 2020-02-13 17:32:00 +01:00
semaphore.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
signalfd.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
signum.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigstack.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
socket_type.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
socket-constants.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
termios-baud.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
termios-c_cc.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
termios-c_cflag.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
termios-c_iflag.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
termios-c_lflag.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
termios-c_oflag.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
termios-struct.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
timerfd.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
wordsize.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00