From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by sourceware.org (Postfix) with ESMTPS id 81B3E385801C for ; Fri, 11 Feb 2022 18:18:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 81B3E385801C Received: by mail-oi1-x235.google.com with SMTP id m10so10500112oie.2 for ; Fri, 11 Feb 2022 10:18:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=gEmFEtGZYLxdcya317F4RMo9FtZSpFhAGMpR6NeehTo=; b=2wXLqMy0l3cscqekyA2LqAu99pv7aqvERKMefp8GdW7EePyrYqAdvWY0hTwcfg62B7 aockPG+c/+Lli7L1qDDYMlWrMtlofUGsW04Y8A1b/4aU/HscjVydvxRiwEvd9w4+SN+v fU67MBxKCYM1VgHfLIZSl9luURENQyALyHlCVA9YD/nQvHwuW4T0hUY1f+i0xWDpDQUb AylXzUvGvyL7xXImMl7trx5bm5SjGMqRx4D0AGBmT6sWwjqBFlmtqxqKLnrPQ+KhdiAS JKJA1pLKlogSoAkIcVUrGhuu7eX8HsSSWzgnNP60513NDIznkgY1Rj4xE3VgbG7bIDV4 43iA== X-Gm-Message-State: AOAM533lk81phaYninJqTXVwZGJxrouOzUHW5U8ar2dTJmncEypBaQbU 2/+0Bd6M1TBIEmhQoKlZGQbxa9tm8l+R3A== X-Google-Smtp-Source: ABdhPJzldJRPOCRTfAI2m9SQi2dSs11V6VqdaSogcbnRt4/+D6Dq0oPvROsZVb/Ttvnra3L3fqfLNg== X-Received: by 2002:a05:6808:1482:: with SMTP id e2mr784772oiw.91.1644603518813; Fri, 11 Feb 2022 10:18:38 -0800 (PST) Received: from ?IPV6:2804:431:c7ca:733:82fc:6b41:692a:b9e0? ([2804:431:c7ca:733:82fc:6b41:692a:b9e0]) by smtp.gmail.com with ESMTPSA id l19sm10024243ooa.7.2022.02.11.10.18.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Feb 2022 10:18:38 -0800 (PST) Message-ID: Date: Fri, 11 Feb 2022 15:18:36 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH] inptl: Use 64 bit time_t stat internally for sem_open (BZ #28880) Content-Language: en-US To: Florian Weimer , Adhemerval Zanella via Libc-alpha References: <20220211125018.4168997-1-adhemerval.zanella@linaro.org> <875yplv4jv.fsf@oldenburg.str.redhat.com> From: Adhemerval Zanella In-Reply-To: <875yplv4jv.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2022 18:18:40 -0000 On 11/02/2022 11:52, Florian Weimer wrote: > * Adhemerval Zanella via Libc-alpha: > >> The __sem_check_add_mapping internal stat calls fails with >> EOVERFLOW if system time is larger than 32 bit. >> >> It is a missing spot from 52a5fe70a2c fix to use 64 bit stat >> internally. > > Typo in the subject, and this isn't actually nptl-specific, so you could > use pthread. But I think you will need to come up with caustom solution > for Hurd. Hurd will continue to use the code as-is, __fstat64_time64 will continue to be __fstat64.