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