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=-4.0 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 7058E1F461 for ; Thu, 18 Jul 2019 14:49:38 +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; q=dns; s=default; b=gUh9+ 0rTCxK/vyxFqr+kjJHx4g1Vm/cSsLZsWDq7lAwMwRiI8OoO/SXvBvFOJ3ORiJaHT VIW/60hcPmuwXtVZk6DdhOvVTjm6hpauyuSSfuj869yd0LEgtDOdFFupdtoXhjeM jfCd+kydNvUf3pZ5xbcaUc+aCGNxUU8ibJ85Yo= 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; s=default; bh=SJFqG8rSIXr zapKoxIw+DFe5Uks=; b=nwT7jUA2gLeMPGTOpdFWVjWa6JZ2cS4DS9oLdXRJyUU YkQsOP3/Rml3bRopPr/GaWhQDU5bUHgGjNGV4aF+rsNFqOXamz9+PKkFUJBbdrEl S8Jkq7P9kxBSLj5Yam0OTiLsznzBsLj2UEc9Gtc/ROYdJGsZxcBRi9MNksXgf54E = Received: (qmail 116139 invoked by alias); 18 Jul 2019 14:49:36 -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 116130 invoked by uid 89); 18 Jul 2019 14:49:36 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mx1.redhat.com From: Florian Weimer To: Rich Felker Cc: Lukasz Majewski , Arnd Bergmann , Wolfgang Denk , GNU C Library , Joseph Myers Subject: Re: Accelerating Y2038 glibc fixes References: <20190712072103.D3DBC24003A@gemini.denx.de> <874l3mjgi6.fsf@oldenburg2.str.redhat.com> <20190716145216.1C7CE240085@gemini.denx.de> <20190717175026.GM1506@brightrain.aerifal.cx> <20190717235748.2552834a@jawa> <20190718144715.GA11800@brightrain.aerifal.cx> Date: Thu, 18 Jul 2019 16:49:31 +0200 In-Reply-To: <20190718144715.GA11800@brightrain.aerifal.cx> (Rich Felker's message of "Thu, 18 Jul 2019 10:47:15 -0400") Message-ID: <87zhlbz9c4.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain * Rich Felker: > On Wed, Jul 17, 2019 at 11:57:48PM +0200, Lukasz Majewski wrote: >> Note: >> >> [1] - >> https://github.com/lmajewski/y2038_glibc/commits/Y2038-2.29-glibc-11-03-2019 >> >> [2] - https://github.com/lmajewski/y2038-tests >> >> [3] - >> https://sourceware.org/glibc/wiki/Y2038ProofnessDesign?highlight=%28y2038%29 >> >> [4] - https://github.com/lmajewski/meta-y2038/tree/master > > Some findings here that need correction: > > [1] is completely missing the sysvipc interfaces affected, and [3] > fails to document them as affected because the structs are variadic > arguments not declared ones. Fortunately, this means we can get away > without actually replacing the functions, and instead define new > command numbers to perform the translation. When doing this, glibc > should follow musl and correct other bugs in these structs: for > example, struct ipc_perm's mode field has the wrong type on some archs > (short instead of mode_t; only makes a difference on big endian). Do the musl types match the kernel types? Thanks, Florian