about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/filter-nr-syscalls.awk
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2021-11-10 15:21:19 +0000
committerJoseph Myers <joseph@codesourcery.com>2021-11-10 15:21:19 +0000
commit3387c40a8bbad5faf85b1feb56429cb20feaa640 (patch)
treecac2486e0c1b8662f817ef965f3ad92aa3b72c8c /sysdeps/unix/sysv/linux/filter-nr-syscalls.awk
parent98966749f2b418825ff2ea496a0ee89fe63d2cc8 (diff)
downloadglibc-3387c40a8bbad5faf85b1feb56429cb20feaa640.tar.gz
glibc-3387c40a8bbad5faf85b1feb56429cb20feaa640.tar.xz
glibc-3387c40a8bbad5faf85b1feb56429cb20feaa640.zip
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/filter-nr-syscalls.awk')
-rw-r--r--sysdeps/unix/sysv/linux/filter-nr-syscalls.awk2
1 files changed, 1 insertions, 1 deletions
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)? / {