[PATCH] y2038: Introduce __ASSUME_TIME64_SYSCALLS define
Stepan Golosunov
stepan@golosunov.pp.ru
Thu May 9 16:18:00 GMT 2019
09.05.2019 ц≈ 15:58:38 +0000 Joseph Myers ц▌ц│ц░ц┴ц⌠ц│ц▄:
> On Wed, 8 May 2019, Lukasz Majewski wrote:
> > + Linux kernel, as of version 5.1, provides following set of syscalls,
> > + which accept data based on struct timespec and timeval with 64 bit
> > + tv_sec:
>
> Do any of these actually use timeval? I thought the idea was that the new
> syscalls for 64-bit time would all use timespec, with it being the
> responsibility of libc to handle conversions to and from timeval as needed
> (e.g. for gettimeofday with _TIME_BITS=64).
clock_adjtime uses __kernel_timex_timeval, as is explained in
https://lore.kernel.org/lkml/CAK8P3a0OBBEwU044jbe-YK2CmCnpNpUSiCA9uRo-8EwtcUva6g@mail.gmail.com/
More information about the Libc-alpha
mailing list