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