diff options
Diffstat (limited to 'sysdeps/unix')
26 files changed, 28 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h index 91964b478c..1bbf70476a 100644 --- a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h @@ -173,6 +173,7 @@ #define __NR_preadv 69 #define __NR_preadv2 286 #define __NR_prlimit64 261 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 270 #define __NR_process_vm_writev 271 #define __NR_pselect6 72 diff --git a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h index 5ed2913269..6ef635b5dd 100644 --- a/sysdeps/unix/sysv/linux/alpha/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/alpha/arch-syscall.h @@ -322,6 +322,7 @@ #define __NR_preadv 490 #define __NR_preadv2 520 #define __NR_prlimit64 496 +#define __NR_process_madvise 550 #define __NR_process_vm_readv 504 #define __NR_process_vm_writev 505 #define __NR_pselect6 463 diff --git a/sysdeps/unix/sysv/linux/arc/arch-syscall.h b/sysdeps/unix/sysv/linux/arc/arch-syscall.h index 60aa943220..fb20e6cf7c 100644 --- a/sysdeps/unix/sysv/linux/arc/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arc/arch-syscall.h @@ -176,6 +176,7 @@ #define __NR_preadv 69 #define __NR_preadv2 286 #define __NR_prlimit64 261 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 270 #define __NR_process_vm_writev 271 #define __NR_pselect6_time64 413 diff --git a/sysdeps/unix/sysv/linux/arm/arch-syscall.h b/sysdeps/unix/sysv/linux/arm/arch-syscall.h index 2a959fb4ab..adf83757ea 100644 --- a/sysdeps/unix/sysv/linux/arm/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/arm/arch-syscall.h @@ -229,6 +229,7 @@ #define __NR_preadv 361 #define __NR_preadv2 392 #define __NR_prlimit64 369 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 376 #define __NR_process_vm_writev 377 #define __NR_pselect6 335 diff --git a/sysdeps/unix/sysv/linux/csky/arch-syscall.h b/sysdeps/unix/sysv/linux/csky/arch-syscall.h index d0eca62589..53781e6af2 100644 --- a/sysdeps/unix/sysv/linux/csky/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/csky/arch-syscall.h @@ -184,6 +184,7 @@ #define __NR_preadv 69 #define __NR_preadv2 286 #define __NR_prlimit64 261 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 270 #define __NR_process_vm_writev 271 #define __NR_pselect6 72 diff --git a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h index 7a63870dd2..ac78d19c46 100644 --- a/sysdeps/unix/sysv/linux/hppa/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/hppa/arch-syscall.h @@ -216,6 +216,7 @@ #define __NR_preadv 315 #define __NR_preadv2 347 #define __NR_prlimit64 321 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 330 #define __NR_process_vm_writev 331 #define __NR_pselect6 273 diff --git a/sysdeps/unix/sysv/linux/i386/arch-syscall.h b/sysdeps/unix/sysv/linux/i386/arch-syscall.h index 31b3378565..eb9e9fe281 100644 --- a/sysdeps/unix/sysv/linux/i386/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/i386/arch-syscall.h @@ -247,6 +247,7 @@ #define __NR_preadv 333 #define __NR_preadv2 378 #define __NR_prlimit64 340 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 347 #define __NR_process_vm_writev 348 #define __NR_prof 44 diff --git a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h index 39d115d926..d1ab7ea26f 100644 --- a/sysdeps/unix/sysv/linux/ia64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/ia64/arch-syscall.h @@ -203,6 +203,7 @@ #define __NR_preadv 1319 #define __NR_preadv2 1348 #define __NR_prlimit64 1325 +#define __NR_process_madvise 1464 #define __NR_process_vm_readv 1332 #define __NR_process_vm_writev 1333 #define __NR_pselect6 1294 diff --git a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h index c5536d2ad1..89f4ba0a7c 100644 --- a/sysdeps/unix/sysv/linux/m68k/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/m68k/arch-syscall.h @@ -237,6 +237,7 @@ #define __NR_preadv 329 #define __NR_preadv2 377 #define __NR_prlimit64 339 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 345 #define __NR_process_vm_writev 346 #define __NR_pselect6 301 diff --git a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h index f684836d29..fe0897d685 100644 --- a/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/microblaze/arch-syscall.h @@ -247,6 +247,7 @@ #define __NR_preadv 363 #define __NR_preadv2 393 #define __NR_prlimit64 370 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 377 #define __NR_process_vm_writev 378 #define __NR_prof 44 diff --git a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h index c2baedfff1..e78c2c47e1 100644 --- a/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips32/arch-syscall.h @@ -232,6 +232,7 @@ #define __NR_preadv 4330 #define __NR_preadv2 4361 #define __NR_prlimit64 4338 +#define __NR_process_madvise 4440 #define __NR_process_vm_readv 4345 #define __NR_process_vm_writev 4346 #define __NR_prof 4044 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 48621c1fc1..f08ae0df73 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n32/arch-syscall.h @@ -215,6 +215,7 @@ #define __NR_preadv 6293 #define __NR_preadv2 6325 #define __NR_prlimit64 6302 +#define __NR_process_madvise 6440 #define __NR_process_vm_readv 6309 #define __NR_process_vm_writev 6310 #define __NR_pselect6 6264 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 8455cc66d3..287249adb6 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/arch-syscall.h @@ -203,6 +203,7 @@ #define __NR_preadv 5289 #define __NR_preadv2 5321 #define __NR_prlimit64 5297 +#define __NR_process_madvise 5440 #define __NR_process_vm_readv 5304 #define __NR_process_vm_writev 5305 #define __NR_pselect6 5260 diff --git a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h index 3818418235..2c1b66fb31 100644 --- a/sysdeps/unix/sysv/linux/nios2/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/nios2/arch-syscall.h @@ -183,6 +183,7 @@ #define __NR_preadv 69 #define __NR_preadv2 286 #define __NR_prlimit64 261 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 270 #define __NR_process_vm_writev 271 #define __NR_pselect6 72 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h index 6922d7857b..87f92f5a03 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/arch-syscall.h @@ -241,6 +241,7 @@ #define __NR_preadv 320 #define __NR_preadv2 380 #define __NR_prlimit64 325 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 351 #define __NR_process_vm_writev 352 #define __NR_prof 44 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h index 72779efec7..f55c0e5702 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-syscall.h @@ -225,6 +225,7 @@ #define __NR_preadv 320 #define __NR_preadv2 380 #define __NR_prlimit64 325 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 351 #define __NR_process_vm_writev 352 #define __NR_prof 44 diff --git a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h index 3ad0b98488..a238513083 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv32/arch-syscall.h @@ -165,6 +165,7 @@ #define __NR_preadv 69 #define __NR_preadv2 286 #define __NR_prlimit64 261 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 270 #define __NR_process_vm_writev 271 #define __NR_pselect6_time64 413 diff --git a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h index cd13dd12b7..e7cd372e01 100644 --- a/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h @@ -173,6 +173,7 @@ #define __NR_preadv 69 #define __NR_preadv2 286 #define __NR_prlimit64 261 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 270 #define __NR_process_vm_writev 271 #define __NR_pselect6 72 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 a4bdf3cff0..c19bf384f8 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-32/arch-syscall.h @@ -234,6 +234,7 @@ #define __NR_preadv 328 #define __NR_preadv2 376 #define __NR_prlimit64 334 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 340 #define __NR_process_vm_writev 341 #define __NR_pselect6 301 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 3cbbc9c842..e76cceaa23 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/s390/s390-64/arch-syscall.h @@ -205,6 +205,7 @@ #define __NR_preadv 328 #define __NR_preadv2 376 #define __NR_prlimit64 334 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 340 #define __NR_process_vm_writev 341 #define __NR_pselect6 301 diff --git a/sysdeps/unix/sysv/linux/sh/arch-syscall.h b/sysdeps/unix/sysv/linux/sh/arch-syscall.h index 3fe779b998..eea0c95a04 100644 --- a/sysdeps/unix/sysv/linux/sh/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sh/arch-syscall.h @@ -231,6 +231,7 @@ #define __NR_preadv 333 #define __NR_preadv2 381 #define __NR_prlimit64 339 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 365 #define __NR_process_vm_writev 366 #define __NR_pselect6 308 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h index 3bd20e11ca..91475bd50a 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/arch-syscall.h @@ -236,6 +236,7 @@ #define __NR_preadv 324 #define __NR_preadv2 358 #define __NR_prlimit64 331 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 338 #define __NR_process_vm_writev 339 #define __NR_pselect6 297 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h index 41bb83f08e..b3eab299da 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/arch-syscall.h @@ -216,6 +216,7 @@ #define __NR_preadv 324 #define __NR_preadv2 358 #define __NR_prlimit64 331 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 338 #define __NR_process_vm_writev 339 #define __NR_pselect6 297 diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list index 2d42aaf803..4bd42be2b9 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.9. -kernel 5.9 +# The list of system calls is current as of Linux 5.10. +kernel 5.10 FAST_atomic_update FAST_cmpxchg @@ -433,6 +433,7 @@ pread64 preadv preadv2 prlimit64 +process_madvise process_vm_readv process_vm_writev prof 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 ec5863efd5..cb036a1f68 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/64/arch-syscall.h @@ -208,6 +208,7 @@ #define __NR_preadv 295 #define __NR_preadv2 327 #define __NR_prlimit64 302 +#define __NR_process_madvise 440 #define __NR_process_vm_readv 310 #define __NR_process_vm_writev 311 #define __NR_pselect6 270 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 b1f45a434c..49aca5974b 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h +++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h @@ -201,6 +201,7 @@ #define __NR_preadv 1073742358 #define __NR_preadv2 1073742370 #define __NR_prlimit64 1073742126 +#define __NR_process_madvise 1073742264 #define __NR_process_vm_readv 1073742363 #define __NR_process_vm_writev 1073742364 #define __NR_pselect6 1073742094 |