From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 96DBE385625E for ; Tue, 2 Aug 2022 21:01:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 96DBE385625E Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-665-jFa-rwQ1PdqlhDhw2icb_g-1; Tue, 02 Aug 2022 17:01:49 -0400 X-MC-Unique: jFa-rwQ1PdqlhDhw2icb_g-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C15243810D25; Tue, 2 Aug 2022 21:01:48 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.194.59]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B7B7E141510F; Tue, 2 Aug 2022 21:01:47 +0000 (UTC) From: Florian Weimer To: Joseph Myers Cc: Subject: Re: Update syscall lists for Linux 5.19 References: Date: Tue, 02 Aug 2022 23:01:45 +0200 In-Reply-To: (Joseph Myers's message of "Tue, 2 Aug 2022 19:23:42 +0000") Message-ID: <87k07q4ax2.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-11.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP 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.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2022 21:01:52 -0000 * Joseph Myers: > Linux 5.19 has no new syscalls, but enables memfd_secret in the uapi > headers for RISC-V. Update the version number in syscall-names.list > to reflect that it is still current for 5.19 and regenerate the > arch-syscall.h headers with build-many-glibcs.py update-syscalls. > > Tested with build-many-glibcs.py. > > diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h > index bf4be80..202520e 100644 > --- a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h > +++ b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h > @@ -122,6 +122,7 @@ > #define __NR_mbind 235 > #define __NR_membarrier 283 > #define __NR_memfd_create 279 > +#define __NR_memfd_secret 447 > #define __NR_migrate_pages 238 > #define __NR_mincore 232 > #define __NR_mkdirat 34 > diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h > index d656aed..4e65f33 100644 > --- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h > +++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h > @@ -127,6 +127,7 @@ > #define __NR_mbind 235 > #define __NR_membarrier 283 > #define __NR_memfd_create 279 > +#define __NR_memfd_secret 447 > #define __NR_migrate_pages 238 > #define __NR_mincore 232 > #define __NR_mkdirat 34 > diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list > index 6c7b2f7..028ad31 100644 > --- a/sysdeps/unix/sysv/linux/syscall-names.list > +++ b/sysdeps/unix/sysv/linux/syscall-names.list > @@ -21,8 +21,8 @@ > # This file can list all potential system calls. The names are only > # used if the installed kernel headers also provide them. > > -# The list of system calls is current as of Linux 5.18. > -kernel 5.18 > +# The list of system calls is current as of Linux 5.19. > +kernel 5.19 > > FAST_atomic_update > FAST_cmpxchg Looks okay, thanks. Florian