public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Update syscall lists for Linux 5.5
@ 2020-02-07  0:31 Joseph Myers
  2020-02-07  2:31 ` Siddhesh Poyarekar
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Joseph Myers @ 2020-02-07  0:31 UTC (permalink / raw)
  To: libc-alpha

Linux 5.5 has no new syscalls to add to syscall-names.list, but it
does newly enable the clone3 syscall for AArch64.  This patch updates
the kernel version listed in syscall-names.list and regenerates the
AArch64 arch-syscall.h.

Tested with build-many-glibcs.py.

diff --git a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h
index 9378387..c847194 100644
--- a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h
+++ b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h
@@ -17,6 +17,7 @@
 #define __NR_clock_nanosleep 115
 #define __NR_clock_settime 112
 #define __NR_clone 220
+#define __NR_clone3 435
 #define __NR_close 57
 #define __NR_connect 203
 #define __NR_copy_file_range 285
diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list
index 36e087d..3d89814 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.4.
-kernel 5.4
+# The list of system calls is current as of Linux 5.5.
+kernel 5.5
 
 FAST_atomic_update
 FAST_cmpxchg

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Update syscall lists for Linux 5.5
  2020-02-07  0:31 Update syscall lists for Linux 5.5 Joseph Myers
@ 2020-02-07  2:31 ` Siddhesh Poyarekar
  2020-02-07  8:21 ` Florian Weimer
  2020-03-12 10:29 ` Aurelien Jarno
  2 siblings, 0 replies; 6+ messages in thread
From: Siddhesh Poyarekar @ 2020-02-07  2:31 UTC (permalink / raw)
  To: Joseph Myers, libc-alpha

On 07/02/20 06:01, Joseph Myers wrote:
> Linux 5.5 has no new syscalls to add to syscall-names.list, but it
> does newly enable the clone3 syscall for AArch64.  This patch updates
> the kernel version listed in syscall-names.list and regenerates the
> AArch64 arch-syscall.h.
> 
> Tested with build-many-glibcs.py.
> 

LGTM.

Siddhesh

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Update syscall lists for Linux 5.5
  2020-02-07  0:31 Update syscall lists for Linux 5.5 Joseph Myers
  2020-02-07  2:31 ` Siddhesh Poyarekar
@ 2020-02-07  8:21 ` Florian Weimer
  2020-02-07 14:00   ` Joseph Myers
  2020-03-12 10:29 ` Aurelien Jarno
  2 siblings, 1 reply; 6+ messages in thread
From: Florian Weimer @ 2020-02-07  8:21 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha

* Joseph Myers:

> Linux 5.5 has no new syscalls to add to syscall-names.list, but it
> does newly enable the clone3 syscall for AArch64.  This patch updates
> the kernel version listed in syscall-names.list and regenerates the
> AArch64 arch-syscall.h.

Have you been able to use build-many-glibcs.py for the update?  Does
the update-syscalls subcommand fit your needs?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Update syscall lists for Linux 5.5
  2020-02-07  8:21 ` Florian Weimer
@ 2020-02-07 14:00   ` Joseph Myers
  0 siblings, 0 replies; 6+ messages in thread
From: Joseph Myers @ 2020-02-07 14:00 UTC (permalink / raw)
  To: Florian Weimer; +Cc: libc-alpha

On Fri, 7 Feb 2020, Florian Weimer wrote:

> * Joseph Myers:
> 
> > Linux 5.5 has no new syscalls to add to syscall-names.list, but it
> > does newly enable the clone3 syscall for AArch64.  This patch updates
> > the kernel version listed in syscall-names.list and regenerates the
> > AArch64 arch-syscall.h.
> 
> Have you been able to use build-many-glibcs.py for the update?  Does
> the update-syscalls subcommand fit your needs?

I used update-syscalls successfully for the regeneration (I only named 
aarch64-linux-gnu on the update-syscalls run since there weren't any new 
all-architectures syscalls, so haven't tested the case of an 
all-architectures update).

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Update syscall lists for Linux 5.5
  2020-02-07  0:31 Update syscall lists for Linux 5.5 Joseph Myers
  2020-02-07  2:31 ` Siddhesh Poyarekar
  2020-02-07  8:21 ` Florian Weimer
@ 2020-03-12 10:29 ` Aurelien Jarno
  2020-03-12 13:44   ` Florian Weimer
  2 siblings, 1 reply; 6+ messages in thread
From: Aurelien Jarno @ 2020-03-12 10:29 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha

On 2020-02-07 00:31, Joseph Myers wrote:
> Linux 5.5 has no new syscalls to add to syscall-names.list, but it
> does newly enable the clone3 syscall for AArch64.  This patch updates

In practice clone3 has also been enabled in Linux 5.4.12. This cause the 
misc/tst-glibcsyscalls test to fail when building glibc 2.31 with Linux
kernel headers >= 5.4.12:

original exit status 1
error: kernel syscall 'clone3' (435) not known to glibc
info: glibc tables are based on kernel version 5.4
info: installed kernel headers are version 5.4

Therefore should we backport this commit into the 2.31 stable branch?

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Update syscall lists for Linux 5.5
  2020-03-12 10:29 ` Aurelien Jarno
@ 2020-03-12 13:44   ` Florian Weimer
  0 siblings, 0 replies; 6+ messages in thread
From: Florian Weimer @ 2020-03-12 13:44 UTC (permalink / raw)
  To: libc-alpha

* Aurelien Jarno:

> On 2020-02-07 00:31, Joseph Myers wrote:
>> Linux 5.5 has no new syscalls to add to syscall-names.list, but it
>> does newly enable the clone3 syscall for AArch64.  This patch updates
>
> In practice clone3 has also been enabled in Linux 5.4.12. This cause the 
> misc/tst-glibcsyscalls test to fail when building glibc 2.31 with Linux
> kernel headers >= 5.4.12:
>
> original exit status 1
> error: kernel syscall 'clone3' (435) not known to glibc
> info: glibc tables are based on kernel version 5.4
> info: installed kernel headers are version 5.4
>
> Therefore should we backport this commit into the 2.31 stable branch?

Yes, we should.  Thanks.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-12 13:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-07  0:31 Update syscall lists for Linux 5.5 Joseph Myers
2020-02-07  2:31 ` Siddhesh Poyarekar
2020-02-07  8:21 ` Florian Weimer
2020-02-07 14:00   ` Joseph Myers
2020-03-12 10:29 ` Aurelien Jarno
2020-03-12 13:44   ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).