Home | History | Annotate | Line # | Download | only in i386
linux_syscallargs.h revision 1.48
      1 /* $NetBSD: linux_syscallargs.h,v 1.48 2003/07/03 21:25:08 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.66 2003/07/03 21:24:28 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 
    247 struct linux_sys_uselib_args {
    248 	syscallarg(const char *) path;
    249 };
    250 
    251 struct linux_sys_swapon_args {
    252 	syscallarg(char *) name;
    253 };
    254 
    255 struct linux_sys_reboot_args {
    256 	syscallarg(int) magic1;
    257 	syscallarg(int) magic2;
    258 	syscallarg(int) cmd;
    259 	syscallarg(void *) arg;
    260 };
    261 
    262 struct linux_sys_readdir_args {
    263 	syscallarg(int) fd;
    264 	syscallarg(caddr_t) dent;
    265 	syscallarg(unsigned int) count;
    266 };
    267 
    268 struct linux_sys_old_mmap_args {
    269 	syscallarg(struct linux_oldmmap *) lmp;
    270 };
    271 
    272 struct linux_sys_truncate_args {
    273 	syscallarg(const char *) path;
    274 	syscallarg(long) length;
    275 };
    276 
    277 struct linux_sys_fchown16_args {
    278 	syscallarg(int) fd;
    279 	syscallarg(int) uid;
    280 	syscallarg(int) gid;
    281 };
    282 
    283 struct linux_sys_statfs_args {
    284 	syscallarg(const char *) path;
    285 	syscallarg(struct linux_statfs *) sp;
    286 };
    287 
    288 struct linux_sys_fstatfs_args {
    289 	syscallarg(int) fd;
    290 	syscallarg(struct linux_statfs *) sp;
    291 };
    292 
    293 struct linux_sys_ioperm_args {
    294 	syscallarg(unsigned int) lo;
    295 	syscallarg(unsigned int) hi;
    296 	syscallarg(int) val;
    297 };
    298 
    299 struct linux_sys_socketcall_args {
    300 	syscallarg(int) what;
    301 	syscallarg(void *) args;
    302 };
    303 
    304 struct linux_sys_stat_args {
    305 	syscallarg(const char *) path;
    306 	syscallarg(struct linux_stat *) sp;
    307 };
    308 
    309 struct linux_sys_lstat_args {
    310 	syscallarg(const char *) path;
    311 	syscallarg(struct linux_stat *) sp;
    312 };
    313 
    314 struct linux_sys_fstat_args {
    315 	syscallarg(int) fd;
    316 	syscallarg(struct linux_stat *) sp;
    317 };
    318 
    319 struct linux_sys_olduname_args {
    320 	syscallarg(struct linux_old_utsname *) up;
    321 };
    322 
    323 struct linux_sys_iopl_args {
    324 	syscallarg(int) level;
    325 };
    326 
    327 struct linux_sys_wait4_args {
    328 	syscallarg(int) pid;
    329 	syscallarg(int *) status;
    330 	syscallarg(int) options;
    331 	syscallarg(struct rusage *) rusage;
    332 };
    333 
    334 struct linux_sys_swapoff_args {
    335 	syscallarg(const char *) path;
    336 };
    337 
    338 struct linux_sys_sysinfo_args {
    339 	syscallarg(struct linux_sysinfo *) arg;
    340 };
    341 
    342 struct linux_sys_ipc_args {
    343 	syscallarg(int) what;
    344 	syscallarg(int) a1;
    345 	syscallarg(int) a2;
    346 	syscallarg(int) a3;
    347 	syscallarg(caddr_t) ptr;
    348 };
    349 
    350 struct linux_sys_sigreturn_args {
    351 	syscallarg(struct linux_sigcontext *) scp;
    352 };
    353 
    354 struct linux_sys_clone_args {
    355 	syscallarg(int) flags;
    356 	syscallarg(void *) stack;
    357 };
    358 
    359 struct linux_sys_setdomainname_args {
    360 	syscallarg(char *) domainname;
    361 	syscallarg(int) len;
    362 };
    363 
    364 struct linux_sys_uname_args {
    365 	syscallarg(struct linux_utsname *) up;
    366 };
    367 
    368 struct linux_sys_modify_ldt_args {
    369 	syscallarg(int) func;
    370 	syscallarg(void *) ptr;
    371 	syscallarg(size_t) bytecount;
    372 };
    373 
    374 struct linux_sys_mprotect_args {
    375 	syscallarg(const void *) start;
    376 	syscallarg(unsigned long) len;
    377 	syscallarg(int) prot;
    378 };
    379 
    380 struct linux_sys_sigprocmask_args {
    381 	syscallarg(int) how;
    382 	syscallarg(const linux_old_sigset_t *) set;
    383 	syscallarg(linux_old_sigset_t *) oset;
    384 };
    385 
    386 struct linux_sys_getpgid_args {
    387 	syscallarg(int) pid;
    388 };
    389 
    390 struct linux_sys_personality_args {
    391 	syscallarg(int) per;
    392 };
    393 
    394 struct linux_sys_llseek_args {
    395 	syscallarg(int) fd;
    396 	syscallarg(u_int32_t) ohigh;
    397 	syscallarg(u_int32_t) olow;
    398 	syscallarg(caddr_t) res;
    399 	syscallarg(int) whence;
    400 };
    401 
    402 struct linux_sys_getdents_args {
    403 	syscallarg(int) fd;
    404 	syscallarg(struct linux_dirent *) dent;
    405 	syscallarg(unsigned int) count;
    406 };
    407 
    408 struct linux_sys_select_args {
    409 	syscallarg(int) nfds;
    410 	syscallarg(fd_set *) readfds;
    411 	syscallarg(fd_set *) writefds;
    412 	syscallarg(fd_set *) exceptfds;
    413 	syscallarg(struct timeval *) timeout;
    414 };
    415 
    416 struct linux_sys_msync_args {
    417 	syscallarg(caddr_t) addr;
    418 	syscallarg(int) len;
    419 	syscallarg(int) fl;
    420 };
    421 
    422 struct linux_sys_fdatasync_args {
    423 	syscallarg(int) fd;
    424 };
    425 
    426 struct linux_sys___sysctl_args {
    427 	syscallarg(struct linux___sysctl *) lsp;
    428 };
    429 
    430 struct linux_sys_sched_setparam_args {
    431 	syscallarg(pid_t) pid;
    432 	syscallarg(const struct linux_sched_param *) sp;
    433 };
    434 
    435 struct linux_sys_sched_getparam_args {
    436 	syscallarg(pid_t) pid;
    437 	syscallarg(struct linux_sched_param *) sp;
    438 };
    439 
    440 struct linux_sys_sched_setscheduler_args {
    441 	syscallarg(pid_t) pid;
    442 	syscallarg(int) policy;
    443 	syscallarg(const struct linux_sched_param *) sp;
    444 };
    445 
    446 struct linux_sys_sched_getscheduler_args {
    447 	syscallarg(pid_t) pid;
    448 };
    449 
    450 struct linux_sys_sched_get_priority_max_args {
    451 	syscallarg(int) policy;
    452 };
    453 
    454 struct linux_sys_sched_get_priority_min_args {
    455 	syscallarg(int) policy;
    456 };
    457 
    458 struct linux_sys_mremap_args {
    459 	syscallarg(void *) old_address;
    460 	syscallarg(size_t) old_size;
    461 	syscallarg(size_t) new_size;
    462 	syscallarg(u_long) flags;
    463 };
    464 
    465 struct linux_sys_setresuid16_args {
    466 	syscallarg(uid_t) ruid;
    467 	syscallarg(uid_t) euid;
    468 	syscallarg(uid_t) suid;
    469 };
    470 
    471 struct linux_sys_setresgid16_args {
    472 	syscallarg(gid_t) rgid;
    473 	syscallarg(gid_t) egid;
    474 	syscallarg(gid_t) sgid;
    475 };
    476 
    477 struct linux_sys_rt_sigreturn_args {
    478 	syscallarg(struct linux_ucontext *) ucp;
    479 };
    480 
    481 struct linux_sys_rt_sigaction_args {
    482 	syscallarg(int) signum;
    483 	syscallarg(const struct linux_sigaction *) nsa;
    484 	syscallarg(struct linux_sigaction *) osa;
    485 	syscallarg(size_t) sigsetsize;
    486 };
    487 
    488 struct linux_sys_rt_sigprocmask_args {
    489 	syscallarg(int) how;
    490 	syscallarg(const linux_sigset_t *) set;
    491 	syscallarg(linux_sigset_t *) oset;
    492 	syscallarg(size_t) sigsetsize;
    493 };
    494 
    495 struct linux_sys_rt_sigpending_args {
    496 	syscallarg(linux_sigset_t *) set;
    497 	syscallarg(size_t) sigsetsize;
    498 };
    499 
    500 struct linux_sys_rt_queueinfo_args {
    501 	syscallarg(int) pid;
    502 	syscallarg(int) signum;
    503 	syscallarg(void *) uinfo;
    504 };
    505 
    506 struct linux_sys_rt_sigsuspend_args {
    507 	syscallarg(linux_sigset_t *) unewset;
    508 	syscallarg(size_t) sigsetsize;
    509 };
    510 
    511 struct linux_sys_pread_args {
    512 	syscallarg(int) fd;
    513 	syscallarg(char *) buf;
    514 	syscallarg(size_t) nbyte;
    515 	syscallarg(linux_off_t) offset;
    516 };
    517 
    518 struct linux_sys_pwrite_args {
    519 	syscallarg(int) fd;
    520 	syscallarg(char *) buf;
    521 	syscallarg(size_t) nbyte;
    522 	syscallarg(linux_off_t) offset;
    523 };
    524 
    525 struct linux_sys_chown16_args {
    526 	syscallarg(const char *) path;
    527 	syscallarg(int) uid;
    528 	syscallarg(int) gid;
    529 };
    530 
    531 struct linux_sys_sigaltstack_args {
    532 	syscallarg(const struct linux_sigaltstack *) ss;
    533 	syscallarg(struct linux_sigaltstack *) oss;
    534 };
    535 
    536 struct linux_sys_ugetrlimit_args {
    537 	syscallarg(int) which;
    538 	syscallarg(struct orlimit *) rlp;
    539 };
    540 
    541 struct linux_sys_truncate64_args {
    542 	syscallarg(const char *) path;
    543 	syscallarg(off_t) length;
    544 };
    545 
    546 struct linux_sys_stat64_args {
    547 	syscallarg(const char *) path;
    548 	syscallarg(struct linux_stat64 *) sp;
    549 };
    550 
    551 struct linux_sys_lstat64_args {
    552 	syscallarg(const char *) path;
    553 	syscallarg(struct linux_stat64 *) sp;
    554 };
    555 
    556 struct linux_sys_fstat64_args {
    557 	syscallarg(int) fd;
    558 	syscallarg(struct linux_stat64 *) sp;
    559 };
    560 
    561 struct linux_sys_lchown_args {
    562 	syscallarg(const char *) path;
    563 	syscallarg(uid_t) uid;
    564 	syscallarg(gid_t) gid;
    565 };
    566 
    567 struct linux_sys_setresuid_args {
    568 	syscallarg(uid_t) ruid;
    569 	syscallarg(uid_t) euid;
    570 	syscallarg(uid_t) suid;
    571 };
    572 
    573 struct linux_sys_getresuid_args {
    574 	syscallarg(uid_t *) ruid;
    575 	syscallarg(uid_t *) euid;
    576 	syscallarg(uid_t *) suid;
    577 };
    578 
    579 struct linux_sys_setresgid_args {
    580 	syscallarg(gid_t) rgid;
    581 	syscallarg(gid_t) egid;
    582 	syscallarg(gid_t) sgid;
    583 };
    584 
    585 struct linux_sys_getresgid_args {
    586 	syscallarg(gid_t *) rgid;
    587 	syscallarg(gid_t *) egid;
    588 	syscallarg(gid_t *) sgid;
    589 };
    590 
    591 struct linux_sys_chown_args {
    592 	syscallarg(const char *) path;
    593 	syscallarg(uid_t) uid;
    594 	syscallarg(gid_t) gid;
    595 };
    596 
    597 struct linux_sys_setfsuid_args {
    598 	syscallarg(uid_t) uid;
    599 };
    600 
    601 struct linux_sys_getdents64_args {
    602 	syscallarg(int) fd;
    603 	syscallarg(struct linux_dirent64 *) dent;
    604 	syscallarg(unsigned int) count;
    605 };
    606 
    607 struct linux_sys_fcntl64_args {
    608 	syscallarg(int) fd;
    609 	syscallarg(int) cmd;
    610 	syscallarg(void *) arg;
    611 };
    612 
    613 /*
    614  * System call prototypes.
    615  */
    616 
    617 int	linux_sys_nosys(struct lwp *, void *, register_t *);
    618 int	sys_exit(struct lwp *, void *, register_t *);
    619 int	sys_fork(struct lwp *, void *, register_t *);
    620 int	sys_read(struct lwp *, void *, register_t *);
    621 int	sys_write(struct lwp *, void *, register_t *);
    622 int	linux_sys_open(struct lwp *, void *, register_t *);
    623 int	sys_close(struct lwp *, void *, register_t *);
    624 int	linux_sys_waitpid(struct lwp *, void *, register_t *);
    625 int	linux_sys_creat(struct lwp *, void *, register_t *);
    626 int	linux_sys_link(struct lwp *, void *, register_t *);
    627 int	linux_sys_unlink(struct lwp *, void *, register_t *);
    628 int	linux_sys_execve(struct lwp *, void *, register_t *);
    629 int	linux_sys_chdir(struct lwp *, void *, register_t *);
    630 int	linux_sys_time(struct lwp *, void *, register_t *);
    631 int	linux_sys_mknod(struct lwp *, void *, register_t *);
    632 int	linux_sys_chmod(struct lwp *, void *, register_t *);
    633 int	linux_sys_lchown16(struct lwp *, void *, register_t *);
    634 int	linux_sys_break(struct lwp *, void *, register_t *);
    635 int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
    636 int	sys_getpid(struct lwp *, void *, register_t *);
    637 int	sys_setuid(struct lwp *, void *, register_t *);
    638 int	sys_getuid(struct lwp *, void *, register_t *);
    639 int	linux_sys_stime(struct lwp *, void *, register_t *);
    640 int	linux_sys_ptrace(struct lwp *, void *, register_t *);
    641 int	linux_sys_alarm(struct lwp *, void *, register_t *);
    642 int	linux_sys_pause(struct lwp *, void *, register_t *);
    643 int	linux_sys_utime(struct lwp *, void *, register_t *);
    644 int	linux_sys_access(struct lwp *, void *, register_t *);
    645 int	linux_sys_nice(struct lwp *, void *, register_t *);
    646 int	sys_sync(struct lwp *, void *, register_t *);
    647 int	linux_sys_kill(struct lwp *, void *, register_t *);
    648 int	linux_sys_rename(struct lwp *, void *, register_t *);
    649 int	linux_sys_mkdir(struct lwp *, void *, register_t *);
    650 int	linux_sys_rmdir(struct lwp *, void *, register_t *);
    651 int	sys_dup(struct lwp *, void *, register_t *);
    652 int	linux_sys_pipe(struct lwp *, void *, register_t *);
    653 int	linux_sys_times(struct lwp *, void *, register_t *);
    654 int	linux_sys_brk(struct lwp *, void *, register_t *);
    655 int	sys_setgid(struct lwp *, void *, register_t *);
    656 int	sys_getgid(struct lwp *, void *, register_t *);
    657 int	linux_sys_signal(struct lwp *, void *, register_t *);
    658 int	sys_geteuid(struct lwp *, void *, register_t *);
    659 int	sys_getegid(struct lwp *, void *, register_t *);
    660 int	sys_acct(struct lwp *, void *, register_t *);
    661 int	linux_sys_ioctl(struct lwp *, void *, register_t *);
    662 int	linux_sys_fcntl(struct lwp *, void *, register_t *);
    663 int	sys_setpgid(struct lwp *, void *, register_t *);
    664 int	linux_sys_oldolduname(struct lwp *, void *, register_t *);
    665 int	sys_umask(struct lwp *, void *, register_t *);
    666 int	sys_chroot(struct lwp *, void *, register_t *);
    667 int	sys_dup2(struct lwp *, void *, register_t *);
    668 int	sys_getppid(struct lwp *, void *, register_t *);
    669 int	sys_getpgrp(struct lwp *, void *, register_t *);
    670 int	sys_setsid(struct lwp *, void *, register_t *);
    671 int	linux_sys_sigaction(struct lwp *, void *, register_t *);
    672 int	linux_sys_siggetmask(struct lwp *, void *, register_t *);
    673 int	linux_sys_sigsetmask(struct lwp *, void *, register_t *);
    674 int	linux_sys_setreuid16(struct lwp *, void *, register_t *);
    675 int	linux_sys_setregid16(struct lwp *, void *, register_t *);
    676 int	linux_sys_sigsuspend(struct lwp *, void *, register_t *);
    677 int	linux_sys_sigpending(struct lwp *, void *, register_t *);
    678 int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
    679 int	linux_sys_setrlimit(struct lwp *, void *, register_t *);
    680 int	linux_sys_getrlimit(struct lwp *, void *, register_t *);
    681 int	sys_getrusage(struct lwp *, void *, register_t *);
    682 int	linux_sys_gettimeofday(struct lwp *, void *, register_t *);
    683 int	linux_sys_settimeofday(struct lwp *, void *, register_t *);
    684 int	linux_sys_getgroups16(struct lwp *, void *, register_t *);
    685 int	linux_sys_setgroups16(struct lwp *, void *, register_t *);
    686 int	linux_sys_oldselect(struct lwp *, void *, register_t *);
    687 int	linux_sys_symlink(struct lwp *, void *, register_t *);
    688 int	compat_43_sys_lstat(struct lwp *, void *, register_t *);
    689 int	linux_sys_readlink(struct lwp *, void *, register_t *);
    690 int	linux_sys_uselib(struct lwp *, void *, register_t *);
    691 int	linux_sys_swapon(struct lwp *, void *, register_t *);
    692 int	linux_sys_reboot(struct lwp *, void *, register_t *);
    693 int	linux_sys_readdir(struct lwp *, void *, register_t *);
    694 int	linux_sys_old_mmap(struct lwp *, void *, register_t *);
    695 int	sys_munmap(struct lwp *, void *, register_t *);
    696 int	linux_sys_truncate(struct lwp *, void *, register_t *);
    697 int	compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
    698 int	sys_fchmod(struct lwp *, void *, register_t *);
    699 int	linux_sys_fchown16(struct lwp *, void *, register_t *);
    700 int	sys_getpriority(struct lwp *, void *, register_t *);
    701 int	sys_setpriority(struct lwp *, void *, register_t *);
    702 int	sys_profil(struct lwp *, void *, register_t *);
    703 int	linux_sys_statfs(struct lwp *, void *, register_t *);
    704 int	linux_sys_fstatfs(struct lwp *, void *, register_t *);
    705 int	linux_sys_ioperm(struct lwp *, void *, register_t *);
    706 int	linux_sys_socketcall(struct lwp *, void *, register_t *);
    707 int	sys_setitimer(struct lwp *, void *, register_t *);
    708 int	sys_getitimer(struct lwp *, void *, register_t *);
    709 int	linux_sys_stat(struct lwp *, void *, register_t *);
    710 int	linux_sys_lstat(struct lwp *, void *, register_t *);
    711 int	linux_sys_fstat(struct lwp *, void *, register_t *);
    712 int	linux_sys_olduname(struct lwp *, void *, register_t *);
    713 int	linux_sys_iopl(struct lwp *, void *, register_t *);
    714 int	linux_sys_wait4(struct lwp *, void *, register_t *);
    715 int	linux_sys_swapoff(struct lwp *, void *, register_t *);
    716 int	linux_sys_sysinfo(struct lwp *, void *, register_t *);
    717 int	linux_sys_ipc(struct lwp *, void *, register_t *);
    718 int	sys_fsync(struct lwp *, void *, register_t *);
    719 int	linux_sys_sigreturn(struct lwp *, void *, register_t *);
    720 int	linux_sys_clone(struct lwp *, void *, register_t *);
    721 int	linux_sys_setdomainname(struct lwp *, void *, register_t *);
    722 int	linux_sys_uname(struct lwp *, void *, register_t *);
    723 int	linux_sys_modify_ldt(struct lwp *, void *, register_t *);
    724 int	linux_sys_mprotect(struct lwp *, void *, register_t *);
    725 int	linux_sys_sigprocmask(struct lwp *, void *, register_t *);
    726 int	linux_sys_getpgid(struct lwp *, void *, register_t *);
    727 int	sys_fchdir(struct lwp *, void *, register_t *);
    728 int	linux_sys_personality(struct lwp *, void *, register_t *);
    729 int	linux_sys_setfsuid(struct lwp *, void *, register_t *);
    730 int	linux_sys_getfsuid(struct lwp *, void *, register_t *);
    731 int	linux_sys_llseek(struct lwp *, void *, register_t *);
    732 int	linux_sys_getdents(struct lwp *, void *, register_t *);
    733 int	linux_sys_select(struct lwp *, void *, register_t *);
    734 int	sys_flock(struct lwp *, void *, register_t *);
    735 int	linux_sys_msync(struct lwp *, void *, register_t *);
    736 int	sys_readv(struct lwp *, void *, register_t *);
    737 int	sys_writev(struct lwp *, void *, register_t *);
    738 int	sys_getsid(struct lwp *, void *, register_t *);
    739 int	linux_sys_fdatasync(struct lwp *, void *, register_t *);
    740 int	linux_sys___sysctl(struct lwp *, void *, register_t *);
    741 int	sys_mlock(struct lwp *, void *, register_t *);
    742 int	sys_munlock(struct lwp *, void *, register_t *);
    743 int	sys_mlockall(struct lwp *, void *, register_t *);
    744 int	sys_munlockall(struct lwp *, void *, register_t *);
    745 int	linux_sys_sched_setparam(struct lwp *, void *, register_t *);
    746 int	linux_sys_sched_getparam(struct lwp *, void *, register_t *);
    747 int	linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
    748 int	linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
    749 int	linux_sys_sched_yield(struct lwp *, void *, register_t *);
    750 int	linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
    751 int	linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
    752 int	sys_nanosleep(struct lwp *, void *, register_t *);
    753 int	linux_sys_mremap(struct lwp *, void *, register_t *);
    754 int	linux_sys_setresuid16(struct lwp *, void *, register_t *);
    755 int	linux_sys_getresuid(struct lwp *, void *, register_t *);
    756 int	sys_poll(struct lwp *, void *, register_t *);
    757 int	linux_sys_setresgid16(struct lwp *, void *, register_t *);
    758 int	linux_sys_getresgid(struct lwp *, void *, register_t *);
    759 int	linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
    760 int	linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
    761 int	linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
    762 int	linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
    763 int	linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
    764 int	linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
    765 int	linux_sys_pread(struct lwp *, void *, register_t *);
    766 int	linux_sys_pwrite(struct lwp *, void *, register_t *);
    767 int	linux_sys_chown16(struct lwp *, void *, register_t *);
    768 int	sys___getcwd(struct lwp *, void *, register_t *);
    769 int	linux_sys_sigaltstack(struct lwp *, void *, register_t *);
    770 int	sys___vfork14(struct lwp *, void *, register_t *);
    771 int	linux_sys_ugetrlimit(struct lwp *, void *, register_t *);
    772 int	linux_sys_mmap2(struct lwp *, void *, register_t *);
    773 int	linux_sys_truncate64(struct lwp *, void *, register_t *);
    774 int	sys_ftruncate(struct lwp *, void *, register_t *);
    775 int	linux_sys_stat64(struct lwp *, void *, register_t *);
    776 int	linux_sys_lstat64(struct lwp *, void *, register_t *);
    777 int	linux_sys_fstat64(struct lwp *, void *, register_t *);
    778 int	linux_sys_lchown(struct lwp *, void *, register_t *);
    779 int	sys_getuid(struct lwp *, void *, register_t *);
    780 int	sys_getgid(struct lwp *, void *, register_t *);
    781 int	sys_geteuid(struct lwp *, void *, register_t *);
    782 int	sys_getegid(struct lwp *, void *, register_t *);
    783 int	sys_setreuid(struct lwp *, void *, register_t *);
    784 int	sys_setregid(struct lwp *, void *, register_t *);
    785 int	sys_getgroups(struct lwp *, void *, register_t *);
    786 int	sys_setgroups(struct lwp *, void *, register_t *);
    787 int	sys___posix_fchown(struct lwp *, void *, register_t *);
    788 int	linux_sys_setresuid(struct lwp *, void *, register_t *);
    789 int	linux_sys_getresuid(struct lwp *, void *, register_t *);
    790 int	linux_sys_setresgid(struct lwp *, void *, register_t *);
    791 int	linux_sys_getresgid(struct lwp *, void *, register_t *);
    792 int	linux_sys_chown(struct lwp *, void *, register_t *);
    793 int	sys_setuid(struct lwp *, void *, register_t *);
    794 int	sys_setgid(struct lwp *, void *, register_t *);
    795 int	linux_sys_setfsuid(struct lwp *, void *, register_t *);
    796 int	linux_sys_getfsuid(struct lwp *, void *, register_t *);
    797 int	linux_sys_getdents64(struct lwp *, void *, register_t *);
    798 int	linux_sys_fcntl64(struct lwp *, void *, register_t *);
    799 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
    800