|
|
1feee8 |
commit 4ab59ce4e5195f98b01748127248fed2b2b77b21
|
|
|
1feee8 |
Author: Joseph Myers <joseph@codesourcery.com>
|
|
|
1feee8 |
Date: Tue Aug 2 21:05:07 2022 +0000
|
|
|
1feee8 |
|
|
|
1feee8 |
Update syscall lists for Linux 5.19
|
|
|
1feee8 |
|
|
|
1feee8 |
Linux 5.19 has no new syscalls, but enables memfd_secret in the uapi
|
|
|
1feee8 |
headers for RISC-V. Update the version number in syscall-names.list
|
|
|
1feee8 |
to reflect that it is still current for 5.19 and regenerate the
|
|
|
1feee8 |
arch-syscall.h headers with build-many-glibcs.py update-syscalls.
|
|
|
1feee8 |
|
|
|
1feee8 |
Tested with build-many-glibcs.py.
|
|
|
1feee8 |
|
|
|
1feee8 |
(cherry picked from commit fccadcdf5bed7ee67a6cef4714e0b477d6c8472c)
|
|
|
1feee8 |
|
|
|
1feee8 |
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h
|
|
|
1feee8 |
index bf4be80f8d380963..202520ee254ec02f 100644
|
|
|
1feee8 |
--- a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h
|
|
|
1feee8 |
+++ b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h
|
|
|
1feee8 |
@@ -122,6 +122,7 @@
|
|
|
1feee8 |
#define __NR_mbind 235
|
|
|
1feee8 |
#define __NR_membarrier 283
|
|
|
1feee8 |
#define __NR_memfd_create 279
|
|
|
1feee8 |
+#define __NR_memfd_secret 447
|
|
|
1feee8 |
#define __NR_migrate_pages 238
|
|
|
1feee8 |
#define __NR_mincore 232
|
|
|
1feee8 |
#define __NR_mkdirat 34
|
|
|
1feee8 |
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h
|
|
|
1feee8 |
index d656aedcc2be6009..4e65f337d486de1f 100644
|
|
|
1feee8 |
--- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h
|
|
|
1feee8 |
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h
|
|
|
1feee8 |
@@ -127,6 +127,7 @@
|
|
|
1feee8 |
#define __NR_mbind 235
|
|
|
1feee8 |
#define __NR_membarrier 283
|
|
|
1feee8 |
#define __NR_memfd_create 279
|
|
|
1feee8 |
+#define __NR_memfd_secret 447
|
|
|
1feee8 |
#define __NR_migrate_pages 238
|
|
|
1feee8 |
#define __NR_mincore 232
|
|
|
1feee8 |
#define __NR_mkdirat 34
|
|
|
1feee8 |
diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list
|
|
|
1feee8 |
index 95370e2ec5dbc4a7..9b285d898db9ab9e 100644
|
|
|
1feee8 |
--- a/sysdeps/unix/sysv/linux/syscall-names.list
|
|
|
1feee8 |
+++ b/sysdeps/unix/sysv/linux/syscall-names.list
|
|
|
1feee8 |
@@ -21,8 +21,8 @@
|
|
|
1feee8 |
# This file can list all potential system calls. The names are only
|
|
|
1feee8 |
# used if the installed kernel headers also provide them.
|
|
|
1feee8 |
|
|
|
1feee8 |
-# The list of system calls is current as of Linux 5.18.
|
|
|
1feee8 |
-kernel 5.18
|
|
|
1feee8 |
+# The list of system calls is current as of Linux 5.19.
|
|
|
1feee8 |
+kernel 5.19
|
|
|
1feee8 |
|
|
|
1feee8 |
FAST_atomic_update
|
|
|
1feee8 |
FAST_cmpxchg
|