From: Lukasz Majewski Date: Fri, 22 Mar 2019 10:53:45 +0000 (+0100) Subject: y2038: Introduce struct __timespec64 - new internal glibc type X-Git-Tag: changelog-ends-here~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=464cd3a9d5f505d92bae9a941bb75b0d91ac14ee;p=thirdparty%2Fglibc.git y2038: Introduce struct __timespec64 - new internal glibc type 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 unnamed 32 bit padding bit-field has been introduced. The placement of it depends on the endianness of the SoC. Tested on x86_64 and ARM. --- diff --git a/ChangeLog b/ChangeLog index bb53a33e685..31e49765baf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-09-26 Lukasz Majewski + + * include/time.h: Add struct __timespec64 definition + 2019-09-26 Siddhesh Poyarekar * scripts/vcs_to_changelog/misc_util.py (decode): Remove latin1 diff --git a/include/time.h b/include/time.h index dcf91855add..9727786634a 100644 --- a/include/time.h +++ b/include/time.h @@ -5,6 +5,7 @@ # include # include # include