Home | History | Annotate | Line # | Download | only in amd64
linux_syscallargs.h revision 1.2
      1 /* $NetBSD: linux_syscallargs.h,v 1.2 2005/05/16 16:03:58 fvdl 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.2 2005/05/16 16:02:20 fvdl Exp
      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_stat64_args {
     37 	syscallarg(const char *) path;
     38 	syscallarg(struct linux_stat *) sp;
     39 };
     40 
     41 struct linux_sys_fstat64_args {
     42 	syscallarg(int) fd;
     43 	syscallarg(struct linux_stat *) sp;
     44 };
     45 
     46 struct linux_sys_lstat64_args {
     47 	syscallarg(const char *) path;
     48 	syscallarg(struct linux_stat *) sp;
     49 };
     50 
     51 struct linux_sys_mprotect_args {
     52 	syscallarg(const void *) start;
     53 	syscallarg(unsigned long) len;
     54 	syscallarg(int) prot;
     55 };
     56 
     57 struct linux_sys_brk_args {
     58 	syscallarg(char *) nsize;
     59 };
     60 
     61 struct linux_sys_rt_sigaction_args {
     62 	syscallarg(int) signum;
     63 	syscallarg(const struct linux_sigaction *) nsa;
     64 	syscallarg(struct linux_sigaction *) osa;
     65 	syscallarg(size_t) sigsetsize;
     66 };
     67 
     68 struct linux_sys_rt_sigprocmask_args {
     69 	syscallarg(int) how;
     70 	syscallarg(const linux_sigset_t *) set;
     71 	syscallarg(linux_sigset_t *) oset;
     72 	syscallarg(size_t) sigsetsize;
     73 };
     74 
     75 struct linux_sys_rt_sigreturn_args {
     76 	syscallarg(struct linux_ucontext *) ucp;
     77 };
     78 
     79 struct linux_sys_ioctl_args {
     80 	syscallarg(int) fd;
     81 	syscallarg(u_long) com;
     82 	syscallarg(caddr_t) data;
     83 };
     84 
     85 struct linux_sys_pread_args {
     86 	syscallarg(int) fd;
     87 	syscallarg(char *) buf;
     88 	syscallarg(size_t) nbyte;
     89 	syscallarg(linux_off_t) offset;
     90 };
     91 
     92 struct linux_sys_pwrite_args {
     93 	syscallarg(int) fd;
     94 	syscallarg(char *) buf;
     95 	syscallarg(size_t) nbyte;
     96 	syscallarg(linux_off_t) offset;
     97 };
     98 
     99 struct linux_sys_access_args {
    100 	syscallarg(const char *) path;
    101 	syscallarg(int) flags;
    102 };
    103 
    104 struct linux_sys_pipe_args {
    105 	syscallarg(int *) pfds;
    106 };
    107 
    108 struct linux_sys_select_args {
    109 	syscallarg(int) nfds;
    110 	syscallarg(fd_set *) readfds;
    111 	syscallarg(fd_set *) writefds;
    112 	syscallarg(fd_set *) exceptfds;
    113 	syscallarg(struct timeval *) timeout;
    114 };
    115 
    116 struct linux_sys_mremap_args {
    117 	syscallarg(void *) old_address;
    118 	syscallarg(size_t) old_size;
    119 	syscallarg(size_t) new_size;
    120 	syscallarg(u_long) flags;
    121 };
    122 
    123 struct linux_sys_msync_args {
    124 	syscallarg(caddr_t) addr;
    125 	syscallarg(int) len;
    126 	syscallarg(int) fl;
    127 };
    128 
    129 struct linux_sys_alarm_args {
    130 	syscallarg(unsigned int) secs;
    131 };
    132 
    133 struct linux_sys_socket_args {
    134 	syscallarg(int) domain;
    135 	syscallarg(int) type;
    136 	syscallarg(int) protocol;
    137 };
    138 
    139 struct linux_sys_connect_args {
    140 	syscallarg(int) s;
    141 	syscallarg(const struct osockaddr *) name;
    142 	syscallarg(unsigned int) namelen;
    143 };
    144 
    145 struct linux_sys_accept_args {
    146 	syscallarg(int) s;
    147 	syscallarg(struct osockaddr *) name;
    148 	syscallarg(int *) anamelen;
    149 };
    150 
    151 struct linux_sys_sendto_args {
    152 	syscallarg(int) s;
    153 	syscallarg(void *) msg;
    154 	syscallarg(int) len;
    155 	syscallarg(int) flags;
    156 	syscallarg(struct osockaddr *) to;
    157 	syscallarg(int) tolen;
    158 };
    159 
    160 struct linux_sys_recvfrom_args {
    161 	syscallarg(int) s;
    162 	syscallarg(void *) buf;
    163 	syscallarg(size_t) len;
    164 	syscallarg(int) flags;
    165 	syscallarg(struct osockaddr *) from;
    166 	syscallarg(unsigned int *) fromlenaddr;
    167 };
    168 
    169 struct linux_sys_sendmsg_args {
    170 	syscallarg(int) s;
    171 	syscallarg(const struct msghdr *) msg;
    172 	syscallarg(int) flags;
    173 };
    174 
    175 struct linux_sys_recvmsg_args {
    176 	syscallarg(int) s;
    177 	syscallarg(struct msghdr *) msg;
    178 	syscallarg(int) flags;
    179 };
    180 
    181 struct linux_sys_bind_args {
    182 	syscallarg(int) s;
    183 	syscallarg(const struct osockaddr *) name;
    184 	syscallarg(unsigned int) namelen;
    185 };
    186 
    187 struct linux_sys_getsockname_args {
    188 	syscallarg(int) fdec;
    189 	syscallarg(caddr_t) asa;
    190 	syscallarg(int *) alen;
    191 };
    192 
    193 struct linux_sys_getpeername_args {
    194 	syscallarg(int) fdes;
    195 	syscallarg(struct sockaddr *) asa;
    196 	syscallarg(unsigned int *) alen;
    197 };
    198 
    199 struct linux_sys_socketpair_args {
    200 	syscallarg(int) domain;
    201 	syscallarg(int) type;
    202 	syscallarg(int) protocol;
    203 	syscallarg(int *) rsv;
    204 };
    205 
    206 struct linux_sys_setsockopt_args {
    207 	syscallarg(int) s;
    208 	syscallarg(int) level;
    209 	syscallarg(int) optname;
    210 	syscallarg(void *) optval;
    211 	syscallarg(int) optlen;
    212 };
    213 
    214 struct linux_sys_getsockopt_args {
    215 	syscallarg(int) s;
    216 	syscallarg(int) level;
    217 	syscallarg(int) optname;
    218 	syscallarg(void *) optval;
    219 	syscallarg(int *) optlen;
    220 };
    221 
    222 struct linux_sys_clone_args {
    223 	syscallarg(int) flags;
    224 	syscallarg(void *) stack;
    225 };
    226 
    227 struct linux_sys_execve_args {
    228 	syscallarg(const char *) path;
    229 	syscallarg(char **) argp;
    230 	syscallarg(char **) envp;
    231 };
    232 
    233 struct linux_sys_wait4_args {
    234 	syscallarg(int) pid;
    235 	syscallarg(int *) status;
    236 	syscallarg(int) options;
    237 	syscallarg(struct rusage *) rusage;
    238 };
    239 
    240 struct linux_sys_kill_args {
    241 	syscallarg(int) pid;
    242 	syscallarg(int) signum;
    243 };
    244 
    245 struct linux_sys_uname_args {
    246 	syscallarg(struct linux_utsname *) up;
    247 };
    248 
    249 struct linux_sys_fcntl_args {
    250 	syscallarg(int) fd;
    251 	syscallarg(int) cmd;
    252 	syscallarg(void *) arg;
    253 };
    254 
    255 struct linux_sys_fdatasync_args {
    256 	syscallarg(int) fd;
    257 };
    258 
    259 struct linux_sys_truncate64_args {
    260 	syscallarg(const char *) path;
    261 	syscallarg(off_t) length;
    262 };
    263 
    264 struct linux_sys_ftruncate64_args {
    265 	syscallarg(unsigned int) fd;
    266 	syscallarg(off_t) length;
    267 };
    268 
    269 struct linux_sys_getdents_args {
    270 	syscallarg(int) fd;
    271 	syscallarg(struct linux_dirent *) dent;
    272 	syscallarg(unsigned int) count;
    273 };
    274 
    275 struct linux_sys_chdir_args {
    276 	syscallarg(const char *) path;
    277 };
    278 
    279 struct linux_sys_rename_args {
    280 	syscallarg(const char *) from;
    281 	syscallarg(const char *) to;
    282 };
    283 
    284 struct linux_sys_mkdir_args {
    285 	syscallarg(const char *) path;
    286 	syscallarg(int) mode;
    287 };
    288 
    289 struct linux_sys_rmdir_args {
    290 	syscallarg(const char *) path;
    291 };
    292 
    293 struct linux_sys_creat_args {
    294 	syscallarg(const char *) path;
    295 	syscallarg(int) mode;
    296 };
    297 
    298 struct linux_sys_link_args {
    299 	syscallarg(const char *) path;
    300 	syscallarg(const char *) link;
    301 };
    302 
    303 struct linux_sys_unlink_args {
    304 	syscallarg(const char *) path;
    305 };
    306 
    307 struct linux_sys_symlink_args {
    308 	syscallarg(const char *) path;
    309 	syscallarg(const char *) to;
    310 };
    311 
    312 struct linux_sys_readlink_args {
    313 	syscallarg(const char *) name;
    314 	syscallarg(char *) buf;
    315 	syscallarg(int) count;
    316 };
    317 
    318 struct linux_sys_chmod_args {
    319 	syscallarg(const char *) path;
    320 	syscallarg(int) mode;
    321 };
    322 
    323 struct linux_sys_chown_args {
    324 	syscallarg(const char *) path;
    325 	syscallarg(uid_t) uid;
    326 	syscallarg(gid_t) gid;
    327 };
    328 
    329 struct linux_sys_lchown_args {
    330 	syscallarg(const char *) path;
    331 	syscallarg(uid_t) uid;
    332 	syscallarg(gid_t) gid;
    333 };
    334 
    335 struct linux_sys_gettimeofday_args {
    336 	syscallarg(struct timeval *) tp;
    337 	syscallarg(struct timezone *) tzp;
    338 };
    339 
    340 struct linux_sys_getrlimit_args {
    341 	syscallarg(int) which;
    342 	syscallarg(struct orlimit *) rlp;
    343 };
    344 
    345 struct linux_sys_sysinfo_args {
    346 	syscallarg(struct linux_sysinfo *) arg;
    347 };
    348 
    349 struct linux_sys_times_args {
    350 	syscallarg(struct times *) tms;
    351 };
    352 
    353 struct linux_sys_ptrace_args {
    354 	syscallarg(long) request;
    355 	syscallarg(long) pid;
    356 	syscallarg(long) addr;
    357 	syscallarg(long) data;
    358 };
    359 
    360 struct linux_sys_setresuid_args {
    361 	syscallarg(uid_t) ruid;
    362 	syscallarg(uid_t) euid;
    363 	syscallarg(uid_t) suid;
    364 };
    365 
    366 struct linux_sys_getresuid_args {
    367 	syscallarg(uid_t *) ruid;
    368 	syscallarg(uid_t *) euid;
    369 	syscallarg(uid_t *) suid;
    370 };
    371 
    372 struct linux_sys_setresgid_args {
    373 	syscallarg(gid_t) rgid;
    374 	syscallarg(gid_t) egid;
    375 	syscallarg(gid_t) sgid;
    376 };
    377 
    378 struct linux_sys_getresgid_args {
    379 	syscallarg(gid_t *) rgid;
    380 	syscallarg(gid_t *) egid;
    381 	syscallarg(gid_t *) sgid;
    382 };
    383 
    384 struct linux_sys_getpgid_args {
    385 	syscallarg(int) pid;
    386 };
    387 
    388 struct linux_sys_setfsuid_args {
    389 	syscallarg(uid_t) uid;
    390 };
    391 
    392 struct linux_sys_rt_sigpending_args {
    393 	syscallarg(linux_sigset_t *) set;
    394 	syscallarg(size_t) sigsetsize;
    395 };
    396 
    397 struct linux_sys_rt_queueinfo_args {
    398 	syscallarg(int) pid;
    399 	syscallarg(int) signum;
    400 	syscallarg(siginfo_t *) uinfo;
    401 };
    402 
    403 struct linux_sys_rt_sigsuspend_args {
    404 	syscallarg(linux_sigset_t *) unewset;
    405 	syscallarg(size_t) sigsetsize;
    406 };
    407 
    408 struct linux_sys_sigaltstack_args {
    409 	syscallarg(const struct linux_sigaltstack *) ss;
    410 	syscallarg(struct linux_sigaltstack *) oss;
    411 };
    412 
    413 struct linux_sys_utime_args {
    414 	syscallarg(const char *) path;
    415 	syscallarg(struct linux_utimbuf *) times;
    416 };
    417 
    418 struct linux_sys_mknod_args {
    419 	syscallarg(const char *) path;
    420 	syscallarg(int) mode;
    421 	syscallarg(int) dev;
    422 };
    423 
    424 struct linux_sys_uselib_args {
    425 	syscallarg(const char *) path;
    426 };
    427 
    428 struct linux_sys_personality_args {
    429 	syscallarg(int) per;
    430 };
    431 
    432 struct linux_sys_statfs64_args {
    433 	syscallarg(const char *) path;
    434 	syscallarg(size_t) sz;
    435 	syscallarg(struct linux_statfs64 *) sp;
    436 };
    437 
    438 struct linux_sys_fstatfs64_args {
    439 	syscallarg(int) fd;
    440 	syscallarg(size_t) sz;
    441 	syscallarg(struct linux_statfs64 *) sp;
    442 };
    443 
    444 struct linux_sys_sched_setparam_args {
    445 	syscallarg(pid_t) pid;
    446 	syscallarg(const struct linux_sched_param *) sp;
    447 };
    448 
    449 struct linux_sys_sched_getparam_args {
    450 	syscallarg(pid_t) pid;
    451 	syscallarg(struct linux_sched_param *) sp;
    452 };
    453 
    454 struct linux_sys_sched_setscheduler_args {
    455 	syscallarg(pid_t) pid;
    456 	syscallarg(int) policy;
    457 	syscallarg(const struct linux_sched_param *) sp;
    458 };
    459 
    460 struct linux_sys_sched_getscheduler_args {
    461 	syscallarg(pid_t) pid;
    462 };
    463 
    464 struct linux_sys_sched_get_priority_max_args {
    465 	syscallarg(int) policy;
    466 };
    467 
    468 struct linux_sys_sched_get_priority_min_args {
    469 	syscallarg(int) policy;
    470 };
    471 
    472 struct linux_sys_modify_ldt_args {
    473 	syscallarg(int) func;
    474 	syscallarg(void *) ptr;
    475 	syscallarg(size_t) bytecount;
    476 };
    477 
    478 struct linux_sys___sysctl_args {
    479 	syscallarg(struct linux___sysctl *) lsp;
    480 };
    481 
    482 struct linux_sys_arch_prctl_args {
    483 	syscallarg(int) code;
    484 	syscallarg(unsigned long) addr;
    485 };
    486 
    487 struct linux_sys_setrlimit_args {
    488 	syscallarg(u_int) which;
    489 	syscallarg(struct orlimit *) rlp;
    490 };
    491 
    492 struct linux_sys_settimeofday_args {
    493 	syscallarg(struct timeval *) tp;
    494 	syscallarg(struct timezone *) tzp;
    495 };
    496 
    497 struct linux_sys_swapon_args {
    498 	syscallarg(char *) name;
    499 };
    500 
    501 struct linux_sys_swapoff_args {
    502 	syscallarg(const char *) path;
    503 };
    504 
    505 struct linux_sys_reboot_args {
    506 	syscallarg(int) magic1;
    507 	syscallarg(int) magic2;
    508 	syscallarg(int) cmd;
    509 	syscallarg(void *) arg;
    510 };
    511 
    512 struct linux_sys_setdomainname_args {
    513 	syscallarg(char *) domainname;
    514 	syscallarg(int) len;
    515 };
    516 
    517 struct linux_sys_iopl_args {
    518 	syscallarg(int) level;
    519 };
    520 
    521 struct linux_sys_ioperm_args {
    522 	syscallarg(unsigned int) lo;
    523 	syscallarg(unsigned int) hi;
    524 	syscallarg(int) val;
    525 };
    526 
    527 struct linux_sys_setxattr_args {
    528 	syscallarg(char *) path;
    529 	syscallarg(char *) name;
    530 	syscallarg(void *) value;
    531 	syscallarg(size_t) size;
    532 	syscallarg(int) flags;
    533 };
    534 
    535 struct linux_sys_lsetxattr_args {
    536 	syscallarg(char *) path;
    537 	syscallarg(char *) name;
    538 	syscallarg(void *) value;
    539 	syscallarg(size_t) size;
    540 	syscallarg(int) flags;
    541 };
    542 
    543 struct linux_sys_fsetxattr_args {
    544 	syscallarg(int) fd;
    545 	syscallarg(char *) name;
    546 	syscallarg(void *) value;
    547 	syscallarg(size_t) size;
    548 	syscallarg(int) flags;
    549 };
    550 
    551 struct linux_sys_getxattr_args {
    552 	syscallarg(char *) path;
    553 	syscallarg(char *) name;
    554 	syscallarg(void *) value;
    555 	syscallarg(size_t) size;
    556 };
    557 
    558 struct linux_sys_lgetxattr_args {
    559 	syscallarg(char *) path;
    560 	syscallarg(char *) name;
    561 	syscallarg(void *) value;
    562 	syscallarg(size_t) size;
    563 };
    564 
    565 struct linux_sys_fgetxattr_args {
    566 	syscallarg(int) fd;
    567 	syscallarg(char *) name;
    568 	syscallarg(void *) value;
    569 	syscallarg(size_t) size;
    570 };
    571 
    572 struct linux_sys_listxattr_args {
    573 	syscallarg(char *) path;
    574 	syscallarg(char *) list;
    575 	syscallarg(size_t) size;
    576 };
    577 
    578 struct linux_sys_llistxattr_args {
    579 	syscallarg(char *) path;
    580 	syscallarg(char *) list;
    581 	syscallarg(size_t) size;
    582 };
    583 
    584 struct linux_sys_flistxattr_args {
    585 	syscallarg(int) fd;
    586 	syscallarg(char *) list;
    587 	syscallarg(size_t) size;
    588 };
    589 
    590 struct linux_sys_removexattr_args {
    591 	syscallarg(char *) path;
    592 	syscallarg(char *) name;
    593 };
    594 
    595 struct linux_sys_lremovexattr_args {
    596 	syscallarg(char *) path;
    597 	syscallarg(char *) name;
    598 };
    599 
    600 struct linux_sys_fremovexattr_args {
    601 	syscallarg(int) fd;
    602 	syscallarg(char *) name;
    603 };
    604 
    605 struct linux_sys_time_args {
    606 	syscallarg(linux_time_t *) t;
    607 };
    608 
    609 struct linux_sys_getdents64_args {
    610 	syscallarg(int) fd;
    611 	syscallarg(struct linux_dirent64 *) dent;
    612 	syscallarg(unsigned int) count;
    613 };
    614 
    615 struct linux_sys_exit_group_args {
    616 	syscallarg(int) error_code;
    617 };
    618 
    619 /*
    620  * System call prototypes.
    621  */
    622 
    623 int	sys_read(struct lwp *, void *, register_t *);
    624 
    625 int	sys_write(struct lwp *, void *, register_t *);
    626 
    627 int	linux_sys_open(struct lwp *, void *, register_t *);
    628 
    629 int	sys_close(struct lwp *, void *, register_t *);
    630 
    631 int	linux_sys_stat64(struct lwp *, void *, register_t *);
    632 
    633 int	linux_sys_fstat64(struct lwp *, void *, register_t *);
    634 
    635 int	linux_sys_lstat64(struct lwp *, void *, register_t *);
    636 
    637 int	sys_poll(struct lwp *, void *, register_t *);
    638 
    639 int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
    640 
    641 int	linux_sys_mmap(struct lwp *, void *, register_t *);
    642 
    643 int	linux_sys_mprotect(struct lwp *, void *, register_t *);
    644 
    645 int	sys_munmap(struct lwp *, void *, register_t *);
    646 
    647 int	linux_sys_brk(struct lwp *, void *, register_t *);
    648 
    649 int	linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
    650 
    651 int	linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
    652 
    653 int	linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
    654 
    655 int	linux_sys_ioctl(struct lwp *, void *, register_t *);
    656 
    657 int	linux_sys_pread(struct lwp *, void *, register_t *);
    658 
    659 int	linux_sys_pwrite(struct lwp *, void *, register_t *);
    660 
    661 int	sys_readv(struct lwp *, void *, register_t *);
    662 
    663 int	sys_writev(struct lwp *, void *, register_t *);
    664 
    665 int	linux_sys_access(struct lwp *, void *, register_t *);
    666 
    667 int	linux_sys_pipe(struct lwp *, void *, register_t *);
    668 
    669 int	linux_sys_select(struct lwp *, void *, register_t *);
    670 
    671 int	linux_sys_sched_yield(struct lwp *, void *, register_t *);
    672 
    673 int	linux_sys_mremap(struct lwp *, void *, register_t *);
    674 
    675 int	linux_sys_msync(struct lwp *, void *, register_t *);
    676 
    677 int	sys_mincore(struct lwp *, void *, register_t *);
    678 
    679 int	sys_madvise(struct lwp *, void *, register_t *);
    680 
    681 int	sys_dup(struct lwp *, void *, register_t *);
    682 
    683 int	sys_dup2(struct lwp *, void *, register_t *);
    684 
    685 int	linux_sys_pause(struct lwp *, void *, register_t *);
    686 
    687 int	sys_nanosleep(struct lwp *, void *, register_t *);
    688 
    689 int	sys_getitimer(struct lwp *, void *, register_t *);
    690 
    691 int	linux_sys_alarm(struct lwp *, void *, register_t *);
    692 
    693 int	sys_setitimer(struct lwp *, void *, register_t *);
    694 
    695 int	sys_getpid(struct lwp *, void *, register_t *);
    696 
    697 int	linux_sys_socket(struct lwp *, void *, register_t *);
    698 
    699 int	linux_sys_connect(struct lwp *, void *, register_t *);
    700 
    701 int	linux_sys_accept(struct lwp *, void *, register_t *);
    702 
    703 int	linux_sys_sendto(struct lwp *, void *, register_t *);
    704 
    705 int	linux_sys_recvfrom(struct lwp *, void *, register_t *);
    706 
    707 int	linux_sys_sendmsg(struct lwp *, void *, register_t *);
    708 
    709 int	linux_sys_recvmsg(struct lwp *, void *, register_t *);
    710 
    711 int	sys_shutdown(struct lwp *, void *, register_t *);
    712 
    713 int	linux_sys_bind(struct lwp *, void *, register_t *);
    714 
    715 int	sys_listen(struct lwp *, void *, register_t *);
    716 
    717 int	linux_sys_getsockname(struct lwp *, void *, register_t *);
    718 
    719 int	linux_sys_getpeername(struct lwp *, void *, register_t *);
    720 
    721 int	linux_sys_socketpair(struct lwp *, void *, register_t *);
    722 
    723 int	linux_sys_setsockopt(struct lwp *, void *, register_t *);
    724 
    725 int	linux_sys_getsockopt(struct lwp *, void *, register_t *);
    726 
    727 int	linux_sys_clone(struct lwp *, void *, register_t *);
    728 
    729 int	sys_fork(struct lwp *, void *, register_t *);
    730 
    731 int	sys___vfork14(struct lwp *, void *, register_t *);
    732 
    733 int	linux_sys_execve(struct lwp *, void *, register_t *);
    734 
    735 int	sys_exit(struct lwp *, void *, register_t *);
    736 
    737 int	linux_sys_wait4(struct lwp *, void *, register_t *);
    738 
    739 int	linux_sys_kill(struct lwp *, void *, register_t *);
    740 
    741 int	linux_sys_uname(struct lwp *, void *, register_t *);
    742 
    743 int	linux_sys_fcntl(struct lwp *, void *, register_t *);
    744 
    745 int	sys_flock(struct lwp *, void *, register_t *);
    746 
    747 int	sys_fsync(struct lwp *, void *, register_t *);
    748 
    749 int	linux_sys_fdatasync(struct lwp *, void *, register_t *);
    750 
    751 int	linux_sys_truncate64(struct lwp *, void *, register_t *);
    752 
    753 int	linux_sys_ftruncate64(struct lwp *, void *, register_t *);
    754 
    755 int	linux_sys_getdents(struct lwp *, void *, register_t *);
    756 
    757 int	sys___getcwd(struct lwp *, void *, register_t *);
    758 
    759 int	linux_sys_chdir(struct lwp *, void *, register_t *);
    760 
    761 int	sys_fchdir(struct lwp *, void *, register_t *);
    762 
    763 int	linux_sys_rename(struct lwp *, void *, register_t *);
    764 
    765 int	linux_sys_mkdir(struct lwp *, void *, register_t *);
    766 
    767 int	linux_sys_rmdir(struct lwp *, void *, register_t *);
    768 
    769 int	linux_sys_creat(struct lwp *, void *, register_t *);
    770 
    771 int	linux_sys_link(struct lwp *, void *, register_t *);
    772 
    773 int	linux_sys_unlink(struct lwp *, void *, register_t *);
    774 
    775 int	linux_sys_symlink(struct lwp *, void *, register_t *);
    776 
    777 int	linux_sys_readlink(struct lwp *, void *, register_t *);
    778 
    779 int	linux_sys_chmod(struct lwp *, void *, register_t *);
    780 
    781 int	sys_fchmod(struct lwp *, void *, register_t *);
    782 
    783 int	linux_sys_chown(struct lwp *, void *, register_t *);
    784 
    785 int	sys___posix_fchown(struct lwp *, void *, register_t *);
    786 
    787 int	linux_sys_lchown(struct lwp *, void *, register_t *);
    788 
    789 int	sys_umask(struct lwp *, void *, register_t *);
    790 
    791 int	linux_sys_gettimeofday(struct lwp *, void *, register_t *);
    792 
    793 int	linux_sys_getrlimit(struct lwp *, void *, register_t *);
    794 
    795 int	sys_getrusage(struct lwp *, void *, register_t *);
    796 
    797 int	linux_sys_sysinfo(struct lwp *, void *, register_t *);
    798 
    799 int	linux_sys_times(struct lwp *, void *, register_t *);
    800 
    801 int	linux_sys_ptrace(struct lwp *, void *, register_t *);
    802 
    803 int	sys_getuid(struct lwp *, void *, register_t *);
    804 
    805 int	sys_getgid(struct lwp *, void *, register_t *);
    806 
    807 int	sys_setuid(struct lwp *, void *, register_t *);
    808 
    809 int	sys_setgid(struct lwp *, void *, register_t *);
    810 
    811 int	sys_geteuid(struct lwp *, void *, register_t *);
    812 
    813 int	sys_getegid(struct lwp *, void *, register_t *);
    814 
    815 int	sys_setpgid(struct lwp *, void *, register_t *);
    816 
    817 int	sys_getppid(struct lwp *, void *, register_t *);
    818 
    819 int	sys_getpgrp(struct lwp *, void *, register_t *);
    820 
    821 int	sys_setsid(struct lwp *, void *, register_t *);
    822 
    823 int	sys_setreuid(struct lwp *, void *, register_t *);
    824 
    825 int	sys_setregid(struct lwp *, void *, register_t *);
    826 
    827 int	sys_getgroups(struct lwp *, void *, register_t *);
    828 
    829 int	sys_setgroups(struct lwp *, void *, register_t *);
    830 
    831 int	linux_sys_setresuid(struct lwp *, void *, register_t *);
    832 
    833 int	linux_sys_getresuid(struct lwp *, void *, register_t *);
    834 
    835 int	linux_sys_setresgid(struct lwp *, void *, register_t *);
    836 
    837 int	linux_sys_getresgid(struct lwp *, void *, register_t *);
    838 
    839 int	linux_sys_getpgid(struct lwp *, void *, register_t *);
    840 
    841 int	linux_sys_setfsuid(struct lwp *, void *, register_t *);
    842 
    843 int	linux_sys_getfsuid(struct lwp *, void *, register_t *);
    844 
    845 int	sys_getsid(struct lwp *, void *, register_t *);
    846 
    847 int	linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
    848 
    849 int	linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
    850 
    851 int	linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
    852 
    853 int	linux_sys_sigaltstack(struct lwp *, void *, register_t *);
    854 
    855 int	linux_sys_utime(struct lwp *, void *, register_t *);
    856 
    857 int	linux_sys_mknod(struct lwp *, void *, register_t *);
    858 
    859 int	linux_sys_uselib(struct lwp *, void *, register_t *);
    860 
    861 int	linux_sys_personality(struct lwp *, void *, register_t *);
    862 
    863 int	linux_sys_statfs64(struct lwp *, void *, register_t *);
    864 
    865 int	linux_sys_fstatfs64(struct lwp *, void *, register_t *);
    866 
    867 int	sys_getpriority(struct lwp *, void *, register_t *);
    868 
    869 int	sys_setpriority(struct lwp *, void *, register_t *);
    870 
    871 int	linux_sys_sched_setparam(struct lwp *, void *, register_t *);
    872 
    873 int	linux_sys_sched_getparam(struct lwp *, void *, register_t *);
    874 
    875 int	linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
    876 
    877 int	linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
    878 
    879 int	linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
    880 
    881 int	linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
    882 
    883 int	sys_mlock(struct lwp *, void *, register_t *);
    884 
    885 int	sys_munlock(struct lwp *, void *, register_t *);
    886 
    887 int	sys_mlockall(struct lwp *, void *, register_t *);
    888 
    889 int	sys_munlockall(struct lwp *, void *, register_t *);
    890 
    891 int	linux_sys_modify_ldt(struct lwp *, void *, register_t *);
    892 
    893 int	linux_sys___sysctl(struct lwp *, void *, register_t *);
    894 
    895 int	linux_sys_arch_prctl(struct lwp *, void *, register_t *);
    896 
    897 int	linux_sys_setrlimit(struct lwp *, void *, register_t *);
    898 
    899 int	sys_chroot(struct lwp *, void *, register_t *);
    900 
    901 int	sys_sync(struct lwp *, void *, register_t *);
    902 
    903 int	sys_acct(struct lwp *, void *, register_t *);
    904 
    905 int	linux_sys_settimeofday(struct lwp *, void *, register_t *);
    906 
    907 int	linux_sys_swapon(struct lwp *, void *, register_t *);
    908 
    909 int	linux_sys_swapoff(struct lwp *, void *, register_t *);
    910 
    911 int	linux_sys_reboot(struct lwp *, void *, register_t *);
    912 
    913 int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
    914 
    915 int	linux_sys_setdomainname(struct lwp *, void *, register_t *);
    916 
    917 int	linux_sys_iopl(struct lwp *, void *, register_t *);
    918 
    919 int	linux_sys_ioperm(struct lwp *, void *, register_t *);
    920 
    921 int	linux_sys_setxattr(struct lwp *, void *, register_t *);
    922 
    923 int	linux_sys_lsetxattr(struct lwp *, void *, register_t *);
    924 
    925 int	linux_sys_fsetxattr(struct lwp *, void *, register_t *);
    926 
    927 int	linux_sys_getxattr(struct lwp *, void *, register_t *);
    928 
    929 int	linux_sys_lgetxattr(struct lwp *, void *, register_t *);
    930 
    931 int	linux_sys_fgetxattr(struct lwp *, void *, register_t *);
    932 
    933 int	linux_sys_listxattr(struct lwp *, void *, register_t *);
    934 
    935 int	linux_sys_llistxattr(struct lwp *, void *, register_t *);
    936 
    937 int	linux_sys_flistxattr(struct lwp *, void *, register_t *);
    938 
    939 int	linux_sys_removexattr(struct lwp *, void *, register_t *);
    940 
    941 int	linux_sys_lremovexattr(struct lwp *, void *, register_t *);
    942 
    943 int	linux_sys_fremovexattr(struct lwp *, void *, register_t *);
    944 
    945 int	linux_sys_time(struct lwp *, void *, register_t *);
    946 
    947 int	linux_sys_getdents64(struct lwp *, void *, register_t *);
    948 
    949 int	linux_sys_exit_group(struct lwp *, void *, register_t *);
    950 
    951 int	linux_sys_nosys(struct lwp *, void *, register_t *);
    952 
    953 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
    954