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 463011F463 for ; Thu, 19 Sep 2019 20:14: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:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version:content-type; q=dns; s=default; b=leXKq dSaj0+wP4TW329aGZ/6KzlDtwnJSZ54wRdVtHJQOpgbK7JgpKGaZevF/Jg0r825+ 1LioC9zvv3/Qcos8VGlLEVdC0cS1atSZdT7cYcUzB7WdsZPLCD8ABfqlEY0G8YCb VIt4xJy6vl/wj513bg000EL+8t68DJb8JmOlTY= 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:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version:content-type; s=default; bh=iMD7vrmtJkG lzIKRh/TjIVQIU9A=; b=Ns/Uld/lP1tj5J+bh+/bFFub6/nVfosA6jY3oSMZZoy Wt/nRNZL7lmdv2pvXiZUWvytP00LHZQKAFrllOTDxytaqpBa0BoxHC4SDhmtCZmG fsbqGbzD5a4U8rhHbWyn+Q6c+Ou3aGfBsn87FRomjf8NS7FYzjyeWoi7EN7PuaXc = Received: (qmail 72152 invoked by alias); 19 Sep 2019 20:14:50 -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 71500 invoked by uid 89); 19 Sep 2019 20:14:50 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: esa1.mentor.iphmx.com IronPort-SDR: YXpf03nirqbggHNpyhsdztmguq9ZbZSw+uPU8/B8nwoyl16ZQZn207hRnJxFXSXCadLWrbttFB mt4FDSHTgPSTOARCPbxMluBar8aUdU9QHhBa6X+qH0eCoPKWDe4GtoNbZnRk10PGnWZ9JzZpJn zGCWKi5UTEjm3yKydeaWgLQDP4ILgzMmzU/rg6XsYwnLHIijedN4Sqz6NmMrm2LYc5ZnBuonQr LanxB1ChYT2FONcDZ+KHwSNNEgW07fzHq+dapfKBSSGXK5BNnNpUYNm5ZvHqsO3z5KldR84XzG edE= IronPort-SDR: 86or/BAYSUoakAb+4c04c5Z6IfKK1tm0UpxO9lZexneCEWRg/OFt3ocQ5fP12VUjUhYIXtYUz0 rPXY2cZmtUQR4hb9Z/gpgNrC8YRJ19ab81TIedH99lZ9q5MKoUWFi7ekzvOHA3rDQnlRiFM8T8 oOtJPajahTmWkfpiF4jHAoUYFXktWArbkG82IAiHPF8FUgl58CHYJoSxsF1YuELsOrOn1jOvP0 jLlK/MyYVCuyF1eO4e+mdEaqZDSTlWBcffOY/n7WVmf295b3477ZZyOXTF+UAS6+t10HiQkRM+ 9Ns= Date: Thu, 19 Sep 2019 20:14:42 +0000 From: Joseph Myers To: Lukasz Majewski CC: 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 In-Reply-To: <20190918211603.8444-2-lukma@denx.de> Message-ID: References: <20190918211603.8444-1-lukma@denx.de> <20190918211603.8444-2-lukma@denx.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" 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. -- Joseph S. Myers joseph@codesourcery.com