From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 41F671F463 for ; Wed, 25 Sep 2019 12:43:53 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=NqGv1K84NTDqHUKXpvXSOP3lH4Gl9YUq0epEM11DonP ECUP9mcyI/iwZTXcNJXZk56AOL1PzkGIDdoPKAXSVPom0hy8VMEs+4mpa7aGMcI8 Y5gm6L7S1iQnPg24RoIMIpRapW8xi1TNaKZtxWs5wprf2YYw58Lx/oDzEvqNLtpA = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=uapKKfXdDG8w/wW9gn9Cg9+xabg=; b=QyX++gcyrBGkEunkP ZV/5dCbtWSf/tDmo1yMzLHvv5fdWh+uu3PQJR105yi39sbicEjD2UxE/wxZ+D+gB ZbIDFCYw9wyRB/O4gW/MVOMqzVCRBS0FT1G9YivgL7Pbxx4SJP24eD5PtMsaXbE/ 4lLG+ZgFzyiTcOkJZ51Cdt2Qss= 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-Unsubscribe: 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-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 14:43:36 +0200 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 * 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.