freebsd_syscallargs.h revision 1.61 1 /* $NetBSD: freebsd_syscallargs.h,v 1.61 2005/08/19 02:03:57 christos 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.47 2005/02/22 16:14:50 heas Exp
8 */
9
10 #ifndef _FREEBSD_SYS__SYSCALLARGS_H_
11 #define _FREEBSD_SYS__SYSCALLARGS_H_
12
13 #ifdef syscallarg
14 #undef syscallarg
15 #endif
16
17 #define syscallarg(x) \
18 union { \
19 register_t pad; \
20 struct { x datum; } le; \
21 struct { /* LINTED zero array dimension */ \
22 int8_t pad[ /* CONSTCOND */ \
23 (sizeof (register_t) < sizeof (x)) \
24 ? 0 \
25 : sizeof (register_t) - sizeof (x)]; \
26 x datum; \
27 } be; \
28 }
29
30 struct freebsd_sys_open_args {
31 syscallarg(const char *) path;
32 syscallarg(int) flags;
33 syscallarg(int) mode;
34 };
35
36 struct compat_43_freebsd_sys_creat_args {
37 syscallarg(const char *) path;
38 syscallarg(int) mode;
39 };
40
41 struct freebsd_sys_link_args {
42 syscallarg(const char *) path;
43 syscallarg(const char *) link;
44 };
45
46 struct freebsd_sys_unlink_args {
47 syscallarg(const char *) path;
48 };
49
50 struct freebsd_sys_chdir_args {
51 syscallarg(const char *) path;
52 };
53
54 struct freebsd_sys_mknod_args {
55 syscallarg(const char *) path;
56 syscallarg(int) mode;
57 syscallarg(int) dev;
58 };
59
60 struct freebsd_sys_chmod_args {
61 syscallarg(const char *) path;
62 syscallarg(int) mode;
63 };
64
65 struct freebsd_sys_chown_args {
66 syscallarg(const char *) path;
67 syscallarg(int) uid;
68 syscallarg(int) gid;
69 };
70
71 struct freebsd_sys_mount_args {
72 syscallarg(int) type;
73 syscallarg(const char *) path;
74 syscallarg(int) flags;
75 syscallarg(caddr_t) data;
76 };
77
78 struct freebsd_sys_unmount_args {
79 syscallarg(const char *) path;
80 syscallarg(int) flags;
81 };
82
83 struct freebsd_sys_ptrace_args {
84 syscallarg(int) req;
85 syscallarg(pid_t) pid;
86 syscallarg(caddr_t) addr;
87 syscallarg(int) data;
88 };
89
90 struct freebsd_sys_access_args {
91 syscallarg(const char *) path;
92 syscallarg(int) flags;
93 };
94
95 struct freebsd_sys_chflags_args {
96 syscallarg(const char *) path;
97 syscallarg(int) flags;
98 };
99
100 struct compat_43_freebsd_sys_stat_args {
101 syscallarg(const char *) path;
102 syscallarg(struct stat43 *) ub;
103 };
104
105 struct compat_43_freebsd_sys_lstat_args {
106 syscallarg(const char *) path;
107 syscallarg(struct stat43 *) ub;
108 };
109 #ifdef KTRACE
110 #else
111 #endif
112
113 struct freebsd_sys_ioctl_args {
114 syscallarg(int) fd;
115 syscallarg(u_long) com;
116 syscallarg(caddr_t) data;
117 };
118
119 struct freebsd_sys_revoke_args {
120 syscallarg(const char *) path;
121 };
122
123 struct freebsd_sys_symlink_args {
124 syscallarg(const char *) path;
125 syscallarg(const char *) link;
126 };
127
128 struct freebsd_sys_readlink_args {
129 syscallarg(const char *) path;
130 syscallarg(char *) buf;
131 syscallarg(int) count;
132 };
133
134 struct freebsd_sys_execve_args {
135 syscallarg(const char *) path;
136 syscallarg(char **) argp;
137 syscallarg(char **) envp;
138 };
139
140 struct freebsd_sys_chroot_args {
141 syscallarg(const char *) path;
142 };
143
144 struct freebsd_sys_msync_args {
145 syscallarg(caddr_t) addr;
146 syscallarg(size_t) len;
147 syscallarg(int) flags;
148 };
149
150 struct freebsd_sys_sigreturn_args {
151 syscallarg(struct freebsd_sigcontext *) scp;
152 };
153 #ifdef TRACE
154 #else
155 #endif
156
157 struct freebsd_sys_rename_args {
158 syscallarg(const char *) from;
159 syscallarg(const char *) to;
160 };
161
162 struct compat_43_freebsd_sys_truncate_args {
163 syscallarg(const char *) path;
164 syscallarg(long) length;
165 };
166
167 struct freebsd_sys_mkfifo_args {
168 syscallarg(const char *) path;
169 syscallarg(int) mode;
170 };
171
172 struct freebsd_sys_mkdir_args {
173 syscallarg(const char *) path;
174 syscallarg(int) mode;
175 };
176
177 struct freebsd_sys_rmdir_args {
178 syscallarg(const char *) path;
179 };
180 #if defined(NFS) || defined(NFSSERVER)
181 #else
182 #endif
183
184 struct freebsd_sys_statfs_args {
185 syscallarg(const char *) path;
186 syscallarg(struct statfs12 *) buf;
187 };
188 #ifdef NFS
189
190 struct freebsd_sys_getfh_args {
191 syscallarg(const char *) fname;
192 syscallarg(fhandle_t *) fhp;
193 };
194 #else
195 #endif
196
197 struct freebsd_sys_rtprio_args {
198 syscallarg(int) function;
199 syscallarg(pid_t) pid;
200 syscallarg(struct freebsd_rtprio *) rtp;
201 };
202 #if defined(SYSVSEM) && !defined(_LP64)
203
204 struct freebsd_sys_semsys_args {
205 syscallarg(int) which;
206 syscallarg(int) a2;
207 syscallarg(int) a3;
208 syscallarg(int) a4;
209 syscallarg(int) a5;
210 };
211 #else
212 #endif
213 #if defined(SYSVMSG) && !defined(_LP64)
214
215 struct freebsd_sys_msgsys_args {
216 syscallarg(int) which;
217 syscallarg(int) a2;
218 syscallarg(int) a3;
219 syscallarg(int) a4;
220 syscallarg(int) a5;
221 syscallarg(int) a6;
222 };
223 #else
224 #endif
225 #if defined(SYSVSHM) && !defined(_LP64)
226
227 struct freebsd_sys_shmsys_args {
228 syscallarg(int) which;
229 syscallarg(int) a2;
230 syscallarg(int) a3;
231 syscallarg(int) a4;
232 };
233 #else
234 #endif
235 #ifdef NTP
236
237 struct freebsd_ntp_adjtime_args {
238 syscallarg(struct freebsd_timex *) tp;
239 };
240 #else
241 #endif
242 #ifdef LFS
243 #else
244 #endif
245
246 struct freebsd_sys_stat_args {
247 syscallarg(const char *) path;
248 syscallarg(struct stat12 *) ub;
249 };
250
251 struct freebsd_sys_lstat_args {
252 syscallarg(const char *) path;
253 syscallarg(struct stat12 *) ub;
254 };
255
256 struct freebsd_sys_pathconf_args {
257 syscallarg(const char *) path;
258 syscallarg(int) name;
259 };
260
261 struct freebsd_sys_mmap_args {
262 syscallarg(caddr_t) addr;
263 syscallarg(size_t) len;
264 syscallarg(int) prot;
265 syscallarg(int) flags;
266 syscallarg(int) fd;
267 syscallarg(long) pad;
268 syscallarg(off_t) pos;
269 };
270
271 struct freebsd_sys_truncate_args {
272 syscallarg(const char *) path;
273 syscallarg(int) pad;
274 syscallarg(off_t) length;
275 };
276
277 struct freebsd_sys_sysctl_args {
278 syscallarg(int *) name;
279 syscallarg(u_int) namelen;
280 syscallarg(void *) old;
281 syscallarg(size_t *) oldlenp;
282 syscallarg(void *) new;
283 syscallarg(size_t) newlen;
284 };
285 #ifdef FREEBSD_BASED_ON_44LITE_R2
286
287 struct freebsd_sys_undelete_args {
288 syscallarg(char *) path;
289 };
290 #else
291 #endif
292 #if 0
293 #else
294 #endif
295 #ifdef SYSVSEM
296 #else
297 #endif
298 #ifdef SYSVMSG
299 #else
300 #endif
301 #ifdef SYSVSHM
302 #else
303 #endif
304
305 struct freebsd_sys_rfork_args {
306 syscallarg(int) flags;
307 };
308
309 struct freebsd_sys_lchown_args {
310 syscallarg(const char *) path;
311 syscallarg(int) uid;
312 syscallarg(int) gid;
313 };
314
315 struct freebsd_sys_sched_setparam_args {
316 syscallarg(pid_t) pid;
317 syscallarg(const struct freebsd_sched_param *) sp;
318 };
319
320 struct freebsd_sys_sched_getparam_args {
321 syscallarg(pid_t) pid;
322 syscallarg(struct freebsd_sched_param *) sp;
323 };
324
325 struct freebsd_sys_sched_setscheduler_args {
326 syscallarg(pid_t) pid;
327 syscallarg(int) policy;
328 syscallarg(const struct sched_param *) sp;
329 };
330
331 struct freebsd_sys_sched_getscheduler_args {
332 syscallarg(pid_t) pid;
333 };
334
335 struct freebsd_sys_sched_get_priority_max_args {
336 syscallarg(int) policy;
337 };
338
339 struct freebsd_sys_sched_get_priority_min_args {
340 syscallarg(int) policy;
341 };
342
343 struct freebsd_sys_utrace_args {
344 syscallarg(void *) addr;
345 syscallarg(size_t) len;
346 };
347
348 struct freebsd_sys_sigaction4_args {
349 syscallarg(int) signum;
350 syscallarg(const struct freebsd_sigaction4 *) nsa;
351 syscallarg(struct freebsd_sigaction4 *) osa;
352 };
353 #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
354 #else
355 #endif
356
357 /*
358 * System call prototypes.
359 */
360
361 int sys_nosys(struct lwp *, void *, register_t *);
362
363 int sys_exit(struct lwp *, void *, register_t *);
364
365 int sys_fork(struct lwp *, void *, register_t *);
366
367 int sys_read(struct lwp *, void *, register_t *);
368
369 int sys_write(struct lwp *, void *, register_t *);
370
371 int freebsd_sys_open(struct lwp *, void *, register_t *);
372
373 int sys_close(struct lwp *, void *, register_t *);
374
375 int sys_wait4(struct lwp *, void *, register_t *);
376
377 int compat_43_freebsd_sys_creat(struct lwp *, void *, register_t *);
378
379 int freebsd_sys_link(struct lwp *, void *, register_t *);
380
381 int freebsd_sys_unlink(struct lwp *, void *, register_t *);
382
383 int freebsd_sys_chdir(struct lwp *, void *, register_t *);
384
385 int sys_fchdir(struct lwp *, void *, register_t *);
386
387 int freebsd_sys_mknod(struct lwp *, void *, register_t *);
388
389 int freebsd_sys_chmod(struct lwp *, void *, register_t *);
390
391 int freebsd_sys_chown(struct lwp *, void *, register_t *);
392
393 int sys_obreak(struct lwp *, void *, register_t *);
394
395 int compat_20_sys_getfsstat(struct lwp *, void *, register_t *);
396
397 int compat_43_sys_lseek(struct lwp *, void *, register_t *);
398
399 int sys_getpid_with_ppid(struct lwp *, void *, register_t *);
400
401 int freebsd_sys_mount(struct lwp *, void *, register_t *);
402
403 int freebsd_sys_unmount(struct lwp *, void *, register_t *);
404
405 int sys_setuid(struct lwp *, void *, register_t *);
406
407 int sys_getuid_with_euid(struct lwp *, void *, register_t *);
408
409 int sys_geteuid(struct lwp *, void *, register_t *);
410
411 int freebsd_sys_ptrace(struct lwp *, void *, register_t *);
412
413 int sys_recvmsg(struct lwp *, void *, register_t *);
414
415 int sys_sendmsg(struct lwp *, void *, register_t *);
416
417 int sys_recvfrom(struct lwp *, void *, register_t *);
418
419 int sys_accept(struct lwp *, void *, register_t *);
420
421 int sys_getpeername(struct lwp *, void *, register_t *);
422
423 int sys_getsockname(struct lwp *, void *, register_t *);
424
425 int freebsd_sys_access(struct lwp *, void *, register_t *);
426
427 int freebsd_sys_chflags(struct lwp *, void *, register_t *);
428
429 int sys_fchflags(struct lwp *, void *, register_t *);
430
431 int sys_sync(struct lwp *, void *, register_t *);
432
433 int sys_kill(struct lwp *, void *, register_t *);
434
435 int compat_43_freebsd_sys_stat(struct lwp *, void *, register_t *);
436
437 int sys_getppid(struct lwp *, void *, register_t *);
438
439 int compat_43_freebsd_sys_lstat(struct lwp *, void *, register_t *);
440
441 int sys_dup(struct lwp *, void *, register_t *);
442
443 int sys_pipe(struct lwp *, void *, register_t *);
444
445 int sys_getegid(struct lwp *, void *, register_t *);
446
447 int sys_profil(struct lwp *, void *, register_t *);
448
449 #ifdef KTRACE
450 int sys_ktrace(struct lwp *, void *, register_t *);
451
452 #else
453 #endif
454 int compat_13_sys_sigaction(struct lwp *, void *, register_t *);
455
456 int sys_getgid_with_egid(struct lwp *, void *, register_t *);
457
458 int compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
459
460 int sys___getlogin(struct lwp *, void *, register_t *);
461
462 int sys___setlogin(struct lwp *, void *, register_t *);
463
464 int sys_acct(struct lwp *, void *, register_t *);
465
466 int compat_13_sys_sigpending(struct lwp *, void *, register_t *);
467
468 int compat_13_sys_sigaltstack(struct lwp *, void *, register_t *);
469
470 int freebsd_sys_ioctl(struct lwp *, void *, register_t *);
471
472 int sys_reboot(struct lwp *, void *, register_t *);
473
474 int freebsd_sys_revoke(struct lwp *, void *, register_t *);
475
476 int freebsd_sys_symlink(struct lwp *, void *, register_t *);
477
478 int freebsd_sys_readlink(struct lwp *, void *, register_t *);
479
480 int freebsd_sys_execve(struct lwp *, void *, register_t *);
481
482 int sys_umask(struct lwp *, void *, register_t *);
483
484 int freebsd_sys_chroot(struct lwp *, void *, register_t *);
485
486 int compat_43_sys_fstat(struct lwp *, void *, register_t *);
487
488 int compat_43_sys_getkerninfo(struct lwp *, void *, register_t *);
489
490 int compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
491
492 int freebsd_sys_msync(struct lwp *, void *, register_t *);
493
494 int sys_vfork(struct lwp *, void *, register_t *);
495
496 int sys_sbrk(struct lwp *, void *, register_t *);
497
498 int sys_sstk(struct lwp *, void *, register_t *);
499
500 int compat_43_sys_mmap(struct lwp *, void *, register_t *);
501
502 int sys_ovadvise(struct lwp *, void *, register_t *);
503
504 int sys_munmap(struct lwp *, void *, register_t *);
505
506 int sys_mprotect(struct lwp *, void *, register_t *);
507
508 int sys_madvise(struct lwp *, void *, register_t *);
509
510 int sys_mincore(struct lwp *, void *, register_t *);
511
512 int sys_getgroups(struct lwp *, void *, register_t *);
513
514 int sys_setgroups(struct lwp *, void *, register_t *);
515
516 int sys_getpgrp(struct lwp *, void *, register_t *);
517
518 int sys_setpgid(struct lwp *, void *, register_t *);
519
520 int sys_setitimer(struct lwp *, void *, register_t *);
521
522 int compat_43_sys_wait(struct lwp *, void *, register_t *);
523
524 int compat_12_sys_swapon(struct lwp *, void *, register_t *);
525
526 int sys_getitimer(struct lwp *, void *, register_t *);
527
528 int compat_43_sys_gethostname(struct lwp *, void *, register_t *);
529
530 int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
531
532 int compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
533
534 int sys_dup2(struct lwp *, void *, register_t *);
535
536 int sys_fcntl(struct lwp *, void *, register_t *);
537
538 int sys_select(struct lwp *, void *, register_t *);
539
540 int sys_fsync(struct lwp *, void *, register_t *);
541
542 int sys_setpriority(struct lwp *, void *, register_t *);
543
544 int sys_socket(struct lwp *, void *, register_t *);
545
546 int sys_connect(struct lwp *, void *, register_t *);
547
548 int compat_43_sys_accept(struct lwp *, void *, register_t *);
549
550 int sys_getpriority(struct lwp *, void *, register_t *);
551
552 int compat_43_sys_send(struct lwp *, void *, register_t *);
553
554 int compat_43_sys_recv(struct lwp *, void *, register_t *);
555
556 int freebsd_sys_sigreturn(struct lwp *, void *, register_t *);
557
558 int sys_bind(struct lwp *, void *, register_t *);
559
560 int sys_setsockopt(struct lwp *, void *, register_t *);
561
562 int sys_listen(struct lwp *, void *, register_t *);
563
564 int compat_43_sys_sigvec(struct lwp *, void *, register_t *);
565
566 int compat_43_sys_sigblock(struct lwp *, void *, register_t *);
567
568 int compat_43_sys_sigsetmask(struct lwp *, void *, register_t *);
569
570 int compat_13_sys_sigsuspend(struct lwp *, void *, register_t *);
571
572 int compat_43_sys_sigstack(struct lwp *, void *, register_t *);
573
574 int compat_43_sys_recvmsg(struct lwp *, void *, register_t *);
575
576 int compat_43_sys_sendmsg(struct lwp *, void *, register_t *);
577
578 #ifdef TRACE
579 int sys_vtrace(struct lwp *, void *, register_t *);
580
581 #else
582 #endif
583 int sys_gettimeofday(struct lwp *, void *, register_t *);
584
585 int sys_getrusage(struct lwp *, void *, register_t *);
586
587 int sys_getsockopt(struct lwp *, void *, register_t *);
588
589 int sys_readv(struct lwp *, void *, register_t *);
590
591 int sys_writev(struct lwp *, void *, register_t *);
592
593 int sys_settimeofday(struct lwp *, void *, register_t *);
594
595 int sys_fchown(struct lwp *, void *, register_t *);
596
597 int sys_fchmod(struct lwp *, void *, register_t *);
598
599 int compat_43_sys_recvfrom(struct lwp *, void *, register_t *);
600
601 int sys_setreuid(struct lwp *, void *, register_t *);
602
603 int sys_setregid(struct lwp *, void *, register_t *);
604
605 int freebsd_sys_rename(struct lwp *, void *, register_t *);
606
607 int compat_43_freebsd_sys_truncate(struct lwp *, void *, register_t *);
608
609 int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
610
611 int sys_flock(struct lwp *, void *, register_t *);
612
613 int freebsd_sys_mkfifo(struct lwp *, void *, register_t *);
614
615 int sys_sendto(struct lwp *, void *, register_t *);
616
617 int sys_shutdown(struct lwp *, void *, register_t *);
618
619 int sys_socketpair(struct lwp *, void *, register_t *);
620
621 int freebsd_sys_mkdir(struct lwp *, void *, register_t *);
622
623 int freebsd_sys_rmdir(struct lwp *, void *, register_t *);
624
625 int sys_utimes(struct lwp *, void *, register_t *);
626
627 int sys_adjtime(struct lwp *, void *, register_t *);
628
629 int compat_43_sys_getpeername(struct lwp *, void *, register_t *);
630
631 int compat_43_sys_gethostid(struct lwp *, void *, register_t *);
632
633 int compat_43_sys_sethostid(struct lwp *, void *, register_t *);
634
635 int compat_43_sys_getrlimit(struct lwp *, void *, register_t *);
636
637 int compat_43_sys_setrlimit(struct lwp *, void *, register_t *);
638
639 int compat_43_sys_killpg(struct lwp *, void *, register_t *);
640
641 int sys_setsid(struct lwp *, void *, register_t *);
642
643 int sys_quotactl(struct lwp *, void *, register_t *);
644
645 int compat_43_sys_quota(struct lwp *, void *, register_t *);
646
647 int compat_43_sys_getsockname(struct lwp *, void *, register_t *);
648
649 #if defined(NFS) || defined(NFSSERVER)
650 int sys_nfssvc(struct lwp *, void *, register_t *);
651
652 #else
653 #endif
654 int compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
655
656 int freebsd_sys_statfs(struct lwp *, void *, register_t *);
657
658 int compat_20_sys_fstatfs(struct lwp *, void *, register_t *);
659
660 #ifdef NFS
661 int freebsd_sys_getfh(struct lwp *, void *, register_t *);
662
663 #else
664 #endif
665 int compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
666
667 int compat_09_sys_setdomainname(struct lwp *, void *, register_t *);
668
669 int compat_09_sys_uname(struct lwp *, void *, register_t *);
670
671 int sys_sysarch(struct lwp *, void *, register_t *);
672
673 int freebsd_sys_rtprio(struct lwp *, void *, register_t *);
674
675 #if defined(SYSVSEM) && !defined(_LP64)
676 int freebsd_sys_semsys(struct lwp *, void *, register_t *);
677
678 #else
679 #endif
680 #if defined(SYSVMSG) && !defined(_LP64)
681 int freebsd_sys_msgsys(struct lwp *, void *, register_t *);
682
683 #else
684 #endif
685 #if defined(SYSVSHM) && !defined(_LP64)
686 int freebsd_sys_shmsys(struct lwp *, void *, register_t *);
687
688 #else
689 #endif
690 int sys_pread(struct lwp *, void *, register_t *);
691
692 int sys_pwrite(struct lwp *, void *, register_t *);
693
694 #ifdef NTP
695 int freebsd_ntp_adjtime(struct lwp *, void *, register_t *);
696
697 #else
698 #endif
699 int sys_setgid(struct lwp *, void *, register_t *);
700
701 int sys_setegid(struct lwp *, void *, register_t *);
702
703 int sys_seteuid(struct lwp *, void *, register_t *);
704
705 #ifdef LFS
706 int sys_lfs_bmapv(struct lwp *, void *, register_t *);
707
708 int sys_lfs_markv(struct lwp *, void *, register_t *);
709
710 int sys_lfs_segclean(struct lwp *, void *, register_t *);
711
712 int sys_lfs_segwait(struct lwp *, void *, register_t *);
713
714 #else
715 #endif
716 int freebsd_sys_stat(struct lwp *, void *, register_t *);
717
718 int compat_12_sys_fstat(struct lwp *, void *, register_t *);
719
720 int freebsd_sys_lstat(struct lwp *, void *, register_t *);
721
722 int freebsd_sys_pathconf(struct lwp *, void *, register_t *);
723
724 int sys_fpathconf(struct lwp *, void *, register_t *);
725
726 int sys_getrlimit(struct lwp *, void *, register_t *);
727
728 int sys_setrlimit(struct lwp *, void *, register_t *);
729
730 int compat_12_sys_getdirentries(struct lwp *, void *, register_t *);
731
732 int freebsd_sys_mmap(struct lwp *, void *, register_t *);
733
734 int sys_lseek(struct lwp *, void *, register_t *);
735
736 int freebsd_sys_truncate(struct lwp *, void *, register_t *);
737
738 int sys_ftruncate(struct lwp *, void *, register_t *);
739
740 int freebsd_sys_sysctl(struct lwp *, void *, register_t *);
741
742 int sys_mlock(struct lwp *, void *, register_t *);
743
744 int sys_munlock(struct lwp *, void *, register_t *);
745
746 #ifdef FREEBSD_BASED_ON_44LITE_R2
747 int freebsd_sys_undelete(struct lwp *, void *, register_t *);
748
749 #else
750 #endif
751 int sys_futimes(struct lwp *, void *, register_t *);
752
753 int sys_getpgid(struct lwp *, void *, register_t *);
754
755 #if 0
756 #else
757 #endif
758 int sys_poll(struct lwp *, void *, register_t *);
759
760 #ifdef SYSVSEM
761 int compat_14_sys___semctl(struct lwp *, void *, register_t *);
762
763 int sys_semget(struct lwp *, void *, register_t *);
764
765 int sys_semop(struct lwp *, void *, register_t *);
766
767 int sys_semconfig(struct lwp *, void *, register_t *);
768
769 #else
770 #endif
771 #ifdef SYSVMSG
772 int compat_14_sys_msgctl(struct lwp *, void *, register_t *);
773
774 int sys_msgget(struct lwp *, void *, register_t *);
775
776 int sys_msgsnd(struct lwp *, void *, register_t *);
777
778 int sys_msgrcv(struct lwp *, void *, register_t *);
779
780 #else
781 #endif
782 #ifdef SYSVSHM
783 int sys_shmat(struct lwp *, void *, register_t *);
784
785 int compat_14_sys_shmctl(struct lwp *, void *, register_t *);
786
787 int sys_shmdt(struct lwp *, void *, register_t *);
788
789 int sys_shmget(struct lwp *, void *, register_t *);
790
791 #else
792 #endif
793 int sys_clock_gettime(struct lwp *, void *, register_t *);
794
795 int sys_clock_settime(struct lwp *, void *, register_t *);
796
797 int sys_clock_getres(struct lwp *, void *, register_t *);
798
799 int sys_nanosleep(struct lwp *, void *, register_t *);
800
801 int sys_minherit(struct lwp *, void *, register_t *);
802
803 int freebsd_sys_rfork(struct lwp *, void *, register_t *);
804
805 int sys_issetugid(struct lwp *, void *, register_t *);
806
807 int freebsd_sys_lchown(struct lwp *, void *, register_t *);
808
809 int compat_30_sys_getdents(struct lwp *, void *, register_t *);
810
811 int sys_lchmod(struct lwp *, void *, register_t *);
812
813 int sys_lchown(struct lwp *, void *, register_t *);
814
815 int sys_lutimes(struct lwp *, void *, register_t *);
816
817 int sys___msync13(struct lwp *, void *, register_t *);
818
819 int compat_30_sys___stat13(struct lwp *, void *, register_t *);
820
821 int compat_30_sys___fstat13(struct lwp *, void *, register_t *);
822
823 int compat_30_sys___lstat13(struct lwp *, void *, register_t *);
824
825 int compat_20_sys_fhstatfs(struct lwp *, void *, register_t *);
826
827 int sys_fhopen(struct lwp *, void *, register_t *);
828
829 int sys_fhstat(struct lwp *, void *, register_t *);
830
831 int sys_getsid(struct lwp *, void *, register_t *);
832
833 int freebsd_sys_yield(struct lwp *, void *, register_t *);
834
835 int sys_mlockall(struct lwp *, void *, register_t *);
836
837 int sys_munlockall(struct lwp *, void *, register_t *);
838
839 int sys___getcwd(struct lwp *, void *, register_t *);
840
841 int freebsd_sys_sched_setparam(struct lwp *, void *, register_t *);
842
843 int freebsd_sys_sched_getparam(struct lwp *, void *, register_t *);
844
845 int freebsd_sys_sched_setscheduler(struct lwp *, void *, register_t *);
846
847 int freebsd_sys_sched_getscheduler(struct lwp *, void *, register_t *);
848
849 int freebsd_sys_sched_yield(struct lwp *, void *, register_t *);
850
851 int freebsd_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
852
853 int freebsd_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
854
855 int freebsd_sys_utrace(struct lwp *, void *, register_t *);
856
857 int sys___sigprocmask14(struct lwp *, void *, register_t *);
858
859 int sys___sigsuspend14(struct lwp *, void *, register_t *);
860
861 int freebsd_sys_sigaction4(struct lwp *, void *, register_t *);
862
863 int sys___sigpending14(struct lwp *, void *, register_t *);
864
865 int sys_lchflags(struct lwp *, void *, register_t *);
866
867 int sys_uuidgen(struct lwp *, void *, register_t *);
868
869 #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL)
870 int sys__ksem_close(struct lwp *, void *, register_t *);
871
872 int sys__ksem_post(struct lwp *, void *, register_t *);
873
874 int sys__ksem_wait(struct lwp *, void *, register_t *);
875
876 int sys__ksem_trywait(struct lwp *, void *, register_t *);
877
878 int sys__ksem_unlink(struct lwp *, void *, register_t *);
879
880 int sys__ksem_getvalue(struct lwp *, void *, register_t *);
881
882 int sys__ksem_destroy(struct lwp *, void *, register_t *);
883
884 #else
885 #endif
886 #endif /* _FREEBSD_SYS__SYSCALLARGS_H_ */
887