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