You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

270 lines
14KB

  1. <?xml version="1.0"?>
  2. <!DOCTYPE syscalls_info SYSTEM "gdb-syscalls.dtd">
  3. <!-- Copyright (C) 2015-2020 Free Software Foundation, Inc.
  4. Copying and distribution of this file, with or without modification,
  5. are permitted in any medium without royalty provided the copyright
  6. notice and this notice are preserved. This file is offered as-is,
  7. without any warranty. -->
  8. <syscalls_info>
  9. <syscall name="io_setup" number="0"/>
  10. <syscall name="io_destroy" number="1"/>
  11. <syscall name="io_submit" number="2"/>
  12. <syscall name="io_cancel" number="3"/>
  13. <syscall name="io_getevents" number="4"/>
  14. <syscall name="setxattr" number="5" groups="file"/>
  15. <syscall name="lsetxattr" number="6" groups="file"/>
  16. <syscall name="fsetxattr" number="7" groups="descriptor"/>
  17. <syscall name="getxattr" number="8" groups="file"/>
  18. <syscall name="lgetxattr" number="9" groups="file"/>
  19. <syscall name="fgetxattr" number="10" groups="descriptor"/>
  20. <syscall name="listxattr" number="11" groups="file"/>
  21. <syscall name="llistxattr" number="12" groups="file"/>
  22. <syscall name="flistxattr" number="13" groups="descriptor"/>
  23. <syscall name="removexattr" number="14" groups="file"/>
  24. <syscall name="lremovexattr" number="15" groups="file"/>
  25. <syscall name="fremovexattr" number="16" groups="descriptor"/>
  26. <syscall name="getcwd" number="17" groups="file"/>
  27. <syscall name="lookup_dcookie" number="18"/>
  28. <syscall name="eventfd2" number="19" groups="descriptor"/>
  29. <syscall name="epoll_create1" number="20" groups="descriptor"/>
  30. <syscall name="epoll_ctl" number="21" groups="descriptor"/>
  31. <syscall name="epoll_pwait" number="22" groups="descriptor"/>
  32. <syscall name="dup" number="23" groups="descriptor"/>
  33. <syscall name="dup3" number="24" groups="descriptor"/>
  34. <syscall name="fcntl" number="25" groups="descriptor"/>
  35. <syscall name="inotify_init1" number="26" groups="descriptor"/>
  36. <syscall name="inotify_add_watch" number="27" groups="descriptor"/>
  37. <syscall name="inotify_rm_watch" number="28" groups="descriptor"/>
  38. <syscall name="ioctl" number="29" groups="descriptor"/>
  39. <syscall name="ioprio_set" number="30"/>
  40. <syscall name="ioprio_get" number="31"/>
  41. <syscall name="flock" number="32" groups="descriptor"/>
  42. <syscall name="mknodat" number="33" groups="descriptor,file"/>
  43. <syscall name="mkdirat" number="34" groups="descriptor,file"/>
  44. <syscall name="unlinkat" number="35" groups="descriptor,file"/>
  45. <syscall name="symlinkat" number="36" groups="descriptor,file"/>
  46. <syscall name="linkat" number="37" groups="descriptor,file"/>
  47. <syscall name="renameat" number="38" groups="descriptor,file"/>
  48. <syscall name="umount2" number="39" groups="file"/>
  49. <syscall name="mount" number="40" groups="file"/>
  50. <syscall name="pivot_root" number="41" groups="file"/>
  51. <syscall name="nfsservctl" number="42"/>
  52. <syscall name="statfs" number="43" groups="file"/>
  53. <syscall name="fstatfs" number="44" groups="descriptor"/>
  54. <syscall name="truncate" number="45" groups="file"/>
  55. <syscall name="ftruncate" number="46" groups="descriptor"/>
  56. <syscall name="fallocate" number="47" groups="descriptor"/>
  57. <syscall name="faccessat" number="48" groups="descriptor,file"/>
  58. <syscall name="chdir" number="49" groups="file"/>
  59. <syscall name="fchdir" number="50" groups="descriptor"/>
  60. <syscall name="chroot" number="51" groups="file"/>
  61. <syscall name="fchmod" number="52" groups="descriptor"/>
  62. <syscall name="fchmodat" number="53" groups="descriptor,file"/>
  63. <syscall name="fchownat" number="54" groups="descriptor,file"/>
  64. <syscall name="fchown" number="55" groups="descriptor"/>
  65. <syscall name="openat" number="56" groups="descriptor,file"/>
  66. <syscall name="close" number="57" groups="descriptor"/>
  67. <syscall name="vhangup" number="58"/>
  68. <syscall name="pipe2" number="59" groups="descriptor"/>
  69. <syscall name="quotactl" number="60" groups="file"/>
  70. <syscall name="getdents64" number="61" groups="descriptor"/>
  71. <syscall name="lseek" number="62" groups="descriptor"/>
  72. <syscall name="read" number="63" groups="descriptor"/>
  73. <syscall name="write" number="64" groups="descriptor"/>
  74. <syscall name="readv" number="65" groups="descriptor"/>
  75. <syscall name="writev" number="66" groups="descriptor"/>
  76. <syscall name="pread64" number="67" groups="descriptor"/>
  77. <syscall name="pwrite64" number="68" groups="descriptor"/>
  78. <syscall name="preadv" number="69" groups="descriptor"/>
  79. <syscall name="pwritev" number="70" groups="descriptor"/>
  80. <syscall name="sendfile" number="71" groups="descriptor,network"/>
  81. <syscall name="pselect6" number="72" groups="descriptor"/>
  82. <syscall name="ppoll" number="73" groups="descriptor"/>
  83. <syscall name="signalfd4" number="74" groups="descriptor,signal"/>
  84. <syscall name="vmsplice" number="75" groups="descriptor"/>
  85. <syscall name="splice" number="76" groups="descriptor"/>
  86. <syscall name="tee" number="77" groups="descriptor"/>
  87. <syscall name="readlinkat" number="78" groups="descriptor,file"/>
  88. <syscall name="newfstatat" number="79" groups="descriptor,file"/>
  89. <syscall name="fstat" number="80" groups="descriptor"/>
  90. <syscall name="sync" number="81"/>
  91. <syscall name="fsync" number="82" groups="descriptor"/>
  92. <syscall name="fdatasync" number="83" groups="descriptor"/>
  93. <syscall name="sync_file_range" number="84" groups="descriptor"/>
  94. <syscall name="timerfd_create" number="85" groups="descriptor"/>
  95. <syscall name="timerfd_settime" number="86" groups="descriptor"/>
  96. <syscall name="timerfd_gettime" number="87" groups="descriptor"/>
  97. <syscall name="utimensat" number="88" groups="descriptor,file"/>
  98. <syscall name="acct" number="89" groups="file"/>
  99. <syscall name="capget" number="90"/>
  100. <syscall name="capset" number="91"/>
  101. <syscall name="personality" number="92"/>
  102. <syscall name="exit" number="93" groups="process"/>
  103. <syscall name="exit_group" number="94" groups="process"/>
  104. <syscall name="waitid" number="95" groups="process"/>
  105. <syscall name="set_tid_address" number="96"/>
  106. <syscall name="unshare" number="97" groups="process"/>
  107. <syscall name="futex" number="98"/>
  108. <syscall name="set_robust_list" number="99"/>
  109. <syscall name="get_robust_list" number="100"/>
  110. <syscall name="nanosleep" number="101"/>
  111. <syscall name="getitimer" number="102"/>
  112. <syscall name="setitimer" number="103"/>
  113. <syscall name="kexec_load" number="104"/>
  114. <syscall name="init_module" number="105"/>
  115. <syscall name="delete_module" number="106"/>
  116. <syscall name="timer_create" number="107"/>
  117. <syscall name="timer_gettime" number="108"/>
  118. <syscall name="timer_getoverrun" number="109"/>
  119. <syscall name="timer_settime" number="110"/>
  120. <syscall name="timer_delete" number="111"/>
  121. <syscall name="clock_settime" number="112"/>
  122. <syscall name="clock_gettime" number="113"/>
  123. <syscall name="clock_getres" number="114"/>
  124. <syscall name="clock_nanosleep" number="115"/>
  125. <syscall name="syslog" number="116"/>
  126. <syscall name="ptrace" number="117"/>
  127. <syscall name="sched_setparam" number="118"/>
  128. <syscall name="sched_setscheduler" number="119"/>
  129. <syscall name="sched_getscheduler" number="120"/>
  130. <syscall name="sched_getparam" number="121"/>
  131. <syscall name="sched_setaffinity" number="122"/>
  132. <syscall name="sched_getaffinity" number="123"/>
  133. <syscall name="sched_yield" number="124"/>
  134. <syscall name="sched_get_priority_max" number="125"/>
  135. <syscall name="sched_get_priority_min" number="126"/>
  136. <syscall name="sched_rr_get_interval" number="127"/>
  137. <syscall name="restart_syscall" number="128"/>
  138. <syscall name="kill" number="129" groups="signal"/>
  139. <syscall name="tkill" number="130" groups="signal"/>
  140. <syscall name="tgkill" number="131" groups="signal"/>
  141. <syscall name="sigaltstack" number="132" groups="signal"/>
  142. <syscall name="rt_sigsuspend" number="133" groups="signal"/>
  143. <syscall name="rt_sigaction" number="134" groups="signal"/>
  144. <syscall name="rt_sigprocmask" number="135" groups="signal"/>
  145. <syscall name="rt_sigpending" number="136" groups="signal"/>
  146. <syscall name="rt_sigtimedwait" number="137" groups="signal"/>
  147. <syscall name="rt_sigqueueinfo" number="138" groups="signal"/>
  148. <syscall name="rt_sigreturn" number="139" groups="signal"/>
  149. <syscall name="setpriority" number="140"/>
  150. <syscall name="getpriority" number="141"/>
  151. <syscall name="reboot" number="142"/>
  152. <syscall name="setregid" number="143"/>
  153. <syscall name="setgid" number="144"/>
  154. <syscall name="setreuid" number="145"/>
  155. <syscall name="setuid" number="146"/>
  156. <syscall name="setresuid" number="147"/>
  157. <syscall name="getresuid" number="148"/>
  158. <syscall name="setresgid" number="149"/>
  159. <syscall name="getresgid" number="150"/>
  160. <syscall name="setfsuid" number="151"/>
  161. <syscall name="setfsgid" number="152"/>
  162. <syscall name="times" number="153"/>
  163. <syscall name="setpgid" number="154"/>
  164. <syscall name="getpgid" number="155"/>
  165. <syscall name="getsid" number="156"/>
  166. <syscall name="setsid" number="157"/>
  167. <syscall name="getgroups" number="158"/>
  168. <syscall name="setgroups" number="159"/>
  169. <syscall name="uname" number="160"/>
  170. <syscall name="sethostname" number="161"/>
  171. <syscall name="setdomainname" number="162"/>
  172. <syscall name="getrlimit" number="163"/>
  173. <syscall name="setrlimit" number="164"/>
  174. <syscall name="getrusage" number="165"/>
  175. <syscall name="umask" number="166"/>
  176. <syscall name="prctl" number="167"/>
  177. <syscall name="getcpu" number="168"/>
  178. <syscall name="gettimeofday" number="169"/>
  179. <syscall name="settimeofday" number="170"/>
  180. <syscall name="adjtimex" number="171"/>
  181. <syscall name="getpid" number="172"/>
  182. <syscall name="getppid" number="173"/>
  183. <syscall name="getuid" number="174"/>
  184. <syscall name="geteuid" number="175"/>
  185. <syscall name="getgid" number="176"/>
  186. <syscall name="getegid" number="177"/>
  187. <syscall name="gettid" number="178"/>
  188. <syscall name="sysinfo" number="179"/>
  189. <syscall name="mq_open" number="180"/>
  190. <syscall name="mq_unlink" number="181"/>
  191. <syscall name="mq_timedsend" number="182"/>
  192. <syscall name="mq_timedreceive" number="183"/>
  193. <syscall name="mq_notify" number="184"/>
  194. <syscall name="mq_getsetattr" number="185"/>
  195. <syscall name="msgget" number="186" groups="ipc"/>
  196. <syscall name="msgctl" number="187" groups="ipc"/>
  197. <syscall name="msgrcv" number="188" groups="ipc"/>
  198. <syscall name="msgsnd" number="189" groups="ipc"/>
  199. <syscall name="semget" number="190" groups="ipc"/>
  200. <syscall name="semctl" number="191" groups="ipc"/>
  201. <syscall name="semtimedop" number="192" groups="ipc"/>
  202. <syscall name="semop" number="193" groups="ipc"/>
  203. <syscall name="shmget" number="194" groups="ipc"/>
  204. <syscall name="shmctl" number="195" groups="ipc"/>
  205. <syscall name="shmat" number="196" groups="ipc,memory"/>
  206. <syscall name="shmdt" number="197" groups="ipc,memory"/>
  207. <syscall name="socket" number="198" groups="network"/>
  208. <syscall name="socketpair" number="199" groups="network"/>
  209. <syscall name="bind" number="200" groups="network"/>
  210. <syscall name="listen" number="201" groups="network"/>
  211. <syscall name="accept" number="202" groups="network"/>
  212. <syscall name="connect" number="203" groups="network"/>
  213. <syscall name="getsockname" number="204" groups="network"/>
  214. <syscall name="getpeername" number="205" groups="network"/>
  215. <syscall name="sendto" number="206" groups="network"/>
  216. <syscall name="recvfrom" number="207" groups="network"/>
  217. <syscall name="setsockopt" number="208" groups="network"/>
  218. <syscall name="getsockopt" number="209" groups="network"/>
  219. <syscall name="shutdown" number="210" groups="network"/>
  220. <syscall name="sendmsg" number="211" groups="network"/>
  221. <syscall name="recvmsg" number="212" groups="network"/>
  222. <syscall name="readahead" number="213" groups="descriptor"/>
  223. <syscall name="brk" number="214" groups="memory"/>
  224. <syscall name="munmap" number="215" groups="memory"/>
  225. <syscall name="mremap" number="216" groups="memory"/>
  226. <syscall name="add_key" number="217"/>
  227. <syscall name="request_key" number="218"/>
  228. <syscall name="keyctl" number="219"/>
  229. <syscall name="clone" number="220" groups="process"/>
  230. <syscall name="execve" number="221" groups="file,process"/>
  231. <syscall name="mmap" number="222" groups="descriptor,memory"/>
  232. <syscall name="fadvise64" number="223" groups="descriptor"/>
  233. <syscall name="swapon" number="224" groups="file"/>
  234. <syscall name="swapoff" number="225" groups="file"/>
  235. <syscall name="mprotect" number="226" groups="memory"/>
  236. <syscall name="msync" number="227" groups="memory"/>
  237. <syscall name="mlock" number="228" groups="memory"/>
  238. <syscall name="munlock" number="229" groups="memory"/>
  239. <syscall name="mlockall" number="230" groups="memory"/>
  240. <syscall name="munlockall" number="231" groups="memory"/>
  241. <syscall name="mincore" number="232" groups="memory"/>
  242. <syscall name="madvise" number="233" groups="memory"/>
  243. <syscall name="remap_file_pages" number="234" groups="memory"/>
  244. <syscall name="mbind" number="235" groups="memory"/>
  245. <syscall name="get_mempolicy" number="236" groups="memory"/>
  246. <syscall name="set_mempolicy" number="237" groups="memory"/>
  247. <syscall name="migrate_pages" number="238" groups="memory"/>
  248. <syscall name="move_pages" number="239" groups="memory"/>
  249. <syscall name="rt_tgsigqueueinfo" number="240" groups="process,signal"/>
  250. <syscall name="perf_event_open" number="241" groups="descriptor"/>
  251. <syscall name="accept4" number="242" groups="network"/>
  252. <syscall name="recvmmsg" number="243" groups="network"/>
  253. <syscall name="arch_specific_syscall" number="244"/>
  254. <syscall name="wait4" number="260" groups="process"/>
  255. <syscall name="prlimit64" number="261"/>
  256. <syscall name="fanotify_init" number="262" groups="descriptor"/>
  257. <syscall name="fanotify_mark" number="263" groups="descriptor,file"/>
  258. <syscall name="name_to_handle_at" number="264" groups="descriptor,file"/>
  259. <syscall name="open_by_handle_at" number="265" groups="descriptor"/>
  260. <syscall name="clock_adjtime" number="266"/>
  261. <syscall name="syncfs" number="267" groups="descriptor"/>
  262. <syscall name="setns" number="268" groups="descriptor"/>
  263. <syscall name="sendmmsg" number="269" groups="network"/>
  264. <syscall name="process_vm_readv" number="270"/>
  265. <syscall name="process_vm_writev" number="271"/>
  266. <syscall name="kcmp" number="272"/>
  267. <syscall name="syscalls" number="273"/>
  268. </syscalls_info>