From patchwork Mon Jul 19 15:28:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 44394 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3B7623954C14 for ; Mon, 19 Jul 2021 15:29:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3B7623954C14 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1626708590; bh=FQon8RihubOjbPBZc/Wsi/AcB2VFlUFEWVoajWTPyus=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=NISChNofHGtbMgXJghpS06WCI85x6bMRqIcmWqiyK5azHCaRBHdgP6RmPczh5TjUs 2J6mLo8iXjctt3orV/R4rcmGLde8DoIxxg8UPILrE0lgz2jou7Qo3QNbiKYpHIvpaN i8BvM5DhMLNeXhT8Y3f1o787uh3IpQbPiAhCYJ+M= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 8E2783953826 for ; Mon, 19 Jul 2021 15:28:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8E2783953826 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-325-BERYXBXUMTSocJtNI73rDQ-1; Mon, 19 Jul 2021 11:28:31 -0400 X-MC-Unique: BERYXBXUMTSocJtNI73rDQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2A8FD19057A2 for ; Mon, 19 Jul 2021 15:28:30 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-112-73.phx2.redhat.com [10.3.112.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 822745C1C5 for ; Mon, 19 Jul 2021 15:28:29 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH v2 0/8] Additional time64 system call wrappers X-From-Line: f1497c80f495f31be394d7471134071922870701 Mon Sep 17 00:00:00 2001 Message-Id: Date: Mon, 19 Jul 2021 17:28:27 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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: Florian Weimer via Libc-alpha From: Florian Weimer Reply-To: Florian Weimer Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" This is a repost of the previous series with conflicts resolved. Thanks, Florian Florian Weimer (8): misc: Add time64 alias for ioctl io: Add time64 alias for fcntl Linux: Add time64 alias for prctl socket: Add time64 alias for sendmmsg socket: Add time64 alias for recvmsg socket: Add time64 alias for sendmsg socket: Add time64 alias for getsockopt socket: Add time64 alias for setsockopt io/Makefile | 2 + io/fcntl.h | 27 ++- io/tst-fcntl-time64.c | 1 + misc/Makefile | 7 +- misc/sys/ioctl.h | 10 + misc/tst-ioctl-time64.c | 1 + misc/tst-ioctl.c | 41 ++++ socket/Makefile | 9 +- socket/sys/socket.h | 65 +++++- socket/tst-sockopt-time64.c | 1 + socket/tst-sockopt.c | 52 +++++ sysdeps/unix/syscalls.list | 2 +- sysdeps/unix/sysv/linux/Makefile | 8 +- sysdeps/unix/sysv/linux/Versions | 8 + sysdeps/unix/sysv/linux/arm/be/libc.abilist | 8 + sysdeps/unix/sysv/linux/arm/le/libc.abilist | 8 + sysdeps/unix/sysv/linux/csky/libc.abilist | 8 + sysdeps/unix/sysv/linux/fcntl64.c | 3 + sysdeps/unix/sysv/linux/getsockopt.c | 3 + sysdeps/unix/sysv/linux/hppa/libc.abilist | 8 + sysdeps/unix/sysv/linux/hppa/syscalls.list | 2 +- sysdeps/unix/sysv/linux/i386/libc.abilist | 8 + .../sysv/linux/m68k/coldfire/libc.abilist | 8 + .../unix/sysv/linux/m68k/m680x0/libc.abilist | 8 + .../sysv/linux/microblaze/be/libc.abilist | 8 + .../sysv/linux/microblaze/le/libc.abilist | 8 + .../sysv/linux/mips/mips32/fpu/libc.abilist | 8 + .../sysv/linux/mips/mips32/nofpu/libc.abilist | 8 + .../sysv/linux/mips/mips64/n32/libc.abilist | 8 + sysdeps/unix/sysv/linux/nios2/libc.abilist | 8 + sysdeps/unix/sysv/linux/powerpc/ioctl.c | 3 + .../linux/powerpc/powerpc32/fpu/libc.abilist | 8 + .../powerpc/powerpc32/nofpu/libc.abilist | 8 + sysdeps/unix/sysv/linux/prctl.c | 3 + sysdeps/unix/sysv/linux/recvmsg.c | 3 + .../unix/sysv/linux/s390/s390-32/libc.abilist | 8 + sysdeps/unix/sysv/linux/sendmmsg.c | 3 + sysdeps/unix/sysv/linux/sendmsg.c | 3 + sysdeps/unix/sysv/linux/setsockopt.c | 3 + sysdeps/unix/sysv/linux/sh/be/libc.abilist | 8 + sysdeps/unix/sysv/linux/sh/le/libc.abilist | 8 + .../sysv/linux/sparc/sparc32/libc.abilist | 8 + sysdeps/unix/sysv/linux/sys/prctl.h | 10 + sysdeps/unix/sysv/linux/tst-prctl-time64.c | 1 + sysdeps/unix/sysv/linux/tst-prctl.c | 33 ++++ .../unix/sysv/linux/tst-scm_rights-time64.c | 1 + sysdeps/unix/sysv/linux/tst-scm_rights.c | 186 ++++++++++++++++++ 47 files changed, 629 insertions(+), 14 deletions(-) create mode 100644 io/tst-fcntl-time64.c create mode 100644 misc/tst-ioctl-time64.c create mode 100644 misc/tst-ioctl.c create mode 100644 socket/tst-sockopt-time64.c create mode 100644 socket/tst-sockopt.c create mode 100644 sysdeps/unix/sysv/linux/tst-prctl-time64.c create mode 100644 sysdeps/unix/sysv/linux/tst-prctl.c create mode 100644 sysdeps/unix/sysv/linux/tst-scm_rights-time64.c create mode 100644 sysdeps/unix/sysv/linux/tst-scm_rights.c