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