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