From patchwork Sat Nov 11 17:32:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gael PORTAY X-Patchwork-Id: 1862725 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=rtone.fr header.i=@rtone.fr header.a=rsa-sha256 header.s=google header.b=JTXPR+RR; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SSN846H7tz1yRV for ; Sun, 12 Nov 2023 04:33:24 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 831A93858430 for ; Sat, 11 Nov 2023 17:33:22 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id 7003D3858CD1 for ; Sat, 11 Nov 2023 17:33:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7003D3858CD1 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=rtone.fr Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rtone.fr ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7003D3858CD1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::32b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699723994; cv=none; b=O15Nzj+4fucME92lwD50iyFexS4McMElXGvVuRO6KqhA9NTfuf8x41/dlaPD2UmyyxdZ81wKBP43tRNsKsH/XCEnCyPBE4p1LPx1Qni5fsP5Noj5hOklourjJlCcJn2J9LNXDtGRGKfSLrU3/NSJ1Q7wTHFCYpegAQkQwaY+jEc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699723994; c=relaxed/simple; bh=rmLnTb62B9fIIAOSw5TN5T4NaH3NDowweQ++gQPjisk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=E8gi3rqdd/Sbbv0K98wTGoagrueP4uqfnrx/XyD9XwUDinB+9ZUb91zo5iinUVxwGYuh9v+soMtCUx+24KnKbKACKZBrRoPmf5Db26V6YTa4bv3wGVLz/RFUAT5/WfJxICcGO/aitJyE6A5af3zwiz88mf+D2EYg4sqoTKuDEto= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-408425c7c10so24027405e9.0 for ; Sat, 11 Nov 2023 09:33:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtone.fr; s=google; t=1699723986; x=1700328786; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EWSMe5VHtg5Ho4ZPb/EmqUurDFu2mr4AKOqlSxAqQBA=; b=JTXPR+RRAxX6q3HmlTvJF6EEPutAcFkxwPwhqrshHVcLMBPBuBZaRkMKXD4u5MCNa1 hFdKHPg5R33MKe9vZ7vdhVzszVHz4L0yV0D8CWE93oeC6zh7csZhu3cEV9oYICG/8Pe3 cZJrMwPcG9jRpBWQTpbsZl7GbcrB8yCfnMWqU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699723986; x=1700328786; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EWSMe5VHtg5Ho4ZPb/EmqUurDFu2mr4AKOqlSxAqQBA=; b=r5zQcp+uNp+IMJVyKZL5Uc2l0Lz0+m44qhNAo2QJbNRZoYfgtidLA3V6ae4HBykByW ASFeLZLMh8umBZaHXwW6AnnM6oSQFvXU5QSK7fEzcCdSXMXVeoV/VZekA/JWWMaCcq4E atXfBOLilSwsl2Gx8u1V5PhwsKJgGq4kGF00TGjS+wiLBs4BlC48Cqiup1SWE/mBElb8 1KwdWV/FC/VHLcvvhGOMWJ9+O0jc41NsfLkd7rPRlkWAvSZXRzctTAbDNljOA9LId5gj 2MIhcpbeYOfdEt6jQSJXW8f9QpQwmglHSJBJ688MrNO3uXUj1x+i5Xe1RZEOcNcAX0Fd jA/w== X-Gm-Message-State: AOJu0YyzSM+Vk2f9AsHiNX8UYvcDnxVNlcS0TPBzSmgcCyJmipX62u43 KdJgn5wPDPAZrlNoMt1u1aEpJnPq1aFRaczFNdc= X-Google-Smtp-Source: AGHT+IH7s+I+/vL95k2ryG2jGlhVHi2qUUnHQ/GjIKsw8OTk/mKJ/GxwsCg09bvI45HbnwW1jEEIdw== X-Received: by 2002:a05:600c:1392:b0:401:bcd9:4871 with SMTP id u18-20020a05600c139200b00401bcd94871mr1948591wmf.21.1699723986421; Sat, 11 Nov 2023 09:33:06 -0800 (PST) Received: from localhost.localdomain ([2a01:e0a:ce:f2f0:2a6b:35ff:feb8:77d9]) by smtp.gmail.com with ESMTPSA id n7-20020a5d4847000000b0032d88e370basm1845662wrs.34.2023.11.11.09.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 09:33:06 -0800 (PST) From: =?utf-8?q?Ga=C3=ABl_PORTAY?= To: libc-alpha@sourceware.org Cc: Adhemerval Zanella , =?utf-8?q?Ga=C3=ABl_?= =?utf-8?q?PORTAY?= Subject: [PATCH 0/1] y2038: Fix support for 64-bit time on legacy ABIs Date: Sat, 11 Nov 2023 18:32:35 +0100 Message-ID: <20231111173236.568061-1-gael.portay@rtone.fr> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Dear Maintainers, I was looking at the header sys/stat.h, and I inadvertently found out the suffix 64 appears to be missing to the function __fstat64_time() at the definition of the macro fstat64 (if __REDIRECT_NTH is undefined). I am afraid (and sorry at the same time) but I have not tested this change as I do not know how to test it to be honest (probably using a specific architecture like ARM or x86, but how to get in the else part of __REDIRECT_NTH?). Kind Regards, Gaƫl PORTAY (1): y2038: Fix support for 64-bit time on legacy ABIs io/sys/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)