From 3387c40a8bbad5faf85b1feb56429cb20feaa640 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 10 Nov 2021 15:21:19 +0000 Subject: Update syscall lists for Linux 5.15 Linux 5.15 has one new syscall, process_mrelease (and also enables the clone3 syscall for RV32). It also has a macro __NR_SYSCALL_MASK for Arm, which is not a syscall but matches the pattern used for syscall macro names. Add __NR_SYSCALL_MASK to the names filtered out in the code dealing with syscall lists, update syscall-names.list for the new syscall and regenerate the arch-syscall.h headers with build-many-glibcs.py update-syscalls. Tested with build-many-glibcs.py. --- sysdeps/unix/sysv/linux/filter-nr-syscalls.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/filter-nr-syscalls.awk') diff --git a/sysdeps/unix/sysv/linux/filter-nr-syscalls.awk b/sysdeps/unix/sysv/linux/filter-nr-syscalls.awk index dddfd51747..85b017918e 100644 --- a/sysdeps/unix/sysv/linux/filter-nr-syscalls.awk +++ b/sysdeps/unix/sysv/linux/filter-nr-syscalls.awk @@ -22,7 +22,7 @@ } # Skip pseudo-system calls which describe ranges. -/^#define __NR_(syscalls|arch_specific_syscall|(OABI_)?SYSCALL_BASE) / { +/^#define __NR_(syscalls|arch_specific_syscall|(OABI_)?SYSCALL_BASE|SYSCALL_MASK) / { next; } /^#define __NR_(|64_|[NO]32_)Linux(_syscalls)? / { -- cgit 1.4.1