[gdb/tdep] Add gdb/syscalls/update-linux-from-src.sh
authorTom de Vries <tdevries@suse.de>
Wed, 18 May 2022 09:56:32 +0000 (11:56 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 18 May 2022 09:56:32 +0000 (11:56 +0200)
Add a new script gdb/syscalls/update-linux-from-src.sh, that can be used to
generate *-linux.xml.in files from linux kernel sources, like so:
...
$ ./update-linux-from-src.sh ~/upstream/linux-stable.git
Skipping aarch64-linux.xml.in, no syscall.tbl
Generating amd64-linux.xml.in
Skipping arm-linux.xml.in, use arm-linux.py instead
Skipping bfin-linux.xml.in, no longer supported
Generating i386-linux.xml.in
Generating mips-n32-linux.xml.in
Generating mips-n64-linux.xml.in
Generating mips-o32-linux.xml.in
Generating ppc64-linux.xml.in
Generating ppc-linux.xml.in
Generating s390-linux.xml.in
Generating s390x-linux.xml.in
Generating sparc64-linux.xml.in
Generating sparc-linux.xml.in
...

Update *-linux.xml.in and *-linux.xml using linux kernel tag v5.18-rc6.

23 files changed:
gdb/syscalls/amd64-linux.xml
gdb/syscalls/amd64-linux.xml.in
gdb/syscalls/i386-linux.xml
gdb/syscalls/i386-linux.xml.in
gdb/syscalls/mips-n32-linux.xml
gdb/syscalls/mips-n32-linux.xml.in
gdb/syscalls/mips-n64-linux.xml
gdb/syscalls/mips-n64-linux.xml.in
gdb/syscalls/mips-o32-linux.xml
gdb/syscalls/mips-o32-linux.xml.in
gdb/syscalls/ppc-linux.xml
gdb/syscalls/ppc-linux.xml.in
gdb/syscalls/ppc64-linux.xml
gdb/syscalls/ppc64-linux.xml.in
gdb/syscalls/s390-linux.xml
gdb/syscalls/s390-linux.xml.in
gdb/syscalls/s390x-linux.xml
gdb/syscalls/s390x-linux.xml.in
gdb/syscalls/sparc-linux.xml
gdb/syscalls/sparc-linux.xml.in
gdb/syscalls/sparc64-linux.xml
gdb/syscalls/sparc64-linux.xml.in
gdb/syscalls/update-linux-from-src.sh [new file with mode: 0755]

index 231308b72b7613dab4fa63fdffea191fa9f15425..cf2b5c88d549f2c1d48d9c7589dad85669019ce6 100644 (file)
@@ -7,7 +7,7 @@
      notice and this notice are preserved.  -->
 <!-- This file was generated using the following file:
 
-     <sys/syscall.h>
+     arch/x86/entry/syscalls/syscall_64.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
index 404d445988e873e2ed71b66c7e5d7e7e227db084..e2c8450352f1b5221b479141bde54800316530e2 100644 (file)
@@ -9,7 +9,7 @@
 
 <!-- This file was generated using the following file:
 
-     <sys/syscall.h>
+     arch/x86/entry/syscalls/syscall_64.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
index c4b281113881f776f6a3e2755d7df8ff8de64da4..cff0e04464af0aed6672b8f7c0b0ffcede622f31 100644 (file)
@@ -7,7 +7,7 @@
      notice and this notice are preserved.  -->
 <!-- This file was generated using the following file:
 
-     <sys/syscall.h>
+     arch/x86/entry/syscalls/syscall_32.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
index 549b59565f35fb326f9c0f6c2253313eebd9c254..3814acd576136396931b1cd8424ce17815515840 100644 (file)
@@ -9,7 +9,7 @@
 
 <!-- This file was generated using the following file:
 
-     <sys/syscall.h>
+     arch/x86/entry/syscalls/syscall_32.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
index d6cffc4e5aa776990b512c9402f14ba934ed852d..47a8204dfea798b8abe85585d71137d46a69f50e 100644 (file)
@@ -6,8 +6,8 @@
      are permitted in any medium without royalty provided the copyright
      notice and this notice are preserved.  -->
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/mips/include/asm/unistd.h
+
+     arch/mips/kernel/syscalls/syscall_n32.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
   <syscall name="getpmsg" number="6174"/>
   <syscall name="putpmsg" number="6175"/>
   <syscall name="afs_syscall" number="6176"/>
-  <syscall name="reserved177" number="6177"/>
   <syscall name="gettid" number="6178"/>
   <syscall name="readahead" number="6179" groups="descriptor"/>
   <syscall name="setxattr" number="6180" groups="file"/>
   <syscall name="lremovexattr" number="6190" groups="file"/>
   <syscall name="fremovexattr" number="6191" groups="descriptor"/>
   <syscall name="tkill" number="6192" groups="signal"/>
-  <syscall name="reserved193" number="6193"/>
   <syscall name="futex" number="6194"/>
   <syscall name="sched_setaffinity" number="6195"/>
   <syscall name="sched_getaffinity" number="6196"/>
   <syscall name="fanotify_init" number="6300" groups="descriptor"/>
   <syscall name="fanotify_mark" number="6301" groups="descriptor,file"/>
   <syscall name="prlimit64" number="6302"/>
+  <syscall name="name_to_handle_at" number="6303" groups="descriptor,file"/>
+  <syscall name="open_by_handle_at" number="6304" groups="descriptor"/>
+  <syscall name="clock_adjtime" number="6305"/>
+  <syscall name="syncfs" number="6306" groups="descriptor"/>
+  <syscall name="sendmmsg" number="6307" groups="network"/>
+  <syscall name="setns" number="6308" groups="descriptor"/>
+  <syscall name="process_vm_readv" number="6309"/>
+  <syscall name="process_vm_writev" number="6310"/>
+  <syscall name="kcmp" number="6311"/>
+  <syscall name="finit_module" number="6312" groups="descriptor"/>
+  <syscall name="sched_setattr" number="6313"/>
+  <syscall name="sched_getattr" number="6314"/>
+  <syscall name="renameat2" number="6315"/>
+  <syscall name="seccomp" number="6316"/>
+  <syscall name="getrandom" number="6317"/>
+  <syscall name="memfd_create" number="6318"/>
+  <syscall name="bpf" number="6319"/>
+  <syscall name="execveat" number="6320"/>
+  <syscall name="userfaultfd" number="6321"/>
+  <syscall name="membarrier" number="6322"/>
+  <syscall name="mlock2" number="6323"/>
+  <syscall name="copy_file_range" number="6324"/>
+  <syscall name="preadv2" number="6325"/>
+  <syscall name="pwritev2" number="6326"/>
+  <syscall name="pkey_mprotect" number="6327"/>
+  <syscall name="pkey_alloc" number="6328"/>
+  <syscall name="pkey_free" number="6329"/>
+  <syscall name="statx" number="6330"/>
+  <syscall name="rseq" number="6331"/>
+  <syscall name="io_pgetevents" number="6332"/>
+  <syscall name="clock_gettime64" number="6403"/>
+  <syscall name="clock_settime64" number="6404"/>
+  <syscall name="clock_adjtime64" number="6405"/>
+  <syscall name="clock_getres_time64" number="6406"/>
+  <syscall name="clock_nanosleep_time64" number="6407"/>
+  <syscall name="timer_gettime64" number="6408"/>
+  <syscall name="timer_settime64" number="6409"/>
+  <syscall name="timerfd_gettime64" number="6410"/>
+  <syscall name="timerfd_settime64" number="6411"/>
+  <syscall name="utimensat_time64" number="6412"/>
+  <syscall name="pselect6_time64" number="6413"/>
+  <syscall name="ppoll_time64" number="6414"/>
+  <syscall name="io_pgetevents_time64" number="6416"/>
+  <syscall name="recvmmsg_time64" number="6417"/>
+  <syscall name="mq_timedsend_time64" number="6418"/>
+  <syscall name="mq_timedreceive_time64" number="6419"/>
+  <syscall name="semtimedop_time64" number="6420"/>
+  <syscall name="rt_sigtimedwait_time64" number="6421"/>
+  <syscall name="futex_time64" number="6422"/>
+  <syscall name="sched_rr_get_interval_time64" number="6423"/>
+  <syscall name="pidfd_send_signal" number="6424"/>
+  <syscall name="io_uring_setup" number="6425"/>
+  <syscall name="io_uring_enter" number="6426"/>
+  <syscall name="io_uring_register" number="6427"/>
+  <syscall name="open_tree" number="6428"/>
+  <syscall name="move_mount" number="6429"/>
+  <syscall name="fsopen" number="6430"/>
+  <syscall name="fsconfig" number="6431"/>
+  <syscall name="fsmount" number="6432"/>
+  <syscall name="fspick" number="6433"/>
+  <syscall name="pidfd_open" number="6434"/>
+  <syscall name="clone3" number="6435"/>
+  <syscall name="close_range" number="6436"/>
+  <syscall name="openat2" number="6437"/>
+  <syscall name="pidfd_getfd" number="6438"/>
+  <syscall name="faccessat2" number="6439"/>
+  <syscall name="process_madvise" number="6440"/>
+  <syscall name="epoll_pwait2" number="6441"/>
+  <syscall name="mount_setattr" number="6442"/>
+  <syscall name="quotactl_fd" number="6443"/>
+  <syscall name="landlock_create_ruleset" number="6444"/>
+  <syscall name="landlock_add_rule" number="6445"/>
+  <syscall name="landlock_restrict_self" number="6446"/>
+  <syscall name="process_mrelease" number="6448"/>
+  <syscall name="futex_waitv" number="6449"/>
+  <syscall name="set_mempolicy_home_node" number="6450"/>
 </syscalls_info>
index cbdf82e65a15e37d6a3f2675219307dec31d5b0e..85528f296ee25e85f43c48cb1035c43f5658de5c 100644 (file)
@@ -8,11 +8,12 @@
 <!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
 
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/mips/include/asm/unistd.h
+
+     arch/mips/kernel/syscalls/syscall_n32.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
+
 <syscalls_info>
   <syscall name="read" number="6000"/>
   <syscall name="write" number="6001"/>
   <syscall name="getpmsg" number="6174"/>
   <syscall name="putpmsg" number="6175"/>
   <syscall name="afs_syscall" number="6176"/>
-  <syscall name="reserved177" number="6177"/>
   <syscall name="gettid" number="6178"/>
   <syscall name="readahead" number="6179"/>
   <syscall name="setxattr" number="6180"/>
   <syscall name="lremovexattr" number="6190"/>
   <syscall name="fremovexattr" number="6191"/>
   <syscall name="tkill" number="6192"/>
-  <syscall name="reserved193" number="6193"/>
   <syscall name="futex" number="6194"/>
   <syscall name="sched_setaffinity" number="6195"/>
   <syscall name="sched_getaffinity" number="6196"/>
   <syscall name="fanotify_init" number="6300"/>
   <syscall name="fanotify_mark" number="6301"/>
   <syscall name="prlimit64" number="6302"/>
+  <syscall name="name_to_handle_at" number="6303"/>
+  <syscall name="open_by_handle_at" number="6304"/>
+  <syscall name="clock_adjtime" number="6305"/>
+  <syscall name="syncfs" number="6306"/>
+  <syscall name="sendmmsg" number="6307"/>
+  <syscall name="setns" number="6308"/>
+  <syscall name="process_vm_readv" number="6309"/>
+  <syscall name="process_vm_writev" number="6310"/>
+  <syscall name="kcmp" number="6311"/>
+  <syscall name="finit_module" number="6312"/>
+  <syscall name="sched_setattr" number="6313"/>
+  <syscall name="sched_getattr" number="6314"/>
+  <syscall name="renameat2" number="6315"/>
+  <syscall name="seccomp" number="6316"/>
+  <syscall name="getrandom" number="6317"/>
+  <syscall name="memfd_create" number="6318"/>
+  <syscall name="bpf" number="6319"/>
+  <syscall name="execveat" number="6320"/>
+  <syscall name="userfaultfd" number="6321"/>
+  <syscall name="membarrier" number="6322"/>
+  <syscall name="mlock2" number="6323"/>
+  <syscall name="copy_file_range" number="6324"/>
+  <syscall name="preadv2" number="6325"/>
+  <syscall name="pwritev2" number="6326"/>
+  <syscall name="pkey_mprotect" number="6327"/>
+  <syscall name="pkey_alloc" number="6328"/>
+  <syscall name="pkey_free" number="6329"/>
+  <syscall name="statx" number="6330"/>
+  <syscall name="rseq" number="6331"/>
+  <syscall name="io_pgetevents" number="6332"/>
+  <syscall name="clock_gettime64" number="6403"/>
+  <syscall name="clock_settime64" number="6404"/>
+  <syscall name="clock_adjtime64" number="6405"/>
+  <syscall name="clock_getres_time64" number="6406"/>
+  <syscall name="clock_nanosleep_time64" number="6407"/>
+  <syscall name="timer_gettime64" number="6408"/>
+  <syscall name="timer_settime64" number="6409"/>
+  <syscall name="timerfd_gettime64" number="6410"/>
+  <syscall name="timerfd_settime64" number="6411"/>
+  <syscall name="utimensat_time64" number="6412"/>
+  <syscall name="pselect6_time64" number="6413"/>
+  <syscall name="ppoll_time64" number="6414"/>
+  <syscall name="io_pgetevents_time64" number="6416"/>
+  <syscall name="recvmmsg_time64" number="6417"/>
+  <syscall name="mq_timedsend_time64" number="6418"/>
+  <syscall name="mq_timedreceive_time64" number="6419"/>
+  <syscall name="semtimedop_time64" number="6420"/>
+  <syscall name="rt_sigtimedwait_time64" number="6421"/>
+  <syscall name="futex_time64" number="6422"/>
+  <syscall name="sched_rr_get_interval_time64" number="6423"/>
+  <syscall name="pidfd_send_signal" number="6424"/>
+  <syscall name="io_uring_setup" number="6425"/>
+  <syscall name="io_uring_enter" number="6426"/>
+  <syscall name="io_uring_register" number="6427"/>
+  <syscall name="open_tree" number="6428"/>
+  <syscall name="move_mount" number="6429"/>
+  <syscall name="fsopen" number="6430"/>
+  <syscall name="fsconfig" number="6431"/>
+  <syscall name="fsmount" number="6432"/>
+  <syscall name="fspick" number="6433"/>
+  <syscall name="pidfd_open" number="6434"/>
+  <syscall name="clone3" number="6435"/>
+  <syscall name="close_range" number="6436"/>
+  <syscall name="openat2" number="6437"/>
+  <syscall name="pidfd_getfd" number="6438"/>
+  <syscall name="faccessat2" number="6439"/>
+  <syscall name="process_madvise" number="6440"/>
+  <syscall name="epoll_pwait2" number="6441"/>
+  <syscall name="mount_setattr" number="6442"/>
+  <syscall name="quotactl_fd" number="6443"/>
+  <syscall name="landlock_create_ruleset" number="6444"/>
+  <syscall name="landlock_add_rule" number="6445"/>
+  <syscall name="landlock_restrict_self" number="6446"/>
+  <syscall name="process_mrelease" number="6448"/>
+  <syscall name="futex_waitv" number="6449"/>
+  <syscall name="set_mempolicy_home_node" number="6450"/>
 </syscalls_info>
index c750753711816605e586badba44a9bae38b200b5..d1c29840641bfdd29a3d2894506ac4e0e97b1cc2 100644 (file)
@@ -6,8 +6,8 @@
      are permitted in any medium without royalty provided the copyright
      notice and this notice are preserved.  -->
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/mips/include/asm/unistd.h
+
+     arch/mips/kernel/syscalls/syscall_n64.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
   <syscall name="fanotify_init" number="5295" groups="descriptor"/>
   <syscall name="fanotify_mark" number="5296" groups="descriptor,file"/>
   <syscall name="prlimit64" number="5297"/>
+  <syscall name="name_to_handle_at" number="5298" groups="descriptor,file"/>
+  <syscall name="open_by_handle_at" number="5299" groups="descriptor"/>
+  <syscall name="clock_adjtime" number="5300"/>
+  <syscall name="syncfs" number="5301" groups="descriptor"/>
+  <syscall name="sendmmsg" number="5302" groups="network"/>
+  <syscall name="setns" number="5303" groups="descriptor"/>
+  <syscall name="process_vm_readv" number="5304"/>
+  <syscall name="process_vm_writev" number="5305"/>
+  <syscall name="kcmp" number="5306"/>
+  <syscall name="finit_module" number="5307" groups="descriptor"/>
+  <syscall name="getdents64" number="5308" groups="descriptor"/>
+  <syscall name="sched_setattr" number="5309"/>
+  <syscall name="sched_getattr" number="5310"/>
+  <syscall name="renameat2" number="5311"/>
+  <syscall name="seccomp" number="5312"/>
+  <syscall name="getrandom" number="5313"/>
+  <syscall name="memfd_create" number="5314"/>
+  <syscall name="bpf" number="5315"/>
+  <syscall name="execveat" number="5316"/>
+  <syscall name="userfaultfd" number="5317"/>
+  <syscall name="membarrier" number="5318"/>
+  <syscall name="mlock2" number="5319"/>
+  <syscall name="copy_file_range" number="5320"/>
+  <syscall name="preadv2" number="5321"/>
+  <syscall name="pwritev2" number="5322"/>
+  <syscall name="pkey_mprotect" number="5323"/>
+  <syscall name="pkey_alloc" number="5324"/>
+  <syscall name="pkey_free" number="5325"/>
+  <syscall name="statx" number="5326"/>
+  <syscall name="rseq" number="5327"/>
+  <syscall name="io_pgetevents" number="5328"/>
+  <syscall name="pidfd_send_signal" number="5424"/>
+  <syscall name="io_uring_setup" number="5425"/>
+  <syscall name="io_uring_enter" number="5426"/>
+  <syscall name="io_uring_register" number="5427"/>
+  <syscall name="open_tree" number="5428"/>
+  <syscall name="move_mount" number="5429"/>
+  <syscall name="fsopen" number="5430"/>
+  <syscall name="fsconfig" number="5431"/>
+  <syscall name="fsmount" number="5432"/>
+  <syscall name="fspick" number="5433"/>
+  <syscall name="pidfd_open" number="5434"/>
+  <syscall name="clone3" number="5435"/>
+  <syscall name="close_range" number="5436"/>
+  <syscall name="openat2" number="5437"/>
+  <syscall name="pidfd_getfd" number="5438"/>
+  <syscall name="faccessat2" number="5439"/>
+  <syscall name="process_madvise" number="5440"/>
+  <syscall name="epoll_pwait2" number="5441"/>
+  <syscall name="mount_setattr" number="5442"/>
+  <syscall name="quotactl_fd" number="5443"/>
+  <syscall name="landlock_create_ruleset" number="5444"/>
+  <syscall name="landlock_add_rule" number="5445"/>
+  <syscall name="landlock_restrict_self" number="5446"/>
+  <syscall name="process_mrelease" number="5448"/>
+  <syscall name="futex_waitv" number="5449"/>
 </syscalls_info>
index 28ac1509d6fab3bd34c6c5667319de97ca61107f..26e470e7ff0f44a9b1ae82d44df3e4ccb52fa300 100644 (file)
@@ -8,11 +8,12 @@
 <!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
 
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/mips/include/asm/unistd.h
+
+     arch/mips/kernel/syscalls/syscall_n64.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
+
 <syscalls_info>
   <syscall name="read" number="5000"/>
   <syscall name="write" number="5001"/>
   <syscall name="fanotify_init" number="5295"/>
   <syscall name="fanotify_mark" number="5296"/>
   <syscall name="prlimit64" number="5297"/>
+  <syscall name="name_to_handle_at" number="5298"/>
+  <syscall name="open_by_handle_at" number="5299"/>
+  <syscall name="clock_adjtime" number="5300"/>
+  <syscall name="syncfs" number="5301"/>
+  <syscall name="sendmmsg" number="5302"/>
+  <syscall name="setns" number="5303"/>
+  <syscall name="process_vm_readv" number="5304"/>
+  <syscall name="process_vm_writev" number="5305"/>
+  <syscall name="kcmp" number="5306"/>
+  <syscall name="finit_module" number="5307"/>
+  <syscall name="getdents64" number="5308"/>
+  <syscall name="sched_setattr" number="5309"/>
+  <syscall name="sched_getattr" number="5310"/>
+  <syscall name="renameat2" number="5311"/>
+  <syscall name="seccomp" number="5312"/>
+  <syscall name="getrandom" number="5313"/>
+  <syscall name="memfd_create" number="5314"/>
+  <syscall name="bpf" number="5315"/>
+  <syscall name="execveat" number="5316"/>
+  <syscall name="userfaultfd" number="5317"/>
+  <syscall name="membarrier" number="5318"/>
+  <syscall name="mlock2" number="5319"/>
+  <syscall name="copy_file_range" number="5320"/>
+  <syscall name="preadv2" number="5321"/>
+  <syscall name="pwritev2" number="5322"/>
+  <syscall name="pkey_mprotect" number="5323"/>
+  <syscall name="pkey_alloc" number="5324"/>
+  <syscall name="pkey_free" number="5325"/>
+  <syscall name="statx" number="5326"/>
+  <syscall name="rseq" number="5327"/>
+  <syscall name="io_pgetevents" number="5328"/>
+  <syscall name="pidfd_send_signal" number="5424"/>
+  <syscall name="io_uring_setup" number="5425"/>
+  <syscall name="io_uring_enter" number="5426"/>
+  <syscall name="io_uring_register" number="5427"/>
+  <syscall name="open_tree" number="5428"/>
+  <syscall name="move_mount" number="5429"/>
+  <syscall name="fsopen" number="5430"/>
+  <syscall name="fsconfig" number="5431"/>
+  <syscall name="fsmount" number="5432"/>
+  <syscall name="fspick" number="5433"/>
+  <syscall name="pidfd_open" number="5434"/>
+  <syscall name="clone3" number="5435"/>
+  <syscall name="close_range" number="5436"/>
+  <syscall name="openat2" number="5437"/>
+  <syscall name="pidfd_getfd" number="5438"/>
+  <syscall name="faccessat2" number="5439"/>
+  <syscall name="process_madvise" number="5440"/>
+  <syscall name="epoll_pwait2" number="5441"/>
+  <syscall name="mount_setattr" number="5442"/>
+  <syscall name="quotactl_fd" number="5443"/>
+  <syscall name="landlock_create_ruleset" number="5444"/>
+  <syscall name="landlock_add_rule" number="5445"/>
+  <syscall name="landlock_restrict_self" number="5446"/>
+  <syscall name="process_mrelease" number="5448"/>
+  <syscall name="futex_waitv" number="5449"/>
 </syscalls_info>
index 1e845d6a4d1c709e019bc7a93599e76cffc7f804..b7e7af3f362b0583a9755e4a541b5cf5ac92da60 100644 (file)
@@ -6,8 +6,8 @@
      are permitted in any medium without royalty provided the copyright
      notice and this notice are preserved.  -->
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/mips/include/asm/unistd.h
+
+     arch/mips/kernel/syscalls/syscall_o32.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
   <syscall name="fanotify_init" number="4336" groups="descriptor"/>
   <syscall name="fanotify_mark" number="4337" groups="descriptor,file"/>
   <syscall name="prlimit64" number="4338"/>
+  <syscall name="name_to_handle_at" number="4339" groups="descriptor,file"/>
+  <syscall name="open_by_handle_at" number="4340" groups="descriptor"/>
+  <syscall name="clock_adjtime" number="4341"/>
+  <syscall name="syncfs" number="4342" groups="descriptor"/>
+  <syscall name="sendmmsg" number="4343" groups="network"/>
+  <syscall name="setns" number="4344" groups="descriptor"/>
+  <syscall name="process_vm_readv" number="4345"/>
+  <syscall name="process_vm_writev" number="4346"/>
+  <syscall name="kcmp" number="4347"/>
+  <syscall name="finit_module" number="4348" groups="descriptor"/>
+  <syscall name="sched_setattr" number="4349"/>
+  <syscall name="sched_getattr" number="4350"/>
+  <syscall name="renameat2" number="4351"/>
+  <syscall name="seccomp" number="4352"/>
+  <syscall name="getrandom" number="4353"/>
+  <syscall name="memfd_create" number="4354"/>
+  <syscall name="bpf" number="4355"/>
+  <syscall name="execveat" number="4356"/>
+  <syscall name="userfaultfd" number="4357"/>
+  <syscall name="membarrier" number="4358"/>
+  <syscall name="mlock2" number="4359"/>
+  <syscall name="copy_file_range" number="4360"/>
+  <syscall name="preadv2" number="4361"/>
+  <syscall name="pwritev2" number="4362"/>
+  <syscall name="pkey_mprotect" number="4363"/>
+  <syscall name="pkey_alloc" number="4364"/>
+  <syscall name="pkey_free" number="4365"/>
+  <syscall name="statx" number="4366"/>
+  <syscall name="rseq" number="4367"/>
+  <syscall name="io_pgetevents" number="4368"/>
+  <syscall name="semget" number="4393" groups="ipc"/>
+  <syscall name="semctl" number="4394" groups="ipc"/>
+  <syscall name="shmget" number="4395" groups="ipc"/>
+  <syscall name="shmctl" number="4396" groups="ipc"/>
+  <syscall name="shmat" number="4397" groups="ipc,memory"/>
+  <syscall name="shmdt" number="4398" groups="ipc,memory"/>
+  <syscall name="msgget" number="4399" groups="ipc"/>
+  <syscall name="msgsnd" number="4400" groups="ipc"/>
+  <syscall name="msgrcv" number="4401" groups="ipc"/>
+  <syscall name="msgctl" number="4402" groups="ipc"/>
+  <syscall name="clock_gettime64" number="4403"/>
+  <syscall name="clock_settime64" number="4404"/>
+  <syscall name="clock_adjtime64" number="4405"/>
+  <syscall name="clock_getres_time64" number="4406"/>
+  <syscall name="clock_nanosleep_time64" number="4407"/>
+  <syscall name="timer_gettime64" number="4408"/>
+  <syscall name="timer_settime64" number="4409"/>
+  <syscall name="timerfd_gettime64" number="4410"/>
+  <syscall name="timerfd_settime64" number="4411"/>
+  <syscall name="utimensat_time64" number="4412"/>
+  <syscall name="pselect6_time64" number="4413"/>
+  <syscall name="ppoll_time64" number="4414"/>
+  <syscall name="io_pgetevents_time64" number="4416"/>
+  <syscall name="recvmmsg_time64" number="4417"/>
+  <syscall name="mq_timedsend_time64" number="4418"/>
+  <syscall name="mq_timedreceive_time64" number="4419"/>
+  <syscall name="semtimedop_time64" number="4420"/>
+  <syscall name="rt_sigtimedwait_time64" number="4421"/>
+  <syscall name="futex_time64" number="4422"/>
+  <syscall name="sched_rr_get_interval_time64" number="4423"/>
+  <syscall name="pidfd_send_signal" number="4424"/>
+  <syscall name="io_uring_setup" number="4425"/>
+  <syscall name="io_uring_enter" number="4426"/>
+  <syscall name="io_uring_register" number="4427"/>
+  <syscall name="open_tree" number="4428"/>
+  <syscall name="move_mount" number="4429"/>
+  <syscall name="fsopen" number="4430"/>
+  <syscall name="fsconfig" number="4431"/>
+  <syscall name="fsmount" number="4432"/>
+  <syscall name="fspick" number="4433"/>
+  <syscall name="pidfd_open" number="4434"/>
+  <syscall name="clone3" number="4435"/>
+  <syscall name="close_range" number="4436"/>
+  <syscall name="openat2" number="4437"/>
+  <syscall name="pidfd_getfd" number="4438"/>
+  <syscall name="faccessat2" number="4439"/>
+  <syscall name="process_madvise" number="4440"/>
+  <syscall name="epoll_pwait2" number="4441"/>
+  <syscall name="mount_setattr" number="4442"/>
+  <syscall name="quotactl_fd" number="4443"/>
+  <syscall name="landlock_create_ruleset" number="4444"/>
+  <syscall name="landlock_add_rule" number="4445"/>
+  <syscall name="landlock_restrict_self" number="4446"/>
+  <syscall name="process_mrelease" number="4448"/>
+  <syscall name="futex_waitv" number="4449"/>
+  <syscall name="set_mempolicy_home_node" number="4450"/>
 </syscalls_info>
index 98ba0638b8ab124780c14eb12f5c14a162bf87dc..c9368e9c5ae070760fdf3976a36a1e6407a23bc5 100644 (file)
@@ -8,11 +8,12 @@
 <!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
 
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/mips/include/asm/unistd.h
+
+     arch/mips/kernel/syscalls/syscall_o32.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
+
 <syscalls_info>
   <syscall name="syscall" number="4000"/>
   <syscall name="exit" number="4001"/>
   <syscall name="fanotify_init" number="4336"/>
   <syscall name="fanotify_mark" number="4337"/>
   <syscall name="prlimit64" number="4338"/>
+  <syscall name="name_to_handle_at" number="4339"/>
+  <syscall name="open_by_handle_at" number="4340"/>
+  <syscall name="clock_adjtime" number="4341"/>
+  <syscall name="syncfs" number="4342"/>
+  <syscall name="sendmmsg" number="4343"/>
+  <syscall name="setns" number="4344"/>
+  <syscall name="process_vm_readv" number="4345"/>
+  <syscall name="process_vm_writev" number="4346"/>
+  <syscall name="kcmp" number="4347"/>
+  <syscall name="finit_module" number="4348"/>
+  <syscall name="sched_setattr" number="4349"/>
+  <syscall name="sched_getattr" number="4350"/>
+  <syscall name="renameat2" number="4351"/>
+  <syscall name="seccomp" number="4352"/>
+  <syscall name="getrandom" number="4353"/>
+  <syscall name="memfd_create" number="4354"/>
+  <syscall name="bpf" number="4355"/>
+  <syscall name="execveat" number="4356"/>
+  <syscall name="userfaultfd" number="4357"/>
+  <syscall name="membarrier" number="4358"/>
+  <syscall name="mlock2" number="4359"/>
+  <syscall name="copy_file_range" number="4360"/>
+  <syscall name="preadv2" number="4361"/>
+  <syscall name="pwritev2" number="4362"/>
+  <syscall name="pkey_mprotect" number="4363"/>
+  <syscall name="pkey_alloc" number="4364"/>
+  <syscall name="pkey_free" number="4365"/>
+  <syscall name="statx" number="4366"/>
+  <syscall name="rseq" number="4367"/>
+  <syscall name="io_pgetevents" number="4368"/>
+  <syscall name="semget" number="4393"/>
+  <syscall name="semctl" number="4394"/>
+  <syscall name="shmget" number="4395"/>
+  <syscall name="shmctl" number="4396"/>
+  <syscall name="shmat" number="4397"/>
+  <syscall name="shmdt" number="4398"/>
+  <syscall name="msgget" number="4399"/>
+  <syscall name="msgsnd" number="4400"/>
+  <syscall name="msgrcv" number="4401"/>
+  <syscall name="msgctl" number="4402"/>
+  <syscall name="clock_gettime64" number="4403"/>
+  <syscall name="clock_settime64" number="4404"/>
+  <syscall name="clock_adjtime64" number="4405"/>
+  <syscall name="clock_getres_time64" number="4406"/>
+  <syscall name="clock_nanosleep_time64" number="4407"/>
+  <syscall name="timer_gettime64" number="4408"/>
+  <syscall name="timer_settime64" number="4409"/>
+  <syscall name="timerfd_gettime64" number="4410"/>
+  <syscall name="timerfd_settime64" number="4411"/>
+  <syscall name="utimensat_time64" number="4412"/>
+  <syscall name="pselect6_time64" number="4413"/>
+  <syscall name="ppoll_time64" number="4414"/>
+  <syscall name="io_pgetevents_time64" number="4416"/>
+  <syscall name="recvmmsg_time64" number="4417"/>
+  <syscall name="mq_timedsend_time64" number="4418"/>
+  <syscall name="mq_timedreceive_time64" number="4419"/>
+  <syscall name="semtimedop_time64" number="4420"/>
+  <syscall name="rt_sigtimedwait_time64" number="4421"/>
+  <syscall name="futex_time64" number="4422"/>
+  <syscall name="sched_rr_get_interval_time64" number="4423"/>
+  <syscall name="pidfd_send_signal" number="4424"/>
+  <syscall name="io_uring_setup" number="4425"/>
+  <syscall name="io_uring_enter" number="4426"/>
+  <syscall name="io_uring_register" number="4427"/>
+  <syscall name="open_tree" number="4428"/>
+  <syscall name="move_mount" number="4429"/>
+  <syscall name="fsopen" number="4430"/>
+  <syscall name="fsconfig" number="4431"/>
+  <syscall name="fsmount" number="4432"/>
+  <syscall name="fspick" number="4433"/>
+  <syscall name="pidfd_open" number="4434"/>
+  <syscall name="clone3" number="4435"/>
+  <syscall name="close_range" number="4436"/>
+  <syscall name="openat2" number="4437"/>
+  <syscall name="pidfd_getfd" number="4438"/>
+  <syscall name="faccessat2" number="4439"/>
+  <syscall name="process_madvise" number="4440"/>
+  <syscall name="epoll_pwait2" number="4441"/>
+  <syscall name="mount_setattr" number="4442"/>
+  <syscall name="quotactl_fd" number="4443"/>
+  <syscall name="landlock_create_ruleset" number="4444"/>
+  <syscall name="landlock_add_rule" number="4445"/>
+  <syscall name="landlock_restrict_self" number="4446"/>
+  <syscall name="process_mrelease" number="4448"/>
+  <syscall name="futex_waitv" number="4449"/>
+  <syscall name="set_mempolicy_home_node" number="4450"/>
 </syscalls_info>
index 34ba8bd4e491d0c83327c19245e32339bc64bff9..967a6cd3ea91152f8ab0f3c015a4dd50e2ca717b 100644 (file)
@@ -7,7 +7,7 @@
      notice and this notice are preserved.  -->
 <!-- This file was generated using the following file:
 
-     <sys/syscall.h>
+     arch/powerpc/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
   <syscall name="landlock_create_ruleset" number="444"/>
   <syscall name="landlock_add_rule" number="445"/>
   <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
index 61c7c585453672b889363983bc06c4e2a5652c42..f22f3570e7b369efc837d43b3a342331f39e14ea 100644 (file)
@@ -9,7 +9,7 @@
 
 <!-- This file was generated using the following file:
 
-     <sys/syscall.h>
+     arch/powerpc/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
   <syscall name="landlock_create_ruleset" number="444"/>
   <syscall name="landlock_add_rule" number="445"/>
   <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
index 838f73bc25e714bb95b7988712e85589e464bd48..8a3e8a2864f7cc71d53ce5041ee2075a320ea6e4 100644 (file)
@@ -7,7 +7,7 @@
      notice and this notice are preserved.  -->
 <!-- This file was generated using the following file:
 
-     <sys/syscall.h>
+     arch/powerpc/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
   <syscall name="landlock_create_ruleset" number="444"/>
   <syscall name="landlock_add_rule" number="445"/>
   <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
index 4ed80e0a41b52aa41bd411afc1a2f556d519a39b..056cd00e4ecf3ec52b6ef9e0163b1997681256df 100644 (file)
@@ -9,7 +9,7 @@
 
 <!-- This file was generated using the following file:
 
-     <sys/syscall.h>
+     arch/powerpc/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
   <syscall name="landlock_create_ruleset" number="444"/>
   <syscall name="landlock_add_rule" number="445"/>
   <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
index 12548d075839e8d38bcaf80758257f2863ca39fe..550dda730b363a25f4a8ff721870b69ad105509c 100644 (file)
@@ -7,7 +7,7 @@
      notice and this notice are preserved.  -->
 <!-- This file was generated using the following file:
 
-     /usr/include/asm/unistd.h
+     arch/s390/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
   <syscall name="pipe2" number="325" groups="descriptor"/>
   <syscall name="dup3" number="326" groups="descriptor"/>
   <syscall name="epoll_create1" number="327" groups="descriptor"/>
+  <syscall name="preadv" number="328" groups="descriptor"/>
+  <syscall name="pwritev" number="329" groups="descriptor"/>
   <syscall name="rt_tgsigqueueinfo" number="330" groups="process,signal"/>
   <syscall name="perf_event_open" number="331" groups="descriptor"/>
   <syscall name="fanotify_init" number="332" groups="descriptor"/>
   <syscall name="recvmsg" number="372" groups="network"/>
   <syscall name="shutdown" number="373" groups="network"/>
   <syscall name="mlock2" number="374"/>
+  <syscall name="copy_file_range" number="375"/>
+  <syscall name="preadv2" number="376"/>
+  <syscall name="pwritev2" number="377"/>
+  <syscall name="s390_guarded_storage" number="378"/>
+  <syscall name="statx" number="379"/>
+  <syscall name="s390_sthyi" number="380"/>
+  <syscall name="kexec_file_load" number="381"/>
+  <syscall name="io_pgetevents" number="382"/>
+  <syscall name="rseq" number="383"/>
+  <syscall name="pkey_mprotect" number="384"/>
+  <syscall name="pkey_alloc" number="385"/>
+  <syscall name="pkey_free" number="386"/>
+  <syscall name="semget" number="393" groups="ipc"/>
+  <syscall name="semctl" number="394" groups="ipc"/>
+  <syscall name="shmget" number="395" groups="ipc"/>
+  <syscall name="shmctl" number="396" groups="ipc"/>
+  <syscall name="shmat" number="397" groups="ipc,memory"/>
+  <syscall name="shmdt" number="398" groups="ipc,memory"/>
+  <syscall name="msgget" number="399" groups="ipc"/>
+  <syscall name="msgsnd" number="400" groups="ipc"/>
+  <syscall name="msgrcv" number="401" groups="ipc"/>
+  <syscall name="msgctl" number="402" groups="ipc"/>
+  <syscall name="clock_gettime64" number="403"/>
+  <syscall name="clock_settime64" number="404"/>
+  <syscall name="clock_adjtime64" number="405"/>
+  <syscall name="clock_getres_time64" number="406"/>
+  <syscall name="clock_nanosleep_time64" number="407"/>
+  <syscall name="timer_gettime64" number="408"/>
+  <syscall name="timer_settime64" number="409"/>
+  <syscall name="timerfd_gettime64" number="410"/>
+  <syscall name="timerfd_settime64" number="411"/>
+  <syscall name="utimensat_time64" number="412"/>
+  <syscall name="pselect6_time64" number="413"/>
+  <syscall name="ppoll_time64" number="414"/>
+  <syscall name="io_pgetevents_time64" number="416"/>
+  <syscall name="recvmmsg_time64" number="417"/>
+  <syscall name="mq_timedsend_time64" number="418"/>
+  <syscall name="mq_timedreceive_time64" number="419"/>
+  <syscall name="semtimedop_time64" number="420"/>
+  <syscall name="rt_sigtimedwait_time64" number="421"/>
+  <syscall name="futex_time64" number="422"/>
+  <syscall name="sched_rr_get_interval_time64" number="423"/>
+  <syscall name="pidfd_send_signal" number="424"/>
+  <syscall name="io_uring_setup" number="425"/>
+  <syscall name="io_uring_enter" number="426"/>
+  <syscall name="io_uring_register" number="427"/>
+  <syscall name="open_tree" number="428"/>
+  <syscall name="move_mount" number="429"/>
+  <syscall name="fsopen" number="430"/>
+  <syscall name="fsconfig" number="431"/>
+  <syscall name="fsmount" number="432"/>
+  <syscall name="fspick" number="433"/>
+  <syscall name="pidfd_open" number="434"/>
+  <syscall name="clone3" number="435"/>
+  <syscall name="close_range" number="436"/>
+  <syscall name="openat2" number="437"/>
+  <syscall name="pidfd_getfd" number="438"/>
+  <syscall name="faccessat2" number="439"/>
+  <syscall name="process_madvise" number="440"/>
+  <syscall name="epoll_pwait2" number="441"/>
+  <syscall name="mount_setattr" number="442"/>
+  <syscall name="quotactl_fd" number="443"/>
+  <syscall name="landlock_create_ruleset" number="444"/>
+  <syscall name="landlock_add_rule" number="445"/>
+  <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
index b0732b71048ea83e8bf8ef6898916e0106d2de52..ea2356461c995e0f05f4459ac897f1961eaa8de6 100644 (file)
@@ -9,10 +9,11 @@
 
 <!-- This file was generated using the following file:
 
-     /usr/include/asm/unistd.h
+     arch/s390/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
+
 <syscalls_info>
   <syscall name="exit" number="1"/>
   <syscall name="fork" number="2"/>
   <syscall name="pipe2" number="325"/>
   <syscall name="dup3" number="326"/>
   <syscall name="epoll_create1" number="327"/>
+  <syscall name="preadv" number="328"/>
+  <syscall name="pwritev" number="329"/>
   <syscall name="rt_tgsigqueueinfo" number="330"/>
   <syscall name="perf_event_open" number="331"/>
   <syscall name="fanotify_init" number="332"/>
   <syscall name="recvmsg" number="372"/>
   <syscall name="shutdown" number="373"/>
   <syscall name="mlock2" number="374"/>
+  <syscall name="copy_file_range" number="375"/>
+  <syscall name="preadv2" number="376"/>
+  <syscall name="pwritev2" number="377"/>
+  <syscall name="s390_guarded_storage" number="378"/>
+  <syscall name="statx" number="379"/>
+  <syscall name="s390_sthyi" number="380"/>
+  <syscall name="kexec_file_load" number="381"/>
+  <syscall name="io_pgetevents" number="382"/>
+  <syscall name="rseq" number="383"/>
+  <syscall name="pkey_mprotect" number="384"/>
+  <syscall name="pkey_alloc" number="385"/>
+  <syscall name="pkey_free" number="386"/>
+  <syscall name="semget" number="393"/>
+  <syscall name="semctl" number="394"/>
+  <syscall name="shmget" number="395"/>
+  <syscall name="shmctl" number="396"/>
+  <syscall name="shmat" number="397"/>
+  <syscall name="shmdt" number="398"/>
+  <syscall name="msgget" number="399"/>
+  <syscall name="msgsnd" number="400"/>
+  <syscall name="msgrcv" number="401"/>
+  <syscall name="msgctl" number="402"/>
+  <syscall name="clock_gettime64" number="403"/>
+  <syscall name="clock_settime64" number="404"/>
+  <syscall name="clock_adjtime64" number="405"/>
+  <syscall name="clock_getres_time64" number="406"/>
+  <syscall name="clock_nanosleep_time64" number="407"/>
+  <syscall name="timer_gettime64" number="408"/>
+  <syscall name="timer_settime64" number="409"/>
+  <syscall name="timerfd_gettime64" number="410"/>
+  <syscall name="timerfd_settime64" number="411"/>
+  <syscall name="utimensat_time64" number="412"/>
+  <syscall name="pselect6_time64" number="413"/>
+  <syscall name="ppoll_time64" number="414"/>
+  <syscall name="io_pgetevents_time64" number="416"/>
+  <syscall name="recvmmsg_time64" number="417"/>
+  <syscall name="mq_timedsend_time64" number="418"/>
+  <syscall name="mq_timedreceive_time64" number="419"/>
+  <syscall name="semtimedop_time64" number="420"/>
+  <syscall name="rt_sigtimedwait_time64" number="421"/>
+  <syscall name="futex_time64" number="422"/>
+  <syscall name="sched_rr_get_interval_time64" number="423"/>
+  <syscall name="pidfd_send_signal" number="424"/>
+  <syscall name="io_uring_setup" number="425"/>
+  <syscall name="io_uring_enter" number="426"/>
+  <syscall name="io_uring_register" number="427"/>
+  <syscall name="open_tree" number="428"/>
+  <syscall name="move_mount" number="429"/>
+  <syscall name="fsopen" number="430"/>
+  <syscall name="fsconfig" number="431"/>
+  <syscall name="fsmount" number="432"/>
+  <syscall name="fspick" number="433"/>
+  <syscall name="pidfd_open" number="434"/>
+  <syscall name="clone3" number="435"/>
+  <syscall name="close_range" number="436"/>
+  <syscall name="openat2" number="437"/>
+  <syscall name="pidfd_getfd" number="438"/>
+  <syscall name="faccessat2" number="439"/>
+  <syscall name="process_madvise" number="440"/>
+  <syscall name="epoll_pwait2" number="441"/>
+  <syscall name="mount_setattr" number="442"/>
+  <syscall name="quotactl_fd" number="443"/>
+  <syscall name="landlock_create_ruleset" number="444"/>
+  <syscall name="landlock_add_rule" number="445"/>
+  <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
index 1738d4c5713061f301bd4730bcb847c8a42df7e8..511129eb8514400a795e85c8147f4a938d9ce867 100644 (file)
@@ -7,7 +7,7 @@
      notice and this notice are preserved.  -->
 <!-- This file was generated using the following file:
 
-     /usr/include/asm/unistd.h
+     arch/s390/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
   <syscall name="pipe2" number="325" groups="descriptor"/>
   <syscall name="dup3" number="326" groups="descriptor"/>
   <syscall name="epoll_create1" number="327" groups="descriptor"/>
+  <syscall name="preadv" number="328" groups="descriptor"/>
+  <syscall name="pwritev" number="329" groups="descriptor"/>
   <syscall name="rt_tgsigqueueinfo" number="330" groups="process,signal"/>
   <syscall name="perf_event_open" number="331" groups="descriptor"/>
   <syscall name="fanotify_init" number="332" groups="descriptor"/>
   <syscall name="recvmsg" number="372" groups="network"/>
   <syscall name="shutdown" number="373" groups="network"/>
   <syscall name="mlock2" number="374"/>
+  <syscall name="copy_file_range" number="375"/>
+  <syscall name="preadv2" number="376"/>
+  <syscall name="pwritev2" number="377"/>
+  <syscall name="s390_guarded_storage" number="378"/>
+  <syscall name="statx" number="379"/>
+  <syscall name="s390_sthyi" number="380"/>
+  <syscall name="kexec_file_load" number="381"/>
+  <syscall name="io_pgetevents" number="382"/>
+  <syscall name="rseq" number="383"/>
+  <syscall name="pkey_mprotect" number="384"/>
+  <syscall name="pkey_alloc" number="385"/>
+  <syscall name="pkey_free" number="386"/>
+  <syscall name="semtimedop" number="392" groups="ipc"/>
+  <syscall name="semget" number="393" groups="ipc"/>
+  <syscall name="semctl" number="394" groups="ipc"/>
+  <syscall name="shmget" number="395" groups="ipc"/>
+  <syscall name="shmctl" number="396" groups="ipc"/>
+  <syscall name="shmat" number="397" groups="ipc,memory"/>
+  <syscall name="shmdt" number="398" groups="ipc,memory"/>
+  <syscall name="msgget" number="399" groups="ipc"/>
+  <syscall name="msgsnd" number="400" groups="ipc"/>
+  <syscall name="msgrcv" number="401" groups="ipc"/>
+  <syscall name="msgctl" number="402" groups="ipc"/>
+  <syscall name="pidfd_send_signal" number="424"/>
+  <syscall name="io_uring_setup" number="425"/>
+  <syscall name="io_uring_enter" number="426"/>
+  <syscall name="io_uring_register" number="427"/>
+  <syscall name="open_tree" number="428"/>
+  <syscall name="move_mount" number="429"/>
+  <syscall name="fsopen" number="430"/>
+  <syscall name="fsconfig" number="431"/>
+  <syscall name="fsmount" number="432"/>
+  <syscall name="fspick" number="433"/>
+  <syscall name="pidfd_open" number="434"/>
+  <syscall name="clone3" number="435"/>
+  <syscall name="close_range" number="436"/>
+  <syscall name="openat2" number="437"/>
+  <syscall name="pidfd_getfd" number="438"/>
+  <syscall name="faccessat2" number="439"/>
+  <syscall name="process_madvise" number="440"/>
+  <syscall name="epoll_pwait2" number="441"/>
+  <syscall name="mount_setattr" number="442"/>
+  <syscall name="quotactl_fd" number="443"/>
+  <syscall name="landlock_create_ruleset" number="444"/>
+  <syscall name="landlock_add_rule" number="445"/>
+  <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
index 858263068f9f4c857d2496cccbb801b0cdbbe8d0..4e3fd3ec42b797a3363be172f1ad4aebb740c24a 100644 (file)
@@ -9,10 +9,11 @@
 
 <!-- This file was generated using the following file:
 
-     /usr/include/asm/unistd.h
+     arch/s390/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
+
 <syscalls_info>
   <syscall name="exit" number="1"/>
   <syscall name="fork" number="2"/>
   <syscall name="pipe2" number="325"/>
   <syscall name="dup3" number="326"/>
   <syscall name="epoll_create1" number="327"/>
+  <syscall name="preadv" number="328"/>
+  <syscall name="pwritev" number="329"/>
   <syscall name="rt_tgsigqueueinfo" number="330"/>
   <syscall name="perf_event_open" number="331"/>
   <syscall name="fanotify_init" number="332"/>
   <syscall name="recvmsg" number="372"/>
   <syscall name="shutdown" number="373"/>
   <syscall name="mlock2" number="374"/>
+  <syscall name="copy_file_range" number="375"/>
+  <syscall name="preadv2" number="376"/>
+  <syscall name="pwritev2" number="377"/>
+  <syscall name="s390_guarded_storage" number="378"/>
+  <syscall name="statx" number="379"/>
+  <syscall name="s390_sthyi" number="380"/>
+  <syscall name="kexec_file_load" number="381"/>
+  <syscall name="io_pgetevents" number="382"/>
+  <syscall name="rseq" number="383"/>
+  <syscall name="pkey_mprotect" number="384"/>
+  <syscall name="pkey_alloc" number="385"/>
+  <syscall name="pkey_free" number="386"/>
+  <syscall name="semtimedop" number="392"/>
+  <syscall name="semget" number="393"/>
+  <syscall name="semctl" number="394"/>
+  <syscall name="shmget" number="395"/>
+  <syscall name="shmctl" number="396"/>
+  <syscall name="shmat" number="397"/>
+  <syscall name="shmdt" number="398"/>
+  <syscall name="msgget" number="399"/>
+  <syscall name="msgsnd" number="400"/>
+  <syscall name="msgrcv" number="401"/>
+  <syscall name="msgctl" number="402"/>
+  <syscall name="pidfd_send_signal" number="424"/>
+  <syscall name="io_uring_setup" number="425"/>
+  <syscall name="io_uring_enter" number="426"/>
+  <syscall name="io_uring_register" number="427"/>
+  <syscall name="open_tree" number="428"/>
+  <syscall name="move_mount" number="429"/>
+  <syscall name="fsopen" number="430"/>
+  <syscall name="fsconfig" number="431"/>
+  <syscall name="fsmount" number="432"/>
+  <syscall name="fspick" number="433"/>
+  <syscall name="pidfd_open" number="434"/>
+  <syscall name="clone3" number="435"/>
+  <syscall name="close_range" number="436"/>
+  <syscall name="openat2" number="437"/>
+  <syscall name="pidfd_getfd" number="438"/>
+  <syscall name="faccessat2" number="439"/>
+  <syscall name="process_madvise" number="440"/>
+  <syscall name="epoll_pwait2" number="441"/>
+  <syscall name="mount_setattr" number="442"/>
+  <syscall name="quotactl_fd" number="443"/>
+  <syscall name="landlock_create_ruleset" number="444"/>
+  <syscall name="landlock_add_rule" number="445"/>
+  <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
index 25ceb37dc4f57c83108c7a99cd0bc80dc939b4ae..5eaf7a0656c52e194cf0cc651c66a29f61372a41 100644 (file)
@@ -6,8 +6,8 @@
      are permitted in any medium without royalty provided the copyright
      notice and this notice are preserved.  -->
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/sparc/include/asm/unistd.h
+
+     arch/sparc/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
   <syscall name="rt_tgsigqueueinfo" number="326" groups="process,signal"/>
   <syscall name="perf_event_open" number="327" groups="descriptor"/>
   <syscall name="recvmmsg" number="328" groups="network"/>
+  <syscall name="fanotify_init" number="329" groups="descriptor"/>
+  <syscall name="fanotify_mark" number="330" groups="descriptor,file"/>
+  <syscall name="prlimit64" number="331"/>
+  <syscall name="name_to_handle_at" number="332" groups="descriptor,file"/>
+  <syscall name="open_by_handle_at" number="333" groups="descriptor"/>
+  <syscall name="clock_adjtime" number="334"/>
+  <syscall name="syncfs" number="335" groups="descriptor"/>
+  <syscall name="sendmmsg" number="336" groups="network"/>
+  <syscall name="setns" number="337" groups="descriptor"/>
+  <syscall name="process_vm_readv" number="338"/>
+  <syscall name="process_vm_writev" number="339"/>
+  <syscall name="kern_features" number="340"/>
+  <syscall name="kcmp" number="341"/>
+  <syscall name="finit_module" number="342" groups="descriptor"/>
+  <syscall name="sched_setattr" number="343"/>
+  <syscall name="sched_getattr" number="344"/>
+  <syscall name="renameat2" number="345"/>
+  <syscall name="seccomp" number="346"/>
+  <syscall name="getrandom" number="347"/>
+  <syscall name="memfd_create" number="348"/>
+  <syscall name="bpf" number="349"/>
+  <syscall name="execveat" number="350"/>
+  <syscall name="membarrier" number="351"/>
+  <syscall name="userfaultfd" number="352"/>
+  <syscall name="bind" number="353" groups="network"/>
+  <syscall name="listen" number="354" groups="network"/>
+  <syscall name="setsockopt" number="355" groups="network"/>
+  <syscall name="mlock2" number="356"/>
+  <syscall name="copy_file_range" number="357"/>
+  <syscall name="preadv2" number="358"/>
+  <syscall name="pwritev2" number="359"/>
+  <syscall name="statx" number="360"/>
+  <syscall name="io_pgetevents" number="361"/>
+  <syscall name="pkey_mprotect" number="362"/>
+  <syscall name="pkey_alloc" number="363"/>
+  <syscall name="pkey_free" number="364"/>
+  <syscall name="rseq" number="365"/>
+  <syscall name="semget" number="393" groups="ipc"/>
+  <syscall name="semctl" number="394" groups="ipc"/>
+  <syscall name="shmget" number="395" groups="ipc"/>
+  <syscall name="shmctl" number="396" groups="ipc"/>
+  <syscall name="shmat" number="397" groups="ipc,memory"/>
+  <syscall name="shmdt" number="398" groups="ipc,memory"/>
+  <syscall name="msgget" number="399" groups="ipc"/>
+  <syscall name="msgsnd" number="400" groups="ipc"/>
+  <syscall name="msgrcv" number="401" groups="ipc"/>
+  <syscall name="msgctl" number="402" groups="ipc"/>
+  <syscall name="clock_gettime64" number="403"/>
+  <syscall name="clock_settime64" number="404"/>
+  <syscall name="clock_adjtime64" number="405"/>
+  <syscall name="clock_getres_time64" number="406"/>
+  <syscall name="clock_nanosleep_time64" number="407"/>
+  <syscall name="timer_gettime64" number="408"/>
+  <syscall name="timer_settime64" number="409"/>
+  <syscall name="timerfd_gettime64" number="410"/>
+  <syscall name="timerfd_settime64" number="411"/>
+  <syscall name="utimensat_time64" number="412"/>
+  <syscall name="pselect6_time64" number="413"/>
+  <syscall name="ppoll_time64" number="414"/>
+  <syscall name="io_pgetevents_time64" number="416"/>
+  <syscall name="recvmmsg_time64" number="417"/>
+  <syscall name="mq_timedsend_time64" number="418"/>
+  <syscall name="mq_timedreceive_time64" number="419"/>
+  <syscall name="semtimedop_time64" number="420"/>
+  <syscall name="rt_sigtimedwait_time64" number="421"/>
+  <syscall name="futex_time64" number="422"/>
+  <syscall name="sched_rr_get_interval_time64" number="423"/>
+  <syscall name="pidfd_send_signal" number="424"/>
+  <syscall name="io_uring_setup" number="425"/>
+  <syscall name="io_uring_enter" number="426"/>
+  <syscall name="io_uring_register" number="427"/>
+  <syscall name="open_tree" number="428"/>
+  <syscall name="move_mount" number="429"/>
+  <syscall name="fsopen" number="430"/>
+  <syscall name="fsconfig" number="431"/>
+  <syscall name="fsmount" number="432"/>
+  <syscall name="fspick" number="433"/>
+  <syscall name="pidfd_open" number="434"/>
+  <syscall name="close_range" number="436"/>
+  <syscall name="openat2" number="437"/>
+  <syscall name="pidfd_getfd" number="438"/>
+  <syscall name="faccessat2" number="439"/>
+  <syscall name="process_madvise" number="440"/>
+  <syscall name="epoll_pwait2" number="441"/>
+  <syscall name="mount_setattr" number="442"/>
+  <syscall name="quotactl_fd" number="443"/>
+  <syscall name="landlock_create_ruleset" number="444"/>
+  <syscall name="landlock_add_rule" number="445"/>
+  <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
index 81afb6daa153dd6dfcf05ad21faef33efc21e419..3d7053cf2a1548e77abcfc4368c1c8506ea621ac 100644 (file)
@@ -8,11 +8,12 @@
 <!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
 
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/sparc/include/asm/unistd.h
+
+     arch/sparc/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
+
 <syscalls_info>
   <syscall name="restart_syscall" number="0"/>
   <syscall name="exit" number="1"/>
@@ -27,7 +28,7 @@
   <syscall name="unlink" number="10"/>
   <syscall name="execv" number="11"/>
   <syscall name="chdir" number="12"/>
-  <syscall name="chown"        number="13"/>
+  <syscall name="chown" number="13"/>
   <syscall name="mknod" number="14"/>
   <syscall name="chmod" number="15"/>
   <syscall name="lchown" number="16"/>
   <syscall name="rt_tgsigqueueinfo" number="326"/>
   <syscall name="perf_event_open" number="327"/>
   <syscall name="recvmmsg" number="328"/>
+  <syscall name="fanotify_init" number="329"/>
+  <syscall name="fanotify_mark" number="330"/>
+  <syscall name="prlimit64" number="331"/>
+  <syscall name="name_to_handle_at" number="332"/>
+  <syscall name="open_by_handle_at" number="333"/>
+  <syscall name="clock_adjtime" number="334"/>
+  <syscall name="syncfs" number="335"/>
+  <syscall name="sendmmsg" number="336"/>
+  <syscall name="setns" number="337"/>
+  <syscall name="process_vm_readv" number="338"/>
+  <syscall name="process_vm_writev" number="339"/>
+  <syscall name="kern_features" number="340"/>
+  <syscall name="kcmp" number="341"/>
+  <syscall name="finit_module" number="342"/>
+  <syscall name="sched_setattr" number="343"/>
+  <syscall name="sched_getattr" number="344"/>
+  <syscall name="renameat2" number="345"/>
+  <syscall name="seccomp" number="346"/>
+  <syscall name="getrandom" number="347"/>
+  <syscall name="memfd_create" number="348"/>
+  <syscall name="bpf" number="349"/>
+  <syscall name="execveat" number="350"/>
+  <syscall name="membarrier" number="351"/>
+  <syscall name="userfaultfd" number="352"/>
+  <syscall name="bind" number="353"/>
+  <syscall name="listen" number="354"/>
+  <syscall name="setsockopt" number="355"/>
+  <syscall name="mlock2" number="356"/>
+  <syscall name="copy_file_range" number="357"/>
+  <syscall name="preadv2" number="358"/>
+  <syscall name="pwritev2" number="359"/>
+  <syscall name="statx" number="360"/>
+  <syscall name="io_pgetevents" number="361"/>
+  <syscall name="pkey_mprotect" number="362"/>
+  <syscall name="pkey_alloc" number="363"/>
+  <syscall name="pkey_free" number="364"/>
+  <syscall name="rseq" number="365"/>
+  <syscall name="semget" number="393"/>
+  <syscall name="semctl" number="394"/>
+  <syscall name="shmget" number="395"/>
+  <syscall name="shmctl" number="396"/>
+  <syscall name="shmat" number="397"/>
+  <syscall name="shmdt" number="398"/>
+  <syscall name="msgget" number="399"/>
+  <syscall name="msgsnd" number="400"/>
+  <syscall name="msgrcv" number="401"/>
+  <syscall name="msgctl" number="402"/>
+  <syscall name="clock_gettime64" number="403"/>
+  <syscall name="clock_settime64" number="404"/>
+  <syscall name="clock_adjtime64" number="405"/>
+  <syscall name="clock_getres_time64" number="406"/>
+  <syscall name="clock_nanosleep_time64" number="407"/>
+  <syscall name="timer_gettime64" number="408"/>
+  <syscall name="timer_settime64" number="409"/>
+  <syscall name="timerfd_gettime64" number="410"/>
+  <syscall name="timerfd_settime64" number="411"/>
+  <syscall name="utimensat_time64" number="412"/>
+  <syscall name="pselect6_time64" number="413"/>
+  <syscall name="ppoll_time64" number="414"/>
+  <syscall name="io_pgetevents_time64" number="416"/>
+  <syscall name="recvmmsg_time64" number="417"/>
+  <syscall name="mq_timedsend_time64" number="418"/>
+  <syscall name="mq_timedreceive_time64" number="419"/>
+  <syscall name="semtimedop_time64" number="420"/>
+  <syscall name="rt_sigtimedwait_time64" number="421"/>
+  <syscall name="futex_time64" number="422"/>
+  <syscall name="sched_rr_get_interval_time64" number="423"/>
+  <syscall name="pidfd_send_signal" number="424"/>
+  <syscall name="io_uring_setup" number="425"/>
+  <syscall name="io_uring_enter" number="426"/>
+  <syscall name="io_uring_register" number="427"/>
+  <syscall name="open_tree" number="428"/>
+  <syscall name="move_mount" number="429"/>
+  <syscall name="fsopen" number="430"/>
+  <syscall name="fsconfig" number="431"/>
+  <syscall name="fsmount" number="432"/>
+  <syscall name="fspick" number="433"/>
+  <syscall name="pidfd_open" number="434"/>
+  <syscall name="close_range" number="436"/>
+  <syscall name="openat2" number="437"/>
+  <syscall name="pidfd_getfd" number="438"/>
+  <syscall name="faccessat2" number="439"/>
+  <syscall name="process_madvise" number="440"/>
+  <syscall name="epoll_pwait2" number="441"/>
+  <syscall name="mount_setattr" number="442"/>
+  <syscall name="quotactl_fd" number="443"/>
+  <syscall name="landlock_create_ruleset" number="444"/>
+  <syscall name="landlock_add_rule" number="445"/>
+  <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
index c2e9fadc1abd0d07da624f2ca59f6c196c11768b..66a9bbf72b4c744c5e071d198d93ded53b6109c2 100644 (file)
@@ -6,8 +6,8 @@
      are permitted in any medium without royalty provided the copyright
      notice and this notice are preserved.  -->
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/sparc/include/asm/unistd.h
+
+     arch/sparc/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 <syscalls_info>
   <syscall name="rt_tgsigqueueinfo" number="326" groups="process,signal"/>
   <syscall name="perf_event_open" number="327" groups="descriptor"/>
   <syscall name="recvmmsg" number="328" groups="network"/>
+  <syscall name="fanotify_init" number="329" groups="descriptor"/>
+  <syscall name="fanotify_mark" number="330" groups="descriptor,file"/>
+  <syscall name="prlimit64" number="331"/>
+  <syscall name="name_to_handle_at" number="332" groups="descriptor,file"/>
+  <syscall name="open_by_handle_at" number="333" groups="descriptor"/>
+  <syscall name="clock_adjtime" number="334"/>
+  <syscall name="syncfs" number="335" groups="descriptor"/>
+  <syscall name="sendmmsg" number="336" groups="network"/>
+  <syscall name="setns" number="337" groups="descriptor"/>
+  <syscall name="process_vm_readv" number="338"/>
+  <syscall name="process_vm_writev" number="339"/>
+  <syscall name="kern_features" number="340"/>
+  <syscall name="kcmp" number="341"/>
+  <syscall name="finit_module" number="342" groups="descriptor"/>
+  <syscall name="sched_setattr" number="343"/>
+  <syscall name="sched_getattr" number="344"/>
+  <syscall name="renameat2" number="345"/>
+  <syscall name="seccomp" number="346"/>
+  <syscall name="getrandom" number="347"/>
+  <syscall name="memfd_create" number="348"/>
+  <syscall name="bpf" number="349"/>
+  <syscall name="execveat" number="350"/>
+  <syscall name="membarrier" number="351"/>
+  <syscall name="userfaultfd" number="352"/>
+  <syscall name="bind" number="353" groups="network"/>
+  <syscall name="listen" number="354" groups="network"/>
+  <syscall name="setsockopt" number="355" groups="network"/>
+  <syscall name="mlock2" number="356"/>
+  <syscall name="copy_file_range" number="357"/>
+  <syscall name="preadv2" number="358"/>
+  <syscall name="pwritev2" number="359"/>
+  <syscall name="statx" number="360"/>
+  <syscall name="io_pgetevents" number="361"/>
+  <syscall name="pkey_mprotect" number="362"/>
+  <syscall name="pkey_alloc" number="363"/>
+  <syscall name="pkey_free" number="364"/>
+  <syscall name="rseq" number="365"/>
+  <syscall name="semtimedop" number="392" groups="ipc"/>
+  <syscall name="semget" number="393" groups="ipc"/>
+  <syscall name="semctl" number="394" groups="ipc"/>
+  <syscall name="shmget" number="395" groups="ipc"/>
+  <syscall name="shmctl" number="396" groups="ipc"/>
+  <syscall name="shmat" number="397" groups="ipc,memory"/>
+  <syscall name="shmdt" number="398" groups="ipc,memory"/>
+  <syscall name="msgget" number="399" groups="ipc"/>
+  <syscall name="msgsnd" number="400" groups="ipc"/>
+  <syscall name="msgrcv" number="401" groups="ipc"/>
+  <syscall name="msgctl" number="402" groups="ipc"/>
+  <syscall name="pidfd_send_signal" number="424"/>
+  <syscall name="io_uring_setup" number="425"/>
+  <syscall name="io_uring_enter" number="426"/>
+  <syscall name="io_uring_register" number="427"/>
+  <syscall name="open_tree" number="428"/>
+  <syscall name="move_mount" number="429"/>
+  <syscall name="fsopen" number="430"/>
+  <syscall name="fsconfig" number="431"/>
+  <syscall name="fsmount" number="432"/>
+  <syscall name="fspick" number="433"/>
+  <syscall name="pidfd_open" number="434"/>
+  <syscall name="close_range" number="436"/>
+  <syscall name="openat2" number="437"/>
+  <syscall name="pidfd_getfd" number="438"/>
+  <syscall name="faccessat2" number="439"/>
+  <syscall name="process_madvise" number="440"/>
+  <syscall name="epoll_pwait2" number="441"/>
+  <syscall name="mount_setattr" number="442"/>
+  <syscall name="quotactl_fd" number="443"/>
+  <syscall name="landlock_create_ruleset" number="444"/>
+  <syscall name="landlock_add_rule" number="445"/>
+  <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
index 15bb84ab7e1c5258341909a152f15db729c5c260..8b3f08df3f2b2de7d9a4c6e3c666e4cc37ee0994 100644 (file)
@@ -8,11 +8,12 @@
 <!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
 
 <!-- This file was generated using the following file:
-     
-     /usr/src/linux/arch/sparc/include/asm/unistd.h
+
+     arch/sparc/kernel/syscalls/syscall.tbl
 
      The file mentioned above belongs to the Linux Kernel.  -->
 
+
 <syscalls_info>
   <syscall name="restart_syscall" number="0"/>
   <syscall name="exit" number="1"/>
@@ -27,7 +28,7 @@
   <syscall name="unlink" number="10"/>
   <syscall name="execv" number="11"/>
   <syscall name="chdir" number="12"/>
-  <syscall name="chown"        number="13"/>
+  <syscall name="chown" number="13"/>
   <syscall name="mknod" number="14"/>
   <syscall name="chmod" number="15"/>
   <syscall name="lchown" number="16"/>
   <syscall name="rt_tgsigqueueinfo" number="326"/>
   <syscall name="perf_event_open" number="327"/>
   <syscall name="recvmmsg" number="328"/>
+  <syscall name="fanotify_init" number="329"/>
+  <syscall name="fanotify_mark" number="330"/>
+  <syscall name="prlimit64" number="331"/>
+  <syscall name="name_to_handle_at" number="332"/>
+  <syscall name="open_by_handle_at" number="333"/>
+  <syscall name="clock_adjtime" number="334"/>
+  <syscall name="syncfs" number="335"/>
+  <syscall name="sendmmsg" number="336"/>
+  <syscall name="setns" number="337"/>
+  <syscall name="process_vm_readv" number="338"/>
+  <syscall name="process_vm_writev" number="339"/>
+  <syscall name="kern_features" number="340"/>
+  <syscall name="kcmp" number="341"/>
+  <syscall name="finit_module" number="342"/>
+  <syscall name="sched_setattr" number="343"/>
+  <syscall name="sched_getattr" number="344"/>
+  <syscall name="renameat2" number="345"/>
+  <syscall name="seccomp" number="346"/>
+  <syscall name="getrandom" number="347"/>
+  <syscall name="memfd_create" number="348"/>
+  <syscall name="bpf" number="349"/>
+  <syscall name="execveat" number="350"/>
+  <syscall name="membarrier" number="351"/>
+  <syscall name="userfaultfd" number="352"/>
+  <syscall name="bind" number="353"/>
+  <syscall name="listen" number="354"/>
+  <syscall name="setsockopt" number="355"/>
+  <syscall name="mlock2" number="356"/>
+  <syscall name="copy_file_range" number="357"/>
+  <syscall name="preadv2" number="358"/>
+  <syscall name="pwritev2" number="359"/>
+  <syscall name="statx" number="360"/>
+  <syscall name="io_pgetevents" number="361"/>
+  <syscall name="pkey_mprotect" number="362"/>
+  <syscall name="pkey_alloc" number="363"/>
+  <syscall name="pkey_free" number="364"/>
+  <syscall name="rseq" number="365"/>
+  <syscall name="semtimedop" number="392"/>
+  <syscall name="semget" number="393"/>
+  <syscall name="semctl" number="394"/>
+  <syscall name="shmget" number="395"/>
+  <syscall name="shmctl" number="396"/>
+  <syscall name="shmat" number="397"/>
+  <syscall name="shmdt" number="398"/>
+  <syscall name="msgget" number="399"/>
+  <syscall name="msgsnd" number="400"/>
+  <syscall name="msgrcv" number="401"/>
+  <syscall name="msgctl" number="402"/>
+  <syscall name="pidfd_send_signal" number="424"/>
+  <syscall name="io_uring_setup" number="425"/>
+  <syscall name="io_uring_enter" number="426"/>
+  <syscall name="io_uring_register" number="427"/>
+  <syscall name="open_tree" number="428"/>
+  <syscall name="move_mount" number="429"/>
+  <syscall name="fsopen" number="430"/>
+  <syscall name="fsconfig" number="431"/>
+  <syscall name="fsmount" number="432"/>
+  <syscall name="fspick" number="433"/>
+  <syscall name="pidfd_open" number="434"/>
+  <syscall name="close_range" number="436"/>
+  <syscall name="openat2" number="437"/>
+  <syscall name="pidfd_getfd" number="438"/>
+  <syscall name="faccessat2" number="439"/>
+  <syscall name="process_madvise" number="440"/>
+  <syscall name="epoll_pwait2" number="441"/>
+  <syscall name="mount_setattr" number="442"/>
+  <syscall name="quotactl_fd" number="443"/>
+  <syscall name="landlock_create_ruleset" number="444"/>
+  <syscall name="landlock_add_rule" number="445"/>
+  <syscall name="landlock_restrict_self" number="446"/>
+  <syscall name="process_mrelease" number="448"/>
+  <syscall name="futex_waitv" number="449"/>
+  <syscall name="set_mempolicy_home_node" number="450"/>
 </syscalls_info>
diff --git a/gdb/syscalls/update-linux-from-src.sh b/gdb/syscalls/update-linux-from-src.sh
new file mode 100755 (executable)
index 0000000..c85f9df
--- /dev/null
@@ -0,0 +1,169 @@
+#!/bin/sh
+
+# Copyright (C) 2022 Free Software Foundation, Inc.
+#
+# This file is part of GDB.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# Used to generate .xml.in files, like so:
+# $ ./update-linux-from-src.sh ~/linux-stable.git
+
+if [ $# -lt 1 ]; then
+    echo "dir argument needed"
+    exit 1
+fi
+
+d="$1"
+shift
+
+if [ ! -d "$d" ]; then
+    echo "cannot find $d"
+    exit 1
+fi
+
+pre ()
+{
+    f="$1"
+
+    year=$(date +%Y)
+
+    cat <<EOF
+<?xml version="1.0"?>
+<!-- Copyright (C) $start_date-$year Free Software Foundation, Inc.
+
+     Copying and distribution of this file, with or without modification,
+     are permitted in any medium without royalty provided the copyright
+     notice and this notice are preserved.  -->
+
+<!DOCTYPE feature SYSTEM "gdb-syscalls.dtd">
+
+<!-- This file was generated using the following file:
+
+     $f
+
+     The file mentioned above belongs to the Linux Kernel.  -->
+
+
+EOF
+
+    echo '<syscalls_info>'
+}
+
+
+post ()
+{
+    echo '</syscalls_info>'
+}
+
+one ()
+{
+    f="$1"
+    abi="$2"
+    start_date="$3"
+    offset="$4"
+
+    pre "$f" "$start_date"
+
+    grep -v "^#" "$d/$f" \
+       | awk '{print $2, $3, $1}' \
+       | grep -E "^$abi" \
+       | grep -E -v " (reserved|unused)[0-9]+ " \
+       | awk "{printf \"  <syscall name=\\\"%s\\\" number=\\\"%s\\\"/>\n\", \$2, \$3 + $offset}"
+
+    post
+}
+
+for f in *.in; do
+    start_date=2009
+    offset=0
+
+    case $f in
+       amd64-linux.xml.in)
+           t="arch/x86/entry/syscalls/syscall_64.tbl"
+           abi="(common|64)"
+           ;;
+       i386-linux.xml.in)
+           t="arch/x86/entry/syscalls/syscall_32.tbl"
+           abi=i386
+           ;;
+       ppc64-linux.xml.in)
+           t="arch/powerpc/kernel/syscalls/syscall.tbl"
+           abi="(common|64|nospu)"
+           ;;
+       ppc-linux.xml.in)
+           t="arch/powerpc/kernel/syscalls/syscall.tbl"
+           abi="(common|32|nospu)"
+           ;;
+       s390-linux.xml.in)
+           t="arch/s390/kernel/syscalls/syscall.tbl"
+           abi="(common|32)"
+           ;;
+       s390x-linux.xml.in)
+           t="arch/s390/kernel/syscalls/syscall.tbl"
+           abi="(common|64)"
+           ;;
+       sparc64-linux.xml.in)
+           t="arch/sparc/kernel/syscalls/syscall.tbl"
+           abi="(common|64)"
+           start_date="2010"
+           ;;
+       sparc-linux.xml.in)
+           t="arch/sparc/kernel/syscalls/syscall.tbl"
+           abi="(common|32)"
+           start_date="2010"
+           ;;
+       mips-n32-linux.xml.in)
+           t="arch/mips/kernel/syscalls/syscall_n32.tbl"
+           abi="n32"
+           start_date="2011"
+           offset=6000
+           ;;
+       mips-n64-linux.xml.in)
+           t="arch/mips/kernel/syscalls/syscall_n64.tbl"
+           abi="n64"
+           start_date="2011"
+           offset=5000
+           ;;
+       mips-o32-linux.xml.in)
+           t="arch/mips/kernel/syscalls/syscall_o32.tbl"
+           abi="o32"
+           start_date="2011"
+           offset=4000
+           ;;
+       bfin-linux.xml.in)
+           echo "Skipping $f, no longer supported"
+           continue
+           ;;
+       aarch64-linux.xml.in)
+           echo "Skipping $f, no syscall.tbl"
+           continue
+           ;;
+       arm-linux.xml.in)
+           echo "Skipping $f, use arm-linux.py instead"
+           continue
+           ;;
+       linux-defaults.xml.in)
+           continue
+           ;;
+       *)
+           echo "Don't know how to generate $f"
+           continue
+           ;;
+    esac
+
+    echo "Generating $f"
+    one "$t" "$abi" "$start_date" "$offset" > "$f"
+
+done