From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97307 invoked by alias); 25 Sep 2019 12:43:49 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 97244 invoked by uid 89); 25 Sep 2019 12:43:49 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,SPF_PASS autolearn=no version=3.3.1 spammy=HX-Languages-Length:670, soc X-HELO: mailout.enyo.de From: Florian Weimer To: Lukasz Majewski Cc: Joseph Myers , Alistair Francis , Alistair Francis , Zack Weinberg , Arnd Bergmann , GNU C Library , Adhemerval Zanella , Florian Weimer , Carlos O'Donell , Stepan Golosunov Subject: Re: [PATCH v8 1/3] y2038: Introduce internal for glibc struct __timespec64 References: <20190918211603.8444-1-lukma@denx.de> <20190918211603.8444-2-lukma@denx.de> Date: Wed, 25 Sep 2019 12:43:00 -0000 In-Reply-To: <20190918211603.8444-2-lukma@denx.de> (Lukasz Majewski's message of "Wed, 18 Sep 2019 23:16:01 +0200") Message-ID: <87k19wtukn.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-09/txt/msg00406.txt.bz2 * 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 =E2=80=9Cinternal=E2=80=9D. Thanks.