1 /* $NetBSD: svr4_syscallargs.h,v 1.78 2008/06/18 02:09:19 dogcow 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.58 2008/06/18 02:08:36 dogcow Exp
8 */
9
10 #ifndef _SVR4_SYS_SYSCALLARGS_H_
11 #define _SVR4_SYS_SYSCALLARGS_H_
12
13 #define SVR4_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 <= SVR4_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
33
34 struct sys_exit_args;
35
36 struct sys_read_args;
37
38 struct sys_write_args;
39
40 struct svr4_sys_open_args {
41 syscallarg(const char *) path;
42 syscallarg(int) flags;
43 syscallarg(int) mode;
44 };
45 check_syscall_args(svr4_sys_open)
46
47 struct sys_close_args;
48
49 struct svr4_sys_wait_args {
50 syscallarg(int *) status;
51 };
52 check_syscall_args(svr4_sys_wait)
53
54 struct svr4_sys_creat_args {
55 syscallarg(const char *) path;
56 syscallarg(int) mode;
57 };
58 check_syscall_args(svr4_sys_creat)
59
60 struct sys_link_args;
61
62 struct sys_unlink_args;
63
64 struct svr4_sys_execv_args {
65 syscallarg(const char *) path;
66 syscallarg(char **) argp;
67 };
68 check_syscall_args(svr4_sys_execv)
69
70 struct sys_chdir_args;
71
72 struct svr4_sys_time_args {
73 syscallarg(svr4_time_t *) t;
74 };
75 check_syscall_args(svr4_sys_time)
76
77 struct svr4_sys_mknod_args {
78 syscallarg(const char *) path;
79 syscallarg(int) mode;
80 syscallarg(int) dev;
81 };
82 check_syscall_args(svr4_sys_mknod)
83
84 struct sys_chmod_args;
85
86 struct sys___posix_chown_args;
87
88 struct svr4_sys_break_args {
89 syscallarg(void *) nsize;
90 };
91 check_syscall_args(svr4_sys_break)
92
93 struct svr4_sys_stat_args {
94 syscallarg(const char *) path;
95 syscallarg(struct svr4_stat *) ub;
96 };
97 check_syscall_args(svr4_sys_stat)
98
99 struct compat_43_sys_lseek_args;
100
101 struct sys_setuid_args;
102
103 struct svr4_sys_alarm_args {
104 syscallarg(unsigned) sec;
105 };
106 check_syscall_args(svr4_sys_alarm)
107
108 struct svr4_sys_fstat_args {
109 syscallarg(int) fd;
110 syscallarg(struct svr4_stat *) sb;
111 };
112 check_syscall_args(svr4_sys_fstat)
113
114 struct svr4_sys_utime_args {
115 syscallarg(const char *) path;
116 syscallarg(struct svr4_utimbuf *) ubuf;
117 };
118 check_syscall_args(svr4_sys_utime)
119
120 struct svr4_sys_access_args {
121 syscallarg(const char *) path;
122 syscallarg(int) flags;
123 };
124 check_syscall_args(svr4_sys_access)
125
126 struct svr4_sys_nice_args {
127 syscallarg(int) prio;
128 };
129 check_syscall_args(svr4_sys_nice)
130
131 struct svr4_sys_kill_args {
132 syscallarg(int) pid;
133 syscallarg(int) signum;
134 };
135 check_syscall_args(svr4_sys_kill)
136
137 struct svr4_sys_pgrpsys_args {
138 syscallarg(int) cmd;
139 syscallarg(int) pid;
140 syscallarg(int) pgid;
141 };
142 check_syscall_args(svr4_sys_pgrpsys)
143
144 struct sys_dup_args;
145
146 struct svr4_sys_times_args {
147 syscallarg(struct tms *) tp;
148 };
149 check_syscall_args(svr4_sys_times)
150
151 struct sys_setgid_args;
152
153 struct svr4_sys_signal_args {
154 syscallarg(int) signum;
155 syscallarg(svr4_sig_t) handler;
156 };
157 check_syscall_args(svr4_sys_signal)
158 #ifdef SYSVMSG
159
160 struct svr4_sys_msgsys_args {
161 syscallarg(int) what;
162 syscallarg(int) a2;
163 syscallarg(int) a3;
164 syscallarg(int) a4;
165 syscallarg(int) a5;
166 };
167 check_syscall_args(svr4_sys_msgsys)
168 #else
169 #endif
170
171 struct svr4_sys_sysarch_args {
172 syscallarg(int) op;
173 syscallarg(void *) a1;
174 };
175 check_syscall_args(svr4_sys_sysarch)
176 #ifdef SYSVSHM
177
178 struct svr4_sys_shmsys_args {
179 syscallarg(int) what;
180 syscallarg(int) a2;
181 syscallarg(int) a3;
182 syscallarg(int) a4;
183 };
184 check_syscall_args(svr4_sys_shmsys)
185 #else
186 #endif
187 #ifdef SYSVSEM
188
189 struct svr4_sys_semsys_args {
190 syscallarg(int) what;
191 syscallarg(int) a2;
192 syscallarg(int) a3;
193 syscallarg(int) a4;
194 syscallarg(int) a5;
195 };
196 check_syscall_args(svr4_sys_semsys)
197 #else
198 #endif
199
200 struct svr4_sys_ioctl_args {
201 syscallarg(int) fd;
202 syscallarg(u_long) com;
203 syscallarg(void *) data;
204 };
205 check_syscall_args(svr4_sys_ioctl)
206
207 struct svr4_sys_utssys_args {
208 syscallarg(void *) a1;
209 syscallarg(void *) a2;
210 syscallarg(int) sel;
211 syscallarg(void *) a3;
212 };
213 check_syscall_args(svr4_sys_utssys)
214
215 struct sys_fsync_args;
216
217 struct svr4_sys_execve_args {
218 syscallarg(const char *) path;
219 syscallarg(char **) argp;
220 syscallarg(char **) envp;
221 };
222 check_syscall_args(svr4_sys_execve)
223
224 struct sys_umask_args;
225
226 struct sys_chroot_args;
227
228 struct svr4_sys_fcntl_args {
229 syscallarg(int) fd;
230 syscallarg(int) cmd;
231 syscallarg(char *) arg;
232 };
233 check_syscall_args(svr4_sys_fcntl)
234
235 struct svr4_sys_ulimit_args {
236 syscallarg(int) cmd;
237 syscallarg(long) newlimit;
238 };
239 check_syscall_args(svr4_sys_ulimit)
240
241 struct sys_rmdir_args;
242
243 struct sys_mkdir_args;
244
245 struct svr4_sys_getdents_args {
246 syscallarg(int) fd;
247 syscallarg(char *) buf;
248 syscallarg(int) nbytes;
249 };
250 check_syscall_args(svr4_sys_getdents)
251
252 struct svr4_sys_getmsg_args {
253 syscallarg(int) fd;
254 syscallarg(struct svr4_strbuf *) ctl;
255 syscallarg(struct svr4_strbuf *) dat;
256 syscallarg(int *) flags;
257 };
258 check_syscall_args(svr4_sys_getmsg)
259
260 struct svr4_sys_putmsg_args {
261 syscallarg(int) fd;
262 syscallarg(struct svr4_strbuf *) ctl;
263 syscallarg(struct svr4_strbuf *) dat;
264 syscallarg(int) flags;
265 };
266 check_syscall_args(svr4_sys_putmsg)
267
268 struct sys_poll_args;
269
270 struct svr4_sys_lstat_args {
271 syscallarg(const char *) path;
272 syscallarg(struct svr4_stat *) ub;
273 };
274 check_syscall_args(svr4_sys_lstat)
275
276 struct sys_symlink_args;
277
278 struct sys_readlink_args;
279
280 struct sys_getgroups_args;
281
282 struct sys_setgroups_args;
283
284 struct sys_fchmod_args;
285
286 struct sys___posix_fchown_args;
287
288 struct svr4_sys_sigprocmask_args {
289 syscallarg(int) how;
290 syscallarg(const svr4_sigset_t *) set;
291 syscallarg(svr4_sigset_t *) oset;
292 };
293 check_syscall_args(svr4_sys_sigprocmask)
294
295 struct svr4_sys_sigsuspend_args {
296 syscallarg(const svr4_sigset_t *) set;
297 };
298 check_syscall_args(svr4_sys_sigsuspend)
299
300 struct svr4_sys_sigaltstack_args {
301 syscallarg(const struct svr4_sigaltstack *) nss;
302 syscallarg(struct svr4_sigaltstack *) oss;
303 };
304 check_syscall_args(svr4_sys_sigaltstack)
305
306 struct svr4_sys_sigaction_args {
307 syscallarg(int) signum;
308 syscallarg(const struct svr4_sigaction *) nsa;
309 syscallarg(struct svr4_sigaction *) osa;
310 };
311 check_syscall_args(svr4_sys_sigaction)
312
313 struct svr4_sys_sigpending_args {
314 syscallarg(int) what;
315 syscallarg(svr4_sigset_t *) set;
316 };
317 check_syscall_args(svr4_sys_sigpending)
318
319 struct svr4_sys_context_args {
320 syscallarg(int) func;
321 syscallarg(struct svr4_ucontext *) uc;
322 };
323 check_syscall_args(svr4_sys_context)
324
325 struct svr4_sys_statvfs_args {
326 syscallarg(const char *) path;
327 syscallarg(struct svr4_statvfs *) fs;
328 };
329 check_syscall_args(svr4_sys_statvfs)
330
331 struct svr4_sys_fstatvfs_args {
332 syscallarg(int) fd;
333 syscallarg(struct svr4_statvfs *) fs;
334 };
335 check_syscall_args(svr4_sys_fstatvfs)
336
337 struct svr4_sys_waitsys_args {
338 syscallarg(int) grp;
339 syscallarg(int) id;
340 syscallarg(union svr4_siginfo *) info;
341 syscallarg(int) options;
342 };
343 check_syscall_args(svr4_sys_waitsys)
344
345 struct svr4_sys_hrtsys_args {
346 syscallarg(int) cmd;
347 syscallarg(int) fun;
348 syscallarg(int) sub;
349 syscallarg(void *) rv1;
350 syscallarg(void *) rv2;
351 };
352 check_syscall_args(svr4_sys_hrtsys)
353
354 struct svr4_sys_pathconf_args {
355 syscallarg(const char *) path;
356 syscallarg(int) name;
357 };
358 check_syscall_args(svr4_sys_pathconf)
359
360 struct svr4_sys_mmap_args {
361 syscallarg(void *) addr;
362 syscallarg(svr4_size_t) len;
363 syscallarg(int) prot;
364 syscallarg(int) flags;
365 syscallarg(int) fd;
366 syscallarg(svr4_off_t) pos;
367 };
368 check_syscall_args(svr4_sys_mmap)
369
370 struct sys_mprotect_args;
371
372 struct sys_munmap_args;
373
374 struct svr4_sys_fpathconf_args {
375 syscallarg(int) fd;
376 syscallarg(int) name;
377 };
378 check_syscall_args(svr4_sys_fpathconf)
379
380 struct sys_fchdir_args;
381
382 struct sys_readv_args;
383
384 struct sys_writev_args;
385
386 struct svr4_sys_xstat_args {
387 syscallarg(int) two;
388 syscallarg(const char *) path;
389 syscallarg(struct svr4_xstat *) ub;
390 };
391 check_syscall_args(svr4_sys_xstat)
392
393 struct svr4_sys_lxstat_args {
394 syscallarg(int) two;
395 syscallarg(const char *) path;
396 syscallarg(struct svr4_xstat *) ub;
397 };
398 check_syscall_args(svr4_sys_lxstat)
399
400 struct svr4_sys_fxstat_args {
401 syscallarg(int) two;
402 syscallarg(int) fd;
403 syscallarg(struct svr4_xstat *) sb;
404 };
405 check_syscall_args(svr4_sys_fxstat)
406
407 struct svr4_sys_xmknod_args {
408 syscallarg(int) two;
409 syscallarg(char *) path;
410 syscallarg(svr4_mode_t) mode;
411 syscallarg(svr4_dev_t) dev;
412 };
413 check_syscall_args(svr4_sys_xmknod)
414
415 struct svr4_sys_setrlimit_args {
416 syscallarg(int) which;
417 syscallarg(const struct svr4_rlimit *) rlp;
418 };
419 check_syscall_args(svr4_sys_setrlimit)
420
421 struct svr4_sys_getrlimit_args {
422 syscallarg(int) which;
423 syscallarg(struct svr4_rlimit *) rlp;
424 };
425 check_syscall_args(svr4_sys_getrlimit)
426
427 struct sys___posix_lchown_args;
428
429 struct svr4_sys_memcntl_args {
430 syscallarg(void *) addr;
431 syscallarg(svr4_size_t) len;
432 syscallarg(int) cmd;
433 syscallarg(void *) arg;
434 syscallarg(int) attr;
435 syscallarg(int) mask;
436 };
437 check_syscall_args(svr4_sys_memcntl)
438
439 struct sys___posix_rename_args;
440
441 struct svr4_sys_uname_args {
442 syscallarg(struct svr4_utsname *) name;
443 syscallarg(int) dummy;
444 };
445 check_syscall_args(svr4_sys_uname)
446
447 struct sys_setegid_args;
448
449 struct svr4_sys_sysconfig_args {
450 syscallarg(int) name;
451 };
452 check_syscall_args(svr4_sys_sysconfig)
453
454 struct sys_adjtime_args;
455
456 struct svr4_sys_systeminfo_args {
457 syscallarg(int) what;
458 syscallarg(char *) buf;
459 syscallarg(long) len;
460 };
461 check_syscall_args(svr4_sys_systeminfo)
462
463 struct sys_seteuid_args;
464
465 struct svr4_sys__lwp_info_args {
466 syscallarg(struct svr4_lwpinfo *) lwpinfo;
467 };
468 check_syscall_args(svr4_sys__lwp_info)
469
470 struct sys_fchroot_args;
471
472 struct svr4_sys_utimes_args {
473 syscallarg(const char *) path;
474 syscallarg(struct timeval *) tptr;
475 };
476 check_syscall_args(svr4_sys_utimes)
477
478 struct svr4_sys_gettimeofday_args {
479 syscallarg(struct timeval *) tp;
480 };
481 check_syscall_args(svr4_sys_gettimeofday)
482
483 struct sys_getitimer_args;
484
485 struct sys_setitimer_args;
486
487 struct svr4_sys__lwp_create_args {
488 syscallarg(svr4_ucontext_t *) uc;
489 syscallarg(unsigned long) flags;
490 syscallarg(svr4_lwpid_t *) lwpid;
491 };
492 check_syscall_args(svr4_sys__lwp_create)
493
494 struct svr4_sys__lwp_suspend_args {
495 syscallarg(svr4_lwpid_t) lwpid;
496 };
497 check_syscall_args(svr4_sys__lwp_suspend)
498
499 struct svr4_sys__lwp_continue_args {
500 syscallarg(svr4_lwpid_t) lwpid;
501 };
502 check_syscall_args(svr4_sys__lwp_continue)
503
504 struct svr4_sys__lwp_kill_args {
505 syscallarg(svr4_lwpid_t) lwpid;
506 syscallarg(int) signum;
507 };
508 check_syscall_args(svr4_sys__lwp_kill)
509
510 struct svr4_sys__lwp_setprivate_args {
511 syscallarg(void *) buffer;
512 };
513 check_syscall_args(svr4_sys__lwp_setprivate)
514
515 struct svr4_sys__lwp_wait_args {
516 syscallarg(svr4_lwpid_t) wait_for;
517 syscallarg(svr4_lwpid_t *) departed_lwp;
518 };
519 check_syscall_args(svr4_sys__lwp_wait)
520
521 struct svr4_sys_pread_args {
522 syscallarg(int) fd;
523 syscallarg(void *) buf;
524 syscallarg(size_t) nbyte;
525 syscallarg(svr4_off_t) off;
526 };
527 check_syscall_args(svr4_sys_pread)
528
529 struct svr4_sys_pwrite_args {
530 syscallarg(int) fd;
531 syscallarg(const void *) buf;
532 syscallarg(size_t) nbyte;
533 syscallarg(svr4_off_t) off;
534 };
535 check_syscall_args(svr4_sys_pwrite)
536
537 struct svr4_sys_llseek_args {
538 syscallarg(int) fd;
539 syscallarg(long) offset1;
540 syscallarg(long) offset2;
541 syscallarg(int) whence;
542 };
543 check_syscall_args(svr4_sys_llseek)
544
545 struct svr4_sys_acl_args {
546 syscallarg(char *) path;
547 syscallarg(int) cmd;
548 syscallarg(int) num;
549 syscallarg(struct svr4_aclent *) buf;
550 };
551 check_syscall_args(svr4_sys_acl)
552
553 struct svr4_sys_auditsys_args {
554 syscallarg(int) code;
555 syscallarg(int) a1;
556 syscallarg(int) a2;
557 syscallarg(int) a3;
558 syscallarg(int) a4;
559 syscallarg(int) a5;
560 };
561 check_syscall_args(svr4_sys_auditsys)
562
563 struct sys_nanosleep_args;
564
565 struct svr4_sys_facl_args {
566 syscallarg(int) fd;
567 syscallarg(int) cmd;
568 syscallarg(int) num;
569 syscallarg(struct svr4_aclent *) buf;
570 };
571 check_syscall_args(svr4_sys_facl)
572
573 struct sys_setreuid_args;
574
575 struct sys_setregid_args;
576
577 struct svr4_sys_schedctl_args {
578 syscallarg(unsigned int) x;
579 syscallarg(int) y;
580 syscallarg(void **) z;
581 };
582 check_syscall_args(svr4_sys_schedctl)
583
584 struct svr4_sys_resolvepath_args {
585 syscallarg(const char *) path;
586 syscallarg(char *) buf;
587 syscallarg(size_t) bufsiz;
588 };
589 check_syscall_args(svr4_sys_resolvepath)
590
591 struct svr4_sys_getdents64_args {
592 syscallarg(int) fd;
593 syscallarg(struct svr4_dirent64 *) dp;
594 syscallarg(int) nbytes;
595 };
596 check_syscall_args(svr4_sys_getdents64)
597
598 struct svr4_sys_mmap64_args {
599 syscallarg(void *) addr;
600 syscallarg(svr4_size_t) len;
601 syscallarg(int) prot;
602 syscallarg(int) flags;
603 syscallarg(int) fd;
604 syscallarg(svr4_off64_t) pos;
605 };
606 check_syscall_args(svr4_sys_mmap64)
607
608 struct svr4_sys_stat64_args {
609 syscallarg(const char *) path;
610 syscallarg(struct svr4_stat64 *) sb;
611 };
612 check_syscall_args(svr4_sys_stat64)
613
614 struct svr4_sys_lstat64_args {
615 syscallarg(const char *) path;
616 syscallarg(struct svr4_stat64 *) sb;
617 };
618 check_syscall_args(svr4_sys_lstat64)
619
620 struct svr4_sys_fstat64_args {
621 syscallarg(int) fd;
622 syscallarg(struct svr4_stat64 *) sb;
623 };
624 check_syscall_args(svr4_sys_fstat64)
625
626 struct svr4_sys_statvfs64_args {
627 syscallarg(const char *) path;
628 syscallarg(struct svr4_statvfs64 *) fs;
629 };
630 check_syscall_args(svr4_sys_statvfs64)
631
632 struct svr4_sys_fstatvfs64_args {
633 syscallarg(int) fd;
634 syscallarg(struct svr4_statvfs64 *) fs;
635 };
636 check_syscall_args(svr4_sys_fstatvfs64)
637
638 struct svr4_sys_setrlimit64_args {
639 syscallarg(int) which;
640 syscallarg(const struct svr4_rlimit64 *) rlp;
641 };
642 check_syscall_args(svr4_sys_setrlimit64)
643
644 struct svr4_sys_getrlimit64_args {
645 syscallarg(int) which;
646 syscallarg(struct svr4_rlimit64 *) rlp;
647 };
648 check_syscall_args(svr4_sys_getrlimit64)
649
650 struct svr4_sys_pread64_args {
651 syscallarg(int) fd;
652 syscallarg(void *) buf;
653 syscallarg(size_t) nbyte;
654 syscallarg(svr4_off64_t) off;
655 };
656 check_syscall_args(svr4_sys_pread64)
657
658 struct svr4_sys_pwrite64_args {
659 syscallarg(int) fd;
660 syscallarg(const void *) buf;
661 syscallarg(size_t) nbyte;
662 syscallarg(svr4_off64_t) off;
663 };
664 check_syscall_args(svr4_sys_pwrite64)
665
666 struct svr4_sys_creat64_args {
667 syscallarg(char *) path;
668 syscallarg(int) mode;
669 };
670 check_syscall_args(svr4_sys_creat64)
671
672 struct svr4_sys_open64_args {
673 syscallarg(char *) path;
674 syscallarg(int) flags;
675 syscallarg(int) mode;
676 };
677 check_syscall_args(svr4_sys_open64)
678
679 struct svr4_sys_socket_args {
680 syscallarg(int) domain;
681 syscallarg(int) type;
682 syscallarg(int) protocol;
683 };
684 check_syscall_args(svr4_sys_socket)
685
686 struct sys_socketpair_args;
687
688 struct sys_bind_args;
689
690 struct sys_listen_args;
691
692 struct compat_43_sys_accept_args;
693
694 struct sys_connect_args;
695
696 struct sys_shutdown_args;
697
698 struct compat_43_sys_recv_args;
699
700 struct compat_43_sys_recvfrom_args;
701
702 struct compat_43_sys_recvmsg_args;
703
704 struct compat_43_sys_send_args;
705
706 struct compat_43_sys_sendmsg_args;
707
708 struct sys_sendto_args;
709
710 struct compat_43_sys_getpeername_args;
711
712 struct compat_43_sys_getsockname_args;
713
714 struct sys_getsockopt_args;
715
716 struct sys_setsockopt_args;
717 #if defined(NTP) || !defined(_KERNEL)
718
719 struct sys_ntp_adjtime_args;
720 #else
721 #endif
722
723 /*
724 * System call prototypes.
725 */
726
727 int sys_nosys(struct lwp *, const void *, register_t *);
728
729 int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *);
730
731 int sys_fork(struct lwp *, const void *, register_t *);
732
733 int sys_read(struct lwp *, const struct sys_read_args *, register_t *);
734
735 int sys_write(struct lwp *, const struct sys_write_args *, register_t *);
736
737 int svr4_sys_open(struct lwp *, const struct svr4_sys_open_args *, register_t *);
738
739 int sys_close(struct lwp *, const struct sys_close_args *, register_t *);
740
741 int svr4_sys_wait(struct lwp *, const struct svr4_sys_wait_args *, register_t *);
742
743 int svr4_sys_creat(struct lwp *, const struct svr4_sys_creat_args *, register_t *);
744
745 int sys_link(struct lwp *, const struct sys_link_args *, register_t *);
746
747 int sys_unlink(struct lwp *, const struct sys_unlink_args *, register_t *);
748
749 int svr4_sys_execv(struct lwp *, const struct svr4_sys_execv_args *, register_t *);
750
751 int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
752
753 int svr4_sys_time(struct lwp *, const struct svr4_sys_time_args *, register_t *);
754
755 int svr4_sys_mknod(struct lwp *, const struct svr4_sys_mknod_args *, register_t *);
756
757 int sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
758
759 int sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *);
760
761 int svr4_sys_break(struct lwp *, const struct svr4_sys_break_args *, register_t *);
762
763 int svr4_sys_stat(struct lwp *, const struct svr4_sys_stat_args *, register_t *);
764
765 int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
766
767 int sys_getpid(struct lwp *, const void *, register_t *);
768
769 int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
770
771 int sys_getuid_with_euid(struct lwp *, const void *, register_t *);
772
773 int svr4_sys_alarm(struct lwp *, const struct svr4_sys_alarm_args *, register_t *);
774
775 int svr4_sys_fstat(struct lwp *, const struct svr4_sys_fstat_args *, register_t *);
776
777 int svr4_sys_pause(struct lwp *, const void *, register_t *);
778
779 int svr4_sys_utime(struct lwp *, const struct svr4_sys_utime_args *, register_t *);
780
781 int svr4_sys_access(struct lwp *, const struct svr4_sys_access_args *, register_t *);
782
783 int svr4_sys_nice(struct lwp *, const struct svr4_sys_nice_args *, register_t *);
784
785 int sys_sync(struct lwp *, const void *, register_t *);
786
787 int svr4_sys_kill(struct lwp *, const struct svr4_sys_kill_args *, register_t *);
788
789 int svr4_sys_pgrpsys(struct lwp *, const struct svr4_sys_pgrpsys_args *, register_t *);
790
791 int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
792
793 int sys_pipe(struct lwp *, const void *, register_t *);
794
795 int svr4_sys_times(struct lwp *, const struct svr4_sys_times_args *, register_t *);
796
797 int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
798
799 int sys_getgid_with_egid(struct lwp *, const void *, register_t *);
800
801 int svr4_sys_signal(struct lwp *, const struct svr4_sys_signal_args *, register_t *);
802
803 #ifdef SYSVMSG
804 int svr4_sys_msgsys(struct lwp *, const struct svr4_sys_msgsys_args *, register_t *);
805
806 #else
807 #endif
808 int svr4_sys_sysarch(struct lwp *, const struct svr4_sys_sysarch_args *, register_t *);
809
810 #ifdef SYSVSHM
811 int svr4_sys_shmsys(struct lwp *, const struct svr4_sys_shmsys_args *, register_t *);
812
813 #else
814 #endif
815 #ifdef SYSVSEM
816 int svr4_sys_semsys(struct lwp *, const struct svr4_sys_semsys_args *, register_t *);
817
818 #else
819 #endif
820 int svr4_sys_ioctl(struct lwp *, const struct svr4_sys_ioctl_args *, register_t *);
821
822 int svr4_sys_utssys(struct lwp *, const struct svr4_sys_utssys_args *, register_t *);
823
824 int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
825
826 int svr4_sys_execve(struct lwp *, const struct svr4_sys_execve_args *, register_t *);
827
828 int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
829
830 int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
831
832 int svr4_sys_fcntl(struct lwp *, const struct svr4_sys_fcntl_args *, register_t *);
833
834 int svr4_sys_ulimit(struct lwp *, const struct svr4_sys_ulimit_args *, register_t *);
835
836 int sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
837
838 int sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
839
840 int svr4_sys_getdents(struct lwp *, const struct svr4_sys_getdents_args *, register_t *);
841
842 int svr4_sys_getmsg(struct lwp *, const struct svr4_sys_getmsg_args *, register_t *);
843
844 int svr4_sys_putmsg(struct lwp *, const struct svr4_sys_putmsg_args *, register_t *);
845
846 int sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
847
848 int svr4_sys_lstat(struct lwp *, const struct svr4_sys_lstat_args *, register_t *);
849
850 int sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
851
852 int sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
853
854 int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
855
856 int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
857
858 int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
859
860 int sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
861
862 int svr4_sys_sigprocmask(struct lwp *, const struct svr4_sys_sigprocmask_args *, register_t *);
863
864 int svr4_sys_sigsuspend(struct lwp *, const struct svr4_sys_sigsuspend_args *, register_t *);
865
866 int svr4_sys_sigaltstack(struct lwp *, const struct svr4_sys_sigaltstack_args *, register_t *);
867
868 int svr4_sys_sigaction(struct lwp *, const struct svr4_sys_sigaction_args *, register_t *);
869
870 int svr4_sys_sigpending(struct lwp *, const struct svr4_sys_sigpending_args *, register_t *);
871
872 int svr4_sys_context(struct lwp *, const struct svr4_sys_context_args *, register_t *);
873
874 int svr4_sys_statvfs(struct lwp *, const struct svr4_sys_statvfs_args *, register_t *);
875
876 int svr4_sys_fstatvfs(struct lwp *, const struct svr4_sys_fstatvfs_args *, register_t *);
877
878 int svr4_sys_waitsys(struct lwp *, const struct svr4_sys_waitsys_args *, register_t *);
879
880 int svr4_sys_hrtsys(struct lwp *, const struct svr4_sys_hrtsys_args *, register_t *);
881
882 int svr4_sys_pathconf(struct lwp *, const struct svr4_sys_pathconf_args *, register_t *);
883
884 int svr4_sys_mmap(struct lwp *, const struct svr4_sys_mmap_args *, register_t *);
885
886 int sys_mprotect(struct lwp *, const struct sys_mprotect_args *, register_t *);
887
888 int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
889
890 int svr4_sys_fpathconf(struct lwp *, const struct svr4_sys_fpathconf_args *, register_t *);
891
892 int sys_vfork(struct lwp *, const void *, register_t *);
893
894 int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
895
896 int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
897
898 int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
899
900 int svr4_sys_xstat(struct lwp *, const struct svr4_sys_xstat_args *, register_t *);
901
902 int svr4_sys_lxstat(struct lwp *, const struct svr4_sys_lxstat_args *, register_t *);
903
904 int svr4_sys_fxstat(struct lwp *, const struct svr4_sys_fxstat_args *, register_t *);
905
906 int svr4_sys_xmknod(struct lwp *, const struct svr4_sys_xmknod_args *, register_t *);
907
908 int svr4_sys_setrlimit(struct lwp *, const struct svr4_sys_setrlimit_args *, register_t *);
909
910 int svr4_sys_getrlimit(struct lwp *, const struct svr4_sys_getrlimit_args *, register_t *);
911
912 int sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *);
913
914 int svr4_sys_memcntl(struct lwp *, const struct svr4_sys_memcntl_args *, register_t *);
915
916 int sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *);
917
918 int svr4_sys_uname(struct lwp *, const struct svr4_sys_uname_args *, register_t *);
919
920 int sys_setegid(struct lwp *, const struct sys_setegid_args *, register_t *);
921
922 int svr4_sys_sysconfig(struct lwp *, const struct svr4_sys_sysconfig_args *, register_t *);
923
924 int sys_adjtime(struct lwp *, const struct sys_adjtime_args *, register_t *);
925
926 int svr4_sys_systeminfo(struct lwp *, const struct svr4_sys_systeminfo_args *, register_t *);
927
928 int sys_seteuid(struct lwp *, const struct sys_seteuid_args *, register_t *);
929
930 int svr4_sys__lwp_info(struct lwp *, const struct svr4_sys__lwp_info_args *, register_t *);
931
932 int sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *);
933
934 int svr4_sys_utimes(struct lwp *, const struct svr4_sys_utimes_args *, register_t *);
935
936 int svr4_sys_vhangup(struct lwp *, const void *, register_t *);
937
938 int svr4_sys_gettimeofday(struct lwp *, const struct svr4_sys_gettimeofday_args *, register_t *);
939
940 int sys_getitimer(struct lwp *, const struct sys_getitimer_args *, register_t *);
941
942 int sys_setitimer(struct lwp *, const struct sys_setitimer_args *, register_t *);
943
944 int svr4_sys__lwp_create(struct lwp *, const struct svr4_sys__lwp_create_args *, register_t *);
945
946 int svr4_sys__lwp_exit(struct lwp *, const void *, register_t *);
947
948 int svr4_sys__lwp_suspend(struct lwp *, const struct svr4_sys__lwp_suspend_args *, register_t *);
949
950 int svr4_sys__lwp_continue(struct lwp *, const struct svr4_sys__lwp_continue_args *, register_t *);
951
952 int svr4_sys__lwp_kill(struct lwp *, const struct svr4_sys__lwp_kill_args *, register_t *);
953
954 int svr4_sys__lwp_self(struct lwp *, const void *, register_t *);
955
956 int svr4_sys__lwp_getprivate(struct lwp *, const void *, register_t *);
957
958 int svr4_sys__lwp_setprivate(struct lwp *, const struct svr4_sys__lwp_setprivate_args *, register_t *);
959
960 int svr4_sys__lwp_wait(struct lwp *, const struct svr4_sys__lwp_wait_args *, register_t *);
961
962 int svr4_sys_pread(struct lwp *, const struct svr4_sys_pread_args *, register_t *);
963
964 int svr4_sys_pwrite(struct lwp *, const struct svr4_sys_pwrite_args *, register_t *);
965
966 int svr4_sys_llseek(struct lwp *, const struct svr4_sys_llseek_args *, register_t *);
967
968 int svr4_sys_acl(struct lwp *, const struct svr4_sys_acl_args *, register_t *);
969
970 int svr4_sys_auditsys(struct lwp *, const struct svr4_sys_auditsys_args *, register_t *);
971
972 int sys_nanosleep(struct lwp *, const struct sys_nanosleep_args *, register_t *);
973
974 int svr4_sys_facl(struct lwp *, const struct svr4_sys_facl_args *, register_t *);
975
976 int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
977
978 int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
979
980 int svr4_sys_schedctl(struct lwp *, const struct svr4_sys_schedctl_args *, register_t *);
981
982 int svr4_sys_resolvepath(struct lwp *, const struct svr4_sys_resolvepath_args *, register_t *);
983
984 int svr4_sys_getdents64(struct lwp *, const struct svr4_sys_getdents64_args *, register_t *);
985
986 int svr4_sys_mmap64(struct lwp *, const struct svr4_sys_mmap64_args *, register_t *);
987
988 int svr4_sys_stat64(struct lwp *, const struct svr4_sys_stat64_args *, register_t *);
989
990 int svr4_sys_lstat64(struct lwp *, const struct svr4_sys_lstat64_args *, register_t *);
991
992 int svr4_sys_fstat64(struct lwp *, const struct svr4_sys_fstat64_args *, register_t *);
993
994 int svr4_sys_statvfs64(struct lwp *, const struct svr4_sys_statvfs64_args *, register_t *);
995
996 int svr4_sys_fstatvfs64(struct lwp *, const struct svr4_sys_fstatvfs64_args *, register_t *);
997
998 int svr4_sys_setrlimit64(struct lwp *, const struct svr4_sys_setrlimit64_args *, register_t *);
999
1000 int svr4_sys_getrlimit64(struct lwp *, const struct svr4_sys_getrlimit64_args *, register_t *);
1001
1002 int svr4_sys_pread64(struct lwp *, const struct svr4_sys_pread64_args *, register_t *);
1003
1004 int svr4_sys_pwrite64(struct lwp *, const struct svr4_sys_pwrite64_args *, register_t *);
1005
1006 int svr4_sys_creat64(struct lwp *, const struct svr4_sys_creat64_args *, register_t *);
1007
1008 int svr4_sys_open64(struct lwp *, const struct svr4_sys_open64_args *, register_t *);
1009
1010 int svr4_sys_socket(struct lwp *, const struct svr4_sys_socket_args *, register_t *);
1011
1012 int sys_socketpair(struct lwp *, const struct sys_socketpair_args *, register_t *);
1013
1014 int sys_bind(struct lwp *, const struct sys_bind_args *, register_t *);
1015
1016 int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
1017
1018 int compat_43_sys_accept(struct lwp *, const struct compat_43_sys_accept_args *, register_t *);
1019
1020 int sys_connect(struct lwp *, const struct sys_connect_args *, register_t *);
1021
1022 int sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
1023
1024 int compat_43_sys_recv(struct lwp *, const struct compat_43_sys_recv_args *, register_t *);
1025
1026 int compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_args *, register_t *);
1027
1028 int compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
1029
1030 int compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
1031
1032 int compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
1033
1034 int sys_sendto(struct lwp *, const struct sys_sendto_args *, register_t *);
1035
1036 int compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);
1037
1038 int compat_43_sys_getsockname(struct lwp *, const struct compat_43_sys_getsockname_args *, register_t *);
1039
1040 int sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
1041
1042 int sys_setsockopt(struct lwp *, const struct sys_setsockopt_args *, register_t *);
1043
1044 #if defined(NTP) || !defined(_KERNEL)
1045 int sys_ntp_adjtime(struct lwp *, const struct sys_ntp_adjtime_args *, register_t *);
1046
1047 #else
1048 #endif
1049 #endif /* _SVR4_SYS_SYSCALLARGS_H_ */
Cache object: e6ca3cca7434a45fade453b0e5efb422
|