glibc/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
..
types Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
byteswap.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
confname.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dirent_ext.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dirent.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dlfcn.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
elfclass.h
endian.h
environments.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
fcntl.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fenv.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
floatn-common.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
floatn.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
flt-eval-method.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fp-fast.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fp-logb.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
in.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
indirect-return.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ioctl-types.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ioctls.h
ipc.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ipctypes.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
iscanonical.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
libc-header-start.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
libm-simd-decl-stubs.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
link.h
local_lim.h
long-double.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
math-vector.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mathdef.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
mqueue.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
msq.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
param.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
poll.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
posix_opt.h
pthreadtypes.h
resource.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sched.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
select.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sem.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
setjmp.h
shm.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
sigcontext.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigevent-consts.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
siginfo-consts.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
signal_ext.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
signum-generic.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
sigthread.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sockaddr.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
socket.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ss_flags.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
statvfs.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stdint-intn.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stdint-uintn.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stdlib-bsearch.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sys_errlist.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
syslog-path.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sysmacros.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
termios.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
time64.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
time.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
timesize.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
uintn-identity.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
uio_lim.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
uio-ext.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
unistd_ext.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
utmp.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
utsname.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
waitflags.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
waitstatus.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wchar.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordsize.h