From patchwork Mon Jul 19 16:38:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 1507130 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=ednBJJNy; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GT6xV0Zf5z9sRK for ; Tue, 20 Jul 2021 02:39:09 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 74F4E395ACE9 for ; Mon, 19 Jul 2021 16:39:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74F4E395ACE9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1626712746; bh=SnPoOo7HQ2/nTmUGEu0azKRB9Zwyo0ulvO4uXsj6eVQ=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=ednBJJNyUCTd1kLeLwI0Es9xNizxijHQjaXcU3igv3nqY6hQolZebIwe1TnSONbqn rAnMSGaPVWfBovYsclmFw7oQRqLMv9fUr9/3rb72pjLLbcAW/D20H2t+8A23FDbs34 am3emLocLT9TgBJgoybrAmnHjQiv7jWZiTKpPBHM= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id 3AD6C385041C for ; Mon, 19 Jul 2021 16:38:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3AD6C385041C Received: by mail-pf1-x42c.google.com with SMTP id m83so16996832pfd.0 for ; Mon, 19 Jul 2021 09:38:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=SnPoOo7HQ2/nTmUGEu0azKRB9Zwyo0ulvO4uXsj6eVQ=; b=Hvhch6xiIWZdvt3M8mDoddwcORH9AQ3Bc+4PQ0dokDWNLgS9R5GDr5qrNXFvXqebJY Ou4+ksbXL+rcsfzkwT4OvqSyOLB+W0iMlPbxbdMP+YJBeZ7Qwo08hcbKFo7aXckQh+OG ViY3hapl56UMvvR6m27hE0kf1ZEcVZQMqtMi18EJWnnd+rKYyHK2Sq2FR1BBgL3SPgUJ 3sl/e2g9imYo2gtd60D0EmVGHJ81Zh1DmmuF7o60wnjowDlBXs0xhS6SEnaqINnOKr6o x2nDc+LQ80ZKYl6pzhxYiUksyLVQjuXNuJYgODlEr63Z+kEUZxKEPDVvGqM5hZxUG145 4cag== X-Gm-Message-State: AOAM532jaO+/U2LD2yX+0gj9ugGgCqXkT76mdgwAGYRTz5NZ2WOYFlV1 Q8tIYvyPaB8EKSAVrWWB01VDvVU5TspjoQ== X-Google-Smtp-Source: ABdhPJzvjsp92XTWqdy8IGxI9CCwNOGz1oYxxs1u0ZLPAWxeDTQ5M0TtYd5J9Y6J8K632FFxPA0tcg== X-Received: by 2002:a63:b303:: with SMTP id i3mr26372690pgf.25.1626712730106; Mon, 19 Jul 2021 09:38:50 -0700 (PDT) Received: from birita.. ([2804:431:c7ca:1133:c8a4:b05d:5ba9:3665]) by smtp.gmail.com with ESMTPSA id l2sm20074055pfc.157.2021.07.19.09.38.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jul 2021 09:38:49 -0700 (PDT) To: libc-alpha@sourceware.org, Carlos O'Donell Subject: [PATCH 0/4] 64-bit time_t tests improvements Date: Mon, 19 Jul 2021 13:38:42 -0300 Message-Id: <20210719163846.2954193-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Spam-Status: No, score=-6.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 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-Patchwork-Original-From: Adhemerval Zanella via Libc-alpha From: Adhemerval Zanella Netto Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" This set contains some fixes to improve the 64-bit time_t coverage and some issues I found while testing the 64-bit support on older kernels. Adhemerval Zanella (4): io: Do not skip timestamps tests for 32-bit time_t time: Ignore interval nanoseconds on tst-itimer support: Add support_socket_time64_timestamp socket: Add socket timestamp test io/tst-utimensat-skeleton.c | 4 +- support/Makefile | 1 + support/support.h | 3 + support/support_socket_time64_timestamp.c | 64 ++++++ sysdeps/unix/sysv/linux/Makefile | 3 + .../sysv/linux/tst-socket-timestamp-time64.c | 1 + .../unix/sysv/linux/tst-socket-timestamp.c | 203 ++++++++++++++++++ time/tst-itimer.c | 6 +- 8 files changed, 283 insertions(+), 2 deletions(-) create mode 100644 support/support_socket_time64_timestamp.c create mode 100644 sysdeps/unix/sysv/linux/tst-socket-timestamp-time64.c create mode 100644 sysdeps/unix/sysv/linux/tst-socket-timestamp.c