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 691B11F97E for ; Tue, 30 Jul 2019 20:28:41 +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=wDiAa tXOZJGZQholJXIVwckrpQozOKRa5+Hleg1QsFWaSg3BQuCRopr5W++Jks3qzLlIl 8f/gBgm3jJ5U/VAaaz71fSfsmivCMw17Qpj97KQIaoTILMpvGqkKNwvj00nZtKl4 R+EK0E2cc477ZJ8m9xIptghjTbOapQ8kSHk3sM= 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=73KksRoDJjQ WuEVsk9yBqMm33fs=; b=hCTqfmU2P4bzI7QvFzo970u2T2bDHJ/cLlbiaD97igF Y4v0lDcxSf05OPwMtz52DQbETBY0BtKRvhImD026KRHE7YUjQxcTdZzyfFxQxuxm JSqZHpu3scnlEMMTly1593aZ/svZhmOuZrm0tnDJZTjIbPx+A3F2qFMwZB1VxxM8 = Received: (qmail 9229 invoked by alias); 30 Jul 2019 20:28:39 -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 9221 invoked by uid 89); 30 Jul 2019 20:28:38 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mx1.redhat.com From: Florian Weimer To: Joseph Myers Cc: Zack Weinberg , Lukasz Majewski , Wolfgang Denk , GNU C Library , Alistair Francis , Alistair Francis Subject: Re: Accelerating Y2038 glibc fixes References: <20190712072103.D3DBC24003A@gemini.denx.de> <20190726123902.6f8813da@jawa> Date: Tue, 30 Jul 2019 22:28:32 +0200 In-Reply-To: (Joseph Myers's message of "Tue, 30 Jul 2019 19:58:25 +0000") Message-ID: <87sgqns1vz.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 * Joseph Myers: > On Mon, 29 Jul 2019, Zack Weinberg wrote: > >> Q5: Is it correct that __ASSUME_TIME64_SYSCALLS is only defined >> when the new constants are guaranteed to be defined? > > Either the new constants, *or* constants such as __NR_clock_settime if > those syscalls use 64-bit time with the same semantics as the suffixed > syscalls. > > Note that if Florian's changes to include syscall lists in glibc go in > then we could assume the constants for the new syscalls are defined in all > cases where the old syscalls don't use 64-bit time. That might slightly > simplify some of the code, by eliminating the case "__TIMESIZE == 32, > constants for syscalls with 64-bit time are not defined". Yes, that was part of the motivation for this proposal. I will try to resubmit something that follows your suggestions. Thanks, Florian