1 /* $NetBSD: darwin_syscallargs.h,v 1.54 2008/04/23 14:10:03 ad Exp $ */
2
3 /*
4 * System call argument lists.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.36 2008/04/23 14:07:49 ad Exp
8 */
9
10 #ifndef _DARWIN_SYS_SYSCALLARGS_H_
11 #define _DARWIN_SYS_SYSCALLARGS_H_
12
13 #define DARWIN_SYS_MAXSYSARGS 8
14
15 #undef syscallarg
16 #define syscallarg(x) \
17 union { \
18 register_t pad; \
19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \
21 int8_t pad[ /* CONSTCOND */ \
22 (sizeof (register_t) < sizeof (x)) \
23 ? 0 \
24 : sizeof (register_t) - sizeof (x)]; \
25 x datum; \
26 } be; \
27 }
28
29 #undef check_syscall_args
30 #define check_syscall_args(call) \
31 typedef char call##_check_args[sizeof (struct call##_args) \
32 <= DARWIN_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
33
34 struct sys_syscall_args;
35
36 struct sys_exit_args;
37
38 struct sys_read_args;
39
40 struct sys_write_args;
41
42 struct sys_open_args;
43
44 struct sys_close_args;
45
46 struct sys_wait4_args;
47
48 struct compat_43_sys_creat_args;
49
50 struct sys_link_args;
51
52 struct sys_unlink_args;
53
54 struct sys_chdir_args;
55
56 struct sys_fchdir_args;
57
58 struct darwin_sys_mknod_args {
59 syscallarg(const char *) path;
60 syscallarg(mode_t) mode;
61 syscallarg(dev_t) dev;
62 };
63 check_syscall_args(darwin_sys_mknod)
64
65 struct sys_chmod_args;
66
67 struct sys_chown_args;
68
69 struct sys_obreak_args;
70
71 struct darwin_sys_getfsstat_args {
72 syscallarg(struct darwin_statfs *) buf;
73 syscallarg(long) bufsize;
74 syscallarg(int) flags;
75 };
76 check_syscall_args(darwin_sys_getfsstat)
77
78 struct compat_43_sys_lseek_args;
79
80 struct compat_40_sys_mount_args;
81
82 struct sys_unmount_args;
83
84 struct sys_setuid_args;
85 #ifdef COMPAT_43
86 #else
87 #endif
88
89 struct darwin_sys_ptrace_args {
90 syscallarg(int) req;
91 syscallarg(pid_t) pid;
92 syscallarg(void *) addr;
93 syscallarg(int) data;
94 };
95 check_syscall_args(darwin_sys_ptrace)
96
97 struct sys_recvmsg_args;
98
99 struct sys_sendmsg_args;
100
101 struct darwin_sys_recvfrom_args {
102 syscallarg(int) s;
103 syscallarg(void *) buf;
104 syscallarg(size_t) len;
105 syscallarg(int) flags;
106 syscallarg(struct sockaddr *) from;
107 syscallarg(unsigned int *) fromlenaddr;
108 };
109 check_syscall_args(darwin_sys_recvfrom)
110
111 struct darwin_sys_accept_args {
112 syscallarg(int) s;
113 syscallarg(struct sockaddr *) name;
114 syscallarg(unsigned int *) anamelen;
115 };
116 check_syscall_args(darwin_sys_accept)
117
118 struct darwin_sys_getpeername_args {
119 syscallarg(int) fdes;
120 syscallarg(struct sockaddr *) asa;
121 syscallarg(unsigned int *) alen;
122 };
123 check_syscall_args(darwin_sys_getpeername)
124
125 struct darwin_sys_getsockname_args {
126 syscallarg(int) fdes;
127 syscallarg(struct sockaddr *) asa;
128 syscallarg(unsigned int *) alen;
129 };
130 check_syscall_args(darwin_sys_getsockname)
131
132 struct sys_access_args;
133
134 struct sys_chflags_args;
135
136 struct sys_fchflags_args;
137
138 struct sys_kill_args;
139
140 struct compat_43_sys_stat_args;
141
142 struct compat_43_sys_lstat_args;
143
144 struct sys_dup_args;
145
146 struct sys_profil_args;
147 #if defined(KTRACE) || !defined(_KERNEL)
148
149 struct sys_ktrace_args;
150 #else
151 #endif
152
153 struct darwin_sys_sigaction_args {
154 syscallarg(int) signum;
155 syscallarg(struct darwin___sigaction *) nsa;
156 syscallarg(struct sigaction13 *) osa;
157 };
158 check_syscall_args(darwin_sys_sigaction)
159 #ifdef COMPAT_43
160 #else
161 #endif
162
163 struct darwin_sys_sigprocmask_args {
164 syscallarg(int) how;
165 syscallarg(sigset13_t *) set;
166 syscallarg(sigset13_t *) oset;
167 };
168 check_syscall_args(darwin_sys_sigprocmask)
169
170 struct sys___getlogin_args;
171
172 struct sys___setlogin_args;
173
174 struct sys_acct_args;
175
176 struct compat_13_sys_sigaltstack_args;
177
178 struct darwin_sys_ioctl_args {
179 syscallarg(int) fd;
180 syscallarg(u_long) com;
181 syscallarg(void *) data;
182 };
183 check_syscall_args(darwin_sys_ioctl)
184
185 struct sys_reboot_args;
186
187 struct sys_revoke_args;
188
189 struct sys_symlink_args;
190
191 struct sys_readlink_args;
192
193 struct sys_execve_args;
194
195 struct sys_umask_args;
196
197 struct sys_chroot_args;
198
199 struct compat_43_sys_fstat_args;
200
201 struct compat_12_sys_msync_args;
202
203 struct sys_sbrk_args;
204
205 struct sys_sstk_args;
206
207 struct sys_mmap_args;
208
209 struct sys_ovadvise_args;
210
211 struct sys_munmap_args;
212
213 struct sys_mprotect_args;
214
215 struct sys_madvise_args;
216
217 struct sys_mincore_args;
218
219 struct sys_getgroups_args;
220
221 struct sys_setgroups_args;
222
223 struct sys_setpgid_args;
224
225 struct sys_setitimer_args;
226
227 struct compat_12_sys_swapon_args;
228
229 struct sys_getitimer_args;
230
231 struct compat_43_sys_gethostname_args;
232
233 struct compat_43_sys_sethostname_args;
234
235 struct sys_dup2_args;
236
237 struct sys_fcntl_args;
238
239 struct sys_select_args;
240
241 struct sys_fsync_args;
242
243 struct sys_setpriority_args;
244
245 struct darwin_sys_socket_args {
246 syscallarg(int) domain;
247 syscallarg(int) type;
248 syscallarg(int) protocol;
249 };
250 check_syscall_args(darwin_sys_socket)
251
252 struct darwin_sys_connect_args {
253 syscallarg(int) s;
254 syscallarg(const struct sockaddr *) name;
255 syscallarg(unsigned int) namelen;
256 };
257 check_syscall_args(darwin_sys_connect)
258
259 struct compat_43_sys_accept_args;
260
261 struct sys_getpriority_args;
262
263 struct compat_43_sys_send_args;
264
265 struct compat_43_sys_recv_args;
266
267 struct darwin_sys_sigreturn_x2_args {
268 syscallarg(struct darwin_ucontext *) uctx;
269 };
270 check_syscall_args(darwin_sys_sigreturn_x2)
271
272 struct darwin_sys_bind_args {
273 syscallarg(int) s;
274 syscallarg(const struct sockaddr *) name;
275 syscallarg(unsigned int) namelen;
276 };
277 check_syscall_args(darwin_sys_bind)
278
279 struct sys_setsockopt_args;
280
281 struct sys_listen_args;
282
283 struct compat_43_sys_sigvec_args;
284
285 struct compat_43_sys_sigblock_args;
286
287 struct compat_43_sys_sigsetmask_args;
288
289 struct compat_13_sys_sigsuspend_args;
290
291 struct compat_43_sys_sigstack_args;
292
293 struct compat_43_sys_recvmsg_args;
294
295 struct compat_43_sys_sendmsg_args;
296
297 struct sys_gettimeofday_args;
298
299 struct sys_getrusage_args;
300
301 struct sys_getsockopt_args;
302
303 struct sys_readv_args;
304
305 struct sys_writev_args;
306
307 struct sys_settimeofday_args;
308
309 struct sys_fchown_args;
310
311 struct sys_fchmod_args;
312
313 struct compat_43_sys_recvfrom_args;
314
315 struct sys_setreuid_args;
316
317 struct sys_setregid_args;
318
319 struct sys_rename_args;
320
321 struct compat_43_sys_truncate_args;
322
323 struct compat_43_sys_ftruncate_args;
324
325 struct sys_flock_args;
326
327 struct sys_mkfifo_args;
328
329 struct darwin_sys_sendto_args {
330 syscallarg(int) s;
331 syscallarg(const void *) buf;
332 syscallarg(size_t) len;
333 syscallarg(int) flags;
334 syscallarg(const struct sockaddr *) to;
335 syscallarg(unsigned int) tolen;
336 };
337 check_syscall_args(darwin_sys_sendto)
338
339 struct sys_shutdown_args;
340
341 struct sys_socketpair_args;
342
343 struct sys_mkdir_args;
344
345 struct sys_rmdir_args;
346
347 struct sys_utimes_args;
348
349 struct sys_adjtime_args;
350
351 struct compat_43_sys_getpeername_args;
352
353 struct compat_43_sys_getrlimit_args;
354
355 struct compat_43_sys_setrlimit_args;
356
357 struct compat_43_sys_killpg_args;
358
359 struct compat_43_sys_getsockname_args;
360 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
361
362 struct sys_nfssvc_args;
363 #else
364 #endif
365
366 struct compat_43_sys_getdirentries_args;
367
368 struct darwin_sys_statfs_args {
369 syscallarg(const char *) path;
370 syscallarg(struct darwin_statfs *) buf;
371 };
372 check_syscall_args(darwin_sys_statfs)
373
374 struct darwin_sys_fstatfs_args {
375 syscallarg(int) fd;
376 syscallarg(struct darwin_statfs *) buf;
377 };
378 check_syscall_args(darwin_sys_fstatfs)
379 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
380
381 struct compat_30_sys_getfh_args;
382 #else
383 #endif
384
385 struct compat_09_sys_getdomainname_args;
386
387 struct compat_09_sys_setdomainname_args;
388
389 struct darwin_sys_kdebug_trace_args {
390 syscallarg(int) debugid;
391 syscallarg(int) arg1;
392 syscallarg(int) arg2;
393 syscallarg(int) arg3;
394 syscallarg(int) arg4;
395 syscallarg(int) arg5;
396 };
397 check_syscall_args(darwin_sys_kdebug_trace)
398
399 struct sys_setgid_args;
400
401 struct sys_setegid_args;
402
403 struct sys_seteuid_args;
404
405 struct darwin_sys_sigreturn_args {
406 syscallarg(struct darwin_ucontext *) uctx;
407 syscallarg(int) ucvers;
408 };
409 check_syscall_args(darwin_sys_sigreturn)
410
411 struct darwin_sys_stat_args {
412 syscallarg(const char *) path;
413 syscallarg(struct stat12 *) ub;
414 };
415 check_syscall_args(darwin_sys_stat)
416
417 struct darwin_sys_fstat_args {
418 syscallarg(int) fd;
419 syscallarg(struct stat12 *) sb;
420 };
421 check_syscall_args(darwin_sys_fstat)
422
423 struct darwin_sys_lstat_args {
424 syscallarg(const char *) path;
425 syscallarg(struct stat12 *) ub;
426 };
427 check_syscall_args(darwin_sys_lstat)
428
429 struct sys_pathconf_args;
430
431 struct sys_fpathconf_args;
432
433 struct sys_getrlimit_args;
434
435 struct sys_setrlimit_args;
436
437 struct compat_12_sys_getdirentries_args;
438
439 struct sys_mmap_args;
440
441 struct darwin_sys_lseek_args {
442 syscallarg(int) fd;
443 syscallarg(long) off1;
444 syscallarg(long) off2;
445 syscallarg(int) whence;
446 };
447 check_syscall_args(darwin_sys_lseek)
448
449 struct sys_truncate_args;
450
451 struct sys_ftruncate_args;
452
453 struct darwin_sys___sysctl_args {
454 syscallarg(int *) name;
455 syscallarg(u_int) namelen;
456 syscallarg(void *) oldp;
457 syscallarg(size_t *) oldlenp;
458 syscallarg(void *) newp;
459 syscallarg(size_t) newlen;
460 };
461 check_syscall_args(darwin_sys___sysctl)
462
463 struct sys_mlock_args;
464
465 struct sys_munlock_args;
466
467 struct sys_undelete_args;
468
469 struct darwin_sys_getattrlist_args {
470 syscallarg(const char *) path;
471 syscallarg(struct darwin_attrlist *) alist;
472 syscallarg(void *) attributes;
473 syscallarg(size_t) buflen;
474 syscallarg(unsigned long) options;
475 };
476 check_syscall_args(darwin_sys_getattrlist)
477
478 struct darwin_sys_load_shared_file_args {
479 syscallarg(char *) filename;
480 syscallarg(void *) addr;
481 syscallarg(u_long) len;
482 syscallarg(void **) base;
483 syscallarg(int) count;
484 syscallarg(mach_sf_mapping_t *) mappings;
485 syscallarg(int *) flags;
486 };
487 check_syscall_args(darwin_sys_load_shared_file)
488
489 struct darwin_sys_pthread_exit_args {
490 syscallarg(void *) value_ptr;
491 };
492 check_syscall_args(darwin_sys_pthread_exit)
493
494 struct darwin_sys_utrace_args {
495 syscallarg(void *) addr;
496 syscallarg(size_t) len;
497 };
498 check_syscall_args(darwin_sys_utrace)
499
500 struct darwin_sys_audit_args {
501 syscallarg(void *) record;
502 syscallarg(int) len;
503 };
504 check_syscall_args(darwin_sys_audit)
505
506 struct darwin_sys_auditon_args {
507 syscallarg(int) cmd;
508 syscallarg(void *) data;
509 syscallarg(int) len;
510 };
511 check_syscall_args(darwin_sys_auditon)
512
513 struct darwin_sys_getauid_args {
514 syscallarg(darwin_au_id_t *) auid;
515 };
516 check_syscall_args(darwin_sys_getauid)
517
518 struct darwin_sys_setauid_args {
519 syscallarg(darwin_au_id_t *) auid;
520 };
521 check_syscall_args(darwin_sys_setauid)
522
523 struct darwin_sys_getauditinfo_args {
524 syscallarg(struct darwin_auditinfo *) auditinfo;
525 };
526 check_syscall_args(darwin_sys_getauditinfo)
527
528 struct darwin_sys_setauditinfo_args {
529 syscallarg(struct darwin_auditinfo *) auditinfo;
530 };
531 check_syscall_args(darwin_sys_setauditinfo)
532
533 struct darwin_sys_getaudit_addr_args {
534 syscallarg(struct darwin_auditinfo_addr *) auditinfo_addr;
535 syscallarg(int) len;
536 };
537 check_syscall_args(darwin_sys_getaudit_addr)
538
539 struct darwin_sys_setaudit_addr_args {
540 syscallarg(struct darwin_auditinfo_addr *) auditinfo_addr;
541 syscallarg(int) len;
542 };
543 check_syscall_args(darwin_sys_setaudit_addr)
544
545 struct darwin_sys_auditctl_args {
546 syscallarg(char *) path;
547 };
548 check_syscall_args(darwin_sys_auditctl)
549
550 /*
551 * System call prototypes.
552 */
553
554 int sys_syscall(struct lwp *, const struct sys_syscall_args *, register_t *);
555
556 int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
557
558 int darwin_sys_fork(struct lwp *, const void *, register_t *);
559
560 int sys_read(struct lwp *, const struct sys_read_args *, register_t *);
561
562 int sys_write(struct lwp *, const struct sys_write_args *, register_t *);
563
564 int sys_open(struct lwp *, const struct sys_open_args *, register_t *);
565
566 int sys_close(struct lwp *, const struct sys_close_args *, register_t *);
567
568 int sys_wait4(struct lwp *, const struct sys_wait4_args *, register_t *);
569
570 int compat_43_sys_creat(struct lwp *, const struct compat_43_sys_creat_args *, register_t *);
571
572 int sys_link(struct lwp *, const struct sys_link_args *, register_t *);
573
574 int sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
575
576 int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
577
578 int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
579
580 int darwin_sys_mknod(struct lwp *, const struct darwin_sys_mknod_args *, register_t *);
581
582 int sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
583
584 int sys_chown(struct lwp *, const struct sys_chown_args *, register_t *);
585
586 int sys_obreak(struct lwp *, const struct sys_obreak_args *, register_t *);
587
588 int darwin_sys_getfsstat(struct lwp *, const struct darwin_sys_getfsstat_args *, register_t *);
589
590 int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
591
592 int darwin_sys_getpid(struct lwp *, const void *, register_t *);
593
594 int compat_40_sys_mount(struct lwp *, const struct compat_40_sys_mount_args *, register_t *);
595
596 int sys_unmount(struct lwp *, const struct sys_unmount_args *, register_t *);
597
598 int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
599
600 #ifdef COMPAT_43
601 int sys_getuid_with_euid(struct lwp *, const void *, register_t *);
602
603 #else
604 int sys_getuid(struct lwp *, const void *, register_t *);
605
606 #endif
607 int sys_geteuid(struct lwp *, const void *, register_t *);
608
609 int darwin_sys_ptrace(struct lwp *, const struct darwin_sys_ptrace_args *, register_t *);
610
611 int sys_recvmsg(struct lwp *, const struct sys_recvmsg_args *, register_t *);
612
613 int sys_sendmsg(struct lwp *, const struct sys_sendmsg_args *, register_t *);
614
615 int darwin_sys_recvfrom(struct lwp *, const struct darwin_sys_recvfrom_args *, register_t *);
616
617 int darwin_sys_accept(struct lwp *, const struct darwin_sys_accept_args *, register_t *);
618
619 int darwin_sys_getpeername(struct lwp *, const struct darwin_sys_getpeername_args *, register_t *);
620
621 int darwin_sys_getsockname(struct lwp *, const struct darwin_sys_getsockname_args *, register_t *);
622
623 int sys_access(struct lwp *, const struct sys_access_args *, register_t *);
624
625 int sys_chflags(struct lwp *, const struct sys_chflags_args *, register_t *);
626
627 int sys_fchflags(struct lwp *, const struct sys_fchflags_args *, register_t *);
628
629 int sys_sync(struct lwp *, const void *, register_t *);
630
631 int sys_kill(struct lwp *, const struct sys_kill_args *, register_t *);
632
633 int compat_43_sys_stat(struct lwp *, const struct compat_43_sys_stat_args *, register_t *);
634
635 int sys_getppid(struct lwp *, const void *, register_t *);
636
637 int compat_43_sys_lstat(struct lwp *, const struct compat_43_sys_lstat_args *, register_t *);
638
639 int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
640
641 int sys_pipe(struct lwp *, const void *, register_t *);
642
643 int sys_getegid(struct lwp *, const void *, register_t *);
644
645 int sys_profil(struct lwp *, const struct sys_profil_args *, register_t *);
646
647 #if defined(KTRACE) || !defined(_KERNEL)
648 int sys_ktrace(struct lwp *, const struct sys_ktrace_args *, register_t *);
649
650 #else
651 #endif
652 int darwin_sys_sigaction(struct lwp *, const struct darwin_sys_sigaction_args *, register_t *);
653
654 #ifdef COMPAT_43
655 int sys_getgid_with_egid(struct lwp *, const void *, register_t *);
656
657 #else
658 int sys_getgid(struct lwp *, const void *, register_t *);
659
660 #endif
661 int darwin_sys_sigprocmask(struct lwp *, const struct darwin_sys_sigprocmask_args *, register_t *);
662
663 int sys___getlogin(struct lwp *, const struct sys___getlogin_args *, register_t *);
664
665 int sys___setlogin(struct lwp *, const struct sys___setlogin_args *, register_t *);
666
667 int sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
668
669 int compat_13_sys_sigpending(struct lwp *, const void *, register_t *);
670
671 int compat_13_sys_sigaltstack(struct lwp *, const struct compat_13_sys_sigaltstack_args *, register_t *);
672
673 int darwin_sys_ioctl(struct lwp *, const struct darwin_sys_ioctl_args *, register_t *);
674
675 int sys_reboot(struct lwp *, const struct sys_reboot_args *, register_t *);
676
677 int sys_revoke(struct lwp *, const struct sys_revoke_args *, register_t *);
678
679 int sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
680
681 int sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
682
683 int sys_execve(struct lwp *, const struct sys_execve_args *, register_t *);
684
685 int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
686
687 int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
688
689 int compat_43_sys_fstat(struct lwp *, const struct compat_43_sys_fstat_args *, register_t *);
690
691 int compat_43_sys_getpagesize(struct lwp *, const void *, register_t *);
692
693 int compat_12_sys_msync(struct lwp *, const struct compat_12_sys_msync_args *, register_t *);
694
695 int darwin_sys_vfork(struct lwp *, const void *, register_t *);
696
697 int sys_sbrk(struct lwp *, const struct sys_sbrk_args *, register_t *);
698
699 int sys_sstk(struct lwp *, const struct sys_sstk_args *, register_t *);
700
701 int sys_mmap(struct lwp *, const struct sys_mmap_args *, register_t *);
702
703 int sys_ovadvise(struct lwp *, const struct sys_ovadvise_args *, register_t *);
704
705 int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
706
707 int sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
708
709 int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
710
711 int sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
712
713 int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
714
715 int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
716
717 int sys_getpgrp(struct lwp *, const void *, register_t *);
718
719 int sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
720
721 int sys_setitimer(struct lwp *, const struct sys_setitimer_args *, register_t *);
722
723 int compat_43_sys_wait(struct lwp *, const void *, register_t *);
724
725 int compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *);
726
727 int sys_getitimer(struct lwp *, const struct sys_getitimer_args *, register_t *);
728
729 int compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
730
731 int compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
732
733 int compat_43_sys_getdtablesize(struct lwp *, const void *, register_t *);
734
735 int sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
736
737 int sys_fcntl(struct lwp *, const struct sys_fcntl_args *, register_t *);
738
739 int sys_select(struct lwp *, const struct sys_select_args *, register_t *);
740
741 int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
742
743 int sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
744
745 int darwin_sys_socket(struct lwp *, const struct darwin_sys_socket_args *, register_t *);
746
747 int darwin_sys_connect(struct lwp *, const struct darwin_sys_connect_args *, register_t *);
748
749 int compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
750
751 int sys_getpriority(struct lwp *, const struct sys_getpriority_args *, register_t *);
752
753 int compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
754
755 int compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
756
757 int darwin_sys_sigreturn_x2(struct lwp *, const struct darwin_sys_sigreturn_x2_args *, register_t *);
758
759 int darwin_sys_bind(struct lwp *, const struct darwin_sys_bind_args *, register_t *);
760
761 int sys_setsockopt(struct lwp *, const struct sys_setsockopt_args *, register_t *);
762
763 int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
764
765 int compat_43_sys_sigvec(struct lwp *, const struct compat_43_sys_sigvec_args *, register_t *);
766
767 int compat_43_sys_sigblock(struct lwp *, const struct compat_43_sys_sigblock_args *, register_t *);
768
769 int compat_43_sys_sigsetmask(struct lwp *, const struct compat_43_sys_sigsetmask_args *, register_t *);
770
771 int compat_13_sys_sigsuspend(struct lwp *, const struct compat_13_sys_sigsuspend_args *, register_t *);
772
773 int compat_43_sys_sigstack(struct lwp *, const struct compat_43_sys_sigstack_args *, register_t *);
774
775 int compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
776
777 int compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
778
779 int sys_gettimeofday(struct lwp *, const struct sys_gettimeofday_args *, register_t *);
780
781 int sys_getrusage(struct lwp *, const struct sys_getrusage_args *, register_t *);
782
783 int sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
784
785 int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
786
787 int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
788
789 int sys_settimeofday(struct lwp *, const struct sys_settimeofday_args *, register_t *);
790
791 int sys_fchown(struct lwp *, const struct sys_fchown_args *, register_t *);
792
793 int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
794
795 int compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
796
797 int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
798
799 int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
800
801 int sys_rename(struct lwp *, const struct sys_rename_args *, register_t *);
802
803 int compat_43_sys_truncate(struct lwp *, const struct compat_43_sys_truncate_args *, register_t *);
804
805 int compat_43_sys_ftruncate(struct lwp *, const struct compat_43_sys_ftruncate_args *, register_t *);
806
807 int sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
808
809 int sys_mkfifo(struct lwp *, const struct sys_mkfifo_args *, register_t *);
810
811 int darwin_sys_sendto(struct lwp *, const struct darwin_sys_sendto_args *, register_t *);
812
813 int sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
814
815 int sys_socketpair(struct lwp *, const struct sys_socketpair_args *, register_t *);
816
817 int sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
818
819 int sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
820
821 int sys_utimes(struct lwp *, const struct sys_utimes_args *, register_t *);
822
823 int sys_adjtime(struct lwp *, const struct sys_adjtime_args *, register_t *);
824
825 int compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
826
827 int compat_43_sys_gethostid(struct lwp *, const void *, register_t *);
828
829 int compat_43_sys_getrlimit(struct lwp *, const struct compat_43_sys_getrlimit_args *, register_t *);
830
831 int compat_43_sys_setrlimit(struct lwp *, const struct compat_43_sys_setrlimit_args *, register_t *);
832
833 int compat_43_sys_killpg(struct lwp *, const struct compat_43_sys_killpg_args *, register_t *);
834
835 int sys_setsid(struct lwp *, const void *, register_t *);
836
837 int compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
838
839 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
840 int sys_nfssvc(struct lwp *, const struct sys_nfssvc_args *, register_t *);
841
842 #else
843 #endif
844 int compat_43_sys_getdirentries(struct lwp *, const struct compat_43_sys_getdirentries_args *, register_t *);
845
846 int darwin_sys_statfs(struct lwp *, const struct darwin_sys_statfs_args *, register_t *);
847
848 int darwin_sys_fstatfs(struct lwp *, const struct darwin_sys_fstatfs_args *, register_t *);
849
850 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
851 int compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *);
852
853 #else
854 #endif
855 int compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *);
856
857 int compat_09_sys_setdomainname(struct lwp *, const struct compat_09_sys_setdomainname_args *, register_t *);
858
859 int darwin_sys_kdebug_trace(struct lwp *, const struct darwin_sys_kdebug_trace_args *, register_t *);
860
861 int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
862
863 int sys_setegid(struct lwp *, const struct sys_setegid_args *, register_t *);
864
865 int sys_seteuid(struct lwp *, const struct sys_seteuid_args *, register_t *);
866
867 int darwin_sys_sigreturn(struct lwp *, const struct darwin_sys_sigreturn_args *, register_t *);
868
869 int darwin_sys_stat(struct lwp *, const struct darwin_sys_stat_args *, register_t *);
870
871 int darwin_sys_fstat(struct lwp *, const struct darwin_sys_fstat_args *, register_t *);
872
873 int darwin_sys_lstat(struct lwp *, const struct darwin_sys_lstat_args *, register_t *);
874
875 int sys_pathconf(struct lwp *, const struct sys_pathconf_args *, register_t *);
876
877 int sys_fpathconf(struct lwp *, const struct sys_fpathconf_args *, register_t *);
878
879 int sys_getrlimit(struct lwp *, const struct sys_getrlimit_args *, register_t *);
880
881 int sys_setrlimit(struct lwp *, const struct sys_setrlimit_args *, register_t *);
882
883 int compat_12_sys_getdirentries(struct lwp *, const struct compat_12_sys_getdirentries_args *, register_t *);
884
885 int darwin_sys_lseek(struct lwp *, const struct darwin_sys_lseek_args *, register_t *);
886
887 int sys_truncate(struct lwp *, const struct sys_truncate_args *, register_t *);
888
889 int sys_ftruncate(struct lwp *, const struct sys_ftruncate_args *, register_t *);
890
891 int darwin_sys___sysctl(struct lwp *, const struct darwin_sys___sysctl_args *, register_t *);
892
893 int sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *);
894
895 int sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *);
896
897 int sys_undelete(struct lwp *, const struct sys_undelete_args *, register_t *);
898
899 int darwin_sys_getattrlist(struct lwp *, const struct darwin_sys_getattrlist_args *, register_t *);
900
901 int darwin_sys_load_shared_file(struct lwp *, const struct darwin_sys_load_shared_file_args *, register_t *);
902
903 int darwin_sys_pthread_exit(struct lwp *, const struct darwin_sys_pthread_exit_args *, register_t *);
904
905 int darwin_sys_utrace(struct lwp *, const struct darwin_sys_utrace_args *, register_t *);
906
907 int darwin_sys_audit(struct lwp *, const struct darwin_sys_audit_args *, register_t *);
908
909 int darwin_sys_auditon(struct lwp *, const struct darwin_sys_auditon_args *, register_t *);
910
911 int darwin_sys_getauid(struct lwp *, const struct darwin_sys_getauid_args *, register_t *);
912
913 int darwin_sys_setauid(struct lwp *, const struct darwin_sys_setauid_args *, register_t *);
914
915 int darwin_sys_getauditinfo(struct lwp *, const struct darwin_sys_getauditinfo_args *, register_t *);
916
917 int darwin_sys_setauditinfo(struct lwp *, const struct darwin_sys_setauditinfo_args *, register_t *);
918
919 int darwin_sys_getaudit_addr(struct lwp *, const struct darwin_sys_getaudit_addr_args *, register_t *);
920
921 int darwin_sys_setaudit_addr(struct lwp *, const struct darwin_sys_setaudit_addr_args *, register_t *);
922
923 int darwin_sys_auditctl(struct lwp *, const struct darwin_sys_auditctl_args *, register_t *);
924
925 #endif /* _DARWIN_SYS_SYSCALLARGS_H_ */
Cache object: ffaa604fbc78cd785dd24e111802fd28
|