Message ID | alpine.DEB.2.22.394.2012160153040.169717@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
Series | Update syscall lists for Linux 5.10 | expand |
On Wed, Dec 16, 2020 at 01:53:37AM +0000, Joseph Myers wrote: > Linux 5.10 has one new syscall, process_madvise. Update > syscall-names.list and regenerate the arch-syscall.h headers with > build-many-glibcs.py update-syscalls. > > Tested with build-many-glibcs.py. Just for the reference, this new syscall was added by Linux commit v5.10-rc1~87^2~14. LGTM, thanks.
diff --git a/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h b/sysdeps/unix/sysv/linux/aarch64/arch-syscall.h index 91964b4..1bbf704 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 5ed2913..6ef635b 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 60aa943..fb20e6c 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 2a959fb..adf8375 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 d0eca62..53781e6 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 7a63870..ac78d19 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 31b3378..eb9e9fe 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 39d115d..d1ab7ea 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 c5536d2..89f4ba0 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 f684836..fe0897d 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 c2baedf..e78c2c4 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 48621c1..f08ae0d 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 8455cc6..287249a 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 3818418..2c1b66f 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 6922d78..87f92f5 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 72779ef..f55c0e5 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 3ad0b98..a238513 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 cd13dd1..e7cd372 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 a4bdf3c..c19bf38 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 3cbbc9c..e76ccea 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 3fe779b..eea0c95 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 3bd20e1..91475bd 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 41bb83f..b3eab29 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 2d42aaf..4bd42be 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 ec5863e..cb036a1 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 b1f45a4..49aca59 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