Home | History | Annotate | Line # | Download | only in i386
linux_syscallargs.h revision 1.63
      1 /* $NetBSD: linux_syscallargs.h,v 1.63 2006/06/10 21:16:49 christos 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.78 2006/06/10 21:15:33 christos 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_waitpid_args {
     37 	syscallarg(int) pid;
     38 	syscallarg(int *) status;
     39 	syscallarg(int) options;
     40 };
     41 
     42 struct linux_sys_creat_args {
     43 	syscallarg(const char *) path;
     44 	syscallarg(int) mode;
     45 };
     46 
     47 struct linux_sys_link_args {
     48 	syscallarg(const char *) path;
     49 	syscallarg(const char *) link;
     50 };
     51 
     52 struct linux_sys_unlink_args {
     53 	syscallarg(const char *) path;
     54 };
     55 
     56 struct linux_sys_execve_args {
     57 	syscallarg(const char *) path;
     58 	syscallarg(char **) argp;
     59 	syscallarg(char **) envp;
     60 };
     61 
     62 struct linux_sys_chdir_args {
     63 	syscallarg(const char *) path;
     64 };
     65 
     66 struct linux_sys_time_args {
     67 	syscallarg(linux_time_t *) t;
     68 };
     69 
     70 struct linux_sys_mknod_args {
     71 	syscallarg(const char *) path;
     72 	syscallarg(int) mode;
     73 	syscallarg(int) dev;
     74 };
     75 
     76 struct linux_sys_chmod_args {
     77 	syscallarg(const char *) path;
     78 	syscallarg(int) mode;
     79 };
     80 
     81 struct linux_sys_lchown16_args {
     82 	syscallarg(const char *) path;
     83 	syscallarg(int) uid;
     84 	syscallarg(int) gid;
     85 };
     86 
     87 struct linux_sys_break_args {
     88 	syscallarg(char *) nsize;
     89 };
     90 
     91 struct linux_sys_stime_args {
     92 	syscallarg(linux_time_t *) t;
     93 };
     94 
     95 struct linux_sys_ptrace_args {
     96 	syscallarg(int) request;
     97 	syscallarg(int) pid;
     98 	syscallarg(int) addr;
     99 	syscallarg(int) data;
    100 };
    101 
    102 struct linux_sys_alarm_args {
    103 	syscallarg(unsigned int) secs;
    104 };
    105 
    106 struct linux_sys_utime_args {
    107 	syscallarg(const char *) path;
    108 	syscallarg(struct linux_utimbuf *) times;
    109 };
    110 
    111 struct linux_sys_access_args {
    112 	syscallarg(const char *) path;
    113 	syscallarg(int) flags;
    114 };
    115 
    116 struct linux_sys_nice_args {
    117 	syscallarg(int) incr;
    118 };
    119 
    120 struct linux_sys_kill_args {
    121 	syscallarg(int) pid;
    122 	syscallarg(int) signum;
    123 };
    124 
    125 struct linux_sys_rename_args {
    126 	syscallarg(const char *) from;
    127 	syscallarg(const char *) to;
    128 };
    129 
    130 struct linux_sys_mkdir_args {
    131 	syscallarg(const char *) path;
    132 	syscallarg(int) mode;
    133 };
    134 
    135 struct linux_sys_rmdir_args {
    136 	syscallarg(const char *) path;
    137 };
    138 
    139 struct linux_sys_pipe_args {
    140 	syscallarg(int *) pfds;
    141 };
    142 
    143 struct linux_sys_times_args {
    144 	syscallarg(struct times *) tms;
    145 };
    146 
    147 struct linux_sys_brk_args {
    148 	syscallarg(char *) nsize;
    149 };
    150 
    151 struct linux_sys_signal_args {
    152 	syscallarg(int) signum;
    153 	syscallarg(linux_handler_t) handler;
    154 };
    155 
    156 struct linux_sys_ioctl_args {
    157 	syscallarg(int) fd;
    158 	syscallarg(u_long) com;
    159 	syscallarg(caddr_t) data;
    160 };
    161 
    162 struct linux_sys_fcntl_args {
    163 	syscallarg(int) fd;
    164 	syscallarg(int) cmd;
    165 	syscallarg(void *) arg;
    166 };
    167 
    168 struct linux_sys_oldolduname_args {
    169 	syscallarg(struct linux_oldold_utsname *) up;
    170 };
    171 
    172 struct linux_sys_sigaction_args {
    173 	syscallarg(int) signum;
    174 	syscallarg(const struct linux_old_sigaction *) nsa;
    175 	syscallarg(struct linux_old_sigaction *) osa;
    176 };
    177 
    178 struct linux_sys_sigsetmask_args {
    179 	syscallarg(linux_old_sigset_t) mask;
    180 };
    181 
    182 struct linux_sys_setreuid16_args {
    183 	syscallarg(int) ruid;
    184 	syscallarg(int) euid;
    185 };
    186 
    187 struct linux_sys_setregid16_args {
    188 	syscallarg(int) rgid;
    189 	syscallarg(int) egid;
    190 };
    191 
    192 struct linux_sys_sigsuspend_args {
    193 	syscallarg(caddr_t) restart;
    194 	syscallarg(int) oldmask;
    195 	syscallarg(int) mask;
    196 };
    197 
    198 struct linux_sys_sigpending_args {
    199 	syscallarg(linux_old_sigset_t *) set;
    200 };
    201 
    202 struct linux_sys_setrlimit_args {
    203 	syscallarg(u_int) which;
    204 	syscallarg(struct orlimit *) rlp;
    205 };
    206 
    207 struct linux_sys_getrlimit_args {
    208 	syscallarg(u_int) which;
    209 	syscallarg(struct orlimit *) rlp;
    210 };
    211 
    212 struct linux_sys_gettimeofday_args {
    213 	syscallarg(struct timeval *) tp;
    214 	syscallarg(struct timezone *) tzp;
    215 };
    216 
    217 struct linux_sys_settimeofday_args {
    218 	syscallarg(struct timeval *) tp;
    219 	syscallarg(struct timezone *) tzp;
    220 };
    221 
    222 struct linux_sys_getgroups16_args {
    223 	syscallarg(int) gidsetsize;
    224 	syscallarg(linux_gid_t *) gidset;
    225 };
    226 
    227 struct linux_sys_setgroups16_args {
    228 	syscallarg(int) gidsetsize;
    229 	syscallarg(linux_gid_t *) gidset;
    230 };
    231 
    232 struct linux_sys_oldselect_args {
    233 	syscallarg(struct linux_oldselect *) lsp;
    234 };
    235 
    236 struct linux_sys_symlink_args {
    237 	syscallarg(const char *) path;
    238 	syscallarg(const char *) to;
    239 };
    240 
    241 struct linux_sys_readlink_args {
    242 	syscallarg(const char *) name;
    243 	syscallarg(char *) buf;
    244 	syscallarg(int) count;
    245 };
    246 #ifdef EXEC_AOUT
    247 
    248 struct linux_sys_uselib_args {
    249 	syscallarg(const char *) path;
    250 };
    251 #else
    252 #endif
    253 
    254 struct linux_sys_swapon_args {
    255 	syscallarg(char *) name;
    256 };
    257 
    258 struct linux_sys_reboot_args {
    259 	syscallarg(int) magic1;
    260 	syscallarg(int) magic2;
    261 	syscallarg(int) cmd;
    262 	syscallarg(void *) arg;
    263 };
    264 
    265 struct linux_sys_readdir_args {
    266 	syscallarg(int) fd;
    267 	syscallarg(caddr_t) dent;
    268 	syscallarg(unsigned int) count;
    269 };
    270 
    271 struct linux_sys_old_mmap_args {
    272 	syscallarg(struct linux_oldmmap *) lmp;
    273 };
    274 
    275 struct linux_sys_truncate_args {
    276 	syscallarg(const char *) path;
    277 	syscallarg(long) length;
    278 };
    279 
    280 struct linux_sys_fchown16_args {
    281 	syscallarg(int) fd;
    282 	syscallarg(int) uid;
    283 	syscallarg(int) gid;
    284 };
    285 
    286 struct linux_sys_getpriority_args {
    287 	syscallarg(int) which;
    288 	syscallarg(int) who;
    289 };
    290 
    291 struct linux_sys_statfs_args {
    292 	syscallarg(const char *) path;
    293 	syscallarg(struct linux_statfs *) sp;
    294 };
    295 
    296 struct linux_sys_fstatfs_args {
    297 	syscallarg(int) fd;
    298 	syscallarg(struct linux_statfs *) sp;
    299 };
    300 
    301 struct linux_sys_ioperm_args {
    302 	syscallarg(unsigned int) lo;
    303 	syscallarg(unsigned int) hi;
    304 	syscallarg(int) val;
    305 };
    306 
    307 struct linux_sys_socketcall_args {
    308 	syscallarg(int) what;
    309 	syscallarg(void *) args;
    310 };
    311 
    312 struct linux_sys_stat_args {
    313 	syscallarg(const char *) path;
    314 	syscallarg(struct linux_stat *) sp;
    315 };
    316 
    317 struct linux_sys_lstat_args {
    318 	syscallarg(const char *) path;
    319 	syscallarg(struct linux_stat *) sp;
    320 };
    321 
    322 struct linux_sys_fstat_args {
    323 	syscallarg(int) fd;
    324 	syscallarg(struct linux_stat *) sp;
    325 };
    326 
    327 struct linux_sys_olduname_args {
    328 	syscallarg(struct linux_old_utsname *) up;
    329 };
    330 
    331 struct linux_sys_iopl_args {
    332 	syscallarg(int) level;
    333 };
    334 
    335 struct linux_sys_wait4_args {
    336 	syscallarg(int) pid;
    337 	syscallarg(int *) status;
    338 	syscallarg(int) options;
    339 	syscallarg(struct rusage *) rusage;
    340 };
    341 
    342 struct linux_sys_swapoff_args {
    343 	syscallarg(const char *) path;
    344 };
    345 
    346 struct linux_sys_sysinfo_args {
    347 	syscallarg(struct linux_sysinfo *) arg;
    348 };
    349 
    350 struct linux_sys_ipc_args {
    351 	syscallarg(int) what;
    352 	syscallarg(int) a1;
    353 	syscallarg(int) a2;
    354 	syscallarg(int) a3;
    355 	syscallarg(caddr_t) ptr;
    356 };
    357 
    358 struct linux_sys_sigreturn_args {
    359 	syscallarg(struct linux_sigcontext *) scp;
    360 };
    361 
    362 struct linux_sys_clone_args {
    363 	syscallarg(int) flags;
    364 	syscallarg(void *) stack;
    365 };
    366 
    367 struct linux_sys_setdomainname_args {
    368 	syscallarg(char *) domainname;
    369 	syscallarg(int) len;
    370 };
    371 
    372 struct linux_sys_uname_args {
    373 	syscallarg(struct linux_utsname *) up;
    374 };
    375 
    376 struct linux_sys_modify_ldt_args {
    377 	syscallarg(int) func;
    378 	syscallarg(void *) ptr;
    379 	syscallarg(size_t) bytecount;
    380 };
    381 
    382 struct linux_sys_mprotect_args {
    383 	syscallarg(const void *) start;
    384 	syscallarg(unsigned long) len;
    385 	syscallarg(int) prot;
    386 };
    387 
    388 struct linux_sys_sigprocmask_args {
    389 	syscallarg(int) how;
    390 	syscallarg(const linux_old_sigset_t *) set;
    391 	syscallarg(linux_old_sigset_t *) oset;
    392 };
    393 
    394 struct linux_sys_getpgid_args {
    395 	syscallarg(int) pid;
    396 };
    397 
    398 struct linux_sys_personality_args {
    399 	syscallarg(int) per;
    400 };
    401 
    402 struct linux_sys_llseek_args {
    403 	syscallarg(int) fd;
    404 	syscallarg(u_int32_t) ohigh;
    405 	syscallarg(u_int32_t) olow;
    406 	syscallarg(caddr_t) res;
    407 	syscallarg(int) whence;
    408 };
    409 
    410 struct linux_sys_getdents_args {
    411 	syscallarg(int) fd;
    412 	syscallarg(struct linux_dirent *) dent;
    413 	syscallarg(unsigned int) count;
    414 };
    415 
    416 struct linux_sys_select_args {
    417 	syscallarg(int) nfds;
    418 	syscallarg(fd_set *) readfds;
    419 	syscallarg(fd_set *) writefds;
    420 	syscallarg(fd_set *) exceptfds;
    421 	syscallarg(struct timeval *) timeout;
    422 };
    423 
    424 struct linux_sys_msync_args {
    425 	syscallarg(caddr_t) addr;
    426 	syscallarg(int) len;
    427 	syscallarg(int) fl;
    428 };
    429 
    430 struct linux_sys_fdatasync_args {
    431 	syscallarg(int) fd;
    432 };
    433 
    434 struct linux_sys___sysctl_args {
    435 	syscallarg(struct linux___sysctl *) lsp;
    436 };
    437 
    438 struct linux_sys_sched_setparam_args {
    439 	syscallarg(pid_t) pid;
    440 	syscallarg(const struct linux_sched_param *) sp;
    441 };
    442 
    443 struct linux_sys_sched_getparam_args {
    444 	syscallarg(pid_t) pid;
    445 	syscallarg(struct linux_sched_param *) sp;
    446 };
    447 
    448 struct linux_sys_sched_setscheduler_args {
    449 	syscallarg(pid_t) pid;
    450 	syscallarg(int) policy;
    451 	syscallarg(const struct linux_sched_param *) sp;
    452 };
    453 
    454 struct linux_sys_sched_getscheduler_args {
    455 	syscallarg(pid_t) pid;
    456 };
    457 
    458 struct linux_sys_sched_get_priority_max_args {
    459 	syscallarg(int) policy;
    460 };
    461 
    462 struct linux_sys_sched_get_priority_min_args {
    463 	syscallarg(int) policy;
    464 };
    465 
    466 struct linux_sys_mremap_args {
    467 	syscallarg(void *) old_address;
    468 	syscallarg(size_t) old_size;
    469 	syscallarg(size_t) new_size;
    470 	syscallarg(u_long) flags;
    471 };
    472 
    473 struct linux_sys_setresuid16_args {
    474 	syscallarg(uid_t) ruid;
    475 	syscallarg(uid_t) euid;
    476 	syscallarg(uid_t) suid;
    477 };
    478 
    479 struct linux_sys_setresgid16_args {
    480 	syscallarg(gid_t) rgid;
    481 	syscallarg(gid_t) egid;
    482 	syscallarg(gid_t) sgid;
    483 };
    484 
    485 struct linux_sys_rt_sigreturn_args {
    486 	syscallarg(struct linux_ucontext *) ucp;
    487 };
    488 
    489 struct linux_sys_rt_sigaction_args {
    490 	syscallarg(int) signum;
    491 	syscallarg(const struct linux_sigaction *) nsa;
    492 	syscallarg(struct linux_sigaction *) osa;
    493 	syscallarg(size_t) sigsetsize;
    494 };
    495 
    496 struct linux_sys_rt_sigprocmask_args {
    497 	syscallarg(int) how;
    498 	syscallarg(const linux_sigset_t *) set;
    499 	syscallarg(linux_sigset_t *) oset;
    500 	syscallarg(size_t) sigsetsize;
    501 };
    502 
    503 struct linux_sys_rt_sigpending_args {
    504 	syscallarg(linux_sigset_t *) set;
    505 	syscallarg(size_t) sigsetsize;
    506 };
    507 
    508 struct linux_sys_rt_queueinfo_args {
    509 	syscallarg(int) pid;
    510 	syscallarg(int) signum;
    511 	syscallarg(void *) uinfo;
    512 };
    513 
    514 struct linux_sys_rt_sigsuspend_args {
    515 	syscallarg(linux_sigset_t *) unewset;
    516 	syscallarg(size_t) sigsetsize;
    517 };
    518 
    519 struct linux_sys_pread_args {
    520 	syscallarg(int) fd;
    521 	syscallarg(char *) buf;
    522 	syscallarg(size_t) nbyte;
    523 	syscallarg(linux_off_t) offset;
    524 };
    525 
    526 struct linux_sys_pwrite_args {
    527 	syscallarg(int) fd;
    528 	syscallarg(char *) buf;
    529 	syscallarg(size_t) nbyte;
    530 	syscallarg(linux_off_t) offset;
    531 };
    532 
    533 struct linux_sys_chown16_args {
    534 	syscallarg(const char *) path;
    535 	syscallarg(int) uid;
    536 	syscallarg(int) gid;
    537 };
    538 
    539 struct linux_sys_sigaltstack_args {
    540 	syscallarg(const struct linux_sigaltstack *) ss;
    541 	syscallarg(struct linux_sigaltstack *) oss;
    542 };
    543 
    544 struct linux_sys_ugetrlimit_args {
    545 	syscallarg(int) which;
    546 	syscallarg(struct orlimit *) rlp;
    547 };
    548 
    549 struct linux_sys_truncate64_args {
    550 	syscallarg(const char *) path;
    551 	syscallarg(off_t) length;
    552 };
    553 
    554 struct linux_sys_ftruncate64_args {
    555 	syscallarg(unsigned int) fd;
    556 	syscallarg(off_t) length;
    557 };
    558 
    559 struct linux_sys_stat64_args {
    560 	syscallarg(const char *) path;
    561 	syscallarg(struct linux_stat64 *) sp;
    562 };
    563 
    564 struct linux_sys_lstat64_args {
    565 	syscallarg(const char *) path;
    566 	syscallarg(struct linux_stat64 *) sp;
    567 };
    568 
    569 struct linux_sys_fstat64_args {
    570 	syscallarg(int) fd;
    571 	syscallarg(struct linux_stat64 *) sp;
    572 };
    573 
    574 struct linux_sys_lchown_args {
    575 	syscallarg(const char *) path;
    576 	syscallarg(uid_t) uid;
    577 	syscallarg(gid_t) gid;
    578 };
    579 
    580 struct linux_sys_setresuid_args {
    581 	syscallarg(uid_t) ruid;
    582 	syscallarg(uid_t) euid;
    583 	syscallarg(uid_t) suid;
    584 };
    585 
    586 struct linux_sys_getresuid_args {
    587 	syscallarg(uid_t *) ruid;
    588 	syscallarg(uid_t *) euid;
    589 	syscallarg(uid_t *) suid;
    590 };
    591 
    592 struct linux_sys_setresgid_args {
    593 	syscallarg(gid_t) rgid;
    594 	syscallarg(gid_t) egid;
    595 	syscallarg(gid_t) sgid;
    596 };
    597 
    598 struct linux_sys_getresgid_args {
    599 	syscallarg(gid_t *) rgid;
    600 	syscallarg(gid_t *) egid;
    601 	syscallarg(gid_t *) sgid;
    602 };
    603 
    604 struct linux_sys_chown_args {
    605 	syscallarg(const char *) path;
    606 	syscallarg(uid_t) uid;
    607 	syscallarg(gid_t) gid;
    608 };
    609 
    610 struct linux_sys_setfsuid_args {
    611 	syscallarg(uid_t) uid;
    612 };
    613 
    614 struct linux_sys_getdents64_args {
    615 	syscallarg(int) fd;
    616 	syscallarg(struct linux_dirent64 *) dent;
    617 	syscallarg(unsigned int) count;
    618 };
    619 
    620 struct linux_sys_fcntl64_args {
    621 	syscallarg(int) fd;
    622 	syscallarg(int) cmd;
    623 	syscallarg(void *) arg;
    624 };
    625 
    626 struct linux_sys_setxattr_args {
    627 	syscallarg(char *) path;
    628 	syscallarg(char *) name;
    629 	syscallarg(void *) value;
    630 	syscallarg(size_t) size;
    631 	syscallarg(int) flags;
    632 };
    633 
    634 struct linux_sys_lsetxattr_args {
    635 	syscallarg(char *) path;
    636 	syscallarg(char *) name;
    637 	syscallarg(void *) value;
    638 	syscallarg(size_t) size;
    639 	syscallarg(int) flags;
    640 };
    641 
    642 struct linux_sys_fsetxattr_args {
    643 	syscallarg(int) fd;
    644 	syscallarg(char *) name;
    645 	syscallarg(void *) value;
    646 	syscallarg(size_t) size;
    647 	syscallarg(int) flags;
    648 };
    649 
    650 struct linux_sys_getxattr_args {
    651 	syscallarg(char *) path;
    652 	syscallarg(char *) name;
    653 	syscallarg(void *) value;
    654 	syscallarg(size_t) size;
    655 };
    656 
    657 struct linux_sys_lgetxattr_args {
    658 	syscallarg(char *) path;
    659 	syscallarg(char *) name;
    660 	syscallarg(void *) value;
    661 	syscallarg(size_t) size;
    662 };
    663 
    664 struct linux_sys_fgetxattr_args {
    665 	syscallarg(int) fd;
    666 	syscallarg(char *) name;
    667 	syscallarg(void *) value;
    668 	syscallarg(size_t) size;
    669 };
    670 
    671 struct linux_sys_listxattr_args {
    672 	syscallarg(char *) path;
    673 	syscallarg(char *) list;
    674 	syscallarg(size_t) size;
    675 };
    676 
    677 struct linux_sys_llistxattr_args {
    678 	syscallarg(char *) path;
    679 	syscallarg(char *) list;
    680 	syscallarg(size_t) size;
    681 };
    682 
    683 struct linux_sys_flistxattr_args {
    684 	syscallarg(int) fd;
    685 	syscallarg(char *) list;
    686 	syscallarg(size_t) size;
    687 };
    688 
    689 struct linux_sys_removexattr_args {
    690 	syscallarg(char *) path;
    691 	syscallarg(char *) name;
    692 };
    693 
    694 struct linux_sys_lremovexattr_args {
    695 	syscallarg(char *) path;
    696 	syscallarg(char *) name;
    697 };
    698 
    699 struct linux_sys_fremovexattr_args {
    700 	syscallarg(int) fd;
    701 	syscallarg(char *) name;
    702 };
    703 
    704 struct linux_sys_exit_group_args {
    705 	syscallarg(int) error_code;
    706 };
    707 
    708 struct linux_sys_clock_settime_args {
    709 	syscallarg(clockid_t) which;
    710 	syscallarg(struct linux_timespec *) tp;
    711 };
    712 
    713 struct linux_sys_clock_gettime_args {
    714 	syscallarg(clockid_t) which;
    715 	syscallarg(struct linux_timespec *) tp;
    716 };
    717 
    718 struct linux_sys_clock_getres_args {
    719 	syscallarg(clockid_t) which;
    720 	syscallarg(struct linux_timespec *) tp;
    721 };
    722 
    723 struct linux_sys_clock_nanosleep_args {
    724 	syscallarg(clockid_t) which;
    725 	syscallarg(int) flags;
    726 	syscallarg(struct linux_timespec *) rqtp;
    727 	syscallarg(struct linux_timespec *) rmtp;
    728 };
    729 
    730 struct linux_sys_statfs64_args {
    731 	syscallarg(const char *) path;
    732 	syscallarg(size_t) sz;
    733 	syscallarg(struct linux_statfs64 *) sp;
    734 };
    735 
    736 struct linux_sys_fstatfs64_args {
    737 	syscallarg(int) fd;
    738 	syscallarg(size_t) sz;
    739 	syscallarg(struct linux_statfs64 *) sp;
    740 };
    741 
    742 /*
    743  * System call prototypes.
    744  */
    745 
    746 int	linux_sys_nosys(struct lwp *, void *, register_t *);
    747 
    748 int	sys_exit(struct lwp *, void *, register_t *);
    749 
    750 int	sys_fork(struct lwp *, void *, register_t *);
    751 
    752 int	sys_read(struct lwp *, void *, register_t *);
    753 
    754 int	sys_write(struct lwp *, void *, register_t *);
    755 
    756 int	linux_sys_open(struct lwp *, void *, register_t *);
    757 
    758 int	sys_close(struct lwp *, void *, register_t *);
    759 
    760 int	linux_sys_waitpid(struct lwp *, void *, register_t *);
    761 
    762 int	linux_sys_creat(struct lwp *, void *, register_t *);
    763 
    764 int	linux_sys_link(struct lwp *, void *, register_t *);
    765 
    766 int	linux_sys_unlink(struct lwp *, void *, register_t *);
    767 
    768 int	linux_sys_execve(struct lwp *, void *, register_t *);
    769 
    770 int	linux_sys_chdir(struct lwp *, void *, register_t *);
    771 
    772 int	linux_sys_time(struct lwp *, void *, register_t *);
    773 
    774 int	linux_sys_mknod(struct lwp *, void *, register_t *);
    775 
    776 int	linux_sys_chmod(struct lwp *, void *, register_t *);
    777 
    778 int	linux_sys_lchown16(struct lwp *, void *, register_t *);
    779 
    780 int	linux_sys_break(struct lwp *, void *, register_t *);
    781 
    782 int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
    783 
    784 int	sys_getpid(struct lwp *, void *, register_t *);
    785 
    786 int	sys_setuid(struct lwp *, void *, register_t *);
    787 
    788 int	sys_getuid(struct lwp *, void *, register_t *);
    789 
    790 int	linux_sys_stime(struct lwp *, void *, register_t *);
    791 
    792 int	linux_sys_ptrace(struct lwp *, void *, register_t *);
    793 
    794 int	linux_sys_alarm(struct lwp *, void *, register_t *);
    795 
    796 int	linux_sys_pause(struct lwp *, void *, register_t *);
    797 
    798 int	linux_sys_utime(struct lwp *, void *, register_t *);
    799 
    800 int	linux_sys_access(struct lwp *, void *, register_t *);
    801 
    802 int	linux_sys_nice(struct lwp *, void *, register_t *);
    803 
    804 int	sys_sync(struct lwp *, void *, register_t *);
    805 
    806 int	linux_sys_kill(struct lwp *, void *, register_t *);
    807 
    808 int	linux_sys_rename(struct lwp *, void *, register_t *);
    809 
    810 int	linux_sys_mkdir(struct lwp *, void *, register_t *);
    811 
    812 int	linux_sys_rmdir(struct lwp *, void *, register_t *);
    813 
    814 int	sys_dup(struct lwp *, void *, register_t *);
    815 
    816 int	linux_sys_pipe(struct lwp *, void *, register_t *);
    817 
    818 int	linux_sys_times(struct lwp *, void *, register_t *);
    819 
    820 int	linux_sys_brk(struct lwp *, void *, register_t *);
    821 
    822 int	sys_setgid(struct lwp *, void *, register_t *);
    823 
    824 int	sys_getgid(struct lwp *, void *, register_t *);
    825 
    826 int	linux_sys_signal(struct lwp *, void *, register_t *);
    827 
    828 int	sys_geteuid(struct lwp *, void *, register_t *);
    829 
    830 int	sys_getegid(struct lwp *, void *, register_t *);
    831 
    832 int	sys_acct(struct lwp *, void *, register_t *);
    833 
    834 int	linux_sys_ioctl(struct lwp *, void *, register_t *);
    835 
    836 int	linux_sys_fcntl(struct lwp *, void *, register_t *);
    837 
    838 int	sys_setpgid(struct lwp *, void *, register_t *);
    839 
    840 int	linux_sys_oldolduname(struct lwp *, void *, register_t *);
    841 
    842 int	sys_umask(struct lwp *, void *, register_t *);
    843 
    844 int	sys_chroot(struct lwp *, void *, register_t *);
    845 
    846 int	sys_dup2(struct lwp *, void *, register_t *);
    847 
    848 int	sys_getppid(struct lwp *, void *, register_t *);
    849 
    850 int	sys_getpgrp(struct lwp *, void *, register_t *);
    851 
    852 int	sys_setsid(struct lwp *, void *, register_t *);
    853 
    854 int	linux_sys_sigaction(struct lwp *, void *, register_t *);
    855 
    856 int	linux_sys_siggetmask(struct lwp *, void *, register_t *);
    857 
    858 int	linux_sys_sigsetmask(struct lwp *, void *, register_t *);
    859 
    860 int	linux_sys_setreuid16(struct lwp *, void *, register_t *);
    861 
    862 int	linux_sys_setregid16(struct lwp *, void *, register_t *);
    863 
    864 int	linux_sys_sigsuspend(struct lwp *, void *, register_t *);
    865 
    866 int	linux_sys_sigpending(struct lwp *, void *, register_t *);
    867 
    868 int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
    869 
    870 int	linux_sys_setrlimit(struct lwp *, void *, register_t *);
    871 
    872 int	linux_sys_getrlimit(struct lwp *, void *, register_t *);
    873 
    874 int	sys_getrusage(struct lwp *, void *, register_t *);
    875 
    876 int	linux_sys_gettimeofday(struct lwp *, void *, register_t *);
    877 
    878 int	linux_sys_settimeofday(struct lwp *, void *, register_t *);
    879 
    880 int	linux_sys_getgroups16(struct lwp *, void *, register_t *);
    881 
    882 int	linux_sys_setgroups16(struct lwp *, void *, register_t *);
    883 
    884 int	linux_sys_oldselect(struct lwp *, void *, register_t *);
    885 
    886 int	linux_sys_symlink(struct lwp *, void *, register_t *);
    887 
    888 int	compat_43_sys_lstat(struct lwp *, void *, register_t *);
    889 
    890 int	linux_sys_readlink(struct lwp *, void *, register_t *);
    891 
    892 #ifdef EXEC_AOUT
    893 int	linux_sys_uselib(struct lwp *, void *, register_t *);
    894 
    895 #else
    896 #endif
    897 int	linux_sys_swapon(struct lwp *, void *, register_t *);
    898 
    899 int	linux_sys_reboot(struct lwp *, void *, register_t *);
    900 
    901 int	linux_sys_readdir(struct lwp *, void *, register_t *);
    902 
    903 int	linux_sys_old_mmap(struct lwp *, void *, register_t *);
    904 
    905 int	sys_munmap(struct lwp *, void *, register_t *);
    906 
    907 int	linux_sys_truncate(struct lwp *, void *, register_t *);
    908 
    909 int	compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
    910 
    911 int	sys_fchmod(struct lwp *, void *, register_t *);
    912 
    913 int	linux_sys_fchown16(struct lwp *, void *, register_t *);
    914 
    915 int	linux_sys_getpriority(struct lwp *, void *, register_t *);
    916 
    917 int	sys_setpriority(struct lwp *, void *, register_t *);
    918 
    919 int	sys_profil(struct lwp *, void *, register_t *);
    920 
    921 int	linux_sys_statfs(struct lwp *, void *, register_t *);
    922 
    923 int	linux_sys_fstatfs(struct lwp *, void *, register_t *);
    924 
    925 int	linux_sys_ioperm(struct lwp *, void *, register_t *);
    926 
    927 int	linux_sys_socketcall(struct lwp *, void *, register_t *);
    928 
    929 int	sys_setitimer(struct lwp *, void *, register_t *);
    930 
    931 int	sys_getitimer(struct lwp *, void *, register_t *);
    932 
    933 int	linux_sys_stat(struct lwp *, void *, register_t *);
    934 
    935 int	linux_sys_lstat(struct lwp *, void *, register_t *);
    936 
    937 int	linux_sys_fstat(struct lwp *, void *, register_t *);
    938 
    939 int	linux_sys_olduname(struct lwp *, void *, register_t *);
    940 
    941 int	linux_sys_iopl(struct lwp *, void *, register_t *);
    942 
    943 int	linux_sys_wait4(struct lwp *, void *, register_t *);
    944 
    945 int	linux_sys_swapoff(struct lwp *, void *, register_t *);
    946 
    947 int	linux_sys_sysinfo(struct lwp *, void *, register_t *);
    948 
    949 int	linux_sys_ipc(struct lwp *, void *, register_t *);
    950 
    951 int	sys_fsync(struct lwp *, void *, register_t *);
    952 
    953 int	linux_sys_sigreturn(struct lwp *, void *, register_t *);
    954 
    955 int	linux_sys_clone(struct lwp *, void *, register_t *);
    956 
    957 int	linux_sys_setdomainname(struct lwp *, void *, register_t *);
    958 
    959 int	linux_sys_uname(struct lwp *, void *, register_t *);
    960 
    961 int	linux_sys_modify_ldt(struct lwp *, void *, register_t *);
    962 
    963 int	linux_sys_mprotect(struct lwp *, void *, register_t *);
    964 
    965 int	linux_sys_sigprocmask(struct lwp *, void *, register_t *);
    966 
    967 int	linux_sys_getpgid(struct lwp *, void *, register_t *);
    968 
    969 int	sys_fchdir(struct lwp *, void *, register_t *);
    970 
    971 int	linux_sys_personality(struct lwp *, void *, register_t *);
    972 
    973 int	linux_sys_setfsuid(struct lwp *, void *, register_t *);
    974 
    975 int	linux_sys_getfsuid(struct lwp *, void *, register_t *);
    976 
    977 int	linux_sys_llseek(struct lwp *, void *, register_t *);
    978 
    979 int	linux_sys_getdents(struct lwp *, void *, register_t *);
    980 
    981 int	linux_sys_select(struct lwp *, void *, register_t *);
    982 
    983 int	sys_flock(struct lwp *, void *, register_t *);
    984 
    985 int	linux_sys_msync(struct lwp *, void *, register_t *);
    986 
    987 int	sys_readv(struct lwp *, void *, register_t *);
    988 
    989 int	sys_writev(struct lwp *, void *, register_t *);
    990 
    991 int	sys_getsid(struct lwp *, void *, register_t *);
    992 
    993 int	linux_sys_fdatasync(struct lwp *, void *, register_t *);
    994 
    995 int	linux_sys___sysctl(struct lwp *, void *, register_t *);
    996 
    997 int	sys_mlock(struct lwp *, void *, register_t *);
    998 
    999 int	sys_munlock(struct lwp *, void *, register_t *);
   1000 
   1001 int	sys_mlockall(struct lwp *, void *, register_t *);
   1002 
   1003 int	sys_munlockall(struct lwp *, void *, register_t *);
   1004 
   1005 int	linux_sys_sched_setparam(struct lwp *, void *, register_t *);
   1006 
   1007 int	linux_sys_sched_getparam(struct lwp *, void *, register_t *);
   1008 
   1009 int	linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
   1010 
   1011 int	linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
   1012 
   1013 int	linux_sys_sched_yield(struct lwp *, void *, register_t *);
   1014 
   1015 int	linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
   1016 
   1017 int	linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
   1018 
   1019 int	sys_nanosleep(struct lwp *, void *, register_t *);
   1020 
   1021 int	linux_sys_mremap(struct lwp *, void *, register_t *);
   1022 
   1023 int	linux_sys_setresuid16(struct lwp *, void *, register_t *);
   1024 
   1025 int	linux_sys_getresuid(struct lwp *, void *, register_t *);
   1026 
   1027 int	sys_poll(struct lwp *, void *, register_t *);
   1028 
   1029 int	linux_sys_setresgid16(struct lwp *, void *, register_t *);
   1030 
   1031 int	linux_sys_getresgid(struct lwp *, void *, register_t *);
   1032 
   1033 int	linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
   1034 
   1035 int	linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
   1036 
   1037 int	linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
   1038 
   1039 int	linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
   1040 
   1041 int	linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
   1042 
   1043 int	linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
   1044 
   1045 int	linux_sys_pread(struct lwp *, void *, register_t *);
   1046 
   1047 int	linux_sys_pwrite(struct lwp *, void *, register_t *);
   1048 
   1049 int	linux_sys_chown16(struct lwp *, void *, register_t *);
   1050 
   1051 int	sys___getcwd(struct lwp *, void *, register_t *);
   1052 
   1053 int	linux_sys_sigaltstack(struct lwp *, void *, register_t *);
   1054 
   1055 int	sys___vfork14(struct lwp *, void *, register_t *);
   1056 
   1057 int	linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
   1058 
   1059 int	linux_sys_mmap2(struct lwp *, void *, register_t *);
   1060 
   1061 int	linux_sys_truncate64(struct lwp *, void *, register_t *);
   1062 
   1063 int	linux_sys_ftruncate64(struct lwp *, void *, register_t *);
   1064 
   1065 int	linux_sys_stat64(struct lwp *, void *, register_t *);
   1066 
   1067 int	linux_sys_lstat64(struct lwp *, void *, register_t *);
   1068 
   1069 int	linux_sys_fstat64(struct lwp *, void *, register_t *);
   1070 
   1071 int	linux_sys_lchown(struct lwp *, void *, register_t *);
   1072 
   1073 int	sys_setreuid(struct lwp *, void *, register_t *);
   1074 
   1075 int	sys_setregid(struct lwp *, void *, register_t *);
   1076 
   1077 int	sys_getgroups(struct lwp *, void *, register_t *);
   1078 
   1079 int	sys_setgroups(struct lwp *, void *, register_t *);
   1080 
   1081 int	sys___posix_fchown(struct lwp *, void *, register_t *);
   1082 
   1083 int	linux_sys_setresuid(struct lwp *, void *, register_t *);
   1084 
   1085 int	linux_sys_setresgid(struct lwp *, void *, register_t *);
   1086 
   1087 int	linux_sys_chown(struct lwp *, void *, register_t *);
   1088 
   1089 int	sys_mincore(struct lwp *, void *, register_t *);
   1090 
   1091 int	sys_madvise(struct lwp *, void *, register_t *);
   1092 
   1093 int	linux_sys_getdents64(struct lwp *, void *, register_t *);
   1094 
   1095 int	linux_sys_fcntl64(struct lwp *, void *, register_t *);
   1096 
   1097 int	linux_sys_setxattr(struct lwp *, void *, register_t *);
   1098 
   1099 int	linux_sys_lsetxattr(struct lwp *, void *, register_t *);
   1100 
   1101 int	linux_sys_fsetxattr(struct lwp *, void *, register_t *);
   1102 
   1103 int	linux_sys_getxattr(struct lwp *, void *, register_t *);
   1104 
   1105 int	linux_sys_lgetxattr(struct lwp *, void *, register_t *);
   1106 
   1107 int	linux_sys_fgetxattr(struct lwp *, void *, register_t *);
   1108 
   1109 int	linux_sys_listxattr(struct lwp *, void *, register_t *);
   1110 
   1111 int	linux_sys_llistxattr(struct lwp *, void *, register_t *);
   1112 
   1113 int	linux_sys_flistxattr(struct lwp *, void *, register_t *);
   1114 
   1115 int	linux_sys_removexattr(struct lwp *, void *, register_t *);
   1116 
   1117 int	linux_sys_lremovexattr(struct lwp *, void *, register_t *);
   1118 
   1119 int	linux_sys_fremovexattr(struct lwp *, void *, register_t *);
   1120 
   1121 int	linux_sys_exit_group(struct lwp *, void *, register_t *);
   1122 
   1123 int	linux_sys_clock_settime(struct lwp *, void *, register_t *);
   1124 
   1125 int	linux_sys_clock_gettime(struct lwp *, void *, register_t *);
   1126 
   1127 int	linux_sys_clock_getres(struct lwp *, void *, register_t *);
   1128 
   1129 int	linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
   1130 
   1131 int	linux_sys_statfs64(struct lwp *, void *, register_t *);
   1132 
   1133 int	linux_sys_fstatfs64(struct lwp *, void *, register_t *);
   1134 
   1135 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
   1136