syscall_nr.h 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515
  1. /*
  2. * System call numbers.
  3. *
  4. * DO NOT EDIT-- this file is automatically @generated.
  5. * $FreeBSD$
  6. */
  7. #define TARGET_FREEBSD_NR_syscall 0
  8. #define TARGET_FREEBSD_NR_exit 1
  9. #define TARGET_FREEBSD_NR_fork 2
  10. #define TARGET_FREEBSD_NR_read 3
  11. #define TARGET_FREEBSD_NR_write 4
  12. #define TARGET_FREEBSD_NR_open 5
  13. #define TARGET_FREEBSD_NR_close 6
  14. #define TARGET_FREEBSD_NR_wait4 7
  15. /* 8 is old creat */
  16. #define TARGET_FREEBSD_NR_link 9
  17. #define TARGET_FREEBSD_NR_unlink 10
  18. /* 11 is obsolete execv */
  19. #define TARGET_FREEBSD_NR_chdir 12
  20. #define TARGET_FREEBSD_NR_fchdir 13
  21. #define TARGET_FREEBSD_NR_freebsd11_mknod 14
  22. #define TARGET_FREEBSD_NR_chmod 15
  23. #define TARGET_FREEBSD_NR_chown 16
  24. #define TARGET_FREEBSD_NR_break 17
  25. /* 18 is freebsd4 getfsstat */
  26. /* 19 is old lseek */
  27. #define TARGET_FREEBSD_NR_getpid 20
  28. #define TARGET_FREEBSD_NR_mount 21
  29. #define TARGET_FREEBSD_NR_unmount 22
  30. #define TARGET_FREEBSD_NR_setuid 23
  31. #define TARGET_FREEBSD_NR_getuid 24
  32. #define TARGET_FREEBSD_NR_geteuid 25
  33. #define TARGET_FREEBSD_NR_ptrace 26
  34. #define TARGET_FREEBSD_NR_recvmsg 27
  35. #define TARGET_FREEBSD_NR_sendmsg 28
  36. #define TARGET_FREEBSD_NR_recvfrom 29
  37. #define TARGET_FREEBSD_NR_accept 30
  38. #define TARGET_FREEBSD_NR_getpeername 31
  39. #define TARGET_FREEBSD_NR_getsockname 32
  40. #define TARGET_FREEBSD_NR_access 33
  41. #define TARGET_FREEBSD_NR_chflags 34
  42. #define TARGET_FREEBSD_NR_fchflags 35
  43. #define TARGET_FREEBSD_NR_sync 36
  44. #define TARGET_FREEBSD_NR_kill 37
  45. /* 38 is old stat */
  46. #define TARGET_FREEBSD_NR_getppid 39
  47. /* 40 is old lstat */
  48. #define TARGET_FREEBSD_NR_dup 41
  49. #define TARGET_FREEBSD_NR_freebsd10_pipe 42
  50. #define TARGET_FREEBSD_NR_getegid 43
  51. #define TARGET_FREEBSD_NR_profil 44
  52. #define TARGET_FREEBSD_NR_ktrace 45
  53. /* 46 is old sigaction */
  54. #define TARGET_FREEBSD_NR_getgid 47
  55. /* 48 is old sigprocmask */
  56. #define TARGET_FREEBSD_NR_getlogin 49
  57. #define TARGET_FREEBSD_NR_setlogin 50
  58. #define TARGET_FREEBSD_NR_acct 51
  59. /* 52 is old sigpending */
  60. #define TARGET_FREEBSD_NR_sigaltstack 53
  61. #define TARGET_FREEBSD_NR_ioctl 54
  62. #define TARGET_FREEBSD_NR_reboot 55
  63. #define TARGET_FREEBSD_NR_revoke 56
  64. #define TARGET_FREEBSD_NR_symlink 57
  65. #define TARGET_FREEBSD_NR_readlink 58
  66. #define TARGET_FREEBSD_NR_execve 59
  67. #define TARGET_FREEBSD_NR_umask 60
  68. #define TARGET_FREEBSD_NR_chroot 61
  69. /* 62 is old fstat */
  70. /* 63 is old getkerninfo */
  71. /* 64 is old getpagesize */
  72. #define TARGET_FREEBSD_NR_msync 65
  73. #define TARGET_FREEBSD_NR_vfork 66
  74. /* 67 is obsolete vread */
  75. /* 68 is obsolete vwrite */
  76. #define TARGET_FREEBSD_NR_sbrk 69
  77. #define TARGET_FREEBSD_NR_sstk 70
  78. /* 71 is old mmap */
  79. #define TARGET_FREEBSD_NR_freebsd11_vadvise 72
  80. #define TARGET_FREEBSD_NR_munmap 73
  81. #define TARGET_FREEBSD_NR_mprotect 74
  82. #define TARGET_FREEBSD_NR_madvise 75
  83. /* 76 is obsolete vhangup */
  84. /* 77 is obsolete vlimit */
  85. #define TARGET_FREEBSD_NR_mincore 78
  86. #define TARGET_FREEBSD_NR_getgroups 79
  87. #define TARGET_FREEBSD_NR_setgroups 80
  88. #define TARGET_FREEBSD_NR_getpgrp 81
  89. #define TARGET_FREEBSD_NR_setpgid 82
  90. #define TARGET_FREEBSD_NR_setitimer 83
  91. /* 84 is old wait */
  92. #define TARGET_FREEBSD_NR_swapon 85
  93. #define TARGET_FREEBSD_NR_getitimer 86
  94. /* 87 is old gethostname */
  95. /* 88 is old sethostname */
  96. #define TARGET_FREEBSD_NR_getdtablesize 89
  97. #define TARGET_FREEBSD_NR_dup2 90
  98. #define TARGET_FREEBSD_NR_fcntl 92
  99. #define TARGET_FREEBSD_NR_select 93
  100. #define TARGET_FREEBSD_NR_fsync 95
  101. #define TARGET_FREEBSD_NR_setpriority 96
  102. #define TARGET_FREEBSD_NR_socket 97
  103. #define TARGET_FREEBSD_NR_connect 98
  104. /* 99 is old accept */
  105. #define TARGET_FREEBSD_NR_getpriority 100
  106. /* 101 is old send */
  107. /* 102 is old recv */
  108. /* 103 is old sigreturn */
  109. #define TARGET_FREEBSD_NR_bind 104
  110. #define TARGET_FREEBSD_NR_setsockopt 105
  111. #define TARGET_FREEBSD_NR_listen 106
  112. /* 107 is obsolete vtimes */
  113. /* 108 is old sigvec */
  114. /* 109 is old sigblock */
  115. /* 110 is old sigsetmask */
  116. /* 111 is old sigsuspend */
  117. /* 112 is old sigstack */
  118. /* 113 is old recvmsg */
  119. /* 114 is old sendmsg */
  120. /* 115 is obsolete vtrace */
  121. #define TARGET_FREEBSD_NR_gettimeofday 116
  122. #define TARGET_FREEBSD_NR_getrusage 117
  123. #define TARGET_FREEBSD_NR_getsockopt 118
  124. #define TARGET_FREEBSD_NR_readv 120
  125. #define TARGET_FREEBSD_NR_writev 121
  126. #define TARGET_FREEBSD_NR_settimeofday 122
  127. #define TARGET_FREEBSD_NR_fchown 123
  128. #define TARGET_FREEBSD_NR_fchmod 124
  129. /* 125 is old recvfrom */
  130. #define TARGET_FREEBSD_NR_setreuid 126
  131. #define TARGET_FREEBSD_NR_setregid 127
  132. #define TARGET_FREEBSD_NR_rename 128
  133. /* 129 is old truncate */
  134. /* 130 is old ftruncate */
  135. #define TARGET_FREEBSD_NR_flock 131
  136. #define TARGET_FREEBSD_NR_mkfifo 132
  137. #define TARGET_FREEBSD_NR_sendto 133
  138. #define TARGET_FREEBSD_NR_shutdown 134
  139. #define TARGET_FREEBSD_NR_socketpair 135
  140. #define TARGET_FREEBSD_NR_mkdir 136
  141. #define TARGET_FREEBSD_NR_rmdir 137
  142. #define TARGET_FREEBSD_NR_utimes 138
  143. /* 139 is obsolete 4.2 sigreturn */
  144. #define TARGET_FREEBSD_NR_adjtime 140
  145. /* 141 is old getpeername */
  146. /* 142 is old gethostid */
  147. /* 143 is old sethostid */
  148. /* 144 is old getrlimit */
  149. /* 145 is old setrlimit */
  150. /* 146 is old killpg */
  151. #define TARGET_FREEBSD_NR_setsid 147
  152. #define TARGET_FREEBSD_NR_quotactl 148
  153. /* 149 is old quota */
  154. /* 150 is old getsockname */
  155. #define TARGET_FREEBSD_NR_nlm_syscall 154
  156. #define TARGET_FREEBSD_NR_nfssvc 155
  157. /* 156 is old getdirentries */
  158. /* 157 is freebsd4 statfs */
  159. /* 158 is freebsd4 fstatfs */
  160. #define TARGET_FREEBSD_NR_lgetfh 160
  161. #define TARGET_FREEBSD_NR_getfh 161
  162. /* 162 is freebsd4 getdomainname */
  163. /* 163 is freebsd4 setdomainname */
  164. /* 164 is freebsd4 uname */
  165. #define TARGET_FREEBSD_NR_sysarch 165
  166. #define TARGET_FREEBSD_NR_rtprio 166
  167. #define TARGET_FREEBSD_NR_semsys 169
  168. #define TARGET_FREEBSD_NR_msgsys 170
  169. #define TARGET_FREEBSD_NR_shmsys 171
  170. /* 173 is freebsd6 pread */
  171. /* 174 is freebsd6 pwrite */
  172. #define TARGET_FREEBSD_NR_setfib 175
  173. #define TARGET_FREEBSD_NR_ntp_adjtime 176
  174. #define TARGET_FREEBSD_NR_setgid 181
  175. #define TARGET_FREEBSD_NR_setegid 182
  176. #define TARGET_FREEBSD_NR_seteuid 183
  177. /* 184 is obsolete lfs_bmapv */
  178. /* 185 is obsolete lfs_markv */
  179. /* 186 is obsolete lfs_segclean */
  180. /* 187 is obsolete lfs_segwait */
  181. #define TARGET_FREEBSD_NR_freebsd11_stat 188
  182. #define TARGET_FREEBSD_NR_freebsd11_fstat 189
  183. #define TARGET_FREEBSD_NR_freebsd11_lstat 190
  184. #define TARGET_FREEBSD_NR_pathconf 191
  185. #define TARGET_FREEBSD_NR_fpathconf 192
  186. #define TARGET_FREEBSD_NR_getrlimit 194
  187. #define TARGET_FREEBSD_NR_setrlimit 195
  188. #define TARGET_FREEBSD_NR_freebsd11_getdirentries 196
  189. /* 197 is freebsd6 mmap */
  190. #define TARGET_FREEBSD_NR___syscall 198
  191. /* 199 is freebsd6 lseek */
  192. /* 200 is freebsd6 truncate */
  193. /* 201 is freebsd6 ftruncate */
  194. #define TARGET_FREEBSD_NR___sysctl 202
  195. #define TARGET_FREEBSD_NR_mlock 203
  196. #define TARGET_FREEBSD_NR_munlock 204
  197. #define TARGET_FREEBSD_NR_undelete 205
  198. #define TARGET_FREEBSD_NR_futimes 206
  199. #define TARGET_FREEBSD_NR_getpgid 207
  200. #define TARGET_FREEBSD_NR_poll 209
  201. #define TARGET_FREEBSD_NR_freebsd7___semctl 220
  202. #define TARGET_FREEBSD_NR_semget 221
  203. #define TARGET_FREEBSD_NR_semop 222
  204. /* 223 is obsolete semconfig */
  205. #define TARGET_FREEBSD_NR_freebsd7_msgctl 224
  206. #define TARGET_FREEBSD_NR_msgget 225
  207. #define TARGET_FREEBSD_NR_msgsnd 226
  208. #define TARGET_FREEBSD_NR_msgrcv 227
  209. #define TARGET_FREEBSD_NR_shmat 228
  210. #define TARGET_FREEBSD_NR_freebsd7_shmctl 229
  211. #define TARGET_FREEBSD_NR_shmdt 230
  212. #define TARGET_FREEBSD_NR_shmget 231
  213. #define TARGET_FREEBSD_NR_clock_gettime 232
  214. #define TARGET_FREEBSD_NR_clock_settime 233
  215. #define TARGET_FREEBSD_NR_clock_getres 234
  216. #define TARGET_FREEBSD_NR_ktimer_create 235
  217. #define TARGET_FREEBSD_NR_ktimer_delete 236
  218. #define TARGET_FREEBSD_NR_ktimer_settime 237
  219. #define TARGET_FREEBSD_NR_ktimer_gettime 238
  220. #define TARGET_FREEBSD_NR_ktimer_getoverrun 239
  221. #define TARGET_FREEBSD_NR_nanosleep 240
  222. #define TARGET_FREEBSD_NR_ffclock_getcounter 241
  223. #define TARGET_FREEBSD_NR_ffclock_setestimate 242
  224. #define TARGET_FREEBSD_NR_ffclock_getestimate 243
  225. #define TARGET_FREEBSD_NR_clock_nanosleep 244
  226. #define TARGET_FREEBSD_NR_clock_getcpuclockid2 247
  227. #define TARGET_FREEBSD_NR_ntp_gettime 248
  228. #define TARGET_FREEBSD_NR_minherit 250
  229. #define TARGET_FREEBSD_NR_rfork 251
  230. /* 252 is obsolete openbsd_poll */
  231. #define TARGET_FREEBSD_NR_issetugid 253
  232. #define TARGET_FREEBSD_NR_lchown 254
  233. #define TARGET_FREEBSD_NR_aio_read 255
  234. #define TARGET_FREEBSD_NR_aio_write 256
  235. #define TARGET_FREEBSD_NR_lio_listio 257
  236. #define TARGET_FREEBSD_NR_freebsd11_getdents 272
  237. #define TARGET_FREEBSD_NR_lchmod 274
  238. /* 275 is obsolete netbsd_lchown */
  239. #define TARGET_FREEBSD_NR_lutimes 276
  240. /* 277 is obsolete netbsd_msync */
  241. #define TARGET_FREEBSD_NR_freebsd11_nstat 278
  242. #define TARGET_FREEBSD_NR_freebsd11_nfstat 279
  243. #define TARGET_FREEBSD_NR_freebsd11_nlstat 280
  244. #define TARGET_FREEBSD_NR_preadv 289
  245. #define TARGET_FREEBSD_NR_pwritev 290
  246. /* 297 is freebsd4 fhstatfs */
  247. #define TARGET_FREEBSD_NR_fhopen 298
  248. #define TARGET_FREEBSD_NR_freebsd11_fhstat 299
  249. #define TARGET_FREEBSD_NR_modnext 300
  250. #define TARGET_FREEBSD_NR_modstat 301
  251. #define TARGET_FREEBSD_NR_modfnext 302
  252. #define TARGET_FREEBSD_NR_modfind 303
  253. #define TARGET_FREEBSD_NR_kldload 304
  254. #define TARGET_FREEBSD_NR_kldunload 305
  255. #define TARGET_FREEBSD_NR_kldfind 306
  256. #define TARGET_FREEBSD_NR_kldnext 307
  257. #define TARGET_FREEBSD_NR_kldstat 308
  258. #define TARGET_FREEBSD_NR_kldfirstmod 309
  259. #define TARGET_FREEBSD_NR_getsid 310
  260. #define TARGET_FREEBSD_NR_setresuid 311
  261. #define TARGET_FREEBSD_NR_setresgid 312
  262. /* 313 is obsolete signanosleep */
  263. #define TARGET_FREEBSD_NR_aio_return 314
  264. #define TARGET_FREEBSD_NR_aio_suspend 315
  265. #define TARGET_FREEBSD_NR_aio_cancel 316
  266. #define TARGET_FREEBSD_NR_aio_error 317
  267. /* 318 is freebsd6 aio_read */
  268. /* 319 is freebsd6 aio_write */
  269. /* 320 is freebsd6 lio_listio */
  270. #define TARGET_FREEBSD_NR_yield 321
  271. /* 322 is obsolete thr_sleep */
  272. /* 323 is obsolete thr_wakeup */
  273. #define TARGET_FREEBSD_NR_mlockall 324
  274. #define TARGET_FREEBSD_NR_munlockall 325
  275. #define TARGET_FREEBSD_NR___getcwd 326
  276. #define TARGET_FREEBSD_NR_sched_setparam 327
  277. #define TARGET_FREEBSD_NR_sched_getparam 328
  278. #define TARGET_FREEBSD_NR_sched_setscheduler 329
  279. #define TARGET_FREEBSD_NR_sched_getscheduler 330
  280. #define TARGET_FREEBSD_NR_sched_yield 331
  281. #define TARGET_FREEBSD_NR_sched_get_priority_max 332
  282. #define TARGET_FREEBSD_NR_sched_get_priority_min 333
  283. #define TARGET_FREEBSD_NR_sched_rr_get_interval 334
  284. #define TARGET_FREEBSD_NR_utrace 335
  285. /* 336 is freebsd4 sendfile */
  286. #define TARGET_FREEBSD_NR_kldsym 337
  287. #define TARGET_FREEBSD_NR_jail 338
  288. #define TARGET_FREEBSD_NR_nnpfs_syscall 339
  289. #define TARGET_FREEBSD_NR_sigprocmask 340
  290. #define TARGET_FREEBSD_NR_sigsuspend 341
  291. /* 342 is freebsd4 sigaction */
  292. #define TARGET_FREEBSD_NR_sigpending 343
  293. /* 344 is freebsd4 sigreturn */
  294. #define TARGET_FREEBSD_NR_sigtimedwait 345
  295. #define TARGET_FREEBSD_NR_sigwaitinfo 346
  296. #define TARGET_FREEBSD_NR___acl_get_file 347
  297. #define TARGET_FREEBSD_NR___acl_set_file 348
  298. #define TARGET_FREEBSD_NR___acl_get_fd 349
  299. #define TARGET_FREEBSD_NR___acl_set_fd 350
  300. #define TARGET_FREEBSD_NR___acl_delete_file 351
  301. #define TARGET_FREEBSD_NR___acl_delete_fd 352
  302. #define TARGET_FREEBSD_NR___acl_aclcheck_file 353
  303. #define TARGET_FREEBSD_NR___acl_aclcheck_fd 354
  304. #define TARGET_FREEBSD_NR_extattrctl 355
  305. #define TARGET_FREEBSD_NR_extattr_set_file 356
  306. #define TARGET_FREEBSD_NR_extattr_get_file 357
  307. #define TARGET_FREEBSD_NR_extattr_delete_file 358
  308. #define TARGET_FREEBSD_NR_aio_waitcomplete 359
  309. #define TARGET_FREEBSD_NR_getresuid 360
  310. #define TARGET_FREEBSD_NR_getresgid 361
  311. #define TARGET_FREEBSD_NR_kqueue 362
  312. #define TARGET_FREEBSD_NR_freebsd11_kevent 363
  313. /* 364 is obsolete __cap_get_proc */
  314. /* 365 is obsolete __cap_set_proc */
  315. /* 366 is obsolete __cap_get_fd */
  316. /* 367 is obsolete __cap_get_file */
  317. /* 368 is obsolete __cap_set_fd */
  318. /* 369 is obsolete __cap_set_file */
  319. #define TARGET_FREEBSD_NR_extattr_set_fd 371
  320. #define TARGET_FREEBSD_NR_extattr_get_fd 372
  321. #define TARGET_FREEBSD_NR_extattr_delete_fd 373
  322. #define TARGET_FREEBSD_NR___setugid 374
  323. /* 375 is obsolete nfsclnt */
  324. #define TARGET_FREEBSD_NR_eaccess 376
  325. #define TARGET_FREEBSD_NR_afs3_syscall 377
  326. #define TARGET_FREEBSD_NR_nmount 378
  327. /* 379 is obsolete kse_exit */
  328. /* 380 is obsolete kse_wakeup */
  329. /* 381 is obsolete kse_create */
  330. /* 382 is obsolete kse_thr_interrupt */
  331. /* 383 is obsolete kse_release */
  332. #define TARGET_FREEBSD_NR___mac_get_proc 384
  333. #define TARGET_FREEBSD_NR___mac_set_proc 385
  334. #define TARGET_FREEBSD_NR___mac_get_fd 386
  335. #define TARGET_FREEBSD_NR___mac_get_file 387
  336. #define TARGET_FREEBSD_NR___mac_set_fd 388
  337. #define TARGET_FREEBSD_NR___mac_set_file 389
  338. #define TARGET_FREEBSD_NR_kenv 390
  339. #define TARGET_FREEBSD_NR_lchflags 391
  340. #define TARGET_FREEBSD_NR_uuidgen 392
  341. #define TARGET_FREEBSD_NR_sendfile 393
  342. #define TARGET_FREEBSD_NR_mac_syscall 394
  343. #define TARGET_FREEBSD_NR_freebsd11_getfsstat 395
  344. #define TARGET_FREEBSD_NR_freebsd11_statfs 396
  345. #define TARGET_FREEBSD_NR_freebsd11_fstatfs 397
  346. #define TARGET_FREEBSD_NR_freebsd11_fhstatfs 398
  347. #define TARGET_FREEBSD_NR_ksem_close 400
  348. #define TARGET_FREEBSD_NR_ksem_post 401
  349. #define TARGET_FREEBSD_NR_ksem_wait 402
  350. #define TARGET_FREEBSD_NR_ksem_trywait 403
  351. #define TARGET_FREEBSD_NR_ksem_init 404
  352. #define TARGET_FREEBSD_NR_ksem_open 405
  353. #define TARGET_FREEBSD_NR_ksem_unlink 406
  354. #define TARGET_FREEBSD_NR_ksem_getvalue 407
  355. #define TARGET_FREEBSD_NR_ksem_destroy 408
  356. #define TARGET_FREEBSD_NR___mac_get_pid 409
  357. #define TARGET_FREEBSD_NR___mac_get_link 410
  358. #define TARGET_FREEBSD_NR___mac_set_link 411
  359. #define TARGET_FREEBSD_NR_extattr_set_link 412
  360. #define TARGET_FREEBSD_NR_extattr_get_link 413
  361. #define TARGET_FREEBSD_NR_extattr_delete_link 414
  362. #define TARGET_FREEBSD_NR___mac_execve 415
  363. #define TARGET_FREEBSD_NR_sigaction 416
  364. #define TARGET_FREEBSD_NR_sigreturn 417
  365. #define TARGET_FREEBSD_NR_getcontext 421
  366. #define TARGET_FREEBSD_NR_setcontext 422
  367. #define TARGET_FREEBSD_NR_swapcontext 423
  368. #define TARGET_FREEBSD_NR_swapoff 424
  369. #define TARGET_FREEBSD_NR___acl_get_link 425
  370. #define TARGET_FREEBSD_NR___acl_set_link 426
  371. #define TARGET_FREEBSD_NR___acl_delete_link 427
  372. #define TARGET_FREEBSD_NR___acl_aclcheck_link 428
  373. #define TARGET_FREEBSD_NR_sigwait 429
  374. #define TARGET_FREEBSD_NR_thr_create 430
  375. #define TARGET_FREEBSD_NR_thr_exit 431
  376. #define TARGET_FREEBSD_NR_thr_self 432
  377. #define TARGET_FREEBSD_NR_thr_kill 433
  378. #define TARGET_FREEBSD_NR_jail_attach 436
  379. #define TARGET_FREEBSD_NR_extattr_list_fd 437
  380. #define TARGET_FREEBSD_NR_extattr_list_file 438
  381. #define TARGET_FREEBSD_NR_extattr_list_link 439
  382. /* 440 is obsolete kse_switchin */
  383. #define TARGET_FREEBSD_NR_ksem_timedwait 441
  384. #define TARGET_FREEBSD_NR_thr_suspend 442
  385. #define TARGET_FREEBSD_NR_thr_wake 443
  386. #define TARGET_FREEBSD_NR_kldunloadf 444
  387. #define TARGET_FREEBSD_NR_audit 445
  388. #define TARGET_FREEBSD_NR_auditon 446
  389. #define TARGET_FREEBSD_NR_getauid 447
  390. #define TARGET_FREEBSD_NR_setauid 448
  391. #define TARGET_FREEBSD_NR_getaudit 449
  392. #define TARGET_FREEBSD_NR_setaudit 450
  393. #define TARGET_FREEBSD_NR_getaudit_addr 451
  394. #define TARGET_FREEBSD_NR_setaudit_addr 452
  395. #define TARGET_FREEBSD_NR_auditctl 453
  396. #define TARGET_FREEBSD_NR__umtx_op 454
  397. #define TARGET_FREEBSD_NR_thr_new 455
  398. #define TARGET_FREEBSD_NR_sigqueue 456
  399. #define TARGET_FREEBSD_NR_kmq_open 457
  400. #define TARGET_FREEBSD_NR_kmq_setattr 458
  401. #define TARGET_FREEBSD_NR_kmq_timedreceive 459
  402. #define TARGET_FREEBSD_NR_kmq_timedsend 460
  403. #define TARGET_FREEBSD_NR_kmq_notify 461
  404. #define TARGET_FREEBSD_NR_kmq_unlink 462
  405. #define TARGET_FREEBSD_NR_abort2 463
  406. #define TARGET_FREEBSD_NR_thr_set_name 464
  407. #define TARGET_FREEBSD_NR_aio_fsync 465
  408. #define TARGET_FREEBSD_NR_rtprio_thread 466
  409. #define TARGET_FREEBSD_NR_sctp_peeloff 471
  410. #define TARGET_FREEBSD_NR_sctp_generic_sendmsg 472
  411. #define TARGET_FREEBSD_NR_sctp_generic_sendmsg_iov 473
  412. #define TARGET_FREEBSD_NR_sctp_generic_recvmsg 474
  413. #define TARGET_FREEBSD_NR_pread 475
  414. #define TARGET_FREEBSD_NR_pwrite 476
  415. #define TARGET_FREEBSD_NR_mmap 477
  416. #define TARGET_FREEBSD_NR_lseek 478
  417. #define TARGET_FREEBSD_NR_truncate 479
  418. #define TARGET_FREEBSD_NR_ftruncate 480
  419. #define TARGET_FREEBSD_NR_thr_kill2 481
  420. #define TARGET_FREEBSD_NR_freebsd12_shm_open 482
  421. #define TARGET_FREEBSD_NR_shm_unlink 483
  422. #define TARGET_FREEBSD_NR_cpuset 484
  423. #define TARGET_FREEBSD_NR_cpuset_setid 485
  424. #define TARGET_FREEBSD_NR_cpuset_getid 486
  425. #define TARGET_FREEBSD_NR_cpuset_getaffinity 487
  426. #define TARGET_FREEBSD_NR_cpuset_setaffinity 488
  427. #define TARGET_FREEBSD_NR_faccessat 489
  428. #define TARGET_FREEBSD_NR_fchmodat 490
  429. #define TARGET_FREEBSD_NR_fchownat 491
  430. #define TARGET_FREEBSD_NR_fexecve 492
  431. #define TARGET_FREEBSD_NR_freebsd11_fstatat 493
  432. #define TARGET_FREEBSD_NR_futimesat 494
  433. #define TARGET_FREEBSD_NR_linkat 495
  434. #define TARGET_FREEBSD_NR_mkdirat 496
  435. #define TARGET_FREEBSD_NR_mkfifoat 497
  436. #define TARGET_FREEBSD_NR_freebsd11_mknodat 498
  437. #define TARGET_FREEBSD_NR_openat 499
  438. #define TARGET_FREEBSD_NR_readlinkat 500
  439. #define TARGET_FREEBSD_NR_renameat 501
  440. #define TARGET_FREEBSD_NR_symlinkat 502
  441. #define TARGET_FREEBSD_NR_unlinkat 503
  442. #define TARGET_FREEBSD_NR_posix_openpt 504
  443. #define TARGET_FREEBSD_NR_gssd_syscall 505
  444. #define TARGET_FREEBSD_NR_jail_get 506
  445. #define TARGET_FREEBSD_NR_jail_set 507
  446. #define TARGET_FREEBSD_NR_jail_remove 508
  447. #define TARGET_FREEBSD_NR_freebsd12_closefrom 509
  448. #define TARGET_FREEBSD_NR___semctl 510
  449. #define TARGET_FREEBSD_NR_msgctl 511
  450. #define TARGET_FREEBSD_NR_shmctl 512
  451. #define TARGET_FREEBSD_NR_lpathconf 513
  452. /* 514 is obsolete cap_new */
  453. #define TARGET_FREEBSD_NR___cap_rights_get 515
  454. #define TARGET_FREEBSD_NR_cap_enter 516
  455. #define TARGET_FREEBSD_NR_cap_getmode 517
  456. #define TARGET_FREEBSD_NR_pdfork 518
  457. #define TARGET_FREEBSD_NR_pdkill 519
  458. #define TARGET_FREEBSD_NR_pdgetpid 520
  459. #define TARGET_FREEBSD_NR_pselect 522
  460. #define TARGET_FREEBSD_NR_getloginclass 523
  461. #define TARGET_FREEBSD_NR_setloginclass 524
  462. #define TARGET_FREEBSD_NR_rctl_get_racct 525
  463. #define TARGET_FREEBSD_NR_rctl_get_rules 526
  464. #define TARGET_FREEBSD_NR_rctl_get_limits 527
  465. #define TARGET_FREEBSD_NR_rctl_add_rule 528
  466. #define TARGET_FREEBSD_NR_rctl_remove_rule 529
  467. #define TARGET_FREEBSD_NR_posix_fallocate 530
  468. #define TARGET_FREEBSD_NR_posix_fadvise 531
  469. #define TARGET_FREEBSD_NR_wait6 532
  470. #define TARGET_FREEBSD_NR_cap_rights_limit 533
  471. #define TARGET_FREEBSD_NR_cap_ioctls_limit 534
  472. #define TARGET_FREEBSD_NR_cap_ioctls_get 535
  473. #define TARGET_FREEBSD_NR_cap_fcntls_limit 536
  474. #define TARGET_FREEBSD_NR_cap_fcntls_get 537
  475. #define TARGET_FREEBSD_NR_bindat 538
  476. #define TARGET_FREEBSD_NR_connectat 539
  477. #define TARGET_FREEBSD_NR_chflagsat 540
  478. #define TARGET_FREEBSD_NR_accept4 541
  479. #define TARGET_FREEBSD_NR_pipe2 542
  480. #define TARGET_FREEBSD_NR_aio_mlock 543
  481. #define TARGET_FREEBSD_NR_procctl 544
  482. #define TARGET_FREEBSD_NR_ppoll 545
  483. #define TARGET_FREEBSD_NR_futimens 546
  484. #define TARGET_FREEBSD_NR_utimensat 547
  485. /* 548 is obsolete numa_getaffinity */
  486. /* 549 is obsolete numa_setaffinity */
  487. #define TARGET_FREEBSD_NR_fdatasync 550
  488. #define TARGET_FREEBSD_NR_fstat 551
  489. #define TARGET_FREEBSD_NR_fstatat 552
  490. #define TARGET_FREEBSD_NR_fhstat 553
  491. #define TARGET_FREEBSD_NR_getdirentries 554
  492. #define TARGET_FREEBSD_NR_statfs 555
  493. #define TARGET_FREEBSD_NR_fstatfs 556
  494. #define TARGET_FREEBSD_NR_getfsstat 557
  495. #define TARGET_FREEBSD_NR_fhstatfs 558
  496. #define TARGET_FREEBSD_NR_mknodat 559
  497. #define TARGET_FREEBSD_NR_kevent 560
  498. #define TARGET_FREEBSD_NR_cpuset_getdomain 561
  499. #define TARGET_FREEBSD_NR_cpuset_setdomain 562
  500. #define TARGET_FREEBSD_NR_getrandom 563
  501. #define TARGET_FREEBSD_NR_getfhat 564
  502. #define TARGET_FREEBSD_NR_fhlink 565
  503. #define TARGET_FREEBSD_NR_fhlinkat 566
  504. #define TARGET_FREEBSD_NR_fhreadlink 567
  505. #define TARGET_FREEBSD_NR_funlinkat 568
  506. #define TARGET_FREEBSD_NR_copy_file_range 569
  507. #define TARGET_FREEBSD_NR___sysctlbyname 570
  508. #define TARGET_FREEBSD_NR_shm_open2 571
  509. #define TARGET_FREEBSD_NR_shm_rename 572
  510. #define TARGET_FREEBSD_NR_sigfastblock 573
  511. #define TARGET_FREEBSD_NR___realpathat 574
  512. #define TARGET_FREEBSD_NR_close_range 575
  513. #define TARGET_FREEBSD_NR_rpctls_syscall 576
  514. #define TARGET_FREEBSD_NR_MAXSYSCALL 577