You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
593 lines
20 KiB
593 lines
20 KiB
commit df11c05be91fda5ef490c76fd0d4a53821750116 |
|
Author: Joseph Myers <josmyers@redhat.com> |
|
Date: Wed Jan 17 15:38:54 2024 +0000 |
|
|
|
Update syscall lists for Linux 6.7 |
|
|
|
Linux 6.7 adds the futex_requeue, futex_wait and futex_wake syscalls, |
|
and enables map_shadow_stack for architectures previously missing it. |
|
Update syscall-names.list and regenerate the arch-syscall.h headers |
|
with build-many-glibcs.py update-syscalls. |
|
|
|
Tested with build-many-glibcs.py. |
|
|
|
Modified for RHEL by: Patsy Griffin <patsy@redhat.com> |
|
|
|
diff --git a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h |
|
index 746991aa2f..1713897f85 100644 |
|
--- a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h |
|
@@ -64,7 +64,10 @@ |
|
#define __NR_fsync 82 |
|
#define __NR_ftruncate 46 |
|
#define __NR_futex 98 |
|
+#define __NR_futex_requeue 456 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_get_mempolicy 236 |
|
#define __NR_get_robust_list 100 |
|
#define __NR_getcpu 168 |
|
@@ -126,6 +129,7 @@ |
|
#define __NR_lseek 62 |
|
#define __NR_lsetxattr 6 |
|
#define __NR_madvise 233 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 235 |
|
#define __NR_membarrier 283 |
|
#define __NR_memfd_create 279 |
|
diff --git a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h |
|
index 32efe51267..5457d2d8ae 100644 |
|
--- a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h |
|
@@ -80,7 +80,10 @@ |
|
#define __NR_fsync 95 |
|
#define __NR_ftruncate 130 |
|
#define __NR_futex 394 |
|
+#define __NR_futex_requeue 566 |
|
+#define __NR_futex_wait 565 |
|
#define __NR_futex_waitv 559 |
|
+#define __NR_futex_wake 564 |
|
#define __NR_futimesat 454 |
|
#define __NR_get_kernel_syms 309 |
|
#define __NR_get_mempolicy 430 |
|
@@ -156,6 +159,7 @@ |
|
#define __NR_lstat 68 |
|
#define __NR_lstat64 426 |
|
#define __NR_madvise 75 |
|
+#define __NR_map_shadow_stack 563 |
|
#define __NR_mbind 429 |
|
#define __NR_membarrier 517 |
|
#define __NR_memfd_create 512 |
|
diff --git a/sysdeps/unix/sysv/linux/arc/arch-syscall.h b/sysdeps/unix/sysv/linux/arc/arch-syscall.h |
|
index 1d2879e877..a66471c83a 100644 |
|
--- a/sysdeps/unix/sysv/linux/arc/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/arc/arch-syscall.h |
|
@@ -66,8 +66,11 @@ |
|
#define __NR_fstatfs64 44 |
|
#define __NR_fsync 82 |
|
#define __NR_ftruncate64 46 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_get_mempolicy 236 |
|
#define __NR_get_robust_list 100 |
|
#define __NR_getcpu 168 |
|
@@ -130,6 +133,7 @@ |
|
#define __NR_lremovexattr 15 |
|
#define __NR_lsetxattr 6 |
|
#define __NR_madvise 233 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 235 |
|
#define __NR_membarrier 283 |
|
#define __NR_memfd_create 279 |
|
diff --git a/sysdeps/unix/sysv/linux/arm/arch-syscall.h b/sysdeps/unix/sysv/linux/arm/arch-syscall.h |
|
index 6711981e78..74a57f4520 100644 |
|
--- a/sysdeps/unix/sysv/linux/arm/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/arm/arch-syscall.h |
|
@@ -91,8 +91,11 @@ |
|
#define __NR_ftruncate 93 |
|
#define __NR_ftruncate64 194 |
|
#define __NR_futex 240 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 326 |
|
#define __NR_get_mempolicy 320 |
|
#define __NR_get_robust_list 339 |
|
@@ -170,6 +173,7 @@ |
|
#define __NR_lstat 107 |
|
#define __NR_lstat64 196 |
|
#define __NR_madvise 220 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 319 |
|
#define __NR_membarrier 389 |
|
#define __NR_memfd_create 385 |
|
diff --git a/sysdeps/unix/sysv/linux/csky/arch-syscall.h b/sysdeps/unix/sysv/linux/csky/arch-syscall.h |
|
index 92d9a703ea..ba7632e018 100644 |
|
--- a/sysdeps/unix/sysv/linux/csky/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/csky/arch-syscall.h |
|
@@ -71,8 +71,11 @@ |
|
#define __NR_fsync 82 |
|
#define __NR_ftruncate64 46 |
|
#define __NR_futex 98 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_get_mempolicy 236 |
|
#define __NR_get_robust_list 100 |
|
#define __NR_getcpu 168 |
|
@@ -135,6 +138,7 @@ |
|
#define __NR_lremovexattr 15 |
|
#define __NR_lsetxattr 6 |
|
#define __NR_madvise 233 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 235 |
|
#define __NR_membarrier 283 |
|
#define __NR_memfd_create 279 |
|
diff --git a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h |
|
index fbac124b70..483706de9b 100644 |
|
--- a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h |
|
@@ -89,8 +89,11 @@ |
|
#define __NR_ftruncate 93 |
|
#define __NR_ftruncate64 200 |
|
#define __NR_futex 210 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 279 |
|
#define __NR_get_mempolicy 261 |
|
#define __NR_get_robust_list 290 |
|
@@ -161,6 +164,7 @@ |
|
#define __NR_lstat 84 |
|
#define __NR_lstat64 198 |
|
#define __NR_madvise 119 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 260 |
|
#define __NR_membarrier 343 |
|
#define __NR_memfd_create 340 |
|
diff --git a/sysdeps/unix/sysv/linux/i386/arch-syscall.h b/sysdeps/unix/sysv/linux/i386/arch-syscall.h |
|
index 8961788a96..21c1308bb3 100644 |
|
--- a/sysdeps/unix/sysv/linux/i386/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/i386/arch-syscall.h |
|
@@ -95,8 +95,11 @@ |
|
#define __NR_ftruncate 93 |
|
#define __NR_ftruncate64 194 |
|
#define __NR_futex 240 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 299 |
|
#define __NR_get_kernel_syms 130 |
|
#define __NR_get_mempolicy 275 |
|
@@ -183,6 +186,7 @@ |
|
#define __NR_lstat 107 |
|
#define __NR_lstat64 196 |
|
#define __NR_madvise 219 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 274 |
|
#define __NR_membarrier 375 |
|
#define __NR_memfd_create 356 |
|
diff --git a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h |
|
index 2053d5d392..6d788e3440 100644 |
|
--- a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h |
|
@@ -94,8 +94,11 @@ |
|
#define __NR_ftruncate 93 |
|
#define __NR_ftruncate64 194 |
|
#define __NR_futex 235 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 292 |
|
#define __NR_get_kernel_syms 130 |
|
#define __NR_get_mempolicy 269 |
|
@@ -177,6 +180,7 @@ |
|
#define __NR_lstat 107 |
|
#define __NR_lstat64 196 |
|
#define __NR_madvise 238 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 268 |
|
#define __NR_membarrier 374 |
|
#define __NR_memfd_create 353 |
|
diff --git a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h |
|
index 6865b1693c..91e1630f7b 100644 |
|
--- a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h |
|
@@ -95,8 +95,11 @@ |
|
#define __NR_ftruncate 93 |
|
#define __NR_ftruncate64 194 |
|
#define __NR_futex 240 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 299 |
|
#define __NR_get_kernel_syms 130 |
|
#define __NR_get_mempolicy 275 |
|
@@ -183,6 +186,7 @@ |
|
#define __NR_lstat 107 |
|
#define __NR_lstat64 196 |
|
#define __NR_madvise 219 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 274 |
|
#define __NR_membarrier 390 |
|
#define __NR_memfd_create 386 |
|
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h |
|
index b13ace8e1c..d75af97467 100644 |
|
--- a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h |
|
@@ -94,8 +94,11 @@ |
|
#define __NR_ftruncate 4093 |
|
#define __NR_ftruncate64 4212 |
|
#define __NR_futex 4238 |
|
+#define __NR_futex_requeue 4456 |
|
#define __NR_futex_time64 4422 |
|
+#define __NR_futex_wait 4455 |
|
#define __NR_futex_waitv 4449 |
|
+#define __NR_futex_wake 4454 |
|
#define __NR_futimesat 4292 |
|
#define __NR_get_kernel_syms 4130 |
|
#define __NR_get_mempolicy 4269 |
|
@@ -173,6 +176,7 @@ |
|
#define __NR_lstat 4107 |
|
#define __NR_lstat64 4214 |
|
#define __NR_madvise 4218 |
|
+#define __NR_map_shadow_stack 4453 |
|
#define __NR_mbind 4268 |
|
#define __NR_membarrier 4358 |
|
#define __NR_memfd_create 4354 |
|
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h |
|
index b7a7c0dfa7..05bf7d251d 100644 |
|
--- a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h |
|
@@ -87,8 +87,11 @@ |
|
#define __NR_fsync 6072 |
|
#define __NR_ftruncate 6075 |
|
#define __NR_futex 6194 |
|
+#define __NR_futex_requeue 6456 |
|
#define __NR_futex_time64 6422 |
|
+#define __NR_futex_wait 6455 |
|
#define __NR_futex_waitv 6449 |
|
+#define __NR_futex_wake 6454 |
|
#define __NR_futimesat 6255 |
|
#define __NR_get_kernel_syms 6170 |
|
#define __NR_get_mempolicy 6232 |
|
@@ -159,6 +162,7 @@ |
|
#define __NR_lsetxattr 6181 |
|
#define __NR_lstat 6006 |
|
#define __NR_madvise 6027 |
|
+#define __NR_map_shadow_stack 6453 |
|
#define __NR_mbind 6231 |
|
#define __NR_membarrier 6322 |
|
#define __NR_memfd_create 6318 |
|
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h |
|
index e5d7f91f48..41ffaf3255 100644 |
|
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h |
|
@@ -80,7 +80,10 @@ |
|
#define __NR_fsync 5072 |
|
#define __NR_ftruncate 5075 |
|
#define __NR_futex 5194 |
|
+#define __NR_futex_requeue 5456 |
|
+#define __NR_futex_wait 5455 |
|
#define __NR_futex_waitv 5449 |
|
+#define __NR_futex_wake 5454 |
|
#define __NR_futimesat 5251 |
|
#define __NR_get_kernel_syms 5170 |
|
#define __NR_get_mempolicy 5228 |
|
@@ -150,6 +153,7 @@ |
|
#define __NR_lsetxattr 5181 |
|
#define __NR_lstat 5006 |
|
#define __NR_madvise 5027 |
|
+#define __NR_map_shadow_stack 5453 |
|
#define __NR_mbind 5227 |
|
#define __NR_membarrier 5318 |
|
#define __NR_memfd_create 5314 |
|
diff --git a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h |
|
index 89950cc33a..d94e7e9ee9 100644 |
|
--- a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h |
|
@@ -70,8 +70,11 @@ |
|
#define __NR_fsync 82 |
|
#define __NR_ftruncate64 46 |
|
#define __NR_futex 98 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_get_mempolicy 236 |
|
#define __NR_get_robust_list 100 |
|
#define __NR_getcpu 168 |
|
@@ -134,6 +137,7 @@ |
|
#define __NR_lremovexattr 15 |
|
#define __NR_lsetxattr 6 |
|
#define __NR_madvise 233 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 235 |
|
#define __NR_membarrier 283 |
|
#define __NR_memfd_create 279 |
|
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h |
|
index 64683bcb76..b5522e8889 100644 |
|
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h |
|
@@ -93,8 +93,11 @@ |
|
#define __NR_ftruncate 93 |
|
#define __NR_ftruncate64 194 |
|
#define __NR_futex 221 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 290 |
|
#define __NR_get_kernel_syms 130 |
|
#define __NR_get_mempolicy 260 |
|
@@ -173,6 +176,7 @@ |
|
#define __NR_lstat 107 |
|
#define __NR_lstat64 196 |
|
#define __NR_madvise 205 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 259 |
|
#define __NR_membarrier 365 |
|
#define __NR_memfd_create 360 |
|
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h |
|
index af1bbf32e8..162d782ae6 100644 |
|
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h |
|
@@ -83,7 +83,10 @@ |
|
#define __NR_ftime 35 |
|
#define __NR_ftruncate 93 |
|
#define __NR_futex 221 |
|
+#define __NR_futex_requeue 456 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 290 |
|
#define __NR_get_kernel_syms 130 |
|
#define __NR_get_mempolicy 260 |
|
@@ -160,6 +163,7 @@ |
|
#define __NR_lsetxattr 210 |
|
#define __NR_lstat 107 |
|
#define __NR_madvise 205 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 259 |
|
#define __NR_membarrier 365 |
|
#define __NR_memfd_create 360 |
|
diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h |
|
index 56e3088cbf..013222e5de 100644 |
|
--- a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h |
|
@@ -61,8 +61,11 @@ |
|
#define __NR_fstatfs64 44 |
|
#define __NR_fsync 82 |
|
#define __NR_ftruncate64 46 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_get_mempolicy 236 |
|
#define __NR_get_robust_list 100 |
|
#define __NR_getcpu 168 |
|
@@ -121,6 +124,7 @@ |
|
#define __NR_lremovexattr 15 |
|
#define __NR_lsetxattr 6 |
|
#define __NR_madvise 233 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 235 |
|
#define __NR_membarrier 283 |
|
#define __NR_memfd_create 279 |
|
diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h |
|
index 508161b47a..d03dad8200 100644 |
|
--- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h |
|
@@ -64,7 +64,10 @@ |
|
#define __NR_fsync 82 |
|
#define __NR_ftruncate 46 |
|
#define __NR_futex 98 |
|
+#define __NR_futex_requeue 456 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_get_mempolicy 236 |
|
#define __NR_get_robust_list 100 |
|
#define __NR_getcpu 168 |
|
@@ -126,6 +129,7 @@ |
|
#define __NR_lseek 62 |
|
#define __NR_lsetxattr 6 |
|
#define __NR_madvise 233 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 235 |
|
#define __NR_membarrier 283 |
|
#define __NR_memfd_create 279 |
|
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h |
|
index 1498ebf42e..98e6b68b31 100644 |
|
--- a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h |
|
@@ -92,8 +92,11 @@ |
|
#define __NR_ftruncate 93 |
|
#define __NR_ftruncate64 194 |
|
#define __NR_futex 238 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 292 |
|
#define __NR_get_kernel_syms 130 |
|
#define __NR_get_mempolicy 269 |
|
@@ -177,6 +180,7 @@ |
|
#define __NR_lstat 107 |
|
#define __NR_lstat64 196 |
|
#define __NR_madvise 219 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 268 |
|
#define __NR_membarrier 356 |
|
#define __NR_memfd_create 350 |
|
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h |
|
index 624d71b56d..951fbd7c97 100644 |
|
--- a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h |
|
@@ -78,7 +78,10 @@ |
|
#define __NR_fsync 118 |
|
#define __NR_ftruncate 93 |
|
#define __NR_futex 238 |
|
+#define __NR_futex_requeue 456 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 292 |
|
#define __NR_get_kernel_syms 130 |
|
#define __NR_get_mempolicy 269 |
|
@@ -151,6 +154,7 @@ |
|
#define __NR_lsetxattr 225 |
|
#define __NR_lstat 107 |
|
#define __NR_madvise 219 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 268 |
|
#define __NR_membarrier 356 |
|
#define __NR_memfd_create 350 |
|
diff --git a/sysdeps/unix/sysv/linux/sh/arch-syscall.h b/sysdeps/unix/sysv/linux/sh/arch-syscall.h |
|
index 37211f5f8c..6b4418bcae 100644 |
|
--- a/sysdeps/unix/sysv/linux/sh/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/sh/arch-syscall.h |
|
@@ -91,8 +91,11 @@ |
|
#define __NR_ftruncate 93 |
|
#define __NR_ftruncate64 194 |
|
#define __NR_futex 240 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 299 |
|
#define __NR_get_mempolicy 275 |
|
#define __NR_get_robust_list 312 |
|
@@ -170,6 +173,7 @@ |
|
#define __NR_lstat 107 |
|
#define __NR_lstat64 196 |
|
#define __NR_madvise 219 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 274 |
|
#define __NR_membarrier 378 |
|
#define __NR_memfd_create 374 |
|
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h |
|
index 8093abcc9c..4f9460b1a3 100644 |
|
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h |
|
@@ -93,8 +93,11 @@ |
|
#define __NR_ftruncate 130 |
|
#define __NR_ftruncate64 84 |
|
#define __NR_futex 142 |
|
+#define __NR_futex_requeue 456 |
|
#define __NR_futex_time64 422 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 288 |
|
#define __NR_get_kernel_syms 223 |
|
#define __NR_get_mempolicy 304 |
|
@@ -175,6 +178,7 @@ |
|
#define __NR_lstat 40 |
|
#define __NR_lstat64 132 |
|
#define __NR_madvise 75 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 303 |
|
#define __NR_membarrier 351 |
|
#define __NR_memfd_create 348 |
|
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h |
|
index d25ccfb571..129ce50646 100644 |
|
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h |
|
@@ -84,7 +84,10 @@ |
|
#define __NR_fsync 95 |
|
#define __NR_ftruncate 130 |
|
#define __NR_futex 142 |
|
+#define __NR_futex_requeue 456 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 288 |
|
#define __NR_get_kernel_syms 223 |
|
#define __NR_get_mempolicy 304 |
|
@@ -158,6 +161,7 @@ |
|
#define __NR_lstat 40 |
|
#define __NR_lstat64 132 |
|
#define __NR_madvise 75 |
|
+#define __NR_map_shadow_stack 453 |
|
#define __NR_mbind 303 |
|
#define __NR_membarrier 351 |
|
#define __NR_memfd_create 348 |
|
diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list |
|
index c039d5c37f..aac065e7b3 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 6.6. |
|
-kernel 6.6 |
|
+# The list of system calls is current as of Linux 6.7. |
|
+kernel 6.7 |
|
|
|
FAST_atomic_update |
|
FAST_cmpxchg |
|
@@ -147,8 +147,11 @@ ftime |
|
ftruncate |
|
ftruncate64 |
|
futex |
|
+futex_requeue |
|
futex_time64 |
|
+futex_wait |
|
futex_waitv |
|
+futex_wake |
|
futimesat |
|
get_kernel_syms |
|
get_mempolicy |
|
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h |
|
index 5e4c9e901c..4fa5b942c5 100644 |
|
--- a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h |
|
@@ -80,7 +80,10 @@ |
|
#define __NR_fsync 74 |
|
#define __NR_ftruncate 77 |
|
#define __NR_futex 202 |
|
+#define __NR_futex_requeue 456 |
|
+#define __NR_futex_wait 455 |
|
#define __NR_futex_waitv 449 |
|
+#define __NR_futex_wake 454 |
|
#define __NR_futimesat 261 |
|
#define __NR_get_kernel_syms 177 |
|
#define __NR_get_mempolicy 239 |
|
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h |
|
index dd5e196272..b9db8bc5be 100644 |
|
--- a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h |
|
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h |
|
@@ -76,7 +76,10 @@ |
|
#define __NR_fsync 1073741898 |
|
#define __NR_ftruncate 1073741901 |
|
#define __NR_futex 1073742026 |
|
+#define __NR_futex_requeue 1073742280 |
|
+#define __NR_futex_wait 1073742279 |
|
#define __NR_futex_waitv 1073742273 |
|
+#define __NR_futex_wake 1073742278 |
|
#define __NR_futimesat 1073742085 |
|
#define __NR_get_mempolicy 1073742063 |
|
#define __NR_get_robust_list 1073742355
|
|
|