[PATCH v8 1/3] y2038: Introduce internal for glibc struct __timespec64
Lukasz Majewski
lukma@denx.de
Mon Sep 23 21:22:00 GMT 2019
Hi Joseph,
> On Wed, 18 Sep 2019, Lukasz Majewski wrote:
>
> > 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
>
> This patch is OK.
>
If I may ask - are there any issues with pulling this patch to glibc
-master branch?
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 484 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20190923/fcc195b6/attachment.sig>
More information about the Libc-alpha
mailing list