[PATCH v8 1/3] y2038: Introduce internal for glibc struct __timespec64
Florian Weimer
fw@deneb.enyo.de
Wed Sep 25 12:43:00 GMT 2019
* Lukasz Majewski:
> This type is a glibc's "internal" type similar to struct timespec but
> whose tv_sec field is a __time64_t rather than a time_t, which makes it
> Y2038-proof and usable to pass syscalls between user code and Y2038-proof
> kernel.
>
> To support passing this structure to the kernel - the tv_pad, 32 bit int,
> has been introduced. The placement of it depends on endianness of the SoC.
>
> Tested on x86_64 and ARM.
>
> * include/time.h: Add struct __timespec64 definition
Please fix the subject before committing. A word seems to be missing
after “internal”. Thanks.
More information about the Libc-alpha
mailing list