4 * DO NOT EDIT-- this file is automatically generated.
6 * created from FreeBSD: head/sys/kern/syscalls.master 303729 2016-08-03 18:48:56Z bdrewery
20 /* 11 is obsolete execv */
27 /* 18 is freebsd4 getfsstat */
31 #define SYS_unmount 22
34 #define SYS_geteuid 25
36 #define SYS_recvmsg 27
37 #define SYS_sendmsg 28
38 #define SYS_recvfrom 29
40 #define SYS_getpeername 31
41 #define SYS_getsockname 32
43 #define SYS_chflags 34
44 #define SYS_fchflags 35
48 #define SYS_getppid 39
51 #define SYS_freebsd10_pipe 42
52 #define SYS_getegid 43
55 /* 46 is old sigaction */
57 /* 48 is old sigprocmask */
58 #define SYS_getlogin 49
59 #define SYS_setlogin 50
61 /* 52 is old sigpending */
62 #define SYS_sigaltstack 53
66 #define SYS_symlink 57
67 #define SYS_readlink 58
72 /* 63 is old getkerninfo */
73 /* 64 is old getpagesize */
76 /* 67 is obsolete vread */
77 /* 68 is obsolete vwrite */
81 #define SYS_vadvise 72
83 #define SYS_mprotect 74
84 #define SYS_madvise 75
85 /* 76 is obsolete vhangup */
86 /* 77 is obsolete vlimit */
87 #define SYS_mincore 78
88 #define SYS_getgroups 79
89 #define SYS_setgroups 80
90 #define SYS_getpgrp 81
91 #define SYS_setpgid 82
92 #define SYS_setitimer 83
95 #define SYS_getitimer 86
96 /* 87 is old gethostname */
97 /* 88 is old sethostname */
98 #define SYS_getdtablesize 89
101 #define SYS_select 93
103 #define SYS_setpriority 96
104 #define SYS_socket 97
105 #define SYS_connect 98
106 /* 99 is old accept */
107 #define SYS_getpriority 100
108 /* 101 is old send */
109 /* 102 is old recv */
110 /* 103 is old sigreturn */
112 #define SYS_setsockopt 105
113 #define SYS_listen 106
114 /* 107 is obsolete vtimes */
115 /* 108 is old sigvec */
116 /* 109 is old sigblock */
117 /* 110 is old sigsetmask */
118 /* 111 is old sigsuspend */
119 /* 112 is old sigstack */
120 /* 113 is old recvmsg */
121 /* 114 is old sendmsg */
122 /* 115 is obsolete vtrace */
123 #define SYS_gettimeofday 116
124 #define SYS_getrusage 117
125 #define SYS_getsockopt 118
126 #define SYS_readv 120
127 #define SYS_writev 121
128 #define SYS_settimeofday 122
129 #define SYS_fchown 123
130 #define SYS_fchmod 124
131 /* 125 is old recvfrom */
132 #define SYS_setreuid 126
133 #define SYS_setregid 127
134 #define SYS_rename 128
135 /* 129 is old truncate */
136 /* 130 is old ftruncate */
137 #define SYS_flock 131
138 #define SYS_mkfifo 132
139 #define SYS_sendto 133
140 #define SYS_shutdown 134
141 #define SYS_socketpair 135
142 #define SYS_mkdir 136
143 #define SYS_rmdir 137
144 #define SYS_utimes 138
145 /* 139 is obsolete 4.2 sigreturn */
146 #define SYS_adjtime 140
147 /* 141 is old getpeername */
148 /* 142 is old gethostid */
149 /* 143 is old sethostid */
150 /* 144 is old getrlimit */
151 /* 145 is old setrlimit */
152 /* 146 is old killpg */
153 #define SYS_setsid 147
154 #define SYS_quotactl 148
155 /* 149 is old quota */
156 /* 150 is old getsockname */
157 #define SYS_nlm_syscall 154
158 #define SYS_nfssvc 155
159 /* 156 is old getdirentries */
160 /* 157 is freebsd4 statfs */
161 /* 158 is freebsd4 fstatfs */
162 #define SYS_lgetfh 160
163 #define SYS_getfh 161
164 /* 162 is freebsd4 getdomainname */
165 /* 163 is freebsd4 setdomainname */
166 /* 164 is freebsd4 uname */
167 #define SYS_sysarch 165
168 #define SYS_rtprio 166
169 #define SYS_semsys 169
170 #define SYS_msgsys 170
171 #define SYS_shmsys 171
172 /* 173 is freebsd6 pread */
173 /* 174 is freebsd6 pwrite */
174 #define SYS_setfib 175
175 #define SYS_ntp_adjtime 176
176 #define SYS_setgid 181
177 #define SYS_setegid 182
178 #define SYS_seteuid 183
180 #define SYS_fstat 189
181 #define SYS_lstat 190
182 #define SYS_pathconf 191
183 #define SYS_fpathconf 192
184 #define SYS_getrlimit 194
185 #define SYS_setrlimit 195
186 #define SYS_getdirentries 196
187 /* 197 is freebsd6 mmap */
188 #define SYS___syscall 198
189 /* 199 is freebsd6 lseek */
190 /* 200 is freebsd6 truncate */
191 /* 201 is freebsd6 ftruncate */
192 #define SYS___sysctl 202
193 #define SYS_mlock 203
194 #define SYS_munlock 204
195 #define SYS_undelete 205
196 #define SYS_futimes 206
197 #define SYS_getpgid 207
199 #define SYS_freebsd7___semctl 220
200 #define SYS_semget 221
201 #define SYS_semop 222
202 #define SYS_freebsd7_msgctl 224
203 #define SYS_msgget 225
204 #define SYS_msgsnd 226
205 #define SYS_msgrcv 227
206 #define SYS_shmat 228
207 #define SYS_freebsd7_shmctl 229
208 #define SYS_shmdt 230
209 #define SYS_shmget 231
210 #define SYS_clock_gettime 232
211 #define SYS_clock_settime 233
212 #define SYS_clock_getres 234
213 #define SYS_ktimer_create 235
214 #define SYS_ktimer_delete 236
215 #define SYS_ktimer_settime 237
216 #define SYS_ktimer_gettime 238
217 #define SYS_ktimer_getoverrun 239
218 #define SYS_nanosleep 240
219 #define SYS_ffclock_getcounter 241
220 #define SYS_ffclock_setestimate 242
221 #define SYS_ffclock_getestimate 243
222 #define SYS_clock_getcpuclockid2 247
223 #define SYS_ntp_gettime 248
224 #define SYS_minherit 250
225 #define SYS_rfork 251
226 #define SYS_openbsd_poll 252
227 #define SYS_issetugid 253
228 #define SYS_lchown 254
229 #define SYS_aio_read 255
230 #define SYS_aio_write 256
231 #define SYS_lio_listio 257
232 #define SYS_getdents 272
233 #define SYS_lchmod 274
234 #define SYS_netbsd_lchown 275
235 #define SYS_lutimes 276
236 #define SYS_netbsd_msync 277
237 #define SYS_nstat 278
238 #define SYS_nfstat 279
239 #define SYS_nlstat 280
240 #define SYS_preadv 289
241 #define SYS_pwritev 290
242 /* 297 is freebsd4 fhstatfs */
243 #define SYS_fhopen 298
244 #define SYS_fhstat 299
245 #define SYS_modnext 300
246 #define SYS_modstat 301
247 #define SYS_modfnext 302
248 #define SYS_modfind 303
249 #define SYS_kldload 304
250 #define SYS_kldunload 305
251 #define SYS_kldfind 306
252 #define SYS_kldnext 307
253 #define SYS_kldstat 308
254 #define SYS_kldfirstmod 309
255 #define SYS_getsid 310
256 #define SYS_setresuid 311
257 #define SYS_setresgid 312
258 /* 313 is obsolete signanosleep */
259 #define SYS_aio_return 314
260 #define SYS_aio_suspend 315
261 #define SYS_aio_cancel 316
262 #define SYS_aio_error 317
263 /* 318 is freebsd6 aio_read */
264 /* 319 is freebsd6 aio_write */
265 /* 320 is freebsd6 lio_listio */
266 #define SYS_yield 321
267 /* 322 is obsolete thr_sleep */
268 /* 323 is obsolete thr_wakeup */
269 #define SYS_mlockall 324
270 #define SYS_munlockall 325
271 #define SYS___getcwd 326
272 #define SYS_sched_setparam 327
273 #define SYS_sched_getparam 328
274 #define SYS_sched_setscheduler 329
275 #define SYS_sched_getscheduler 330
276 #define SYS_sched_yield 331
277 #define SYS_sched_get_priority_max 332
278 #define SYS_sched_get_priority_min 333
279 #define SYS_sched_rr_get_interval 334
280 #define SYS_utrace 335
281 /* 336 is freebsd4 sendfile */
282 #define SYS_kldsym 337
284 #define SYS_nnpfs_syscall 339
285 #define SYS_sigprocmask 340
286 #define SYS_sigsuspend 341
287 /* 342 is freebsd4 sigaction */
288 #define SYS_sigpending 343
289 /* 344 is freebsd4 sigreturn */
290 #define SYS_sigtimedwait 345
291 #define SYS_sigwaitinfo 346
292 #define SYS___acl_get_file 347
293 #define SYS___acl_set_file 348
294 #define SYS___acl_get_fd 349
295 #define SYS___acl_set_fd 350
296 #define SYS___acl_delete_file 351
297 #define SYS___acl_delete_fd 352
298 #define SYS___acl_aclcheck_file 353
299 #define SYS___acl_aclcheck_fd 354
300 #define SYS_extattrctl 355
301 #define SYS_extattr_set_file 356
302 #define SYS_extattr_get_file 357
303 #define SYS_extattr_delete_file 358
304 #define SYS_aio_waitcomplete 359
305 #define SYS_getresuid 360
306 #define SYS_getresgid 361
307 #define SYS_kqueue 362
308 #define SYS_kevent 363
309 #define SYS_extattr_set_fd 371
310 #define SYS_extattr_get_fd 372
311 #define SYS_extattr_delete_fd 373
312 #define SYS___setugid 374
313 #define SYS_eaccess 376
314 #define SYS_afs3_syscall 377
315 #define SYS_nmount 378
316 #define SYS___mac_get_proc 384
317 #define SYS___mac_set_proc 385
318 #define SYS___mac_get_fd 386
319 #define SYS___mac_get_file 387
320 #define SYS___mac_set_fd 388
321 #define SYS___mac_set_file 389
323 #define SYS_lchflags 391
324 #define SYS_uuidgen 392
325 #define SYS_sendfile 393
326 #define SYS_mac_syscall 394
327 #define SYS_getfsstat 395
328 #define SYS_statfs 396
329 #define SYS_fstatfs 397
330 #define SYS_fhstatfs 398
331 #define SYS_ksem_close 400
332 #define SYS_ksem_post 401
333 #define SYS_ksem_wait 402
334 #define SYS_ksem_trywait 403
335 #define SYS_ksem_init 404
336 #define SYS_ksem_open 405
337 #define SYS_ksem_unlink 406
338 #define SYS_ksem_getvalue 407
339 #define SYS_ksem_destroy 408
340 #define SYS___mac_get_pid 409
341 #define SYS___mac_get_link 410
342 #define SYS___mac_set_link 411
343 #define SYS_extattr_set_link 412
344 #define SYS_extattr_get_link 413
345 #define SYS_extattr_delete_link 414
346 #define SYS___mac_execve 415
347 #define SYS_sigaction 416
348 #define SYS_sigreturn 417
349 #define SYS_getcontext 421
350 #define SYS_setcontext 422
351 #define SYS_swapcontext 423
352 #define SYS_swapoff 424
353 #define SYS___acl_get_link 425
354 #define SYS___acl_set_link 426
355 #define SYS___acl_delete_link 427
356 #define SYS___acl_aclcheck_link 428
357 #define SYS_sigwait 429
358 #define SYS_thr_create 430
359 #define SYS_thr_exit 431
360 #define SYS_thr_self 432
361 #define SYS_thr_kill 433
362 #define SYS_jail_attach 436
363 #define SYS_extattr_list_fd 437
364 #define SYS_extattr_list_file 438
365 #define SYS_extattr_list_link 439
366 #define SYS_ksem_timedwait 441
367 #define SYS_thr_suspend 442
368 #define SYS_thr_wake 443
369 #define SYS_kldunloadf 444
370 #define SYS_audit 445
371 #define SYS_auditon 446
372 #define SYS_getauid 447
373 #define SYS_setauid 448
374 #define SYS_getaudit 449
375 #define SYS_setaudit 450
376 #define SYS_getaudit_addr 451
377 #define SYS_setaudit_addr 452
378 #define SYS_auditctl 453
379 #define SYS__umtx_op 454
380 #define SYS_thr_new 455
381 #define SYS_sigqueue 456
382 #define SYS_kmq_open 457
383 #define SYS_kmq_setattr 458
384 #define SYS_kmq_timedreceive 459
385 #define SYS_kmq_timedsend 460
386 #define SYS_kmq_notify 461
387 #define SYS_kmq_unlink 462
388 #define SYS_abort2 463
389 #define SYS_thr_set_name 464
390 #define SYS_aio_fsync 465
391 #define SYS_rtprio_thread 466
392 #define SYS_sctp_peeloff 471
393 #define SYS_sctp_generic_sendmsg 472
394 #define SYS_sctp_generic_sendmsg_iov 473
395 #define SYS_sctp_generic_recvmsg 474
396 #define SYS_pread 475
397 #define SYS_pwrite 476
399 #define SYS_lseek 478
400 #define SYS_truncate 479
401 #define SYS_ftruncate 480
402 #define SYS_thr_kill2 481
403 #define SYS_shm_open 482
404 #define SYS_shm_unlink 483
405 #define SYS_cpuset 484
406 #define SYS_cpuset_setid 485
407 #define SYS_cpuset_getid 486
408 #define SYS_cpuset_getaffinity 487
409 #define SYS_cpuset_setaffinity 488
410 #define SYS_faccessat 489
411 #define SYS_fchmodat 490
412 #define SYS_fchownat 491
413 #define SYS_fexecve 492
414 #define SYS_fstatat 493
415 #define SYS_futimesat 494
416 #define SYS_linkat 495
417 #define SYS_mkdirat 496
418 #define SYS_mkfifoat 497
419 #define SYS_mknodat 498
420 #define SYS_openat 499
421 #define SYS_readlinkat 500
422 #define SYS_renameat 501
423 #define SYS_symlinkat 502
424 #define SYS_unlinkat 503
425 #define SYS_posix_openpt 504
426 #define SYS_gssd_syscall 505
427 #define SYS_jail_get 506
428 #define SYS_jail_set 507
429 #define SYS_jail_remove 508
430 #define SYS_closefrom 509
431 #define SYS___semctl 510
432 #define SYS_msgctl 511
433 #define SYS_shmctl 512
434 #define SYS_lpathconf 513
435 /* 514 is obsolete cap_new */
436 #define SYS___cap_rights_get 515
437 #define SYS_cap_enter 516
438 #define SYS_cap_getmode 517
439 #define SYS_pdfork 518
440 #define SYS_pdkill 519
441 #define SYS_pdgetpid 520
442 #define SYS_pselect 522
443 #define SYS_getloginclass 523
444 #define SYS_setloginclass 524
445 #define SYS_rctl_get_racct 525
446 #define SYS_rctl_get_rules 526
447 #define SYS_rctl_get_limits 527
448 #define SYS_rctl_add_rule 528
449 #define SYS_rctl_remove_rule 529
450 #define SYS_posix_fallocate 530
451 #define SYS_posix_fadvise 531
452 #define SYS_wait6 532
453 #define SYS_cap_rights_limit 533
454 #define SYS_cap_ioctls_limit 534
455 #define SYS_cap_ioctls_get 535
456 #define SYS_cap_fcntls_limit 536
457 #define SYS_cap_fcntls_get 537
458 #define SYS_bindat 538
459 #define SYS_connectat 539
460 #define SYS_chflagsat 540
461 #define SYS_accept4 541
462 #define SYS_pipe2 542
463 #define SYS_aio_mlock 543
464 #define SYS_procctl 544
465 #define SYS_ppoll 545
466 #define SYS_futimens 546
467 #define SYS_utimensat 547
468 #define SYS_numa_getaffinity 548
469 #define SYS_numa_setaffinity 549
470 #define SYS_MAXSYSCALL 550