1/* $NetBSD: linux_syscallargs.h,v 1.60 2016/07/24 13:23:25 njoly 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.57 2016/07/24 13:22:01 njoly Exp
8 */
9
10#ifndef _LINUX_SYS_SYSCALLARGS_H_
11#define _LINUX_SYS_SYSCALLARGS_H_
12
13#define LINUX_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) /*LINTED*/ \
31 typedef char call##_check_args[sizeof (struct call##_args) \
32 <= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
33
34struct sys_read_args;
35
36struct sys_write_args;
37
38struct linux_sys_open_args {
39 syscallarg(const char *) path;
40 syscallarg(int) flags;
41 syscallarg(linux_umode_t) mode;
42};
43check_syscall_args(linux_sys_open)
44
45struct sys_close_args;
46
47struct linux_sys_stat64_args {
48 syscallarg(const char *) path;
49 syscallarg(struct linux_stat64 *) sp;
50};
51check_syscall_args(linux_sys_stat64)
52
53struct linux_sys_fstat64_args {
54 syscallarg(int) fd;
55 syscallarg(struct linux_stat64 *) sp;
56};
57check_syscall_args(linux_sys_fstat64)
58
59struct linux_sys_lstat64_args {
60 syscallarg(const char *) path;
61 syscallarg(struct linux_stat64 *) sp;
62};
63check_syscall_args(linux_sys_lstat64)
64
65struct sys_poll_args;
66
67struct compat_43_sys_lseek_args;
68
69struct linux_sys_mmap_args;
70
71struct linux_sys_mprotect_args {
72 syscallarg(const void *) start;
73 syscallarg(unsigned long) len;
74 syscallarg(int) prot;
75};
76check_syscall_args(linux_sys_mprotect)
77
78struct sys_munmap_args;
79
80struct linux_sys_brk_args {
81 syscallarg(char *) nsize;
82};
83check_syscall_args(linux_sys_brk)
84
85struct linux_sys_rt_sigaction_args {
86 syscallarg(int) signum;
87 syscallarg(const struct linux_sigaction *) nsa;
88 syscallarg(struct linux_sigaction *) osa;
89 syscallarg(size_t) sigsetsize;
90};
91check_syscall_args(linux_sys_rt_sigaction)
92
93struct linux_sys_rt_sigprocmask_args {
94 syscallarg(int) how;
95 syscallarg(const linux_sigset_t *) set;
96 syscallarg(linux_sigset_t *) oset;
97 syscallarg(size_t) sigsetsize;
98};
99check_syscall_args(linux_sys_rt_sigprocmask)
100
101struct linux_sys_ioctl_args {
102 syscallarg(int) fd;
103 syscallarg(u_long) com;
104 syscallarg(void *) data;
105};
106check_syscall_args(linux_sys_ioctl)
107
108struct linux_sys_pread_args {
109 syscallarg(int) fd;
110 syscallarg(char *) buf;
111 syscallarg(size_t) nbyte;
112 syscallarg(off_t) offset;
113};
114check_syscall_args(linux_sys_pread)
115
116struct linux_sys_pwrite_args {
117 syscallarg(int) fd;
118 syscallarg(char *) buf;
119 syscallarg(size_t) nbyte;
120 syscallarg(off_t) offset;
121};
122check_syscall_args(linux_sys_pwrite)
123
124struct sys_readv_args;
125
126struct sys_writev_args;
127
128struct sys_access_args;
129
130struct linux_sys_pipe_args {
131 syscallarg(int *) pfds;
132};
133check_syscall_args(linux_sys_pipe)
134
135struct linux_sys_select_args {
136 syscallarg(int) nfds;
137 syscallarg(fd_set *) readfds;
138 syscallarg(fd_set *) writefds;
139 syscallarg(fd_set *) exceptfds;
140 syscallarg(struct timeval50 *) timeout;
141};
142check_syscall_args(linux_sys_select)
143
144struct linux_sys_mremap_args {
145 syscallarg(void *) old_address;
146 syscallarg(size_t) old_size;
147 syscallarg(size_t) new_size;
148 syscallarg(u_long) flags;
149};
150check_syscall_args(linux_sys_mremap)
151
152struct sys___msync13_args;
153
154struct sys_mincore_args;
155
156struct sys_madvise_args;
157#ifdef SYSVSHM
158
159struct linux_sys_shmget_args;
160
161struct sys_shmat_args;
162
163struct linux_sys_shmctl_args;
164#else
165#endif
166
167struct sys_dup_args;
168
169struct sys_dup2_args;
170
171struct linux_sys_nanosleep_args {
172 syscallarg(const struct linux_timespec *) rqtp;
173 syscallarg(struct linux_timespec *) rmtp;
174};
175check_syscall_args(linux_sys_nanosleep)
176
177struct compat_50_sys_getitimer_args;
178
179struct linux_sys_alarm_args {
180 syscallarg(unsigned int) secs;
181};
182check_syscall_args(linux_sys_alarm)
183
184struct compat_50_sys_setitimer_args;
185
186struct linux_sys_socket_args {
187 syscallarg(int) domain;
188 syscallarg(int) type;
189 syscallarg(int) protocol;
190};
191check_syscall_args(linux_sys_socket)
192
193struct linux_sys_connect_args {
194 syscallarg(int) s;
195 syscallarg(const struct osockaddr *) name;
196 syscallarg(unsigned int) namelen;
197};
198check_syscall_args(linux_sys_connect)
199
200struct linux_sys_accept_args {
201 syscallarg(int) s;
202 syscallarg(struct osockaddr *) name;
203 syscallarg(int *) anamelen;
204};
205check_syscall_args(linux_sys_accept)
206
207struct linux_sys_sendto_args {
208 syscallarg(int) s;
209 syscallarg(void *) msg;
210 syscallarg(int) len;
211 syscallarg(int) flags;
212 syscallarg(struct osockaddr *) to;
213 syscallarg(int) tolen;
214};
215check_syscall_args(linux_sys_sendto)
216
217struct linux_sys_recvfrom_args {
218 syscallarg(int) s;
219 syscallarg(void *) buf;
220 syscallarg(size_t) len;
221 syscallarg(int) flags;
222 syscallarg(struct osockaddr *) from;
223 syscallarg(unsigned int *) fromlenaddr;
224};
225check_syscall_args(linux_sys_recvfrom)
226
227struct linux_sys_sendmsg_args {
228 syscallarg(int) s;
229 syscallarg(const struct linux_msghdr *) msg;
230 syscallarg(int) flags;
231};
232check_syscall_args(linux_sys_sendmsg)
233
234struct linux_sys_recvmsg_args {
235 syscallarg(int) s;
236 syscallarg(struct linux_msghdr *) msg;
237 syscallarg(int) flags;
238};
239check_syscall_args(linux_sys_recvmsg)
240
241struct sys_shutdown_args;
242
243struct linux_sys_bind_args {
244 syscallarg(int) s;
245 syscallarg(const struct osockaddr *) name;
246 syscallarg(unsigned int) namelen;
247};
248check_syscall_args(linux_sys_bind)
249
250struct sys_listen_args;
251
252struct linux_sys_getsockname_args {
253 syscallarg(int) fdec;
254 syscallarg(void *) asa;
255 syscallarg(int *) alen;
256};
257check_syscall_args(linux_sys_getsockname)
258
259struct linux_sys_getpeername_args {
260 syscallarg(int) fdes;
261 syscallarg(struct sockaddr *) asa;
262 syscallarg(unsigned int *) alen;
263};
264check_syscall_args(linux_sys_getpeername)
265
266struct linux_sys_socketpair_args {
267 syscallarg(int) domain;
268 syscallarg(int) type;
269 syscallarg(int) protocol;
270 syscallarg(int *) rsv;
271};
272check_syscall_args(linux_sys_socketpair)
273
274struct linux_sys_setsockopt_args {
275 syscallarg(int) s;
276 syscallarg(int) level;
277 syscallarg(int) optname;
278 syscallarg(void *) optval;
279 syscallarg(int) optlen;
280};
281check_syscall_args(linux_sys_setsockopt)
282
283struct linux_sys_getsockopt_args {
284 syscallarg(int) s;
285 syscallarg(int) level;
286 syscallarg(int) optname;
287 syscallarg(void *) optval;
288 syscallarg(int *) optlen;
289};
290check_syscall_args(linux_sys_getsockopt)
291
292struct linux_sys_clone_args {
293 syscallarg(int) flags;
294 syscallarg(void *) stack;
295 syscallarg(void *) parent_tidptr;
296 syscallarg(void *) child_tidptr;
297 syscallarg(void *) tls;
298};
299check_syscall_args(linux_sys_clone)
300
301struct sys_execve_args;
302
303struct linux_sys_exit_args {
304 syscallarg(int) rval;
305};
306check_syscall_args(linux_sys_exit)
307
308struct linux_sys_wait4_args {
309 syscallarg(int) pid;
310 syscallarg(int *) status;
311 syscallarg(int) options;
312 syscallarg(struct rusage50 *) rusage;
313};
314check_syscall_args(linux_sys_wait4)
315
316struct linux_sys_kill_args {
317 syscallarg(int) pid;
318 syscallarg(int) signum;
319};
320check_syscall_args(linux_sys_kill)
321
322struct linux_sys_uname_args {
323 syscallarg(struct linux_utsname *) up;
324};
325check_syscall_args(linux_sys_uname)
326#ifdef SYSVSEM
327
328struct sys_semget_args;
329
330struct sys_semop_args;
331
332struct linux_sys_semctl_args {
333 syscallarg(int) semid;
334 syscallarg(int) semnum;
335 syscallarg(int) cmd;
336 syscallarg(union linux_semun) arg;
337};
338check_syscall_args(linux_sys_semctl)
339#else
340#endif
341#ifdef SYSVSHM
342
343struct sys_shmdt_args;
344#else
345#endif
346#ifdef SYSVMSG
347
348struct sys_msgget_args;
349
350struct sys_msgsnd_args;
351
352struct sys_msgrcv_args;
353
354struct linux_sys_msgctl_args;
355#else
356#endif
357
358struct linux_sys_fcntl_args {
359 syscallarg(int) fd;
360 syscallarg(int) cmd;
361 syscallarg(void *) arg;
362};
363check_syscall_args(linux_sys_fcntl)
364
365struct sys_flock_args;
366
367struct sys_fsync_args;
368
369struct linux_sys_fdatasync_args {
370 syscallarg(int) fd;
371};
372check_syscall_args(linux_sys_fdatasync)
373
374struct linux_sys_truncate64_args {
375 syscallarg(const char *) path;
376 syscallarg(off_t) length;
377};
378check_syscall_args(linux_sys_truncate64)
379
380struct linux_sys_ftruncate64_args {
381 syscallarg(unsigned int) fd;
382 syscallarg(off_t) length;
383};
384check_syscall_args(linux_sys_ftruncate64)
385
386struct linux_sys_getdents_args {
387 syscallarg(int) fd;
388 syscallarg(struct linux_dirent *) dent;
389 syscallarg(unsigned int) count;
390};
391check_syscall_args(linux_sys_getdents)
392
393struct sys___getcwd_args;
394
395struct sys_chdir_args;
396
397struct sys_fchdir_args;
398
399struct sys___posix_rename_args;
400
401struct sys_mkdir_args;
402
403struct sys_rmdir_args;
404
405struct linux_sys_creat_args {
406 syscallarg(const char *) path;
407 syscallarg(linux_umode_t) mode;
408};
409check_syscall_args(linux_sys_creat)
410
411struct sys_link_args;
412
413struct linux_sys_unlink_args {
414 syscallarg(const char *) path;
415};
416check_syscall_args(linux_sys_unlink)
417
418struct sys_symlink_args;
419
420struct sys_readlink_args;
421
422struct sys_chmod_args;
423
424struct sys_fchmod_args;
425
426struct sys___posix_chown_args;
427
428struct sys___posix_fchown_args;
429
430struct sys___posix_lchown_args;
431
432struct sys_umask_args;
433
434struct linux_sys_gettimeofday_args {
435 syscallarg(struct timeval50 *) tp;
436 syscallarg(struct timezone *) tzp;
437};
438check_syscall_args(linux_sys_gettimeofday)
439
440struct linux_sys_getrlimit_args {
441 syscallarg(int) which;
442 syscallarg(struct rlimit *) rlp;
443};
444check_syscall_args(linux_sys_getrlimit)
445
446struct compat_50_sys_getrusage_args;
447
448struct linux_sys_sysinfo_args {
449 syscallarg(struct linux_sysinfo *) arg;
450};
451check_syscall_args(linux_sys_sysinfo)
452
453struct linux_sys_times_args {
454 syscallarg(struct times *) tms;
455};
456check_syscall_args(linux_sys_times)
457
458struct linux_sys_ptrace_args {
459 syscallarg(long) request;
460 syscallarg(long) pid;
461 syscallarg(long) addr;
462 syscallarg(long) data;
463};
464check_syscall_args(linux_sys_ptrace)
465
466struct sys_setuid_args;
467
468struct sys_setgid_args;
469
470struct sys_setpgid_args;
471
472struct sys_setreuid_args;
473
474struct sys_setregid_args;
475
476struct sys_getgroups_args;
477
478struct sys_setgroups_args;
479
480struct linux_sys_setresuid_args {
481 syscallarg(uid_t) ruid;
482 syscallarg(uid_t) euid;
483 syscallarg(uid_t) suid;
484};
485check_syscall_args(linux_sys_setresuid)
486
487struct linux_sys_getresuid_args {
488 syscallarg(uid_t *) ruid;
489 syscallarg(uid_t *) euid;
490 syscallarg(uid_t *) suid;
491};
492check_syscall_args(linux_sys_getresuid)
493
494struct linux_sys_setresgid_args {
495 syscallarg(gid_t) rgid;
496 syscallarg(gid_t) egid;
497 syscallarg(gid_t) sgid;
498};
499check_syscall_args(linux_sys_setresgid)
500
501struct linux_sys_getresgid_args {
502 syscallarg(gid_t *) rgid;
503 syscallarg(gid_t *) egid;
504 syscallarg(gid_t *) sgid;
505};
506check_syscall_args(linux_sys_getresgid)
507
508struct sys_getpgid_args;
509
510struct linux_sys_setfsuid_args {
511 syscallarg(uid_t) uid;
512};
513check_syscall_args(linux_sys_setfsuid)
514
515struct linux_sys_setfsgid_args {
516 syscallarg(gid_t) gid;
517};
518check_syscall_args(linux_sys_setfsgid)
519
520struct sys_getsid_args;
521
522struct linux_sys_rt_sigpending_args {
523 syscallarg(linux_sigset_t *) set;
524 syscallarg(size_t) sigsetsize;
525};
526check_syscall_args(linux_sys_rt_sigpending)
527
528struct linux_sys_rt_sigtimedwait_args {
529 syscallarg(const linux_sigset_t *) set;
530 syscallarg(linux_siginfo_t *) info;
531 syscallarg(const struct linux_timespec *) timeout;
532};
533check_syscall_args(linux_sys_rt_sigtimedwait)
534
535struct linux_sys_rt_queueinfo_args {
536 syscallarg(int) pid;
537 syscallarg(int) signum;
538 syscallarg(linux_siginfo_t *) uinfo;
539};
540check_syscall_args(linux_sys_rt_queueinfo)
541
542struct linux_sys_rt_sigsuspend_args {
543 syscallarg(linux_sigset_t *) unewset;
544 syscallarg(size_t) sigsetsize;
545};
546check_syscall_args(linux_sys_rt_sigsuspend)
547
548struct linux_sys_sigaltstack_args {
549 syscallarg(const struct linux_sigaltstack *) ss;
550 syscallarg(struct linux_sigaltstack *) oss;
551};
552check_syscall_args(linux_sys_sigaltstack)
553
554struct linux_sys_utime_args {
555 syscallarg(const char *) path;
556 syscallarg(struct linux_utimbuf *) times;
557};
558check_syscall_args(linux_sys_utime)
559
560struct linux_sys_mknod_args {
561 syscallarg(const char *) path;
562 syscallarg(linux_umode_t) mode;
563 syscallarg(unsigned) dev;
564};
565check_syscall_args(linux_sys_mknod)
566#ifdef EXEC_AOUT
567
568struct linux_sys_uselib_args {
569 syscallarg(const char *) path;
570};
571check_syscall_args(linux_sys_uselib)
572#else
573#endif
574
575struct linux_sys_personality_args {
576 syscallarg(unsigned long) per;
577};
578check_syscall_args(linux_sys_personality)
579
580struct linux_sys_statfs_args {
581 syscallarg(const char *) path;
582 syscallarg(struct linux_statfs *) sp;
583};
584check_syscall_args(linux_sys_statfs)
585
586struct linux_sys_fstatfs_args {
587 syscallarg(int) fd;
588 syscallarg(struct linux_statfs *) sp;
589};
590check_syscall_args(linux_sys_fstatfs)
591
592struct linux_sys_getpriority_args {
593 syscallarg(int) which;
594 syscallarg(int) who;
595};
596check_syscall_args(linux_sys_getpriority)
597
598struct sys_setpriority_args;
599
600struct linux_sys_sched_setparam_args {
601 syscallarg(pid_t) pid;
602 syscallarg(const struct linux_sched_param *) sp;
603};
604check_syscall_args(linux_sys_sched_setparam)
605
606struct linux_sys_sched_getparam_args {
607 syscallarg(pid_t) pid;
608 syscallarg(struct linux_sched_param *) sp;
609};
610check_syscall_args(linux_sys_sched_getparam)
611
612struct linux_sys_sched_setscheduler_args {
613 syscallarg(pid_t) pid;
614 syscallarg(int) policy;
615 syscallarg(const struct linux_sched_param *) sp;
616};
617check_syscall_args(linux_sys_sched_setscheduler)
618
619struct linux_sys_sched_getscheduler_args {
620 syscallarg(pid_t) pid;
621};
622check_syscall_args(linux_sys_sched_getscheduler)
623
624struct linux_sys_sched_get_priority_max_args {
625 syscallarg(int) policy;
626};
627check_syscall_args(linux_sys_sched_get_priority_max)
628
629struct linux_sys_sched_get_priority_min_args {
630 syscallarg(int) policy;
631};
632check_syscall_args(linux_sys_sched_get_priority_min)
633
634struct sys_mlock_args;
635
636struct sys_munlock_args;
637
638struct sys_mlockall_args;
639
640struct linux_sys_modify_ldt_args {
641 syscallarg(int) func;
642 syscallarg(void *) ptr;
643 syscallarg(size_t) bytecount;
644};
645check_syscall_args(linux_sys_modify_ldt)
646
647struct linux_sys___sysctl_args {
648 syscallarg(struct linux___sysctl *) lsp;
649};
650check_syscall_args(linux_sys___sysctl)
651
652struct linux_sys_arch_prctl_args {
653 syscallarg(int) code;
654 syscallarg(unsigned long) addr;
655};
656check_syscall_args(linux_sys_arch_prctl)
657
658struct linux_sys_setrlimit_args {
659 syscallarg(u_int) which;
660 syscallarg(struct rlimit *) rlp;
661};
662check_syscall_args(linux_sys_setrlimit)
663
664struct sys_chroot_args;
665
666struct sys_acct_args;
667
668struct linux_sys_settimeofday_args {
669 syscallarg(struct timeval50 *) tp;
670 syscallarg(struct timezone *) tzp;
671};
672check_syscall_args(linux_sys_settimeofday)
673
674struct linux_sys_swapon_args {
675 syscallarg(char *) name;
676};
677check_syscall_args(linux_sys_swapon)
678
679struct linux_sys_swapoff_args {
680 syscallarg(const char *) path;
681};
682check_syscall_args(linux_sys_swapoff)
683
684struct linux_sys_reboot_args {
685 syscallarg(int) magic1;
686 syscallarg(int) magic2;
687 syscallarg(int) cmd;
688 syscallarg(void *) arg;
689};
690check_syscall_args(linux_sys_reboot)
691
692struct compat_43_sys_sethostname_args;
693
694struct linux_sys_setdomainname_args {
695 syscallarg(char *) domainname;
696 syscallarg(int) len;
697};
698check_syscall_args(linux_sys_setdomainname)
699
700struct linux_sys_iopl_args {
701 syscallarg(int) level;
702};
703check_syscall_args(linux_sys_iopl)
704
705struct linux_sys_ioperm_args {
706 syscallarg(unsigned int) lo;
707 syscallarg(unsigned int) hi;
708 syscallarg(int) val;
709};
710check_syscall_args(linux_sys_ioperm)
711
712struct linux_sys_setxattr_args {
713 syscallarg(char *) path;
714 syscallarg(char *) name;
715 syscallarg(void *) value;
716 syscallarg(size_t) size;
717 syscallarg(int) flags;
718};
719check_syscall_args(linux_sys_setxattr)
720
721struct linux_sys_lsetxattr_args {
722 syscallarg(char *) path;
723 syscallarg(char *) name;
724 syscallarg(void *) value;
725 syscallarg(size_t) size;
726 syscallarg(int) flags;
727};
728check_syscall_args(linux_sys_lsetxattr)
729
730struct linux_sys_fsetxattr_args {
731 syscallarg(int) fd;
732 syscallarg(char *) name;
733 syscallarg(void *) value;
734 syscallarg(size_t) size;
735 syscallarg(int) flags;
736};
737check_syscall_args(linux_sys_fsetxattr)
738
739struct linux_sys_getxattr_args {
740 syscallarg(char *) path;
741 syscallarg(char *) name;
742 syscallarg(void *) value;
743 syscallarg(size_t) size;
744};
745check_syscall_args(linux_sys_getxattr)
746
747struct linux_sys_lgetxattr_args {
748 syscallarg(char *) path;
749 syscallarg(char *) name;
750 syscallarg(void *) value;
751 syscallarg(size_t) size;
752};
753check_syscall_args(linux_sys_lgetxattr)
754
755struct linux_sys_fgetxattr_args {
756 syscallarg(int) fd;
757 syscallarg(char *) name;
758 syscallarg(void *) value;
759 syscallarg(size_t) size;
760};
761check_syscall_args(linux_sys_fgetxattr)
762
763struct linux_sys_listxattr_args {
764 syscallarg(char *) path;
765 syscallarg(char *) list;
766 syscallarg(size_t) size;
767};
768check_syscall_args(linux_sys_listxattr)
769
770struct linux_sys_llistxattr_args {
771 syscallarg(char *) path;
772 syscallarg(char *) list;
773 syscallarg(size_t) size;
774};
775check_syscall_args(linux_sys_llistxattr)
776
777struct linux_sys_flistxattr_args {
778 syscallarg(int) fd;
779 syscallarg(char *) list;
780 syscallarg(size_t) size;
781};
782check_syscall_args(linux_sys_flistxattr)
783
784struct linux_sys_removexattr_args {
785 syscallarg(char *) path;
786 syscallarg(char *) name;
787};
788check_syscall_args(linux_sys_removexattr)
789
790struct linux_sys_lremovexattr_args {
791 syscallarg(char *) path;
792 syscallarg(char *) name;
793};
794check_syscall_args(linux_sys_lremovexattr)
795
796struct linux_sys_fremovexattr_args {
797 syscallarg(int) fd;
798 syscallarg(char *) name;
799};
800check_syscall_args(linux_sys_fremovexattr)
801
802struct linux_sys_tkill_args {
803 syscallarg(int) tid;
804 syscallarg(int) sig;
805};
806check_syscall_args(linux_sys_tkill)
807
808struct linux_sys_time_args {
809 syscallarg(linux_time_t *) t;
810};
811check_syscall_args(linux_sys_time)
812
813struct linux_sys_futex_args {
814 syscallarg(int *) uaddr;
815 syscallarg(int) op;
816 syscallarg(int) val;
817 syscallarg(const struct linux_timespec *) timeout;
818 syscallarg(int *) uaddr2;
819 syscallarg(int) val3;
820};
821check_syscall_args(linux_sys_futex)
822
823struct linux_sys_sched_setaffinity_args {
824 syscallarg(pid_t) pid;
825 syscallarg(unsigned int) len;
826 syscallarg(unsigned long *) mask;
827};
828check_syscall_args(linux_sys_sched_setaffinity)
829
830struct linux_sys_sched_getaffinity_args {
831 syscallarg(pid_t) pid;
832 syscallarg(unsigned int) len;
833 syscallarg(unsigned long *) mask;
834};
835check_syscall_args(linux_sys_sched_getaffinity)
836
837struct linux_sys_getdents64_args {
838 syscallarg(int) fd;
839 syscallarg(struct linux_dirent64 *) dent;
840 syscallarg(unsigned int) count;
841};
842check_syscall_args(linux_sys_getdents64)
843
844struct linux_sys_set_tid_address_args {
845 syscallarg(int *) tid;
846};
847check_syscall_args(linux_sys_set_tid_address)
848
849struct linux_sys_fadvise64_args {
850 syscallarg(int) fd;
851 syscallarg(off_t) offset;
852 syscallarg(size_t) len;
853 syscallarg(int) advice;
854};
855check_syscall_args(linux_sys_fadvise64)
856
857struct linux_sys_clock_settime_args {
858 syscallarg(clockid_t) which;
859 syscallarg(struct linux_timespec *) tp;
860};
861check_syscall_args(linux_sys_clock_settime)
862
863struct linux_sys_clock_gettime_args {
864 syscallarg(clockid_t) which;
865 syscallarg(struct linux_timespec *) tp;
866};
867check_syscall_args(linux_sys_clock_gettime)
868
869struct linux_sys_clock_getres_args {
870 syscallarg(clockid_t) which;
871 syscallarg(struct linux_timespec *) tp;
872};
873check_syscall_args(linux_sys_clock_getres)
874
875struct linux_sys_clock_nanosleep_args {
876 syscallarg(clockid_t) which;
877 syscallarg(int) flags;
878 syscallarg(struct linux_timespec *) rqtp;
879 syscallarg(struct linux_timespec *) rmtp;
880};
881check_syscall_args(linux_sys_clock_nanosleep)
882
883struct linux_sys_exit_group_args {
884 syscallarg(int) error_code;
885};
886check_syscall_args(linux_sys_exit_group)
887
888struct linux_sys_tgkill_args {
889 syscallarg(int) tgid;
890 syscallarg(int) tid;
891 syscallarg(int) sig;
892};
893check_syscall_args(linux_sys_tgkill)
894
895struct compat_50_sys_utimes_args;
896
897struct linux_sys_openat_args {
898 syscallarg(int) fd;
899 syscallarg(const char *) path;
900 syscallarg(int) flags;
901 syscallarg(linux_umode_t) mode;
902};
903check_syscall_args(linux_sys_openat)
904
905struct sys_mkdirat_args;
906
907struct linux_sys_mknodat_args {
908 syscallarg(int) fd;
909 syscallarg(const char *) path;
910 syscallarg(linux_umode_t) mode;
911 syscallarg(unsigned) dev;
912};
913check_syscall_args(linux_sys_mknodat)
914
915struct linux_sys_fchownat_args {
916 syscallarg(int) fd;
917 syscallarg(const char *) path;
918 syscallarg(uid_t) owner;
919 syscallarg(gid_t) group;
920 syscallarg(int) flag;
921};
922check_syscall_args(linux_sys_fchownat)
923
924struct linux_sys_fstatat64_args {
925 syscallarg(int) fd;
926 syscallarg(const char *) path;
927 syscallarg(struct linux_stat *) sp;
928 syscallarg(int) flag;
929};
930check_syscall_args(linux_sys_fstatat64)
931
932struct linux_sys_unlinkat_args {
933 syscallarg(int) fd;
934 syscallarg(const char *) path;
935 syscallarg(int) flag;
936};
937check_syscall_args(linux_sys_unlinkat)
938
939struct sys_renameat_args;
940
941struct linux_sys_linkat_args {
942 syscallarg(int) fd1;
943 syscallarg(const char *) name1;
944 syscallarg(int) fd2;
945 syscallarg(const char *) name2;
946 syscallarg(int) flags;
947};
948check_syscall_args(linux_sys_linkat)
949
950struct sys_symlinkat_args;
951
952struct sys_readlinkat_args;
953
954struct linux_sys_fchmodat_args {
955 syscallarg(int) fd;
956 syscallarg(const char *) path;
957 syscallarg(linux_umode_t) mode;
958};
959check_syscall_args(linux_sys_fchmodat)
960
961struct linux_sys_faccessat_args {
962 syscallarg(int) fd;
963 syscallarg(const char *) path;
964 syscallarg(int) amode;
965};
966check_syscall_args(linux_sys_faccessat)
967
968struct linux_sys_ppoll_args {
969 syscallarg(struct pollfd *) fds;
970 syscallarg(u_int) nfds;
971 syscallarg(struct linux_timespec *) timeout;
972 syscallarg(linux_sigset_t *) sigset;
973};
974check_syscall_args(linux_sys_ppoll)
975
976struct linux_sys_set_robust_list_args {
977 syscallarg(struct linux_robust_list_head *) head;
978 syscallarg(size_t) len;
979};
980check_syscall_args(linux_sys_set_robust_list)
981
982struct linux_sys_get_robust_list_args {
983 syscallarg(int) pid;
984 syscallarg(struct linux_robust_list_head **) head;
985 syscallarg(size_t *) len;
986};
987check_syscall_args(linux_sys_get_robust_list)
988
989struct linux_sys_utimensat_args {
990 syscallarg(int) fd;
991 syscallarg(const char *) path;
992 syscallarg(struct linux_timespec *) times;
993 syscallarg(int) flag;
994};
995check_syscall_args(linux_sys_utimensat)
996
997struct linux_sys_dup3_args {
998 syscallarg(int) from;
999 syscallarg(int) to;
1000 syscallarg(int) flags;
1001};
1002check_syscall_args(linux_sys_dup3)
1003
1004struct linux_sys_pipe2_args {
1005 syscallarg(int *) pfds;
1006 syscallarg(int) flags;
1007};
1008check_syscall_args(linux_sys_pipe2)
1009
1010/*
1011 * System call prototypes.
1012 */
1013
1014int sys_read(struct lwp *, const struct sys_read_args *, register_t *);
1015
1016int sys_write(struct lwp *, const struct sys_write_args *, register_t *);
1017
1018int linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *);
1019
1020int sys_close(struct lwp *, const struct sys_close_args *, register_t *);
1021
1022int linux_sys_stat64(struct lwp *, const struct linux_sys_stat64_args *, register_t *);
1023
1024int linux_sys_fstat64(struct lwp *, const struct linux_sys_fstat64_args *, register_t *);
1025
1026int linux_sys_lstat64(struct lwp *, const struct linux_sys_lstat64_args *, register_t *);
1027
1028int sys_poll(struct lwp *, const struct sys_poll_args *, register_t *);
1029
1030int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *);
1031
1032int linux_sys_mmap(struct lwp *, const struct linux_sys_mmap_args *, register_t *);
1033
1034int linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, register_t *);
1035
1036int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *);
1037
1038int linux_sys_brk(struct lwp *, const struct linux_sys_brk_args *, register_t *);
1039
1040int linux_sys_rt_sigaction(struct lwp *, const struct linux_sys_rt_sigaction_args *, register_t *);
1041
1042int linux_sys_rt_sigprocmask(struct lwp *, const struct linux_sys_rt_sigprocmask_args *, register_t *);
1043
1044int linux_sys_rt_sigreturn(struct lwp *, const void *, register_t *);
1045
1046int linux_sys_ioctl(struct lwp *, const struct linux_sys_ioctl_args *, register_t *);
1047
1048int linux_sys_pread(struct lwp *, const struct linux_sys_pread_args *, register_t *);
1049
1050int linux_sys_pwrite(struct lwp *, const struct linux_sys_pwrite_args *, register_t *);
1051
1052int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
1053
1054int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
1055
1056int sys_access(struct lwp *, const struct sys_access_args *, register_t *);
1057
1058int linux_sys_pipe(struct lwp *, const struct linux_sys_pipe_args *, register_t *);
1059
1060int linux_sys_select(struct lwp *, const struct linux_sys_select_args *, register_t *);
1061
1062int linux_sys_sched_yield(struct lwp *, const void *, register_t *);
1063
1064int linux_sys_mremap(struct lwp *, const struct linux_sys_mremap_args *, register_t *);
1065
1066int sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *);
1067
1068int sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *);
1069
1070int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *);
1071
1072#ifdef SYSVSHM
1073int linux_sys_shmget(struct lwp *, const struct linux_sys_shmget_args *, register_t *);
1074
1075int sys_shmat(struct lwp *, const struct sys_shmat_args *, register_t *);
1076
1077int linux_sys_shmctl(struct lwp *, const struct linux_sys_shmctl_args *, register_t *);
1078
1079#else
1080#endif
1081int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *);
1082
1083int sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *);
1084
1085int linux_sys_pause(struct lwp *, const void *, register_t *);
1086
1087int linux_sys_nanosleep(struct lwp *, const struct linux_sys_nanosleep_args *, register_t *);
1088
1089int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
1090
1091int linux_sys_alarm(struct lwp *, const struct linux_sys_alarm_args *, register_t *);
1092
1093int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
1094
1095int sys_getpid(struct lwp *, const void *, register_t *);
1096
1097int linux_sys_socket(struct lwp *, const struct linux_sys_socket_args *, register_t *);
1098
1099int linux_sys_connect(struct lwp *, const struct linux_sys_connect_args *, register_t *);
1100
1101int linux_sys_accept(struct lwp *, const struct linux_sys_accept_args *, register_t *);
1102
1103int linux_sys_sendto(struct lwp *, const struct linux_sys_sendto_args *, register_t *);
1104
1105int linux_sys_recvfrom(struct lwp *, const struct linux_sys_recvfrom_args *, register_t *);
1106
1107int linux_sys_sendmsg(struct lwp *, const struct linux_sys_sendmsg_args *, register_t *);
1108
1109int linux_sys_recvmsg(struct lwp *, const struct linux_sys_recvmsg_args *, register_t *);
1110
1111int sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *);
1112
1113int linux_sys_bind(struct lwp *, const struct linux_sys_bind_args *, register_t *);
1114
1115int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
1116
1117int linux_sys_getsockname(struct lwp *, const struct linux_sys_getsockname_args *, register_t *);
1118
1119int linux_sys_getpeername(struct lwp *, const struct linux_sys_getpeername_args *, register_t *);
1120
1121int linux_sys_socketpair(struct lwp *, const struct linux_sys_socketpair_args *, register_t *);
1122
1123int linux_sys_setsockopt(struct lwp *, const struct linux_sys_setsockopt_args *, register_t *);
1124
1125int linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *);
1126
1127int linux_sys_clone(struct lwp *, const struct linux_sys_clone_args *, register_t *);
1128
1129int sys_fork(struct lwp *, const void *, register_t *);
1130
1131int sys___vfork14(struct lwp *, const void *, register_t *);
1132
1133int sys_execve(struct lwp *, const struct sys_execve_args *, register_t *);
1134
1135int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *);
1136
1137int linux_sys_wait4(struct lwp *, const struct linux_sys_wait4_args *, register_t *);
1138
1139int linux_sys_kill(struct lwp *, const struct linux_sys_kill_args *, register_t *);
1140
1141int linux_sys_uname(struct lwp *, const struct linux_sys_uname_args *, register_t *);
1142
1143#ifdef SYSVSEM
1144int sys_semget(struct lwp *, const struct sys_semget_args *, register_t *);
1145
1146int sys_semop(struct lwp *, const struct sys_semop_args *, register_t *);
1147
1148int linux_sys_semctl(struct lwp *, const struct linux_sys_semctl_args *, register_t *);
1149
1150#else
1151#endif
1152#ifdef SYSVSHM
1153int sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *);
1154
1155#else
1156#endif
1157#ifdef SYSVMSG
1158int sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *);
1159
1160int sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *);
1161
1162int sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *);
1163
1164int linux_sys_msgctl(struct lwp *, const struct linux_sys_msgctl_args *, register_t *);
1165
1166#else
1167#endif
1168int linux_sys_fcntl(struct lwp *, const struct linux_sys_fcntl_args *, register_t *);
1169
1170int sys_flock(struct lwp *, const struct sys_flock_args *, register_t *);
1171
1172int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *);
1173
1174int linux_sys_fdatasync(struct lwp *, const struct linux_sys_fdatasync_args *, register_t *);
1175
1176int linux_sys_truncate64(struct lwp *, const struct linux_sys_truncate64_args *, register_t *);
1177
1178int linux_sys_ftruncate64(struct lwp *, const struct linux_sys_ftruncate64_args *, register_t *);
1179
1180int linux_sys_getdents(struct lwp *, const struct linux_sys_getdents_args *, register_t *);
1181
1182int sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
1183
1184int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *);
1185
1186int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *);
1187
1188int sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *);
1189
1190int sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
1191
1192int sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
1193
1194int linux_sys_creat(struct lwp *, const struct linux_sys_creat_args *, register_t *);
1195
1196int sys_link(struct lwp *, const struct sys_link_args *, register_t *);
1197
1198int linux_sys_unlink(struct lwp *, const struct linux_sys_unlink_args *, register_t *);
1199
1200int sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *);
1201
1202int sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *);
1203
1204int sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *);
1205
1206int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *);
1207
1208int sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *);
1209
1210int sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
1211
1212int sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *);
1213
1214int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *);
1215
1216int linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *);
1217
1218int linux_sys_getrlimit(struct lwp *, const struct linux_sys_getrlimit_args *, register_t *);
1219
1220int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *);
1221
1222int linux_sys_sysinfo(struct lwp *, const struct linux_sys_sysinfo_args *, register_t *);
1223
1224int linux_sys_times(struct lwp *, const struct linux_sys_times_args *, register_t *);
1225
1226int linux_sys_ptrace(struct lwp *, const struct linux_sys_ptrace_args *, register_t *);
1227
1228int sys_getuid(struct lwp *, const void *, register_t *);
1229
1230int sys_getgid(struct lwp *, const void *, register_t *);
1231
1232int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *);
1233
1234int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *);
1235
1236int sys_geteuid(struct lwp *, const void *, register_t *);
1237
1238int sys_getegid(struct lwp *, const void *, register_t *);
1239
1240int sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *);
1241
1242int sys_getppid(struct lwp *, const void *, register_t *);
1243
1244int sys_getpgrp(struct lwp *, const void *, register_t *);
1245
1246int sys_setsid(struct lwp *, const void *, register_t *);
1247
1248int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
1249
1250int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
1251
1252int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *);
1253
1254int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *);
1255
1256int linux_sys_setresuid(struct lwp *, const struct linux_sys_setresuid_args *, register_t *);
1257
1258int linux_sys_getresuid(struct lwp *, const struct linux_sys_getresuid_args *, register_t *);
1259
1260int linux_sys_setresgid(struct lwp *, const struct linux_sys_setresgid_args *, register_t *);
1261
1262int linux_sys_getresgid(struct lwp *, const struct linux_sys_getresgid_args *, register_t *);
1263
1264int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *);
1265
1266int linux_sys_setfsuid(struct lwp *, const struct linux_sys_setfsuid_args *, register_t *);
1267
1268int linux_sys_setfsgid(struct lwp *, const struct linux_sys_setfsgid_args *, register_t *);
1269
1270int sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *);
1271
1272int linux_sys_rt_sigpending(struct lwp *, const struct linux_sys_rt_sigpending_args *, register_t *);
1273
1274int linux_sys_rt_sigtimedwait(struct lwp *, const struct linux_sys_rt_sigtimedwait_args *, register_t *);
1275
1276int linux_sys_rt_queueinfo(struct lwp *, const struct linux_sys_rt_queueinfo_args *, register_t *);
1277
1278int linux_sys_rt_sigsuspend(struct lwp *, const struct linux_sys_rt_sigsuspend_args *, register_t *);
1279
1280int linux_sys_sigaltstack(struct lwp *, const struct linux_sys_sigaltstack_args *, register_t *);
1281
1282int linux_sys_utime(struct lwp *, const struct linux_sys_utime_args *, register_t *);
1283
1284int linux_sys_mknod(struct lwp *, const struct linux_sys_mknod_args *, register_t *);
1285
1286#ifdef EXEC_AOUT
1287int linux_sys_uselib(struct lwp *, const struct linux_sys_uselib_args *, register_t *);
1288
1289#else
1290#endif
1291int linux_sys_personality(struct lwp *, const struct linux_sys_personality_args *, register_t *);
1292
1293int linux_sys_statfs(struct lwp *, const struct linux_sys_statfs_args *, register_t *);
1294
1295int linux_sys_fstatfs(struct lwp *, const struct linux_sys_fstatfs_args *, register_t *);
1296
1297int linux_sys_getpriority(struct lwp *, const struct linux_sys_getpriority_args *, register_t *);
1298
1299int sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *);
1300
1301int linux_sys_sched_setparam(struct lwp *, const struct linux_sys_sched_setparam_args *, register_t *);
1302
1303int linux_sys_sched_getparam(struct lwp *, const struct linux_sys_sched_getparam_args *, register_t *);
1304
1305int linux_sys_sched_setscheduler(struct lwp *, const struct linux_sys_sched_setscheduler_args *, register_t *);
1306
1307int linux_sys_sched_getscheduler(struct lwp *, const struct linux_sys_sched_getscheduler_args *, register_t *);
1308
1309int linux_sys_sched_get_priority_max(struct lwp *, const struct linux_sys_sched_get_priority_max_args *, register_t *);
1310
1311int linux_sys_sched_get_priority_min(struct lwp *, const struct linux_sys_sched_get_priority_min_args *, register_t *);
1312
1313int sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *);
1314
1315int sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *);
1316
1317int sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *);
1318
1319int sys_munlockall(struct lwp *, const void *, register_t *);
1320
1321int linux_sys_modify_ldt(struct lwp *, const struct linux_sys_modify_ldt_args *, register_t *);
1322
1323int linux_sys___sysctl(struct lwp *, const struct linux_sys___sysctl_args *, register_t *);
1324
1325int linux_sys_arch_prctl(struct lwp *, const struct linux_sys_arch_prctl_args *, register_t *);
1326
1327int linux_sys_setrlimit(struct lwp *, const struct linux_sys_setrlimit_args *, register_t *);
1328
1329int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *);
1330
1331int sys_sync(struct lwp *, const void *, register_t *);
1332
1333int sys_acct(struct lwp *, const struct sys_acct_args *, register_t *);
1334
1335int linux_sys_settimeofday(struct lwp *, const struct linux_sys_settimeofday_args *, register_t *);
1336
1337int linux_sys_swapon(struct lwp *, const struct linux_sys_swapon_args *, register_t *);
1338
1339int linux_sys_swapoff(struct lwp *, const struct linux_sys_swapoff_args *, register_t *);
1340
1341int linux_sys_reboot(struct lwp *, const struct linux_sys_reboot_args *, register_t *);
1342
1343int compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *);
1344
1345int linux_sys_setdomainname(struct lwp *, const struct linux_sys_setdomainname_args *, register_t *);
1346
1347int linux_sys_iopl(struct lwp *, const struct linux_sys_iopl_args *, register_t *);
1348
1349int linux_sys_ioperm(struct lwp *, const struct linux_sys_ioperm_args *, register_t *);
1350
1351int linux_sys_gettid(struct lwp *, const void *, register_t *);
1352
1353int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *);
1354
1355int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *);
1356
1357int linux_sys_fsetxattr(struct lwp *, const struct linux_sys_fsetxattr_args *, register_t *);
1358
1359int linux_sys_getxattr(struct lwp *, const struct linux_sys_getxattr_args *, register_t *);
1360
1361int linux_sys_lgetxattr(struct lwp *, const struct linux_sys_lgetxattr_args *, register_t *);
1362
1363int linux_sys_fgetxattr(struct lwp *, const struct linux_sys_fgetxattr_args *, register_t *);
1364
1365int linux_sys_listxattr(struct lwp *, const struct linux_sys_listxattr_args *, register_t *);
1366
1367int linux_sys_llistxattr(struct lwp *, const struct linux_sys_llistxattr_args *, register_t *);
1368
1369int linux_sys_flistxattr(struct lwp *, const struct linux_sys_flistxattr_args *, register_t *);
1370
1371int linux_sys_removexattr(struct lwp *, const struct linux_sys_removexattr_args *, register_t *);
1372
1373int linux_sys_lremovexattr(struct lwp *, const struct linux_sys_lremovexattr_args *, register_t *);
1374
1375int linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *);
1376
1377int linux_sys_tkill(struct lwp *, const struct linux_sys_tkill_args *, register_t *);
1378
1379int linux_sys_time(struct lwp *, const struct linux_sys_time_args *, register_t *);
1380
1381int linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *);
1382
1383int linux_sys_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *);
1384
1385int linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *);
1386
1387int linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *);
1388
1389int linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *);
1390
1391int linux_sys_fadvise64(struct lwp *, const struct linux_sys_fadvise64_args *, register_t *);
1392
1393int linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *);
1394
1395int linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *);
1396
1397int linux_sys_clock_getres(struct lwp *, const struct linux_sys_clock_getres_args *, register_t *);
1398
1399int linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_args *, register_t *);
1400
1401int linux_sys_exit_group(struct lwp *, const struct linux_sys_exit_group_args *, register_t *);
1402
1403int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *);
1404
1405int compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *);
1406
1407int linux_sys_openat(struct lwp *, const struct linux_sys_openat_args *, register_t *);
1408
1409int sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *);
1410
1411int linux_sys_mknodat(struct lwp *, const struct linux_sys_mknodat_args *, register_t *);
1412
1413int linux_sys_fchownat(struct lwp *, const struct linux_sys_fchownat_args *, register_t *);
1414
1415int linux_sys_fstatat64(struct lwp *, const struct linux_sys_fstatat64_args *, register_t *);
1416
1417int linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *);
1418
1419int sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *);
1420
1421int linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *);
1422
1423int sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *);
1424
1425int sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *);
1426
1427int linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, register_t *);
1428
1429int linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *);
1430
1431int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
1432
1433int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
1434
1435int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
1436
1437int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
1438
1439int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
1440
1441int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
1442
1443int linux_sys_nosys(struct lwp *, const void *, register_t *);
1444
1445#endif /* _LINUX_SYS_SYSCALLARGS_H_ */
1446