glibc/sysdeps/unix/sysv/linux/sparc/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
environments.h
epoll.h
errno.h
eventfd.h
fcntl.h
inotify.h
ioctls.h
ipc-perm.h
local_lim.h
mman.h
msq-pad.h
poll.h
procfs-extra.h
procfs-id.h
procfs.h
resource.h Use gcc -finput-charset=ascii for check-installed-headers. 2020-02-13 17:32:00 +01:00
sem-pad.h
setjmp.h
shm-pad.h
shmlba.h
sigaction.h
sigcontext.h
siginfo-arch.h
siginfo-consts-arch.h
signalfd.h
signum.h
sigstack.h
socket-constants.h
socket_type.h
stat.h
termios-baud.h
termios-c_cc.h
termios-c_oflag.h
termios-struct.h
timerfd.h
typesizes.h sysv: Define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 2020-04-02 09:21:05 -07:00
wordsize.h