xref: /openbmc/qemu/bsd-user/freebsd/syscall_nr.h (revision b3f846c59d8405bb87c551187721fc92ff2f1b92)
184778508Sblueswir1 /*
284778508Sblueswir1  * System call numbers.
384778508Sblueswir1  *
4*4d306e59SWarner Losh  * DO NOT EDIT-- this file is automatically @generated.
5*4d306e59SWarner Losh  * $FreeBSD$
684778508Sblueswir1  */
784778508Sblueswir1 
884778508Sblueswir1 #define TARGET_FREEBSD_NR_syscall       0
984778508Sblueswir1 #define TARGET_FREEBSD_NR_exit  1
1084778508Sblueswir1 #define TARGET_FREEBSD_NR_fork  2
1184778508Sblueswir1 #define TARGET_FREEBSD_NR_read  3
1284778508Sblueswir1 #define TARGET_FREEBSD_NR_write 4
1384778508Sblueswir1 #define TARGET_FREEBSD_NR_open  5
1484778508Sblueswir1 #define TARGET_FREEBSD_NR_close 6
1584778508Sblueswir1 #define TARGET_FREEBSD_NR_wait4 7
166b24119bSStacey Son                                 /* 8 is old creat */
1784778508Sblueswir1 #define TARGET_FREEBSD_NR_link  9
1884778508Sblueswir1 #define TARGET_FREEBSD_NR_unlink        10
196b24119bSStacey Son                                 /* 11 is obsolete execv */
2084778508Sblueswir1 #define TARGET_FREEBSD_NR_chdir 12
2184778508Sblueswir1 #define TARGET_FREEBSD_NR_fchdir        13
22*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_mknod       14
2384778508Sblueswir1 #define TARGET_FREEBSD_NR_chmod 15
2484778508Sblueswir1 #define TARGET_FREEBSD_NR_chown 16
2584778508Sblueswir1 #define TARGET_FREEBSD_NR_break 17
26*4d306e59SWarner Losh                                 /* 18 is freebsd4 getfsstat */
276b24119bSStacey Son                                 /* 19 is old lseek */
2884778508Sblueswir1 #define TARGET_FREEBSD_NR_getpid        20
2984778508Sblueswir1 #define TARGET_FREEBSD_NR_mount 21
3084778508Sblueswir1 #define TARGET_FREEBSD_NR_unmount       22
3184778508Sblueswir1 #define TARGET_FREEBSD_NR_setuid        23
3284778508Sblueswir1 #define TARGET_FREEBSD_NR_getuid        24
3384778508Sblueswir1 #define TARGET_FREEBSD_NR_geteuid       25
3484778508Sblueswir1 #define TARGET_FREEBSD_NR_ptrace        26
3584778508Sblueswir1 #define TARGET_FREEBSD_NR_recvmsg       27
3684778508Sblueswir1 #define TARGET_FREEBSD_NR_sendmsg       28
3784778508Sblueswir1 #define TARGET_FREEBSD_NR_recvfrom      29
3884778508Sblueswir1 #define TARGET_FREEBSD_NR_accept        30
3984778508Sblueswir1 #define TARGET_FREEBSD_NR_getpeername   31
4084778508Sblueswir1 #define TARGET_FREEBSD_NR_getsockname   32
4184778508Sblueswir1 #define TARGET_FREEBSD_NR_access        33
4284778508Sblueswir1 #define TARGET_FREEBSD_NR_chflags       34
4384778508Sblueswir1 #define TARGET_FREEBSD_NR_fchflags      35
4484778508Sblueswir1 #define TARGET_FREEBSD_NR_sync  36
4584778508Sblueswir1 #define TARGET_FREEBSD_NR_kill  37
466b24119bSStacey Son                                 /* 38 is old stat */
4784778508Sblueswir1 #define TARGET_FREEBSD_NR_getppid       39
486b24119bSStacey Son                                 /* 40 is old lstat */
4984778508Sblueswir1 #define TARGET_FREEBSD_NR_dup   41
50*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd10_pipe        42
5184778508Sblueswir1 #define TARGET_FREEBSD_NR_getegid       43
5284778508Sblueswir1 #define TARGET_FREEBSD_NR_profil        44
5384778508Sblueswir1 #define TARGET_FREEBSD_NR_ktrace        45
546b24119bSStacey Son                                 /* 46 is old sigaction */
5584778508Sblueswir1 #define TARGET_FREEBSD_NR_getgid        47
566b24119bSStacey Son                                 /* 48 is old sigprocmask */
5784778508Sblueswir1 #define TARGET_FREEBSD_NR_getlogin      49
5884778508Sblueswir1 #define TARGET_FREEBSD_NR_setlogin      50
5984778508Sblueswir1 #define TARGET_FREEBSD_NR_acct  51
606b24119bSStacey Son                                 /* 52 is old sigpending */
6184778508Sblueswir1 #define TARGET_FREEBSD_NR_sigaltstack   53
6284778508Sblueswir1 #define TARGET_FREEBSD_NR_ioctl 54
6384778508Sblueswir1 #define TARGET_FREEBSD_NR_reboot        55
6484778508Sblueswir1 #define TARGET_FREEBSD_NR_revoke        56
6584778508Sblueswir1 #define TARGET_FREEBSD_NR_symlink       57
6684778508Sblueswir1 #define TARGET_FREEBSD_NR_readlink      58
6784778508Sblueswir1 #define TARGET_FREEBSD_NR_execve        59
6884778508Sblueswir1 #define TARGET_FREEBSD_NR_umask 60
6984778508Sblueswir1 #define TARGET_FREEBSD_NR_chroot        61
706b24119bSStacey Son                                 /* 62 is old fstat */
716b24119bSStacey Son                                 /* 63 is old getkerninfo */
726b24119bSStacey Son                                 /* 64 is old getpagesize */
7384778508Sblueswir1 #define TARGET_FREEBSD_NR_msync 65
7484778508Sblueswir1 #define TARGET_FREEBSD_NR_vfork 66
756b24119bSStacey Son                                 /* 67 is obsolete vread */
766b24119bSStacey Son                                 /* 68 is obsolete vwrite */
7784778508Sblueswir1 #define TARGET_FREEBSD_NR_sbrk  69
7884778508Sblueswir1 #define TARGET_FREEBSD_NR_sstk  70
796b24119bSStacey Son                                 /* 71 is old mmap */
80*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_vadvise     72
8184778508Sblueswir1 #define TARGET_FREEBSD_NR_munmap        73
8284778508Sblueswir1 #define TARGET_FREEBSD_NR_mprotect      74
8384778508Sblueswir1 #define TARGET_FREEBSD_NR_madvise       75
846b24119bSStacey Son                                 /* 76 is obsolete vhangup */
856b24119bSStacey Son                                 /* 77 is obsolete vlimit */
8684778508Sblueswir1 #define TARGET_FREEBSD_NR_mincore       78
8784778508Sblueswir1 #define TARGET_FREEBSD_NR_getgroups     79
8884778508Sblueswir1 #define TARGET_FREEBSD_NR_setgroups     80
8984778508Sblueswir1 #define TARGET_FREEBSD_NR_getpgrp       81
9084778508Sblueswir1 #define TARGET_FREEBSD_NR_setpgid       82
9184778508Sblueswir1 #define TARGET_FREEBSD_NR_setitimer     83
926b24119bSStacey Son                                 /* 84 is old wait */
9384778508Sblueswir1 #define TARGET_FREEBSD_NR_swapon        85
9484778508Sblueswir1 #define TARGET_FREEBSD_NR_getitimer     86
956b24119bSStacey Son                                 /* 87 is old gethostname */
966b24119bSStacey Son                                 /* 88 is old sethostname */
9784778508Sblueswir1 #define TARGET_FREEBSD_NR_getdtablesize 89
9884778508Sblueswir1 #define TARGET_FREEBSD_NR_dup2  90
9984778508Sblueswir1 #define TARGET_FREEBSD_NR_fcntl 92
10084778508Sblueswir1 #define TARGET_FREEBSD_NR_select        93
10184778508Sblueswir1 #define TARGET_FREEBSD_NR_fsync 95
10284778508Sblueswir1 #define TARGET_FREEBSD_NR_setpriority   96
10384778508Sblueswir1 #define TARGET_FREEBSD_NR_socket        97
10484778508Sblueswir1 #define TARGET_FREEBSD_NR_connect       98
1056b24119bSStacey Son                                 /* 99 is old accept */
10684778508Sblueswir1 #define TARGET_FREEBSD_NR_getpriority   100
1076b24119bSStacey Son                                 /* 101 is old send */
1086b24119bSStacey Son                                 /* 102 is old recv */
1096b24119bSStacey Son                                 /* 103 is old sigreturn */
11084778508Sblueswir1 #define TARGET_FREEBSD_NR_bind  104
11184778508Sblueswir1 #define TARGET_FREEBSD_NR_setsockopt    105
11284778508Sblueswir1 #define TARGET_FREEBSD_NR_listen        106
1136b24119bSStacey Son                                 /* 107 is obsolete vtimes */
1146b24119bSStacey Son                                 /* 108 is old sigvec */
1156b24119bSStacey Son                                 /* 109 is old sigblock */
1166b24119bSStacey Son                                 /* 110 is old sigsetmask */
1176b24119bSStacey Son                                 /* 111 is old sigsuspend */
1186b24119bSStacey Son                                 /* 112 is old sigstack */
1196b24119bSStacey Son                                 /* 113 is old recvmsg */
1206b24119bSStacey Son                                 /* 114 is old sendmsg */
1216b24119bSStacey Son                                 /* 115 is obsolete vtrace */
12284778508Sblueswir1 #define TARGET_FREEBSD_NR_gettimeofday  116
12384778508Sblueswir1 #define TARGET_FREEBSD_NR_getrusage     117
12484778508Sblueswir1 #define TARGET_FREEBSD_NR_getsockopt    118
12584778508Sblueswir1 #define TARGET_FREEBSD_NR_readv 120
12684778508Sblueswir1 #define TARGET_FREEBSD_NR_writev        121
12784778508Sblueswir1 #define TARGET_FREEBSD_NR_settimeofday  122
12884778508Sblueswir1 #define TARGET_FREEBSD_NR_fchown        123
12984778508Sblueswir1 #define TARGET_FREEBSD_NR_fchmod        124
1306b24119bSStacey Son                                 /* 125 is old recvfrom */
13184778508Sblueswir1 #define TARGET_FREEBSD_NR_setreuid      126
13284778508Sblueswir1 #define TARGET_FREEBSD_NR_setregid      127
13384778508Sblueswir1 #define TARGET_FREEBSD_NR_rename        128
1346b24119bSStacey Son                                 /* 129 is old truncate */
1356b24119bSStacey Son                                 /* 130 is old ftruncate */
13684778508Sblueswir1 #define TARGET_FREEBSD_NR_flock 131
13784778508Sblueswir1 #define TARGET_FREEBSD_NR_mkfifo        132
13884778508Sblueswir1 #define TARGET_FREEBSD_NR_sendto        133
13984778508Sblueswir1 #define TARGET_FREEBSD_NR_shutdown      134
14084778508Sblueswir1 #define TARGET_FREEBSD_NR_socketpair    135
14184778508Sblueswir1 #define TARGET_FREEBSD_NR_mkdir 136
14284778508Sblueswir1 #define TARGET_FREEBSD_NR_rmdir 137
14384778508Sblueswir1 #define TARGET_FREEBSD_NR_utimes        138
1446b24119bSStacey Son                                 /* 139 is obsolete 4.2 sigreturn */
14584778508Sblueswir1 #define TARGET_FREEBSD_NR_adjtime       140
1466b24119bSStacey Son                                 /* 141 is old getpeername */
1476b24119bSStacey Son                                 /* 142 is old gethostid */
1486b24119bSStacey Son                                 /* 143 is old sethostid */
1496b24119bSStacey Son                                 /* 144 is old getrlimit */
1506b24119bSStacey Son                                 /* 145 is old setrlimit */
1516b24119bSStacey Son                                 /* 146 is old killpg */
15284778508Sblueswir1 #define TARGET_FREEBSD_NR_setsid        147
15384778508Sblueswir1 #define TARGET_FREEBSD_NR_quotactl      148
1546b24119bSStacey Son                                 /* 149 is old quota */
1556b24119bSStacey Son                                 /* 150 is old getsockname */
15684778508Sblueswir1 #define TARGET_FREEBSD_NR_nlm_syscall   154
15784778508Sblueswir1 #define TARGET_FREEBSD_NR_nfssvc        155
1586b24119bSStacey Son                                 /* 156 is old getdirentries */
159*4d306e59SWarner Losh                                 /* 157 is freebsd4 statfs */
160*4d306e59SWarner Losh                                 /* 158 is freebsd4 fstatfs */
16184778508Sblueswir1 #define TARGET_FREEBSD_NR_lgetfh        160
16284778508Sblueswir1 #define TARGET_FREEBSD_NR_getfh 161
163*4d306e59SWarner Losh                                 /* 162 is freebsd4 getdomainname */
164*4d306e59SWarner Losh                                 /* 163 is freebsd4 setdomainname */
165*4d306e59SWarner Losh                                 /* 164 is freebsd4 uname */
16684778508Sblueswir1 #define TARGET_FREEBSD_NR_sysarch       165
16784778508Sblueswir1 #define TARGET_FREEBSD_NR_rtprio        166
16884778508Sblueswir1 #define TARGET_FREEBSD_NR_semsys        169
16984778508Sblueswir1 #define TARGET_FREEBSD_NR_msgsys        170
17084778508Sblueswir1 #define TARGET_FREEBSD_NR_shmsys        171
171*4d306e59SWarner Losh                                 /* 173 is freebsd6 pread */
172*4d306e59SWarner Losh                                 /* 174 is freebsd6 pwrite */
17384778508Sblueswir1 #define TARGET_FREEBSD_NR_setfib        175
17484778508Sblueswir1 #define TARGET_FREEBSD_NR_ntp_adjtime   176
17584778508Sblueswir1 #define TARGET_FREEBSD_NR_setgid        181
17684778508Sblueswir1 #define TARGET_FREEBSD_NR_setegid       182
17784778508Sblueswir1 #define TARGET_FREEBSD_NR_seteuid       183
178*4d306e59SWarner Losh                                 /* 184 is obsolete lfs_bmapv */
179*4d306e59SWarner Losh                                 /* 185 is obsolete lfs_markv */
180*4d306e59SWarner Losh                                 /* 186 is obsolete lfs_segclean */
181*4d306e59SWarner Losh                                 /* 187 is obsolete lfs_segwait */
182*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_stat        188
183*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_fstat       189
184*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_lstat       190
18584778508Sblueswir1 #define TARGET_FREEBSD_NR_pathconf      191
18684778508Sblueswir1 #define TARGET_FREEBSD_NR_fpathconf     192
18784778508Sblueswir1 #define TARGET_FREEBSD_NR_getrlimit     194
18884778508Sblueswir1 #define TARGET_FREEBSD_NR_setrlimit     195
189*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_getdirentries       196
190*4d306e59SWarner Losh                                 /* 197 is freebsd6 mmap */
19184778508Sblueswir1 #define TARGET_FREEBSD_NR___syscall     198
192*4d306e59SWarner Losh                                 /* 199 is freebsd6 lseek */
193*4d306e59SWarner Losh                                 /* 200 is freebsd6 truncate */
194*4d306e59SWarner Losh                                 /* 201 is freebsd6 ftruncate */
19584778508Sblueswir1 #define TARGET_FREEBSD_NR___sysctl      202
19684778508Sblueswir1 #define TARGET_FREEBSD_NR_mlock 203
19784778508Sblueswir1 #define TARGET_FREEBSD_NR_munlock       204
19884778508Sblueswir1 #define TARGET_FREEBSD_NR_undelete      205
19984778508Sblueswir1 #define TARGET_FREEBSD_NR_futimes       206
20084778508Sblueswir1 #define TARGET_FREEBSD_NR_getpgid       207
20184778508Sblueswir1 #define TARGET_FREEBSD_NR_poll  209
2026b24119bSStacey Son #define TARGET_FREEBSD_NR_freebsd7___semctl     220
20384778508Sblueswir1 #define TARGET_FREEBSD_NR_semget        221
20484778508Sblueswir1 #define TARGET_FREEBSD_NR_semop 222
205*4d306e59SWarner Losh                                 /* 223 is obsolete semconfig */
2066b24119bSStacey Son #define TARGET_FREEBSD_NR_freebsd7_msgctl       224
20784778508Sblueswir1 #define TARGET_FREEBSD_NR_msgget        225
20884778508Sblueswir1 #define TARGET_FREEBSD_NR_msgsnd        226
20984778508Sblueswir1 #define TARGET_FREEBSD_NR_msgrcv        227
21084778508Sblueswir1 #define TARGET_FREEBSD_NR_shmat 228
2116b24119bSStacey Son #define TARGET_FREEBSD_NR_freebsd7_shmctl       229
21284778508Sblueswir1 #define TARGET_FREEBSD_NR_shmdt 230
21384778508Sblueswir1 #define TARGET_FREEBSD_NR_shmget        231
21484778508Sblueswir1 #define TARGET_FREEBSD_NR_clock_gettime 232
21584778508Sblueswir1 #define TARGET_FREEBSD_NR_clock_settime 233
21684778508Sblueswir1 #define TARGET_FREEBSD_NR_clock_getres  234
21784778508Sblueswir1 #define TARGET_FREEBSD_NR_ktimer_create 235
21884778508Sblueswir1 #define TARGET_FREEBSD_NR_ktimer_delete 236
21984778508Sblueswir1 #define TARGET_FREEBSD_NR_ktimer_settime        237
22084778508Sblueswir1 #define TARGET_FREEBSD_NR_ktimer_gettime        238
22184778508Sblueswir1 #define TARGET_FREEBSD_NR_ktimer_getoverrun     239
22284778508Sblueswir1 #define TARGET_FREEBSD_NR_nanosleep     240
223*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_ffclock_getcounter    241
224*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_ffclock_setestimate   242
225*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_ffclock_getestimate   243
226*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_clock_nanosleep       244
227*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_clock_getcpuclockid2  247
22884778508Sblueswir1 #define TARGET_FREEBSD_NR_ntp_gettime   248
22984778508Sblueswir1 #define TARGET_FREEBSD_NR_minherit      250
23084778508Sblueswir1 #define TARGET_FREEBSD_NR_rfork 251
231*4d306e59SWarner Losh                                 /* 252 is obsolete openbsd_poll */
23284778508Sblueswir1 #define TARGET_FREEBSD_NR_issetugid     253
23384778508Sblueswir1 #define TARGET_FREEBSD_NR_lchown        254
23484778508Sblueswir1 #define TARGET_FREEBSD_NR_aio_read      255
23584778508Sblueswir1 #define TARGET_FREEBSD_NR_aio_write     256
23684778508Sblueswir1 #define TARGET_FREEBSD_NR_lio_listio    257
237*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_getdents    272
23884778508Sblueswir1 #define TARGET_FREEBSD_NR_lchmod        274
239*4d306e59SWarner Losh                                 /* 275 is obsolete netbsd_lchown */
24084778508Sblueswir1 #define TARGET_FREEBSD_NR_lutimes       276
241*4d306e59SWarner Losh                                 /* 277 is obsolete netbsd_msync */
242*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_nstat       278
243*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_nfstat      279
244*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_nlstat      280
24584778508Sblueswir1 #define TARGET_FREEBSD_NR_preadv        289
24684778508Sblueswir1 #define TARGET_FREEBSD_NR_pwritev       290
247*4d306e59SWarner Losh                                 /* 297 is freebsd4 fhstatfs */
24884778508Sblueswir1 #define TARGET_FREEBSD_NR_fhopen        298
249*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_fhstat      299
25084778508Sblueswir1 #define TARGET_FREEBSD_NR_modnext       300
25184778508Sblueswir1 #define TARGET_FREEBSD_NR_modstat       301
25284778508Sblueswir1 #define TARGET_FREEBSD_NR_modfnext      302
25384778508Sblueswir1 #define TARGET_FREEBSD_NR_modfind       303
25484778508Sblueswir1 #define TARGET_FREEBSD_NR_kldload       304
25584778508Sblueswir1 #define TARGET_FREEBSD_NR_kldunload     305
25684778508Sblueswir1 #define TARGET_FREEBSD_NR_kldfind       306
25784778508Sblueswir1 #define TARGET_FREEBSD_NR_kldnext       307
25884778508Sblueswir1 #define TARGET_FREEBSD_NR_kldstat       308
25984778508Sblueswir1 #define TARGET_FREEBSD_NR_kldfirstmod   309
26084778508Sblueswir1 #define TARGET_FREEBSD_NR_getsid        310
26184778508Sblueswir1 #define TARGET_FREEBSD_NR_setresuid     311
26284778508Sblueswir1 #define TARGET_FREEBSD_NR_setresgid     312
2636b24119bSStacey Son                                 /* 313 is obsolete signanosleep */
26484778508Sblueswir1 #define TARGET_FREEBSD_NR_aio_return    314
26584778508Sblueswir1 #define TARGET_FREEBSD_NR_aio_suspend   315
26684778508Sblueswir1 #define TARGET_FREEBSD_NR_aio_cancel    316
26784778508Sblueswir1 #define TARGET_FREEBSD_NR_aio_error     317
268*4d306e59SWarner Losh                                 /* 318 is freebsd6 aio_read */
269*4d306e59SWarner Losh                                 /* 319 is freebsd6 aio_write */
270*4d306e59SWarner Losh                                 /* 320 is freebsd6 lio_listio */
27184778508Sblueswir1 #define TARGET_FREEBSD_NR_yield 321
2726b24119bSStacey Son                                 /* 322 is obsolete thr_sleep */
2736b24119bSStacey Son                                 /* 323 is obsolete thr_wakeup */
27484778508Sblueswir1 #define TARGET_FREEBSD_NR_mlockall      324
27584778508Sblueswir1 #define TARGET_FREEBSD_NR_munlockall    325
27684778508Sblueswir1 #define TARGET_FREEBSD_NR___getcwd      326
27784778508Sblueswir1 #define TARGET_FREEBSD_NR_sched_setparam        327
27884778508Sblueswir1 #define TARGET_FREEBSD_NR_sched_getparam        328
27984778508Sblueswir1 #define TARGET_FREEBSD_NR_sched_setscheduler    329
28084778508Sblueswir1 #define TARGET_FREEBSD_NR_sched_getscheduler    330
28184778508Sblueswir1 #define TARGET_FREEBSD_NR_sched_yield   331
28284778508Sblueswir1 #define TARGET_FREEBSD_NR_sched_get_priority_max        332
28384778508Sblueswir1 #define TARGET_FREEBSD_NR_sched_get_priority_min        333
28484778508Sblueswir1 #define TARGET_FREEBSD_NR_sched_rr_get_interval 334
28584778508Sblueswir1 #define TARGET_FREEBSD_NR_utrace        335
286*4d306e59SWarner Losh                                 /* 336 is freebsd4 sendfile */
28784778508Sblueswir1 #define TARGET_FREEBSD_NR_kldsym        337
28884778508Sblueswir1 #define TARGET_FREEBSD_NR_jail  338
2896b24119bSStacey Son #define TARGET_FREEBSD_NR_nnpfs_syscall 339
29084778508Sblueswir1 #define TARGET_FREEBSD_NR_sigprocmask   340
29184778508Sblueswir1 #define TARGET_FREEBSD_NR_sigsuspend    341
292*4d306e59SWarner Losh                                 /* 342 is freebsd4 sigaction */
29384778508Sblueswir1 #define TARGET_FREEBSD_NR_sigpending    343
294*4d306e59SWarner Losh                                 /* 344 is freebsd4 sigreturn */
29584778508Sblueswir1 #define TARGET_FREEBSD_NR_sigtimedwait  345
29684778508Sblueswir1 #define TARGET_FREEBSD_NR_sigwaitinfo   346
29784778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_get_file        347
29884778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_set_file        348
29984778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_get_fd  349
30084778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_set_fd  350
30184778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_delete_file     351
30284778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_delete_fd       352
30384778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_aclcheck_file   353
30484778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_aclcheck_fd     354
30584778508Sblueswir1 #define TARGET_FREEBSD_NR_extattrctl    355
30684778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_set_file      356
30784778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_get_file      357
30884778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_delete_file   358
30984778508Sblueswir1 #define TARGET_FREEBSD_NR_aio_waitcomplete      359
31084778508Sblueswir1 #define TARGET_FREEBSD_NR_getresuid     360
31184778508Sblueswir1 #define TARGET_FREEBSD_NR_getresgid     361
31284778508Sblueswir1 #define TARGET_FREEBSD_NR_kqueue        362
313*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_kevent      363
314*4d306e59SWarner Losh                                 /* 364 is obsolete __cap_get_proc */
315*4d306e59SWarner Losh                                 /* 365 is obsolete __cap_set_proc */
316*4d306e59SWarner Losh                                 /* 366 is obsolete __cap_get_fd */
317*4d306e59SWarner Losh                                 /* 367 is obsolete __cap_get_file */
318*4d306e59SWarner Losh                                 /* 368 is obsolete __cap_set_fd */
319*4d306e59SWarner Losh                                 /* 369 is obsolete __cap_set_file */
32084778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_set_fd        371
32184778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_get_fd        372
32284778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_delete_fd     373
32384778508Sblueswir1 #define TARGET_FREEBSD_NR___setugid     374
324*4d306e59SWarner Losh                                 /* 375 is obsolete nfsclnt */
32584778508Sblueswir1 #define TARGET_FREEBSD_NR_eaccess       376
3266b24119bSStacey Son #define TARGET_FREEBSD_NR_afs3_syscall  377
32784778508Sblueswir1 #define TARGET_FREEBSD_NR_nmount        378
328*4d306e59SWarner Losh                                 /* 379 is obsolete kse_exit */
329*4d306e59SWarner Losh                                 /* 380 is obsolete kse_wakeup */
330*4d306e59SWarner Losh                                 /* 381 is obsolete kse_create */
331*4d306e59SWarner Losh                                 /* 382 is obsolete kse_thr_interrupt */
332*4d306e59SWarner Losh                                 /* 383 is obsolete kse_release */
33384778508Sblueswir1 #define TARGET_FREEBSD_NR___mac_get_proc        384
33484778508Sblueswir1 #define TARGET_FREEBSD_NR___mac_set_proc        385
33584778508Sblueswir1 #define TARGET_FREEBSD_NR___mac_get_fd  386
33684778508Sblueswir1 #define TARGET_FREEBSD_NR___mac_get_file        387
33784778508Sblueswir1 #define TARGET_FREEBSD_NR___mac_set_fd  388
33884778508Sblueswir1 #define TARGET_FREEBSD_NR___mac_set_file        389
33984778508Sblueswir1 #define TARGET_FREEBSD_NR_kenv  390
34084778508Sblueswir1 #define TARGET_FREEBSD_NR_lchflags      391
34184778508Sblueswir1 #define TARGET_FREEBSD_NR_uuidgen       392
34284778508Sblueswir1 #define TARGET_FREEBSD_NR_sendfile      393
34384778508Sblueswir1 #define TARGET_FREEBSD_NR_mac_syscall   394
344*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_getfsstat   395
345*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_statfs      396
346*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_fstatfs     397
347*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_fhstatfs    398
34884778508Sblueswir1 #define TARGET_FREEBSD_NR_ksem_close    400
34984778508Sblueswir1 #define TARGET_FREEBSD_NR_ksem_post     401
35084778508Sblueswir1 #define TARGET_FREEBSD_NR_ksem_wait     402
35184778508Sblueswir1 #define TARGET_FREEBSD_NR_ksem_trywait  403
35284778508Sblueswir1 #define TARGET_FREEBSD_NR_ksem_init     404
35384778508Sblueswir1 #define TARGET_FREEBSD_NR_ksem_open     405
35484778508Sblueswir1 #define TARGET_FREEBSD_NR_ksem_unlink   406
35584778508Sblueswir1 #define TARGET_FREEBSD_NR_ksem_getvalue 407
35684778508Sblueswir1 #define TARGET_FREEBSD_NR_ksem_destroy  408
35784778508Sblueswir1 #define TARGET_FREEBSD_NR___mac_get_pid 409
35884778508Sblueswir1 #define TARGET_FREEBSD_NR___mac_get_link        410
35984778508Sblueswir1 #define TARGET_FREEBSD_NR___mac_set_link        411
36084778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_set_link      412
36184778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_get_link      413
36284778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_delete_link   414
36384778508Sblueswir1 #define TARGET_FREEBSD_NR___mac_execve  415
36484778508Sblueswir1 #define TARGET_FREEBSD_NR_sigaction     416
36584778508Sblueswir1 #define TARGET_FREEBSD_NR_sigreturn     417
36684778508Sblueswir1 #define TARGET_FREEBSD_NR_getcontext    421
36784778508Sblueswir1 #define TARGET_FREEBSD_NR_setcontext    422
36884778508Sblueswir1 #define TARGET_FREEBSD_NR_swapcontext   423
36984778508Sblueswir1 #define TARGET_FREEBSD_NR_swapoff       424
37084778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_get_link        425
37184778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_set_link        426
37284778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_delete_link     427
37384778508Sblueswir1 #define TARGET_FREEBSD_NR___acl_aclcheck_link   428
37484778508Sblueswir1 #define TARGET_FREEBSD_NR_sigwait       429
37584778508Sblueswir1 #define TARGET_FREEBSD_NR_thr_create    430
37684778508Sblueswir1 #define TARGET_FREEBSD_NR_thr_exit      431
37784778508Sblueswir1 #define TARGET_FREEBSD_NR_thr_self      432
37884778508Sblueswir1 #define TARGET_FREEBSD_NR_thr_kill      433
37984778508Sblueswir1 #define TARGET_FREEBSD_NR_jail_attach   436
38084778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_list_fd       437
38184778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_list_file     438
38284778508Sblueswir1 #define TARGET_FREEBSD_NR_extattr_list_link     439
383*4d306e59SWarner Losh                                 /* 440 is obsolete kse_switchin */
38484778508Sblueswir1 #define TARGET_FREEBSD_NR_ksem_timedwait        441
38584778508Sblueswir1 #define TARGET_FREEBSD_NR_thr_suspend   442
38684778508Sblueswir1 #define TARGET_FREEBSD_NR_thr_wake      443
38784778508Sblueswir1 #define TARGET_FREEBSD_NR_kldunloadf    444
38884778508Sblueswir1 #define TARGET_FREEBSD_NR_audit 445
38984778508Sblueswir1 #define TARGET_FREEBSD_NR_auditon       446
39084778508Sblueswir1 #define TARGET_FREEBSD_NR_getauid       447
39184778508Sblueswir1 #define TARGET_FREEBSD_NR_setauid       448
39284778508Sblueswir1 #define TARGET_FREEBSD_NR_getaudit      449
39384778508Sblueswir1 #define TARGET_FREEBSD_NR_setaudit      450
39484778508Sblueswir1 #define TARGET_FREEBSD_NR_getaudit_addr 451
39584778508Sblueswir1 #define TARGET_FREEBSD_NR_setaudit_addr 452
39684778508Sblueswir1 #define TARGET_FREEBSD_NR_auditctl      453
39784778508Sblueswir1 #define TARGET_FREEBSD_NR__umtx_op      454
39884778508Sblueswir1 #define TARGET_FREEBSD_NR_thr_new       455
39984778508Sblueswir1 #define TARGET_FREEBSD_NR_sigqueue      456
40084778508Sblueswir1 #define TARGET_FREEBSD_NR_kmq_open      457
40184778508Sblueswir1 #define TARGET_FREEBSD_NR_kmq_setattr   458
40284778508Sblueswir1 #define TARGET_FREEBSD_NR_kmq_timedreceive      459
40384778508Sblueswir1 #define TARGET_FREEBSD_NR_kmq_timedsend 460
40484778508Sblueswir1 #define TARGET_FREEBSD_NR_kmq_notify    461
40584778508Sblueswir1 #define TARGET_FREEBSD_NR_kmq_unlink    462
40684778508Sblueswir1 #define TARGET_FREEBSD_NR_abort2        463
40784778508Sblueswir1 #define TARGET_FREEBSD_NR_thr_set_name  464
40884778508Sblueswir1 #define TARGET_FREEBSD_NR_aio_fsync     465
40984778508Sblueswir1 #define TARGET_FREEBSD_NR_rtprio_thread 466
41084778508Sblueswir1 #define TARGET_FREEBSD_NR_sctp_peeloff  471
41184778508Sblueswir1 #define TARGET_FREEBSD_NR_sctp_generic_sendmsg  472
41284778508Sblueswir1 #define TARGET_FREEBSD_NR_sctp_generic_sendmsg_iov      473
41384778508Sblueswir1 #define TARGET_FREEBSD_NR_sctp_generic_recvmsg  474
41484778508Sblueswir1 #define TARGET_FREEBSD_NR_pread 475
41584778508Sblueswir1 #define TARGET_FREEBSD_NR_pwrite        476
41684778508Sblueswir1 #define TARGET_FREEBSD_NR_mmap  477
41784778508Sblueswir1 #define TARGET_FREEBSD_NR_lseek 478
41884778508Sblueswir1 #define TARGET_FREEBSD_NR_truncate      479
41984778508Sblueswir1 #define TARGET_FREEBSD_NR_ftruncate     480
42084778508Sblueswir1 #define TARGET_FREEBSD_NR_thr_kill2     481
421*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd12_shm_open    482
42284778508Sblueswir1 #define TARGET_FREEBSD_NR_shm_unlink    483
42384778508Sblueswir1 #define TARGET_FREEBSD_NR_cpuset        484
42484778508Sblueswir1 #define TARGET_FREEBSD_NR_cpuset_setid  485
42584778508Sblueswir1 #define TARGET_FREEBSD_NR_cpuset_getid  486
42684778508Sblueswir1 #define TARGET_FREEBSD_NR_cpuset_getaffinity    487
42784778508Sblueswir1 #define TARGET_FREEBSD_NR_cpuset_setaffinity    488
42884778508Sblueswir1 #define TARGET_FREEBSD_NR_faccessat     489
42984778508Sblueswir1 #define TARGET_FREEBSD_NR_fchmodat      490
43084778508Sblueswir1 #define TARGET_FREEBSD_NR_fchownat      491
43184778508Sblueswir1 #define TARGET_FREEBSD_NR_fexecve       492
432*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_fstatat     493
43384778508Sblueswir1 #define TARGET_FREEBSD_NR_futimesat     494
43484778508Sblueswir1 #define TARGET_FREEBSD_NR_linkat        495
43584778508Sblueswir1 #define TARGET_FREEBSD_NR_mkdirat       496
43684778508Sblueswir1 #define TARGET_FREEBSD_NR_mkfifoat      497
437*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd11_mknodat     498
43884778508Sblueswir1 #define TARGET_FREEBSD_NR_openat        499
43984778508Sblueswir1 #define TARGET_FREEBSD_NR_readlinkat    500
44084778508Sblueswir1 #define TARGET_FREEBSD_NR_renameat      501
44184778508Sblueswir1 #define TARGET_FREEBSD_NR_symlinkat     502
44284778508Sblueswir1 #define TARGET_FREEBSD_NR_unlinkat      503
44384778508Sblueswir1 #define TARGET_FREEBSD_NR_posix_openpt  504
4446b24119bSStacey Son #define TARGET_FREEBSD_NR_gssd_syscall  505
4456b24119bSStacey Son #define TARGET_FREEBSD_NR_jail_get      506
4466b24119bSStacey Son #define TARGET_FREEBSD_NR_jail_set      507
4476b24119bSStacey Son #define TARGET_FREEBSD_NR_jail_remove   508
448*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_freebsd12_closefrom   509
4496b24119bSStacey Son #define TARGET_FREEBSD_NR___semctl      510
4506b24119bSStacey Son #define TARGET_FREEBSD_NR_msgctl        511
4516b24119bSStacey Son #define TARGET_FREEBSD_NR_shmctl        512
4526b24119bSStacey Son #define TARGET_FREEBSD_NR_lpathconf     513
453*4d306e59SWarner Losh                                 /* 514 is obsolete cap_new */
454*4d306e59SWarner Losh #define TARGET_FREEBSD_NR___cap_rights_get      515
4556b24119bSStacey Son #define TARGET_FREEBSD_NR_cap_enter     516
4566b24119bSStacey Son #define TARGET_FREEBSD_NR_cap_getmode   517
4576b24119bSStacey Son #define TARGET_FREEBSD_NR_pdfork        518
4586b24119bSStacey Son #define TARGET_FREEBSD_NR_pdkill        519
4596b24119bSStacey Son #define TARGET_FREEBSD_NR_pdgetpid      520
4606b24119bSStacey Son #define TARGET_FREEBSD_NR_pselect       522
4616b24119bSStacey Son #define TARGET_FREEBSD_NR_getloginclass 523
4626b24119bSStacey Son #define TARGET_FREEBSD_NR_setloginclass 524
4636b24119bSStacey Son #define TARGET_FREEBSD_NR_rctl_get_racct        525
4646b24119bSStacey Son #define TARGET_FREEBSD_NR_rctl_get_rules        526
4656b24119bSStacey Son #define TARGET_FREEBSD_NR_rctl_get_limits       527
4666b24119bSStacey Son #define TARGET_FREEBSD_NR_rctl_add_rule 528
4676b24119bSStacey Son #define TARGET_FREEBSD_NR_rctl_remove_rule      529
4686b24119bSStacey Son #define TARGET_FREEBSD_NR_posix_fallocate       530
4696b24119bSStacey Son #define TARGET_FREEBSD_NR_posix_fadvise 531
470*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_wait6 532
471*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_cap_rights_limit      533
472*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_cap_ioctls_limit      534
473*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_cap_ioctls_get        535
474*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_cap_fcntls_limit      536
475*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_cap_fcntls_get        537
476*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_bindat        538
477*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_connectat     539
478*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_chflagsat     540
479*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_accept4       541
480*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_pipe2 542
481*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_aio_mlock     543
482*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_procctl       544
483*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_ppoll 545
484*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_futimens      546
485*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_utimensat     547
486*4d306e59SWarner Losh                                 /* 548 is obsolete numa_getaffinity */
487*4d306e59SWarner Losh                                 /* 549 is obsolete numa_setaffinity */
488*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_fdatasync     550
489*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_fstat 551
490*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_fstatat       552
491*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_fhstat        553
492*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_getdirentries 554
493*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_statfs        555
494*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_fstatfs       556
495*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_getfsstat     557
496*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_fhstatfs      558
497*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_mknodat       559
498*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_kevent        560
499*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_cpuset_getdomain      561
500*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_cpuset_setdomain      562
501*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_getrandom     563
502*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_getfhat       564
503*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_fhlink        565
504*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_fhlinkat      566
505*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_fhreadlink    567
506*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_funlinkat     568
507*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_copy_file_range       569
508*4d306e59SWarner Losh #define TARGET_FREEBSD_NR___sysctlbyname        570
509*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_shm_open2     571
510*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_shm_rename    572
511*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_sigfastblock  573
512*4d306e59SWarner Losh #define TARGET_FREEBSD_NR___realpathat  574
513*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_close_range   575
514*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_rpctls_syscall        576
515*4d306e59SWarner Losh #define TARGET_FREEBSD_NR_MAXSYSCALL    577
516