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