linux_syscallargs.h revision 1.12 1 /* $NetBSD: linux_syscallargs.h,v 1.12 2003/01/18 08:07:21 thorpej Exp $ */
2
3 /*
4 * System call argument lists.
5 *
6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD
8 */
9
10 #ifndef _LINUX_SYS__SYSCALLARGS_H_
11 #define _LINUX_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 linux_sys_open_args {
31 syscallarg(const char *) path;
32 syscallarg(int) flags;
33 syscallarg(int) mode;
34 };
35
36 struct linux_sys_waitpid_args {
37 syscallarg(int) pid;
38 syscallarg(int *) status;
39 syscallarg(int) options;
40 };
41
42 struct linux_sys_creat_args {
43 syscallarg(const char *) path;
44 syscallarg(int) mode;
45 };
46
47 struct linux_sys_link_args {
48 syscallarg(const char *) path;
49 syscallarg(const char *) link;
50 };
51
52 struct linux_sys_unlink_args {
53 syscallarg(const char *) path;
54 };
55
56 struct linux_sys_execve_args {
57 syscallarg(const char *) path;
58 syscallarg(char **) argp;
59 syscallarg(char **) envp;
60 };
61
62 struct linux_sys_chdir_args {
63 syscallarg(const char *) path;
64 };
65
66 struct linux_sys_time_args {
67 syscallarg(linux_time_t *) t;
68 };
69
70 struct linux_sys_mknod_args {
71 syscallarg(const char *) path;
72 syscallarg(int) mode;
73 syscallarg(int) dev;
74 };
75
76 struct linux_sys_chmod_args {
77 syscallarg(const char *) path;
78 syscallarg(int) mode;
79 };
80
81 struct linux_sys_lchown_args {
82 syscallarg(const char *) path;
83 syscallarg(int) uid;
84 syscallarg(int) gid;
85 };
86
87 struct linux_sys_stime_args {
88 syscallarg(linux_time_t *) t;
89 };
90
91 struct linux_sys_ptrace_args {
92 syscallarg(int) request;
93 syscallarg(int) pid;
94 syscallarg(int) addr;
95 syscallarg(int) data;
96 };
97
98 struct linux_sys_alarm_args {
99 syscallarg(unsigned int) secs;
100 };
101
102 struct linux_sys_utime_args {
103 syscallarg(const char *) path;
104 syscallarg(struct linux_utimbuf *) times;
105 };
106
107 struct linux_sys_access_args {
108 syscallarg(const char *) path;
109 syscallarg(int) flags;
110 };
111
112 struct linux_sys_nice_args {
113 syscallarg(int) incr;
114 };
115
116 struct linux_sys_kill_args {
117 syscallarg(int) pid;
118 syscallarg(int) signum;
119 };
120
121 struct linux_sys_rename_args {
122 syscallarg(const char *) from;
123 syscallarg(const char *) to;
124 };
125
126 struct linux_sys_mkdir_args {
127 syscallarg(const char *) path;
128 syscallarg(int) mode;
129 };
130
131 struct linux_sys_rmdir_args {
132 syscallarg(const char *) path;
133 };
134
135 struct linux_sys_pipe_args {
136 syscallarg(int *) pfds;
137 };
138
139 struct linux_sys_times_args {
140 syscallarg(struct times *) tms;
141 };
142
143 struct linux_sys_brk_args {
144 syscallarg(char *) nsize;
145 };
146
147 struct linux_sys_signal_args {
148 syscallarg(int) signum;
149 syscallarg(linux___sighandler_t) handler;
150 };
151
152 struct linux_sys_ioctl_args {
153 syscallarg(int) fd;
154 syscallarg(u_long) com;
155 syscallarg(caddr_t) data;
156 };
157
158 struct linux_sys_fcntl_args {
159 syscallarg(int) fd;
160 syscallarg(int) cmd;
161 syscallarg(void *) arg;
162 };
163
164 struct linux_sys_olduname_args {
165 syscallarg(struct linux_old_utsname *) up;
166 };
167
168 struct linux_sys_sigaction_args {
169 syscallarg(int) signum;
170 syscallarg(const struct linux_old_sigaction *) nsa;
171 syscallarg(struct linux_old_sigaction *) osa;
172 };
173
174 struct linux_sys_sigsetmask_args {
175 syscallarg(linux_old_sigset_t) mask;
176 };
177
178 struct linux_sys_sigsuspend_args {
179 syscallarg(caddr_t) restart;
180 syscallarg(int) oldmask;
181 syscallarg(int) mask;
182 };
183
184 struct linux_sys_sigpending_args {
185 syscallarg(linux_old_sigset_t *) set;
186 };
187
188 struct linux_sys_setrlimit_args {
189 syscallarg(u_int) which;
190 syscallarg(struct orlimit *) rlp;
191 };
192
193 struct linux_sys_getrlimit_args {
194 syscallarg(u_int) which;
195 syscallarg(struct orlimit *) rlp;
196 };
197
198 struct linux_sys_gettimeofday_args {
199 syscallarg(struct timeval *) tp;
200 syscallarg(struct timezone *) tzp;
201 };
202
203 struct linux_sys_settimeofday_args {
204 syscallarg(struct timeval *) tp;
205 syscallarg(struct timezone *) tzp;
206 };
207
208 struct linux_sys_symlink_args {
209 syscallarg(const char *) path;
210 syscallarg(const char *) to;
211 };
212
213 struct linux_sys_readlink_args {
214 syscallarg(const char *) name;
215 syscallarg(char *) buf;
216 syscallarg(int) count;
217 };
218
219 struct linux_sys_swapon_args {
220 syscallarg(char *) name;
221 };
222
223 struct linux_sys_reboot_args {
224 syscallarg(int) magic1;
225 syscallarg(int) magic2;
226 syscallarg(int) cmd;
227 syscallarg(void *) arg;
228 };
229
230 struct linux_sys_readdir_args {
231 syscallarg(int) fd;
232 syscallarg(caddr_t) dent;
233 syscallarg(unsigned int) count;
234 };
235
236 struct linux_sys_truncate_args {
237 syscallarg(const char *) path;
238 syscallarg(long) length;
239 };
240
241 struct linux_sys_statfs_args {
242 syscallarg(const char *) path;
243 syscallarg(struct linux_statfs *) sp;
244 };
245
246 struct linux_sys_fstatfs_args {
247 syscallarg(int) fd;
248 syscallarg(struct linux_statfs *) sp;
249 };
250
251 struct linux_sys_ioperm_args {
252 syscallarg(unsigned int) lo;
253 syscallarg(unsigned int) hi;
254 syscallarg(int) val;
255 };
256
257 struct linux_sys_socketcall_args {
258 syscallarg(int) what;
259 syscallarg(void *) args;
260 };
261
262 struct linux_sys_stat_args {
263 syscallarg(const char *) path;
264 syscallarg(struct linux_stat *) sp;
265 };
266
267 struct linux_sys_lstat_args {
268 syscallarg(const char *) path;
269 syscallarg(struct linux_stat *) sp;
270 };
271
272 struct linux_sys_fstat_args {
273 syscallarg(int) fd;
274 syscallarg(struct linux_stat *) sp;
275 };
276
277 struct linux_sys_uname_args {
278 syscallarg(struct linux_utsname *) up;
279 };
280
281 struct linux_sys_wait4_args {
282 syscallarg(int) pid;
283 syscallarg(int *) status;
284 syscallarg(int) options;
285 syscallarg(struct rusage *) rusage;
286 };
287
288 struct linux_sys_swapoff_args {
289 syscallarg(const char *) path;
290 };
291
292 struct linux_sys_sysinfo_args {
293 syscallarg(struct linux_sysinfo *) arg;
294 };
295
296 struct linux_sys_ipc_args {
297 syscallarg(int) what;
298 syscallarg(int) a1;
299 syscallarg(int) a2;
300 syscallarg(int) a3;
301 syscallarg(caddr_t) ptr;
302 };
303
304 struct linux_sys_sigreturn_args {
305 syscallarg(struct linux_sigframe *) sf;
306 };
307
308 struct linux_sys_clone_args {
309 syscallarg(int) flags;
310 syscallarg(void *) stack;
311 };
312
313 struct linux_sys_setdomainname_args {
314 syscallarg(char *) domainname;
315 syscallarg(int) len;
316 };
317
318 struct linux_sys_new_uname_args {
319 syscallarg(struct linux_utsname *) up;
320 };
321
322 struct linux_sys_mprotect_args {
323 syscallarg(const void *) start;
324 syscallarg(unsigned long) len;
325 syscallarg(int) prot;
326 };
327
328 struct linux_sys_sigprocmask_args {
329 syscallarg(int) how;
330 syscallarg(const linux_old_sigset_t *) set;
331 syscallarg(linux_old_sigset_t *) oset;
332 };
333
334 struct linux_sys_getpgid_args {
335 syscallarg(int) pid;
336 };
337
338 struct linux_sys_personality_args {
339 syscallarg(int) per;
340 };
341
342 struct linux_sys_setfsuid_args {
343 syscallarg(uid_t) uid;
344 };
345
346 struct linux_sys_llseek_args {
347 syscallarg(int) fd;
348 syscallarg(u_int32_t) ohigh;
349 syscallarg(u_int32_t) olow;
350 syscallarg(caddr_t) res;
351 syscallarg(int) whence;
352 };
353
354 struct linux_sys_getdents_args {
355 syscallarg(int) fd;
356 syscallarg(struct linux_dirent *) dent;
357 syscallarg(unsigned int) count;
358 };
359
360 struct linux_sys_select_args {
361 syscallarg(int) nfds;
362 syscallarg(fd_set *) readfds;
363 syscallarg(fd_set *) writefds;
364 syscallarg(fd_set *) exceptfds;
365 syscallarg(struct timeval *) timeout;
366 };
367
368 struct linux_sys_msync_args {
369 syscallarg(caddr_t) addr;
370 syscallarg(int) len;
371 syscallarg(int) fl;
372 };
373
374 struct linux_sys_cacheflush_args {
375 syscallarg(void *) addr;
376 syscallarg(int) bytes;
377 syscallarg(int) cache;
378 };
379
380 struct linux_sys_sysmips_args {
381 syscallarg(int) cmd;
382 syscallarg(int) arg1;
383 syscallarg(int) arg2;
384 syscallarg(int) arg3;
385 };
386
387 struct linux_sys_fdatasync_args {
388 syscallarg(int) fd;
389 };
390
391 struct linux_sys___sysctl_args {
392 syscallarg(struct linux___sysctl *) lsp;
393 };
394
395 struct linux_sys_sched_setparam_args {
396 syscallarg(pid_t) pid;
397 syscallarg(const struct linux_sched_param *) sp;
398 };
399
400 struct linux_sys_sched_getparam_args {
401 syscallarg(pid_t) pid;
402 syscallarg(struct linux_sched_param *) sp;
403 };
404
405 struct linux_sys_sched_setscheduler_args {
406 syscallarg(pid_t) pid;
407 syscallarg(int) policy;
408 syscallarg(const struct linux_sched_param *) sp;
409 };
410
411 struct linux_sys_sched_getscheduler_args {
412 syscallarg(pid_t) pid;
413 };
414
415 struct linux_sys_sched_get_priority_max_args {
416 syscallarg(int) policy;
417 };
418
419 struct linux_sys_sched_get_priority_min_args {
420 syscallarg(int) policy;
421 };
422
423 struct linux_sys_mremap_args {
424 syscallarg(void *) old_address;
425 syscallarg(size_t) old_size;
426 syscallarg(size_t) new_size;
427 syscallarg(u_long) flags;
428 };
429
430 struct linux_sys_setresuid_args {
431 syscallarg(uid_t) ruid;
432 syscallarg(uid_t) euid;
433 syscallarg(uid_t) suid;
434 };
435
436 struct linux_sys_getresuid_args {
437 syscallarg(uid_t *) ruid;
438 syscallarg(uid_t *) euid;
439 syscallarg(uid_t *) suid;
440 };
441
442 struct linux_sys_setresgid_args {
443 syscallarg(gid_t) rgid;
444 syscallarg(gid_t) egid;
445 syscallarg(gid_t) sgid;
446 };
447
448 struct linux_sys_getresgid_args {
449 syscallarg(gid_t *) rgid;
450 syscallarg(gid_t *) egid;
451 syscallarg(gid_t *) sgid;
452 };
453
454 struct linux_sys_rt_sigreturn_args {
455 syscallarg(struct linux_pt_regs) regs;
456 };
457
458 struct linux_sys_rt_sigaction_args {
459 syscallarg(int) signum;
460 syscallarg(const struct linux_sigaction *) nsa;
461 syscallarg(struct linux_sigaction *) osa;
462 syscallarg(size_t) sigsetsize;
463 };
464
465 struct linux_sys_rt_sigprocmask_args {
466 syscallarg(int) how;
467 syscallarg(const linux_sigset_t *) set;
468 syscallarg(linux_sigset_t *) oset;
469 syscallarg(size_t) sigsetsize;
470 };
471
472 struct linux_sys_rt_sigpending_args {
473 syscallarg(linux_sigset_t *) set;
474 syscallarg(size_t) sigsetsize;
475 };
476
477 struct linux_sys_rt_queueinfo_args {
478 syscallarg(int) pid;
479 syscallarg(int) signum;
480 syscallarg(void *) uinfo;
481 };
482
483 struct linux_sys_rt_sigsuspend_args {
484 syscallarg(linux_sigset_t *) unewset;
485 syscallarg(size_t) sigsetsize;
486 };
487
488 struct linux_sys_pread_args {
489 syscallarg(int) fd;
490 syscallarg(char *) buf;
491 syscallarg(size_t) nbyte;
492 syscallarg(linux_off_t) offset;
493 };
494
495 struct linux_sys_pwrite_args {
496 syscallarg(int) fd;
497 syscallarg(char *) buf;
498 syscallarg(size_t) nbyte;
499 syscallarg(linux_off_t) offset;
500 };
501
502 struct linux_sys_chown_args {
503 syscallarg(const char *) path;
504 syscallarg(int) uid;
505 syscallarg(int) gid;
506 };
507
508 struct linux_sys_sigaltstack_args {
509 syscallarg(const struct linux_sigaltstack *) ss;
510 syscallarg(struct linux_sigaltstack *) oss;
511 };
512
513 struct linux_sys_truncate64_args {
514 syscallarg(const char *) path;
515 syscallarg(off_t) length;
516 };
517
518 struct linux_sys_stat64_args {
519 syscallarg(const char *) path;
520 syscallarg(struct linux_stat64 *) sp;
521 };
522
523 struct linux_sys_lstat64_args {
524 syscallarg(const char *) path;
525 syscallarg(struct linux_stat64 *) sp;
526 };
527
528 struct linux_sys_fstat64_args {
529 syscallarg(int) fd;
530 syscallarg(struct linux_stat64 *) sp;
531 };
532
533 struct linux_sys_getdents64_args {
534 syscallarg(int) fd;
535 syscallarg(struct linux_dirent64 *) dent;
536 syscallarg(unsigned int) count;
537 };
538
539 struct linux_sys_fcntl64_args {
540 syscallarg(int) fd;
541 syscallarg(int) cmd;
542 syscallarg(void *) arg;
543 };
544
545 /*
546 * System call prototypes.
547 */
548
549 int linux_sys_nosys(struct lwp *, void *, register_t *);
550 int sys_exit(struct lwp *, void *, register_t *);
551 int sys_fork(struct lwp *, void *, register_t *);
552 int sys_read(struct lwp *, void *, register_t *);
553 int sys_write(struct lwp *, void *, register_t *);
554 int linux_sys_open(struct lwp *, void *, register_t *);
555 int sys_close(struct lwp *, void *, register_t *);
556 int linux_sys_waitpid(struct lwp *, void *, register_t *);
557 int linux_sys_creat(struct lwp *, void *, register_t *);
558 int linux_sys_link(struct lwp *, void *, register_t *);
559 int linux_sys_unlink(struct lwp *, void *, register_t *);
560 int linux_sys_execve(struct lwp *, void *, register_t *);
561 int linux_sys_chdir(struct lwp *, void *, register_t *);
562 int linux_sys_time(struct lwp *, void *, register_t *);
563 int linux_sys_mknod(struct lwp *, void *, register_t *);
564 int linux_sys_chmod(struct lwp *, void *, register_t *);
565 int linux_sys_lchown(struct lwp *, void *, register_t *);
566 int compat_43_sys_lseek(struct lwp *, void *, register_t *);
567 int sys_getpid(struct lwp *, void *, register_t *);
568 int sys_setuid(struct lwp *, void *, register_t *);
569 int sys_getuid(struct lwp *, void *, register_t *);
570 int linux_sys_stime(struct lwp *, void *, register_t *);
571 int linux_sys_ptrace(struct lwp *, void *, register_t *);
572 int linux_sys_alarm(struct lwp *, void *, register_t *);
573 int linux_sys_pause(struct lwp *, void *, register_t *);
574 int linux_sys_utime(struct lwp *, void *, register_t *);
575 int linux_sys_access(struct lwp *, void *, register_t *);
576 int linux_sys_nice(struct lwp *, void *, register_t *);
577 int sys_sync(struct lwp *, void *, register_t *);
578 int linux_sys_kill(struct lwp *, void *, register_t *);
579 int linux_sys_rename(struct lwp *, void *, register_t *);
580 int linux_sys_mkdir(struct lwp *, void *, register_t *);
581 int linux_sys_rmdir(struct lwp *, void *, register_t *);
582 int sys_dup(struct lwp *, void *, register_t *);
583 int linux_sys_pipe(struct lwp *, void *, register_t *);
584 int linux_sys_times(struct lwp *, void *, register_t *);
585 int linux_sys_brk(struct lwp *, void *, register_t *);
586 int sys_setgid(struct lwp *, void *, register_t *);
587 int sys_getgid(struct lwp *, void *, register_t *);
588 int linux_sys_signal(struct lwp *, void *, register_t *);
589 int sys_geteuid(struct lwp *, void *, register_t *);
590 int sys_getegid(struct lwp *, void *, register_t *);
591 int sys_acct(struct lwp *, void *, register_t *);
592 int linux_sys_ioctl(struct lwp *, void *, register_t *);
593 int linux_sys_fcntl(struct lwp *, void *, register_t *);
594 int sys_setpgid(struct lwp *, void *, register_t *);
595 int linux_sys_olduname(struct lwp *, void *, register_t *);
596 int sys_umask(struct lwp *, void *, register_t *);
597 int sys_chroot(struct lwp *, void *, register_t *);
598 int sys_dup2(struct lwp *, void *, register_t *);
599 int sys_getppid(struct lwp *, void *, register_t *);
600 int sys_getpgrp(struct lwp *, void *, register_t *);
601 int sys_setsid(struct lwp *, void *, register_t *);
602 int linux_sys_sigaction(struct lwp *, void *, register_t *);
603 int linux_sys_siggetmask(struct lwp *, void *, register_t *);
604 int linux_sys_sigsetmask(struct lwp *, void *, register_t *);
605 int sys_setreuid(struct lwp *, void *, register_t *);
606 int sys_setregid(struct lwp *, void *, register_t *);
607 int linux_sys_sigsuspend(struct lwp *, void *, register_t *);
608 int linux_sys_sigpending(struct lwp *, void *, register_t *);
609 int compat_43_sys_sethostname(struct lwp *, void *, register_t *);
610 int linux_sys_setrlimit(struct lwp *, void *, register_t *);
611 int linux_sys_getrlimit(struct lwp *, void *, register_t *);
612 int sys_getrusage(struct lwp *, void *, register_t *);
613 int linux_sys_gettimeofday(struct lwp *, void *, register_t *);
614 int linux_sys_settimeofday(struct lwp *, void *, register_t *);
615 int sys_getgroups(struct lwp *, void *, register_t *);
616 int sys_setgroups(struct lwp *, void *, register_t *);
617 int linux_sys_symlink(struct lwp *, void *, register_t *);
618 int compat_43_sys_lstat(struct lwp *, void *, register_t *);
619 int linux_sys_readlink(struct lwp *, void *, register_t *);
620 int linux_sys_swapon(struct lwp *, void *, register_t *);
621 int linux_sys_reboot(struct lwp *, void *, register_t *);
622 int linux_sys_readdir(struct lwp *, void *, register_t *);
623 int linux_sys_mmap(struct lwp *, void *, register_t *);
624 int sys_munmap(struct lwp *, void *, register_t *);
625 int linux_sys_truncate(struct lwp *, void *, register_t *);
626 int compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
627 int sys_fchmod(struct lwp *, void *, register_t *);
628 int sys___posix_fchown(struct lwp *, void *, register_t *);
629 int sys_getpriority(struct lwp *, void *, register_t *);
630 int sys_setpriority(struct lwp *, void *, register_t *);
631 int linux_sys_statfs(struct lwp *, void *, register_t *);
632 int linux_sys_fstatfs(struct lwp *, void *, register_t *);
633 int linux_sys_ioperm(struct lwp *, void *, register_t *);
634 int linux_sys_socketcall(struct lwp *, void *, register_t *);
635 int sys_setitimer(struct lwp *, void *, register_t *);
636 int sys_getitimer(struct lwp *, void *, register_t *);
637 int linux_sys_stat(struct lwp *, void *, register_t *);
638 int linux_sys_lstat(struct lwp *, void *, register_t *);
639 int linux_sys_fstat(struct lwp *, void *, register_t *);
640 int linux_sys_uname(struct lwp *, void *, register_t *);
641 int linux_sys_wait4(struct lwp *, void *, register_t *);
642 int linux_sys_swapoff(struct lwp *, void *, register_t *);
643 int linux_sys_sysinfo(struct lwp *, void *, register_t *);
644 int linux_sys_ipc(struct lwp *, void *, register_t *);
645 int sys_fsync(struct lwp *, void *, register_t *);
646 int linux_sys_sigreturn(struct lwp *, void *, register_t *);
647 int linux_sys_clone(struct lwp *, void *, register_t *);
648 int linux_sys_setdomainname(struct lwp *, void *, register_t *);
649 int linux_sys_new_uname(struct lwp *, void *, register_t *);
650 int linux_sys_mprotect(struct lwp *, void *, register_t *);
651 int linux_sys_sigprocmask(struct lwp *, void *, register_t *);
652 int linux_sys_getpgid(struct lwp *, void *, register_t *);
653 int sys_fchdir(struct lwp *, void *, register_t *);
654 int linux_sys_personality(struct lwp *, void *, register_t *);
655 int linux_sys_setfsuid(struct lwp *, void *, register_t *);
656 int linux_sys_getfsuid(struct lwp *, void *, register_t *);
657 int linux_sys_llseek(struct lwp *, void *, register_t *);
658 int linux_sys_getdents(struct lwp *, void *, register_t *);
659 int linux_sys_select(struct lwp *, void *, register_t *);
660 int sys_flock(struct lwp *, void *, register_t *);
661 int linux_sys_msync(struct lwp *, void *, register_t *);
662 int sys_readv(struct lwp *, void *, register_t *);
663 int sys_writev(struct lwp *, void *, register_t *);
664 int linux_sys_cacheflush(struct lwp *, void *, register_t *);
665 int linux_sys_sysmips(struct lwp *, void *, register_t *);
666 int sys_getsid(struct lwp *, void *, register_t *);
667 int linux_sys_fdatasync(struct lwp *, void *, register_t *);
668 int linux_sys___sysctl(struct lwp *, void *, register_t *);
669 int sys_mlock(struct lwp *, void *, register_t *);
670 int sys_munlock(struct lwp *, void *, register_t *);
671 int sys_mlockall(struct lwp *, void *, register_t *);
672 int sys_munlockall(struct lwp *, void *, register_t *);
673 int linux_sys_sched_setparam(struct lwp *, void *, register_t *);
674 int linux_sys_sched_getparam(struct lwp *, void *, register_t *);
675 int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
676 int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
677 int linux_sys_sched_yield(struct lwp *, void *, register_t *);
678 int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
679 int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
680 int sys_nanosleep(struct lwp *, void *, register_t *);
681 int linux_sys_mremap(struct lwp *, void *, register_t *);
682 int linux_sys_accept(struct lwp *, void *, register_t *);
683 int linux_sys_bind(struct lwp *, void *, register_t *);
684 int linux_sys_connect(struct lwp *, void *, register_t *);
685 int linux_sys_getpeername(struct lwp *, void *, register_t *);
686 int linux_sys_getsockname(struct lwp *, void *, register_t *);
687 int linux_sys_getsockopt(struct lwp *, void *, register_t *);
688 int sys_listen(struct lwp *, void *, register_t *);
689 int linux_sys_recv(struct lwp *, void *, register_t *);
690 int linux_sys_recvfrom(struct lwp *, void *, register_t *);
691 int linux_sys_recvmsg(struct lwp *, void *, register_t *);
692 int linux_sys_send(struct lwp *, void *, register_t *);
693 int linux_sys_sendmsg(struct lwp *, void *, register_t *);
694 int linux_sys_sendto(struct lwp *, void *, register_t *);
695 int linux_sys_setsockopt(struct lwp *, void *, register_t *);
696 int linux_sys_socket(struct lwp *, void *, register_t *);
697 int linux_sys_socketpair(struct lwp *, void *, register_t *);
698 int linux_sys_setresuid(struct lwp *, void *, register_t *);
699 int linux_sys_getresuid(struct lwp *, void *, register_t *);
700 int sys_poll(struct lwp *, void *, register_t *);
701 int linux_sys_setresgid(struct lwp *, void *, register_t *);
702 int linux_sys_getresgid(struct lwp *, void *, register_t *);
703 int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
704 int linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
705 int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
706 int linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
707 int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
708 int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
709 int linux_sys_pread(struct lwp *, void *, register_t *);
710 int linux_sys_pwrite(struct lwp *, void *, register_t *);
711 int linux_sys_chown(struct lwp *, void *, register_t *);
712 int sys___getcwd(struct lwp *, void *, register_t *);
713 int linux_sys_sigaltstack(struct lwp *, void *, register_t *);
714 int linux_sys_truncate64(struct lwp *, void *, register_t *);
715 int linux_sys_stat64(struct lwp *, void *, register_t *);
716 int linux_sys_lstat64(struct lwp *, void *, register_t *);
717 int linux_sys_fstat64(struct lwp *, void *, register_t *);
718 int linux_sys_getdents64(struct lwp *, void *, register_t *);
719 int linux_sys_fcntl64(struct lwp *, void *, register_t *);
720 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
721