binutils-gdb/gdb/syscalls/linux-defaults.xml.in
Tiezhu Yang 35716707eb gdb: syscalls: Update linux-defaults.xml.in
Make use of the script update-linux-defaults.sh to regenerate the Linux
syscall group info against strace git commit 8c480270653d which will be
released in v6.8.

Like this:

  $ git clone https://github.com/strace/strace.git strace.git
  $ git clone https://sourceware.org/git/binutils-gdb.git gdb.git
  $ cd gdb.git/gdb/syscalls/
  $ ./update-linux-defaults.sh ~/strace.git/

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Approved-By: John Baldwin <jhb@FreeBSD.org>
2024-03-20 18:49:52 +08:00

392 lines
18 KiB
XML

<?xml version="1.0"?>
<!-- Copyright (C) 2009-2024 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. -->
<!-- This file was generated using the sources from strace. -->
<syscalls_defaults>
<syscall name="accept4" groups="network"/>
<syscall name="accept" groups="network"/>
<syscall name="access" groups="file"/>
<syscall name="acct" groups="file"/>
<syscall name="bind" groups="network"/>
<syscall name="bpf" groups="descriptor"/>
<syscall name="break" groups="memory"/>
<syscall name="brk" groups="memory"/>
<syscall name="bsd43_fstatfs" groups="descriptor"/>
<syscall name="bsd43_fstat" groups="descriptor"/>
<syscall name="bsd43_killpg" groups="process"/>
<syscall name="bsd43_kill" groups="process"/>
<syscall name="bsd43_lstat" groups="file"/>
<syscall name="bsd43_madvise" groups="memory"/>
<syscall name="bsd43_mincore" groups="memory"/>
<syscall name="bsd43_mmap" groups="descriptor,memory"/>
<syscall name="bsd43_mprotect" groups="memory"/>
<syscall name="bsd43_mremap" groups="memory"/>
<syscall name="bsd43_munmap" groups="memory"/>
<syscall name="bsd43_oldfstat" groups="descriptor"/>
<syscall name="bsd43_oldstat" groups="file"/>
<syscall name="bsd43_quotactl" groups="file"/>
<syscall name="bsd43_sbreak" groups="memory"/>
<syscall name="bsd43_sbrk" groups="memory"/>
<syscall name="bsd43_statfs" groups="file"/>
<syscall name="bsd43_stat" groups="file"/>
<syscall name="cacheflush" groups="memory"/>
<syscall name="cachestat" groups="descriptor"/>
<syscall name="chdir" groups="file"/>
<syscall name="chmod" groups="file"/>
<syscall name="chown32" groups="file"/>
<syscall name="chown" groups="file"/>
<syscall name="chroot" groups="file"/>
<syscall name="clone2" groups="process"/>
<syscall name="clone3" groups="process"/>
<syscall name="clone" groups="process"/>
<syscall name="close" groups="descriptor"/>
<syscall name="connect" groups="network"/>
<syscall name="copy_file_range" groups="descriptor"/>
<syscall name="creat" groups="descriptor,file"/>
<syscall name="dup2" groups="descriptor"/>
<syscall name="dup3" groups="descriptor"/>
<syscall name="dup" groups="descriptor"/>
<syscall name="epoll_create1" groups="descriptor"/>
<syscall name="epoll_create" groups="descriptor"/>
<syscall name="epoll_ctl" groups="descriptor"/>
<syscall name="epoll_pwait2" groups="descriptor"/>
<syscall name="epoll_pwait" groups="descriptor"/>
<syscall name="epoll_wait" groups="descriptor"/>
<syscall name="eventfd2" groups="descriptor"/>
<syscall name="eventfd" groups="descriptor"/>
<syscall name="execveat" groups="descriptor,file,process"/>
<syscall name="execve" groups="file,process"/>
<syscall name="execv" groups="file,process"/>
<syscall name="exit_group" groups="process"/>
<syscall name="exit" groups="process"/>
<syscall name="faccessat2" groups="descriptor,file"/>
<syscall name="faccessat" groups="descriptor,file"/>
<syscall name="fadvise64_64" groups="descriptor"/>
<syscall name="fadvise64" groups="descriptor"/>
<syscall name="fallocate" groups="descriptor"/>
<syscall name="fanotify_init" groups="descriptor"/>
<syscall name="fanotify_mark" groups="descriptor,file"/>
<syscall name="fchdir" groups="descriptor"/>
<syscall name="fchmodat2" groups="descriptor,file"/>
<syscall name="fchmodat" groups="descriptor,file"/>
<syscall name="fchmod" groups="descriptor"/>
<syscall name="fchown32" groups="descriptor"/>
<syscall name="fchownat" groups="descriptor,file"/>
<syscall name="fchown" groups="descriptor"/>
<syscall name="fcntl64" groups="descriptor"/>
<syscall name="fcntl" groups="descriptor"/>
<syscall name="fdatasync" groups="descriptor"/>
<syscall name="fgetxattr" groups="descriptor"/>
<syscall name="finit_module" groups="descriptor"/>
<syscall name="flistxattr" groups="descriptor"/>
<syscall name="flock" groups="descriptor"/>
<syscall name="fork" groups="process"/>
<syscall name="fremovexattr" groups="descriptor"/>
<syscall name="fsconfig" groups="descriptor,file"/>
<syscall name="fsetxattr" groups="descriptor"/>
<syscall name="fsmount" groups="descriptor"/>
<syscall name="fsopen" groups="descriptor"/>
<syscall name="fspick" groups="descriptor,file"/>
<syscall name="fstat64" groups="descriptor"/>
<syscall name="fstatat64" groups="descriptor,file"/>
<syscall name="fstatfs64" groups="descriptor"/>
<syscall name="fstatfs" groups="descriptor"/>
<syscall name="fstat" groups="descriptor"/>
<syscall name="fsync" groups="descriptor"/>
<syscall name="ftruncate64" groups="descriptor"/>
<syscall name="ftruncate" groups="descriptor"/>
<syscall name="futimesat" groups="descriptor,file"/>
<syscall name="getcwd" groups="file"/>
<syscall name="getdents64" groups="descriptor"/>
<syscall name="getdents" groups="descriptor"/>
<syscall name="get_mempolicy" groups="memory"/>
<syscall name="getpeername" groups="network"/>
<syscall name="getpmsg" groups="network"/>
<syscall name="getsockname" groups="network"/>
<syscall name="getsockopt" groups="network"/>
<syscall name="getxattr" groups="file"/>
<syscall name="inotify_add_watch" groups="descriptor,file"/>
<syscall name="inotify_init1" groups="descriptor"/>
<syscall name="inotify_init" groups="descriptor"/>
<syscall name="inotify_rm_watch" groups="descriptor"/>
<syscall name="ioctl" groups="descriptor"/>
<syscall name="io_destroy" groups="memory"/>
<syscall name="io_setup" groups="memory"/>
<syscall name="io_uring_enter" groups="descriptor,signal"/>
<syscall name="io_uring_register" groups="descriptor,memory"/>
<syscall name="io_uring_setup" groups="descriptor"/>
<syscall name="ipc" groups="ipc"/>
<syscall name="kexec_file_load" groups="descriptor"/>
<syscall name="kill" groups="signal,process"/>
<syscall name="landlock_add_rule" groups="descriptor"/>
<syscall name="landlock_create_ruleset" groups="descriptor"/>
<syscall name="landlock_restrict_self" groups="descriptor"/>
<syscall name="lchown32" groups="file"/>
<syscall name="lchown" groups="file"/>
<syscall name="lgetxattr" groups="file"/>
<syscall name="linkat" groups="descriptor,file"/>
<syscall name="link" groups="file"/>
<syscall name="listen" groups="network"/>
<syscall name="listxattr" groups="file"/>
<syscall name="llistxattr" groups="file"/>
<syscall name="_llseek" groups="descriptor"/>
<syscall name="lremovexattr" groups="file"/>
<syscall name="lseek" groups="descriptor"/>
<syscall name="lsetxattr" groups="file"/>
<syscall name="lstat64" groups="file"/>
<syscall name="lstat" groups="file"/>
<syscall name="madvise" groups="memory"/>
<syscall name="map_shadow_stack" groups="memory"/>
<syscall name="mbind" groups="memory"/>
<syscall name="memfd_create" groups="descriptor"/>
<syscall name="memfd_secret" groups="descriptor"/>
<syscall name="migrate_pages" groups="memory"/>
<syscall name="mincore" groups="memory"/>
<syscall name="mkdirat" groups="descriptor,file"/>
<syscall name="mkdir" groups="file"/>
<syscall name="mknodat" groups="descriptor,file"/>
<syscall name="mknod" groups="file"/>
<syscall name="mlock2" groups="memory"/>
<syscall name="mlockall" groups="memory"/>
<syscall name="mlock" groups="memory"/>
<syscall name="mmap2" groups="descriptor,memory"/>
<syscall name="mmap" groups="descriptor,memory"/>
<syscall name="mount_setattr" groups="descriptor,file"/>
<syscall name="mount" groups="file"/>
<syscall name="move_mount" groups="descriptor,file"/>
<syscall name="move_pages" groups="memory"/>
<syscall name="mprotect" groups="memory"/>
<syscall name="mq_getsetattr" groups="descriptor"/>
<syscall name="mq_notify" groups="descriptor"/>
<syscall name="mq_open" groups="descriptor"/>
<syscall name="mq_timedreceive" groups="descriptor"/>
<syscall name="mq_timedreceive_time64" groups="descriptor"/>
<syscall name="mq_timedsend" groups="descriptor"/>
<syscall name="mq_timedsend_time64" groups="descriptor"/>
<syscall name="mremap" groups="memory"/>
<syscall name="msgctl" groups="ipc"/>
<syscall name="msgget" groups="ipc"/>
<syscall name="msgrcv" groups="ipc"/>
<syscall name="msgsnd" groups="ipc"/>
<syscall name="msync" groups="memory"/>
<syscall name="munlockall" groups="memory"/>
<syscall name="munlock" groups="memory"/>
<syscall name="munmap" groups="memory"/>
<syscall name="name_to_handle_at" groups="descriptor,file"/>
<syscall name="newfstatat" groups="descriptor,file"/>
<syscall name="_newselect" groups="descriptor"/>
<syscall name="oldfstat" groups="descriptor"/>
<syscall name="oldlstat" groups="file"/>
<syscall name="oldstat" groups="file"/>
<syscall name="oldumount" groups="file"/>
<syscall name="openat2" groups="descriptor,file"/>
<syscall name="openat" groups="descriptor,file"/>
<syscall name="open_by_handle_at" groups="descriptor"/>
<syscall name="open" groups="descriptor,file"/>
<syscall name="open_tree" groups="descriptor,file"/>
<syscall name="osf_fstatfs64" groups="descriptor"/>
<syscall name="osf_fstatfs" groups="descriptor"/>
<syscall name="osf_fstat" groups="descriptor"/>
<syscall name="osf_lstat" groups="file"/>
<syscall name="osf_mincore" groups="memory"/>
<syscall name="osf_mremap" groups="memory"/>
<syscall name="osf_old_fstat" groups="descriptor"/>
<syscall name="osf_old_killpg" groups="process"/>
<syscall name="osf_old_lstat" groups="file"/>
<syscall name="osf_old_stat" groups="file"/>
<syscall name="osf_sbrk" groups="memory"/>
<syscall name="osf_select" groups="descriptor"/>
<syscall name="osf_shmat" groups="ipc,memory"/>
<syscall name="osf_sigprocmask" groups="signal"/>
<syscall name="osf_statfs64" groups="file"/>
<syscall name="osf_statfs" groups="file"/>
<syscall name="osf_stat" groups="file"/>
<syscall name="osf_utimes" groups="file"/>
<syscall name="osf_wait4" groups="process"/>
<syscall name="pause" groups="signal"/>
<syscall name="perf_event_open" groups="descriptor"/>
<syscall name="pidfd_getfd" groups="descriptor"/>
<syscall name="pidfd_open" groups="descriptor"/>
<syscall name="pidfd_send_signal" groups="descriptor,signal,process"/>
<syscall name="pipe2" groups="descriptor"/>
<syscall name="pipe" groups="descriptor"/>
<syscall name="pivot_root" groups="file"/>
<syscall name="pkey_mprotect" groups="memory"/>
<syscall name="poll" groups="descriptor"/>
<syscall name="posix_fstatfs" groups="descriptor"/>
<syscall name="posix_fstat" groups="descriptor"/>
<syscall name="posix_kill" groups="process"/>
<syscall name="posix_lstat" groups="file"/>
<syscall name="posix_madvise" groups="memory"/>
<syscall name="posix_mmap" groups="descriptor,memory"/>
<syscall name="posix_munmap" groups="memory"/>
<syscall name="posix_sbreak" groups="memory"/>
<syscall name="posix_SGI_madvise" groups="memory"/>
<syscall name="posix_SGI_mmap" groups="descriptor,memory"/>
<syscall name="posix_SGI_mprotect" groups="memory"/>
<syscall name="posix_SGI_msync" groups="memory"/>
<syscall name="posix_SGI_munmap" groups="memory"/>
<syscall name="posix_statfs" groups="file"/>
<syscall name="posix_stat" groups="file"/>
<syscall name="ppoll" groups="descriptor"/>
<syscall name="ppoll_time64" groups="descriptor"/>
<syscall name="pread64" groups="descriptor"/>
<syscall name="pread" groups="descriptor"/>
<syscall name="preadv2" groups="descriptor"/>
<syscall name="preadv" groups="descriptor"/>
<syscall name="process_madvise" groups="descriptor"/>
<syscall name="process_mrelease" groups="descriptor"/>
<syscall name="pselect6" groups="descriptor"/>
<syscall name="pselect6_time64" groups="descriptor"/>
<syscall name="putpmsg" groups="network"/>
<syscall name="pwrite64" groups="descriptor"/>
<syscall name="pwrite" groups="descriptor"/>
<syscall name="pwritev2" groups="descriptor"/>
<syscall name="pwritev" groups="descriptor"/>
<syscall name="quotactl_fd" groups="descriptor"/>
<syscall name="quotactl" groups="file"/>
<syscall name="readahead" groups="descriptor"/>
<syscall name="readdir" groups="descriptor"/>
<syscall name="readlinkat" groups="descriptor,file"/>
<syscall name="readlink" groups="file"/>
<syscall name="read" groups="descriptor"/>
<syscall name="readv" groups="descriptor"/>
<syscall name="recvfrom" groups="network"/>
<syscall name="recvmmsg_time64" groups="network"/>
<syscall name="recvmmsg" groups="network"/>
<syscall name="recvmsg" groups="network"/>
<syscall name="recv" groups="network"/>
<syscall name="remap_file_pages" groups="memory"/>
<syscall name="removexattr" groups="file"/>
<syscall name="renameat2" groups="descriptor,file"/>
<syscall name="renameat" groups="descriptor,file"/>
<syscall name="rename" groups="file"/>
<syscall name="riscv_flush_icache" groups="memory"/>
<syscall name="rmdir" groups="file"/>
<syscall name="rt_sigaction" groups="signal"/>
<syscall name="rt_sigpending" groups="signal"/>
<syscall name="rt_sigprocmask" groups="signal"/>
<syscall name="rt_sigqueueinfo" groups="signal,process"/>
<syscall name="rt_sigreturn" groups="signal"/>
<syscall name="rt_sigsuspend" groups="signal"/>
<syscall name="rt_sigtimedwait_time64" groups="signal"/>
<syscall name="rt_sigtimedwait" groups="signal"/>
<syscall name="rt_tgsigqueueinfo" groups="process,signal"/>
<syscall name="select" groups="descriptor"/>
<syscall name="semctl" groups="ipc"/>
<syscall name="semget" groups="ipc"/>
<syscall name="semop" groups="ipc"/>
<syscall name="semtimedop" groups="ipc"/>
<syscall name="semtimedop_time64" groups="ipc"/>
<syscall name="sendfile64" groups="descriptor,network"/>
<syscall name="sendfile" groups="descriptor,network"/>
<syscall name="sendmmsg" groups="network"/>
<syscall name="sendmsg" groups="network"/>
<syscall name="send" groups="network"/>
<syscall name="sendto" groups="network"/>
<syscall name="set_mempolicy_home_node" groups="memory"/>
<syscall name="set_mempolicy" groups="memory"/>
<syscall name="setns" groups="descriptor"/>
<syscall name="setsockopt" groups="network"/>
<syscall name="setxattr" groups="file"/>
<syscall name="sgetmask" groups="signal"/>
<syscall name="shmat" groups="ipc,memory"/>
<syscall name="shmctl" groups="ipc"/>
<syscall name="shmdt" groups="ipc,memory"/>
<syscall name="shmget" groups="ipc"/>
<syscall name="shutdown" groups="network"/>
<syscall name="sigaction" groups="signal"/>
<syscall name="sigaltstack" groups="signal"/>
<syscall name="signalfd4" groups="descriptor,signal"/>
<syscall name="signalfd" groups="descriptor,signal"/>
<syscall name="signal" groups="signal"/>
<syscall name="sigpending" groups="signal"/>
<syscall name="sigprocmask" groups="signal"/>
<syscall name="sigreturn" groups="signal"/>
<syscall name="sigsuspend" groups="signal"/>
<syscall name="socketcall" groups="descriptor"/>
<syscall name="socketpair" groups="network"/>
<syscall name="socket" groups="network"/>
<syscall name="splice" groups="descriptor"/>
<syscall name="ssetmask" groups="signal"/>
<syscall name="stat64" groups="file"/>
<syscall name="statfs64" groups="file"/>
<syscall name="statfs" groups="file"/>
<syscall name="stat" groups="file"/>
<syscall name="statx" groups="descriptor,file"/>
<syscall name="svr4_fstatfs" groups="descriptor"/>
<syscall name="svr4_fstat" groups="descriptor"/>
<syscall name="svr4_fstatvfs" groups="descriptor"/>
<syscall name="svr4_fxstat" groups="descriptor"/>
<syscall name="svr4_kill" groups="process"/>
<syscall name="svr4_lstat" groups="file"/>
<syscall name="svr4_lxstat" groups="file"/>
<syscall name="svr4_mincore" groups="memory"/>
<syscall name="svr4_mmap" groups="descriptor,memory"/>
<syscall name="svr4_mprotect" groups="memory"/>
<syscall name="svr4_munmap" groups="memory"/>
<syscall name="svr4_sbreak" groups="memory"/>
<syscall name="svr4_statfs" groups="file"/>
<syscall name="svr4_stat" groups="file"/>
<syscall name="svr4_statvfs" groups="file"/>
<syscall name="svr4_xstat" groups="file"/>
<syscall name="swapoff" groups="file"/>
<syscall name="swapon" groups="file"/>
<syscall name="symlinkat" groups="descriptor,file"/>
<syscall name="symlink" groups="file"/>
<syscall name="sync_file_range2" groups="descriptor"/>
<syscall name="sync_file_range" groups="descriptor"/>
<syscall name="syncfs" groups="descriptor"/>
<syscall name="sysv_brk" groups="memory"/>
<syscall name="sysv_fstatfs" groups="descriptor"/>
<syscall name="sysv_fstat" groups="descriptor"/>
<syscall name="sysv_fstatvfs" groups="descriptor"/>
<syscall name="sysv_fxstat" groups="descriptor"/>
<syscall name="sysv_kill" groups="process"/>
<syscall name="sysv_lstat" groups="file"/>
<syscall name="sysv_lxstat" groups="file"/>
<syscall name="sysv_madvise" groups="memory"/>
<syscall name="sysv_mmap64" groups="descriptor,memory"/>
<syscall name="sysv_mmap" groups="descriptor,memory"/>
<syscall name="sysv_mprotect" groups="memory"/>
<syscall name="sysv_msync" groups="memory"/>
<syscall name="sysv_munmap" groups="memory"/>
<syscall name="sysv_quotactl" groups="file"/>
<syscall name="sysv_statfs" groups="file"/>
<syscall name="sysv_stat" groups="file"/>
<syscall name="sysv_statvfs" groups="file"/>
<syscall name="sysv_xstat" groups="file"/>
<syscall name="tee" groups="descriptor"/>
<syscall name="tgkill" groups="signal,process"/>
<syscall name="timerfd_create" groups="descriptor"/>
<syscall name="timerfd_gettime64" groups="descriptor"/>
<syscall name="timerfd_gettime" groups="descriptor"/>
<syscall name="timerfd_settime64" groups="descriptor"/>
<syscall name="timerfd_settime" groups="descriptor"/>
<syscall name="timerfd" groups="descriptor"/>
<syscall name="tkill" groups="signal,process"/>
<syscall name="truncate64" groups="file"/>
<syscall name="truncate" groups="file"/>
<syscall name="umount2" groups="file"/>
<syscall name="umount" groups="file"/>
<syscall name="unlinkat" groups="descriptor,file"/>
<syscall name="unlink" groups="file"/>
<syscall name="uselib" groups="file"/>
<syscall name="userfaultfd" groups="descriptor"/>
<syscall name="utimensat" groups="descriptor,file"/>
<syscall name="utimensat_time64" groups="descriptor,file"/>
<syscall name="utimes" groups="file"/>
<syscall name="utime" groups="file"/>
<syscall name="vfork" groups="process"/>
<syscall name="vmsplice" groups="descriptor"/>
<syscall name="wait4" groups="process"/>
<syscall name="waitid" groups="process"/>
<syscall name="waitpid" groups="process"/>
<syscall name="write" groups="descriptor"/>
<syscall name="writev" groups="descriptor"/>
</syscalls_defaults>