xref: /freebsd/sys/compat/freebsd32/freebsd32_syscall.h (revision 6e5dcc6113da649a79e5bc2c3ea9329bcd1d85d5)
1 /*
2  * System call numbers.
3  *
4  * DO NOT EDIT-- this file is automatically @generated.
5  */
6 
7 #define	FREEBSD32_SYS_syscall	0
8 #define	FREEBSD32_SYS_exit	1
9 #define	FREEBSD32_SYS_fork	2
10 #define	FREEBSD32_SYS_read	3
11 #define	FREEBSD32_SYS_write	4
12 #define	FREEBSD32_SYS_open	5
13 #define	FREEBSD32_SYS_close	6
14 #define	FREEBSD32_SYS_freebsd32_wait4	7
15 				/* 8 is old creat */
16 #define	FREEBSD32_SYS_link	9
17 #define	FREEBSD32_SYS_unlink	10
18 				/* 11 is obsolete execv */
19 #define	FREEBSD32_SYS_chdir	12
20 #define	FREEBSD32_SYS_fchdir	13
21 #define	FREEBSD32_SYS_freebsd11_mknod	14
22 #define	FREEBSD32_SYS_chmod	15
23 #define	FREEBSD32_SYS_chown	16
24 #define	FREEBSD32_SYS_break	17
25 				/* 18 is freebsd4 freebsd32_getfsstat */
26 				/* 19 is old freebsd32_lseek */
27 #define	FREEBSD32_SYS_getpid	20
28 #define	FREEBSD32_SYS_mount	21
29 #define	FREEBSD32_SYS_unmount	22
30 #define	FREEBSD32_SYS_setuid	23
31 #define	FREEBSD32_SYS_getuid	24
32 #define	FREEBSD32_SYS_geteuid	25
33 #define	FREEBSD32_SYS_freebsd32_ptrace	26
34 #define	FREEBSD32_SYS_freebsd32_recvmsg	27
35 #define	FREEBSD32_SYS_freebsd32_sendmsg	28
36 #define	FREEBSD32_SYS_recvfrom	29
37 #define	FREEBSD32_SYS_accept	30
38 #define	FREEBSD32_SYS_getpeername	31
39 #define	FREEBSD32_SYS_getsockname	32
40 #define	FREEBSD32_SYS_access	33
41 #define	FREEBSD32_SYS_chflags	34
42 #define	FREEBSD32_SYS_fchflags	35
43 #define	FREEBSD32_SYS_sync	36
44 #define	FREEBSD32_SYS_kill	37
45 				/* 38 is old freebsd32_stat */
46 #define	FREEBSD32_SYS_getppid	39
47 				/* 40 is old freebsd32_lstat */
48 #define	FREEBSD32_SYS_dup	41
49 #define	FREEBSD32_SYS_freebsd10_pipe	42
50 #define	FREEBSD32_SYS_getegid	43
51 #define	FREEBSD32_SYS_profil	44
52 #define	FREEBSD32_SYS_ktrace	45
53 				/* 46 is old freebsd32_sigaction */
54 #define	FREEBSD32_SYS_getgid	47
55 				/* 48 is old sigprocmask */
56 #define	FREEBSD32_SYS_getlogin	49
57 #define	FREEBSD32_SYS_setlogin	50
58 #define	FREEBSD32_SYS_acct	51
59 				/* 52 is old sigpending */
60 #define	FREEBSD32_SYS_freebsd32_sigaltstack	53
61 #define	FREEBSD32_SYS_freebsd32_ioctl	54
62 #define	FREEBSD32_SYS_reboot	55
63 #define	FREEBSD32_SYS_revoke	56
64 #define	FREEBSD32_SYS_symlink	57
65 #define	FREEBSD32_SYS_readlink	58
66 #define	FREEBSD32_SYS_freebsd32_execve	59
67 #define	FREEBSD32_SYS_umask	60
68 #define	FREEBSD32_SYS_chroot	61
69 				/* 62 is old freebsd32_fstat */
70 				/* 63 is obsolete ogetkerninfo */
71 				/* 64 is old getpagesize */
72 #define	FREEBSD32_SYS_msync	65
73 #define	FREEBSD32_SYS_vfork	66
74 				/* 67 is obsolete vread */
75 				/* 68 is obsolete vwrite */
76 #define	FREEBSD32_SYS_sbrk	69
77 #define	FREEBSD32_SYS_sstk	70
78 				/* 71 is old freebsd32_mmap */
79 #define	FREEBSD32_SYS_freebsd11_vadvise	72
80 #define	FREEBSD32_SYS_munmap	73
81 #define	FREEBSD32_SYS_freebsd32_mprotect	74
82 #define	FREEBSD32_SYS_madvise	75
83 				/* 76 is obsolete vhangup */
84 				/* 77 is obsolete vlimit */
85 #define	FREEBSD32_SYS_mincore	78
86 #define	FREEBSD32_SYS_getgroups	79
87 #define	FREEBSD32_SYS_setgroups	80
88 #define	FREEBSD32_SYS_getpgrp	81
89 #define	FREEBSD32_SYS_setpgid	82
90 #define	FREEBSD32_SYS_freebsd32_setitimer	83
91 				/* 84 is old wait */
92 #define	FREEBSD32_SYS_swapon	85
93 #define	FREEBSD32_SYS_freebsd32_getitimer	86
94 				/* 87 is old gethostname */
95 				/* 88 is old sethostname */
96 #define	FREEBSD32_SYS_getdtablesize	89
97 #define	FREEBSD32_SYS_dup2	90
98 #define	FREEBSD32_SYS_freebsd32_fcntl	92
99 #define	FREEBSD32_SYS_freebsd32_select	93
100 #define	FREEBSD32_SYS_fsync	95
101 #define	FREEBSD32_SYS_setpriority	96
102 #define	FREEBSD32_SYS_socket	97
103 #define	FREEBSD32_SYS_connect	98
104 				/* 99 is old accept */
105 #define	FREEBSD32_SYS_getpriority	100
106 				/* 101 is old send */
107 				/* 102 is old recv */
108 				/* 103 is old freebsd32_sigreturn */
109 #define	FREEBSD32_SYS_bind	104
110 #define	FREEBSD32_SYS_setsockopt	105
111 #define	FREEBSD32_SYS_listen	106
112 				/* 107 is obsolete vtimes */
113 				/* 108 is old freebsd32_sigvec */
114 				/* 109 is old sigblock */
115 				/* 110 is old sigsetmask */
116 				/* 111 is old sigsuspend */
117 				/* 112 is old freebsd32_sigstack */
118 				/* 113 is old freebsd32_recvmsg */
119 				/* 114 is old freebsd32_sendmsg */
120 				/* 115 is obsolete vtrace */
121 #define	FREEBSD32_SYS_freebsd32_gettimeofday	116
122 #define	FREEBSD32_SYS_freebsd32_getrusage	117
123 #define	FREEBSD32_SYS_getsockopt	118
124 #define	FREEBSD32_SYS_freebsd32_readv	120
125 #define	FREEBSD32_SYS_freebsd32_writev	121
126 #define	FREEBSD32_SYS_freebsd32_settimeofday	122
127 #define	FREEBSD32_SYS_fchown	123
128 #define	FREEBSD32_SYS_fchmod	124
129 				/* 125 is old recvfrom */
130 #define	FREEBSD32_SYS_setreuid	126
131 #define	FREEBSD32_SYS_setregid	127
132 #define	FREEBSD32_SYS_rename	128
133 				/* 129 is old freebsd32_truncate */
134 				/* 130 is old freebsd32_ftruncate */
135 #define	FREEBSD32_SYS_flock	131
136 #define	FREEBSD32_SYS_mkfifo	132
137 #define	FREEBSD32_SYS_sendto	133
138 #define	FREEBSD32_SYS_shutdown	134
139 #define	FREEBSD32_SYS_socketpair	135
140 #define	FREEBSD32_SYS_mkdir	136
141 #define	FREEBSD32_SYS_rmdir	137
142 #define	FREEBSD32_SYS_freebsd32_utimes	138
143 				/* 139 is obsolete sigreturn */
144 #define	FREEBSD32_SYS_freebsd32_adjtime	140
145 				/* 141 is old getpeername */
146 				/* 142 is old gethostid */
147 				/* 143 is old freebsd32_sethostid */
148 				/* 144 is old getrlimit */
149 				/* 145 is old setrlimit */
150 				/* 146 is old killpg */
151 #define	FREEBSD32_SYS_setsid	147
152 #define	FREEBSD32_SYS_quotactl	148
153 				/* 149 is old quota */
154 				/* 150 is old getsockname */
155 				/* 156 is old freebsd32_getdirentries */
156 				/* 157 is freebsd4 freebsd32_statfs */
157 				/* 158 is freebsd4 freebsd32_fstatfs */
158 #define	FREEBSD32_SYS_getfh	161
159 				/* 162 is freebsd4 getdomainname */
160 				/* 163 is freebsd4 setdomainname */
161 				/* 164 is freebsd4 uname */
162 #define	FREEBSD32_SYS_freebsd32_sysarch	165
163 #define	FREEBSD32_SYS_rtprio	166
164 #define	FREEBSD32_SYS_freebsd32_semsys	169
165 #define	FREEBSD32_SYS_freebsd32_msgsys	170
166 #define	FREEBSD32_SYS_freebsd32_shmsys	171
167 				/* 173 is freebsd6 freebsd32_pread */
168 				/* 174 is freebsd6 freebsd32_pwrite */
169 #define	FREEBSD32_SYS_setfib	175
170 #define	FREEBSD32_SYS_freebsd32_ntp_adjtime	176
171 #define	FREEBSD32_SYS_setgid	181
172 #define	FREEBSD32_SYS_setegid	182
173 #define	FREEBSD32_SYS_seteuid	183
174 				/* 184 is obsolete lfs_bmapv */
175 				/* 185 is obsolete lfs_markv */
176 				/* 186 is obsolete lfs_segclean */
177 				/* 187 is obsolete lfs_segwait */
178 #define	FREEBSD32_SYS_freebsd11_freebsd32_stat	188
179 #define	FREEBSD32_SYS_freebsd11_freebsd32_fstat	189
180 #define	FREEBSD32_SYS_freebsd11_freebsd32_lstat	190
181 #define	FREEBSD32_SYS_pathconf	191
182 #define	FREEBSD32_SYS_fpathconf	192
183 #define	FREEBSD32_SYS_getrlimit	194
184 #define	FREEBSD32_SYS_setrlimit	195
185 #define	FREEBSD32_SYS_freebsd11_freebsd32_getdirentries	196
186 				/* 197 is freebsd6 freebsd32_mmap */
187 #define	FREEBSD32_SYS___syscall	198
188 				/* 199 is freebsd6 freebsd32_lseek */
189 				/* 200 is freebsd6 freebsd32_truncate */
190 				/* 201 is freebsd6 freebsd32_ftruncate */
191 #define	FREEBSD32_SYS_freebsd32___sysctl	202
192 #define	FREEBSD32_SYS_mlock	203
193 #define	FREEBSD32_SYS_munlock	204
194 #define	FREEBSD32_SYS_undelete	205
195 #define	FREEBSD32_SYS_freebsd32_futimes	206
196 #define	FREEBSD32_SYS_getpgid	207
197 #define	FREEBSD32_SYS_poll	209
198 #define	FREEBSD32_SYS_freebsd7_freebsd32___semctl	220
199 #define	FREEBSD32_SYS_semget	221
200 #define	FREEBSD32_SYS_semop	222
201 				/* 223 is obsolete semconfig */
202 #define	FREEBSD32_SYS_freebsd7_freebsd32_msgctl	224
203 #define	FREEBSD32_SYS_msgget	225
204 #define	FREEBSD32_SYS_freebsd32_msgsnd	226
205 #define	FREEBSD32_SYS_freebsd32_msgrcv	227
206 #define	FREEBSD32_SYS_shmat	228
207 #define	FREEBSD32_SYS_freebsd7_freebsd32_shmctl	229
208 #define	FREEBSD32_SYS_shmdt	230
209 #define	FREEBSD32_SYS_shmget	231
210 #define	FREEBSD32_SYS_freebsd32_clock_gettime	232
211 #define	FREEBSD32_SYS_freebsd32_clock_settime	233
212 #define	FREEBSD32_SYS_freebsd32_clock_getres	234
213 #define	FREEBSD32_SYS_freebsd32_ktimer_create	235
214 #define	FREEBSD32_SYS_ktimer_delete	236
215 #define	FREEBSD32_SYS_freebsd32_ktimer_settime	237
216 #define	FREEBSD32_SYS_freebsd32_ktimer_gettime	238
217 #define	FREEBSD32_SYS_ktimer_getoverrun	239
218 #define	FREEBSD32_SYS_freebsd32_nanosleep	240
219 #define	FREEBSD32_SYS_ffclock_getcounter	241
220 #define	FREEBSD32_SYS_freebsd32_ffclock_setestimate	242
221 #define	FREEBSD32_SYS_freebsd32_ffclock_getestimate	243
222 #define	FREEBSD32_SYS_freebsd32_clock_nanosleep	244
223 #define	FREEBSD32_SYS_freebsd32_clock_getcpuclockid2	247
224 #define	FREEBSD32_SYS_minherit	250
225 #define	FREEBSD32_SYS_rfork	251
226 				/* 252 is obsolete openbsd_poll */
227 #define	FREEBSD32_SYS_issetugid	253
228 #define	FREEBSD32_SYS_lchown	254
229 #define	FREEBSD32_SYS_freebsd32_aio_read	255
230 #define	FREEBSD32_SYS_freebsd32_aio_write	256
231 #define	FREEBSD32_SYS_freebsd32_lio_listio	257
232 #define	FREEBSD32_SYS_freebsd11_getdents	272
233 #define	FREEBSD32_SYS_lchmod	274
234 				/* 275 is obsolete netbsd_lchown */
235 #define	FREEBSD32_SYS_freebsd32_lutimes	276
236 				/* 277 is obsolete netbsd_msync */
237 #define	FREEBSD32_SYS_freebsd11_freebsd32_nstat	278
238 #define	FREEBSD32_SYS_freebsd11_freebsd32_nfstat	279
239 #define	FREEBSD32_SYS_freebsd11_freebsd32_nlstat	280
240 #define	FREEBSD32_SYS_freebsd32_preadv	289
241 #define	FREEBSD32_SYS_freebsd32_pwritev	290
242 				/* 297 is freebsd4 freebsd32_fhstatfs */
243 #define	FREEBSD32_SYS_fhopen	298
244 #define	FREEBSD32_SYS_freebsd11_freebsd32_fhstat	299
245 #define	FREEBSD32_SYS_modnext	300
246 #define	FREEBSD32_SYS_freebsd32_modstat	301
247 #define	FREEBSD32_SYS_modfnext	302
248 #define	FREEBSD32_SYS_modfind	303
249 #define	FREEBSD32_SYS_kldload	304
250 #define	FREEBSD32_SYS_kldunload	305
251 #define	FREEBSD32_SYS_kldfind	306
252 #define	FREEBSD32_SYS_kldnext	307
253 #define	FREEBSD32_SYS_freebsd32_kldstat	308
254 #define	FREEBSD32_SYS_kldfirstmod	309
255 #define	FREEBSD32_SYS_getsid	310
256 #define	FREEBSD32_SYS_setresuid	311
257 #define	FREEBSD32_SYS_setresgid	312
258 				/* 313 is obsolete signanosleep */
259 #define	FREEBSD32_SYS_freebsd32_aio_return	314
260 #define	FREEBSD32_SYS_freebsd32_aio_suspend	315
261 #define	FREEBSD32_SYS_aio_cancel	316
262 #define	FREEBSD32_SYS_freebsd32_aio_error	317
263 				/* 318 is freebsd6 freebsd32_aio_read */
264 				/* 319 is freebsd6 freebsd32_aio_write */
265 				/* 320 is freebsd6 freebsd32_lio_listio */
266 #define	FREEBSD32_SYS_yield	321
267 				/* 322 is obsolete thr_sleep */
268 				/* 323 is obsolete thr_wakeup */
269 #define	FREEBSD32_SYS_mlockall	324
270 #define	FREEBSD32_SYS_munlockall	325
271 #define	FREEBSD32_SYS___getcwd	326
272 #define	FREEBSD32_SYS_sched_setparam	327
273 #define	FREEBSD32_SYS_sched_getparam	328
274 #define	FREEBSD32_SYS_sched_setscheduler	329
275 #define	FREEBSD32_SYS_sched_getscheduler	330
276 #define	FREEBSD32_SYS_sched_yield	331
277 #define	FREEBSD32_SYS_sched_get_priority_max	332
278 #define	FREEBSD32_SYS_sched_get_priority_min	333
279 #define	FREEBSD32_SYS_freebsd32_sched_rr_get_interval	334
280 #define	FREEBSD32_SYS_utrace	335
281 				/* 336 is freebsd4 freebsd32_sendfile */
282 #define	FREEBSD32_SYS_freebsd32_jail	338
283 #define	FREEBSD32_SYS_sigprocmask	340
284 #define	FREEBSD32_SYS_sigsuspend	341
285 				/* 342 is freebsd4 freebsd32_sigaction */
286 #define	FREEBSD32_SYS_sigpending	343
287 				/* 344 is freebsd4 freebsd32_sigreturn */
288 #define	FREEBSD32_SYS_freebsd32_sigtimedwait	345
289 #define	FREEBSD32_SYS_freebsd32_sigwaitinfo	346
290 #define	FREEBSD32_SYS___acl_get_file	347
291 #define	FREEBSD32_SYS___acl_set_file	348
292 #define	FREEBSD32_SYS___acl_get_fd	349
293 #define	FREEBSD32_SYS___acl_set_fd	350
294 #define	FREEBSD32_SYS___acl_delete_file	351
295 #define	FREEBSD32_SYS___acl_delete_fd	352
296 #define	FREEBSD32_SYS___acl_aclcheck_file	353
297 #define	FREEBSD32_SYS___acl_aclcheck_fd	354
298 #define	FREEBSD32_SYS_extattrctl	355
299 #define	FREEBSD32_SYS_extattr_set_file	356
300 #define	FREEBSD32_SYS_extattr_get_file	357
301 #define	FREEBSD32_SYS_extattr_delete_file	358
302 #define	FREEBSD32_SYS_freebsd32_aio_waitcomplete	359
303 #define	FREEBSD32_SYS_getresuid	360
304 #define	FREEBSD32_SYS_getresgid	361
305 #define	FREEBSD32_SYS_kqueue	362
306 #define	FREEBSD32_SYS_freebsd11_freebsd32_kevent	363
307 				/* 364 is obsolete __cap_get_proc */
308 				/* 365 is obsolete __cap_set_proc */
309 				/* 366 is obsolete __cap_get_fd */
310 				/* 367 is obsolete __cap_get_file */
311 				/* 368 is obsolete __cap_set_fd */
312 				/* 369 is obsolete __cap_set_file */
313 #define	FREEBSD32_SYS_extattr_set_fd	371
314 #define	FREEBSD32_SYS_extattr_get_fd	372
315 #define	FREEBSD32_SYS_extattr_delete_fd	373
316 #define	FREEBSD32_SYS___setugid	374
317 				/* 375 is obsolete nfsclnt */
318 #define	FREEBSD32_SYS_eaccess	376
319 #define	FREEBSD32_SYS_freebsd32_nmount	378
320 				/* 379 is obsolete kse_exit */
321 				/* 380 is obsolete kse_wakeup */
322 				/* 381 is obsolete kse_create */
323 				/* 382 is obsolete kse_thr_interrupt */
324 				/* 383 is obsolete kse_release */
325 #define	FREEBSD32_SYS_kenv	390
326 #define	FREEBSD32_SYS_lchflags	391
327 #define	FREEBSD32_SYS_uuidgen	392
328 #define	FREEBSD32_SYS_freebsd32_sendfile	393
329 #define	FREEBSD32_SYS_mac_syscall	394
330 #define	FREEBSD32_SYS_freebsd11_freebsd32_getfsstat	395
331 #define	FREEBSD32_SYS_freebsd11_statfs	396
332 #define	FREEBSD32_SYS_freebsd11_fstatfs	397
333 #define	FREEBSD32_SYS_freebsd11_fhstatfs	398
334 #define	FREEBSD32_SYS_ksem_close	400
335 #define	FREEBSD32_SYS_ksem_post	401
336 #define	FREEBSD32_SYS_ksem_wait	402
337 #define	FREEBSD32_SYS_ksem_trywait	403
338 #define	FREEBSD32_SYS_freebsd32_ksem_init	404
339 #define	FREEBSD32_SYS_freebsd32_ksem_open	405
340 #define	FREEBSD32_SYS_ksem_unlink	406
341 #define	FREEBSD32_SYS_ksem_getvalue	407
342 #define	FREEBSD32_SYS_ksem_destroy	408
343 #define	FREEBSD32_SYS_extattr_set_link	412
344 #define	FREEBSD32_SYS_extattr_get_link	413
345 #define	FREEBSD32_SYS_extattr_delete_link	414
346 #define	FREEBSD32_SYS_freebsd32_sigaction	416
347 #define	FREEBSD32_SYS_freebsd32_sigreturn	417
348 #define	FREEBSD32_SYS_freebsd32_getcontext	421
349 #define	FREEBSD32_SYS_freebsd32_setcontext	422
350 #define	FREEBSD32_SYS_freebsd32_swapcontext	423
351 #define	FREEBSD32_SYS_freebsd13_swapoff	424
352 #define	FREEBSD32_SYS___acl_get_link	425
353 #define	FREEBSD32_SYS___acl_set_link	426
354 #define	FREEBSD32_SYS___acl_delete_link	427
355 #define	FREEBSD32_SYS___acl_aclcheck_link	428
356 #define	FREEBSD32_SYS_sigwait	429
357 #define	FREEBSD32_SYS_thr_exit	431
358 #define	FREEBSD32_SYS_thr_self	432
359 #define	FREEBSD32_SYS_thr_kill	433
360 #define	FREEBSD32_SYS_freebsd10_freebsd32__umtx_lock	434
361 #define	FREEBSD32_SYS_freebsd10_freebsd32__umtx_unlock	435
362 #define	FREEBSD32_SYS_jail_attach	436
363 #define	FREEBSD32_SYS_extattr_list_fd	437
364 #define	FREEBSD32_SYS_extattr_list_file	438
365 #define	FREEBSD32_SYS_extattr_list_link	439
366 				/* 440 is obsolete kse_switchin */
367 #define	FREEBSD32_SYS_freebsd32_ksem_timedwait	441
368 #define	FREEBSD32_SYS_freebsd32_thr_suspend	442
369 #define	FREEBSD32_SYS_thr_wake	443
370 #define	FREEBSD32_SYS_kldunloadf	444
371 #define	FREEBSD32_SYS_audit	445
372 #define	FREEBSD32_SYS_auditon	446
373 #define	FREEBSD32_SYS_getauid	447
374 #define	FREEBSD32_SYS_setauid	448
375 #define	FREEBSD32_SYS_getaudit	449
376 #define	FREEBSD32_SYS_setaudit	450
377 #define	FREEBSD32_SYS_getaudit_addr	451
378 #define	FREEBSD32_SYS_setaudit_addr	452
379 #define	FREEBSD32_SYS_auditctl	453
380 #define	FREEBSD32_SYS_freebsd32__umtx_op	454
381 #define	FREEBSD32_SYS_freebsd32_thr_new	455
382 #define	FREEBSD32_SYS_freebsd32_sigqueue	456
383 #define	FREEBSD32_SYS_freebsd32_kmq_open	457
384 #define	FREEBSD32_SYS_freebsd32_kmq_setattr	458
385 #define	FREEBSD32_SYS_freebsd32_kmq_timedreceive	459
386 #define	FREEBSD32_SYS_freebsd32_kmq_timedsend	460
387 #define	FREEBSD32_SYS_freebsd32_kmq_notify	461
388 #define	FREEBSD32_SYS_kmq_unlink	462
389 #define	FREEBSD32_SYS_freebsd32_abort2	463
390 #define	FREEBSD32_SYS_thr_set_name	464
391 #define	FREEBSD32_SYS_freebsd32_aio_fsync	465
392 #define	FREEBSD32_SYS_rtprio_thread	466
393 #define	FREEBSD32_SYS_sctp_peeloff	471
394 #define	FREEBSD32_SYS_sctp_generic_sendmsg	472
395 #define	FREEBSD32_SYS_sctp_generic_sendmsg_iov	473
396 #define	FREEBSD32_SYS_sctp_generic_recvmsg	474
397 #define	FREEBSD32_SYS_freebsd32_pread	475
398 #define	FREEBSD32_SYS_freebsd32_pwrite	476
399 #define	FREEBSD32_SYS_freebsd32_mmap	477
400 #define	FREEBSD32_SYS_freebsd32_lseek	478
401 #define	FREEBSD32_SYS_freebsd32_truncate	479
402 #define	FREEBSD32_SYS_freebsd32_ftruncate	480
403 #define	FREEBSD32_SYS_thr_kill2	481
404 #define	FREEBSD32_SYS_freebsd12_shm_open	482
405 #define	FREEBSD32_SYS_shm_unlink	483
406 #define	FREEBSD32_SYS_cpuset	484
407 #define	FREEBSD32_SYS_freebsd32_cpuset_setid	485
408 #define	FREEBSD32_SYS_freebsd32_cpuset_getid	486
409 #define	FREEBSD32_SYS_freebsd32_cpuset_getaffinity	487
410 #define	FREEBSD32_SYS_freebsd32_cpuset_setaffinity	488
411 #define	FREEBSD32_SYS_faccessat	489
412 #define	FREEBSD32_SYS_fchmodat	490
413 #define	FREEBSD32_SYS_fchownat	491
414 #define	FREEBSD32_SYS_freebsd32_fexecve	492
415 #define	FREEBSD32_SYS_freebsd11_freebsd32_fstatat	493
416 #define	FREEBSD32_SYS_freebsd32_futimesat	494
417 #define	FREEBSD32_SYS_linkat	495
418 #define	FREEBSD32_SYS_mkdirat	496
419 #define	FREEBSD32_SYS_mkfifoat	497
420 #define	FREEBSD32_SYS_freebsd11_mknodat	498
421 #define	FREEBSD32_SYS_openat	499
422 #define	FREEBSD32_SYS_readlinkat	500
423 #define	FREEBSD32_SYS_renameat	501
424 #define	FREEBSD32_SYS_symlinkat	502
425 #define	FREEBSD32_SYS_unlinkat	503
426 #define	FREEBSD32_SYS_posix_openpt	504
427 #define	FREEBSD32_SYS_gssd_syscall	505
428 #define	FREEBSD32_SYS_freebsd32_jail_get	506
429 #define	FREEBSD32_SYS_freebsd32_jail_set	507
430 #define	FREEBSD32_SYS_jail_remove	508
431 #define	FREEBSD32_SYS_freebsd12_closefrom	509
432 #define	FREEBSD32_SYS_freebsd32___semctl	510
433 #define	FREEBSD32_SYS_freebsd32_msgctl	511
434 #define	FREEBSD32_SYS_freebsd32_shmctl	512
435 #define	FREEBSD32_SYS_lpathconf	513
436 				/* 514 is obsolete cap_new */
437 #define	FREEBSD32_SYS___cap_rights_get	515
438 #define	FREEBSD32_SYS_cap_enter	516
439 #define	FREEBSD32_SYS_cap_getmode	517
440 #define	FREEBSD32_SYS_pdfork	518
441 #define	FREEBSD32_SYS_pdkill	519
442 #define	FREEBSD32_SYS_pdgetpid	520
443 #define	FREEBSD32_SYS_freebsd32_pselect	522
444 #define	FREEBSD32_SYS_getloginclass	523
445 #define	FREEBSD32_SYS_setloginclass	524
446 #define	FREEBSD32_SYS_rctl_get_racct	525
447 #define	FREEBSD32_SYS_rctl_get_rules	526
448 #define	FREEBSD32_SYS_rctl_get_limits	527
449 #define	FREEBSD32_SYS_rctl_add_rule	528
450 #define	FREEBSD32_SYS_rctl_remove_rule	529
451 #define	FREEBSD32_SYS_freebsd32_posix_fallocate	530
452 #define	FREEBSD32_SYS_freebsd32_posix_fadvise	531
453 #define	FREEBSD32_SYS_freebsd32_wait6	532
454 #define	FREEBSD32_SYS_cap_rights_limit	533
455 #define	FREEBSD32_SYS_freebsd32_cap_ioctls_limit	534
456 #define	FREEBSD32_SYS_freebsd32_cap_ioctls_get	535
457 #define	FREEBSD32_SYS_cap_fcntls_limit	536
458 #define	FREEBSD32_SYS_cap_fcntls_get	537
459 #define	FREEBSD32_SYS_bindat	538
460 #define	FREEBSD32_SYS_connectat	539
461 #define	FREEBSD32_SYS_chflagsat	540
462 #define	FREEBSD32_SYS_accept4	541
463 #define	FREEBSD32_SYS_pipe2	542
464 #define	FREEBSD32_SYS_freebsd32_aio_mlock	543
465 #define	FREEBSD32_SYS_freebsd32_procctl	544
466 #define	FREEBSD32_SYS_freebsd32_ppoll	545
467 #define	FREEBSD32_SYS_freebsd32_futimens	546
468 #define	FREEBSD32_SYS_freebsd32_utimensat	547
469 				/* 548 is obsolete numa_getaffinity */
470 				/* 549 is obsolete numa_setaffinity */
471 #define	FREEBSD32_SYS_fdatasync	550
472 #define	FREEBSD32_SYS_freebsd32_fstat	551
473 #define	FREEBSD32_SYS_freebsd32_fstatat	552
474 #define	FREEBSD32_SYS_freebsd32_fhstat	553
475 #define	FREEBSD32_SYS_getdirentries	554
476 #define	FREEBSD32_SYS_statfs	555
477 #define	FREEBSD32_SYS_fstatfs	556
478 #define	FREEBSD32_SYS_freebsd32_getfsstat	557
479 #define	FREEBSD32_SYS_fhstatfs	558
480 #define	FREEBSD32_SYS_freebsd32_mknodat	559
481 #define	FREEBSD32_SYS_freebsd32_kevent	560
482 #define	FREEBSD32_SYS_freebsd32_cpuset_getdomain	561
483 #define	FREEBSD32_SYS_freebsd32_cpuset_setdomain	562
484 #define	FREEBSD32_SYS_getrandom	563
485 #define	FREEBSD32_SYS_getfhat	564
486 #define	FREEBSD32_SYS_fhlink	565
487 #define	FREEBSD32_SYS_fhlinkat	566
488 #define	FREEBSD32_SYS_fhreadlink	567
489 #define	FREEBSD32_SYS_funlinkat	568
490 #define	FREEBSD32_SYS_copy_file_range	569
491 #define	FREEBSD32_SYS_freebsd32___sysctlbyname	570
492 #define	FREEBSD32_SYS_shm_open2	571
493 #define	FREEBSD32_SYS_shm_rename	572
494 #define	FREEBSD32_SYS_sigfastblock	573
495 #define	FREEBSD32_SYS___realpathat	574
496 #define	FREEBSD32_SYS_close_range	575
497 #define	FREEBSD32_SYS_rpctls_syscall	576
498 #define	FREEBSD32_SYS___specialfd	577
499 #define	FREEBSD32_SYS_freebsd32_aio_writev	578
500 #define	FREEBSD32_SYS_freebsd32_aio_readv	579
501 #define	FREEBSD32_SYS_fspacectl	580
502 #define	FREEBSD32_SYS_sched_getcpu	581
503 #define	FREEBSD32_SYS_swapoff	582
504 #define	FREEBSD32_SYS_kqueuex	583
505 #define	FREEBSD32_SYS_membarrier	584
506 #define	FREEBSD32_SYS_timerfd_create	585
507 #define	FREEBSD32_SYS_freebsd32_timerfd_gettime	586
508 #define	FREEBSD32_SYS_freebsd32_timerfd_settime	587
509 #define	FREEBSD32_SYS_MAXSYSCALL	588
510