Home | History | Annotate | Line # | Download | only in amd64
linux_syscallargs.h revision 1.9.6.1
      1 /* $NetBSD: linux_syscallargs.h,v 1.9.6.1 2006/04/22 11:38:13 simonb 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.9 2005/11/23 16:14:57 manu Exp
      8  */
      9 
     10 #ifndef _LINUX_SYS_SYSCALLARGS_H_
     11 #define	_LINUX_SYS_SYSCALLARGS_H_
     12 
     13 #ifdef	syscallarg
     14 #undef	syscallarg
     15 #endif
     16 
     17 #define	syscallarg(x)							\
     18 	union {								\
     19 		register_t pad;						\
     20 		struct { x datum; } le;					\
     21 		struct { /* LINTED zero array dimension */		\
     22 			int8_t pad[  /* CONSTCOND */			\
     23 				(sizeof (register_t) < sizeof (x))	\
     24 				? 0					\
     25 				: sizeof (register_t) - sizeof (x)];	\
     26 			x datum;					\
     27 		} be;							\
     28 	}
     29 
     30 struct linux_sys_open_args {
     31 	syscallarg(const char *) path;
     32 	syscallarg(int) flags;
     33 	syscallarg(int) mode;
     34 };
     35 
     36 struct linux_sys_stat64_args {
     37 	syscallarg(const char *) path;
     38 	syscallarg(struct linux_stat *) sp;
     39 };
     40 
     41 struct linux_sys_fstat64_args {
     42 	syscallarg(int) fd;
     43 	syscallarg(struct linux_stat *) sp;
     44 };
     45 
     46 struct linux_sys_lstat64_args {
     47 	syscallarg(const char *) path;
     48 	syscallarg(struct linux_stat *) sp;
     49 };
     50 
     51 struct linux_sys_mprotect_args {
     52 	syscallarg(const void *) start;
     53 	syscallarg(unsigned long) len;
     54 	syscallarg(int) prot;
     55 };
     56 
     57 struct linux_sys_brk_args {
     58 	syscallarg(char *) nsize;
     59 };
     60 
     61 struct linux_sys_rt_sigaction_args {
     62 	syscallarg(int) signum;
     63 	syscallarg(const struct linux_sigaction *) nsa;
     64 	syscallarg(struct linux_sigaction *) osa;
     65 	syscallarg(size_t) sigsetsize;
     66 };
     67 
     68 struct linux_sys_rt_sigprocmask_args {
     69 	syscallarg(int) how;
     70 	syscallarg(const linux_sigset_t *) set;
     71 	syscallarg(linux_sigset_t *) oset;
     72 	syscallarg(size_t) sigsetsize;
     73 };
     74 
     75 struct linux_sys_ioctl_args {
     76 	syscallarg(int) fd;
     77 	syscallarg(u_long) com;
     78 	syscallarg(caddr_t) data;
     79 };
     80 
     81 struct linux_sys_pread_args {
     82 	syscallarg(int) fd;
     83 	syscallarg(char *) buf;
     84 	syscallarg(size_t) nbyte;
     85 	syscallarg(linux_off_t) offset;
     86 };
     87 
     88 struct linux_sys_pwrite_args {
     89 	syscallarg(int) fd;
     90 	syscallarg(char *) buf;
     91 	syscallarg(size_t) nbyte;
     92 	syscallarg(linux_off_t) offset;
     93 };
     94 
     95 struct linux_sys_access_args {
     96 	syscallarg(const char *) path;
     97 	syscallarg(int) flags;
     98 };
     99 
    100 struct linux_sys_pipe_args {
    101 	syscallarg(int *) pfds;
    102 };
    103 
    104 struct linux_sys_select_args {
    105 	syscallarg(int) nfds;
    106 	syscallarg(fd_set *) readfds;
    107 	syscallarg(fd_set *) writefds;
    108 	syscallarg(fd_set *) exceptfds;
    109 	syscallarg(struct timeval *) timeout;
    110 };
    111 
    112 struct linux_sys_mremap_args {
    113 	syscallarg(void *) old_address;
    114 	syscallarg(size_t) old_size;
    115 	syscallarg(size_t) new_size;
    116 	syscallarg(u_long) flags;
    117 };
    118 
    119 struct linux_sys_msync_args {
    120 	syscallarg(caddr_t) addr;
    121 	syscallarg(int) len;
    122 	syscallarg(int) fl;
    123 };
    124 #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_sched_setparam_args {
    490 	syscallarg(pid_t) pid;
    491 	syscallarg(const struct linux_sched_param *) sp;
    492 };
    493 
    494 struct linux_sys_sched_getparam_args {
    495 	syscallarg(pid_t) pid;
    496 	syscallarg(struct linux_sched_param *) sp;
    497 };
    498 
    499 struct linux_sys_sched_setscheduler_args {
    500 	syscallarg(pid_t) pid;
    501 	syscallarg(int) policy;
    502 	syscallarg(const struct linux_sched_param *) sp;
    503 };
    504 
    505 struct linux_sys_sched_getscheduler_args {
    506 	syscallarg(pid_t) pid;
    507 };
    508 
    509 struct linux_sys_sched_get_priority_max_args {
    510 	syscallarg(int) policy;
    511 };
    512 
    513 struct linux_sys_sched_get_priority_min_args {
    514 	syscallarg(int) policy;
    515 };
    516 
    517 struct linux_sys_modify_ldt_args {
    518 	syscallarg(int) func;
    519 	syscallarg(void *) ptr;
    520 	syscallarg(size_t) bytecount;
    521 };
    522 
    523 struct linux_sys___sysctl_args {
    524 	syscallarg(struct linux___sysctl *) lsp;
    525 };
    526 
    527 struct linux_sys_arch_prctl_args {
    528 	syscallarg(int) code;
    529 	syscallarg(unsigned long) addr;
    530 };
    531 
    532 struct linux_sys_setrlimit_args {
    533 	syscallarg(u_int) which;
    534 	syscallarg(struct rlimit *) rlp;
    535 };
    536 
    537 struct linux_sys_settimeofday_args {
    538 	syscallarg(struct timeval *) tp;
    539 	syscallarg(struct timezone *) tzp;
    540 };
    541 
    542 struct linux_sys_swapon_args {
    543 	syscallarg(char *) name;
    544 };
    545 
    546 struct linux_sys_swapoff_args {
    547 	syscallarg(const char *) path;
    548 };
    549 
    550 struct linux_sys_reboot_args {
    551 	syscallarg(int) magic1;
    552 	syscallarg(int) magic2;
    553 	syscallarg(int) cmd;
    554 	syscallarg(void *) arg;
    555 };
    556 
    557 struct linux_sys_setdomainname_args {
    558 	syscallarg(char *) domainname;
    559 	syscallarg(int) len;
    560 };
    561 
    562 struct linux_sys_iopl_args {
    563 	syscallarg(int) level;
    564 };
    565 
    566 struct linux_sys_ioperm_args {
    567 	syscallarg(unsigned int) lo;
    568 	syscallarg(unsigned int) hi;
    569 	syscallarg(int) val;
    570 };
    571 
    572 struct linux_sys_setxattr_args {
    573 	syscallarg(char *) path;
    574 	syscallarg(char *) name;
    575 	syscallarg(void *) value;
    576 	syscallarg(size_t) size;
    577 	syscallarg(int) flags;
    578 };
    579 
    580 struct linux_sys_lsetxattr_args {
    581 	syscallarg(char *) path;
    582 	syscallarg(char *) name;
    583 	syscallarg(void *) value;
    584 	syscallarg(size_t) size;
    585 	syscallarg(int) flags;
    586 };
    587 
    588 struct linux_sys_fsetxattr_args {
    589 	syscallarg(int) fd;
    590 	syscallarg(char *) name;
    591 	syscallarg(void *) value;
    592 	syscallarg(size_t) size;
    593 	syscallarg(int) flags;
    594 };
    595 
    596 struct linux_sys_getxattr_args {
    597 	syscallarg(char *) path;
    598 	syscallarg(char *) name;
    599 	syscallarg(void *) value;
    600 	syscallarg(size_t) size;
    601 };
    602 
    603 struct linux_sys_lgetxattr_args {
    604 	syscallarg(char *) path;
    605 	syscallarg(char *) name;
    606 	syscallarg(void *) value;
    607 	syscallarg(size_t) size;
    608 };
    609 
    610 struct linux_sys_fgetxattr_args {
    611 	syscallarg(int) fd;
    612 	syscallarg(char *) name;
    613 	syscallarg(void *) value;
    614 	syscallarg(size_t) size;
    615 };
    616 
    617 struct linux_sys_listxattr_args {
    618 	syscallarg(char *) path;
    619 	syscallarg(char *) list;
    620 	syscallarg(size_t) size;
    621 };
    622 
    623 struct linux_sys_llistxattr_args {
    624 	syscallarg(char *) path;
    625 	syscallarg(char *) list;
    626 	syscallarg(size_t) size;
    627 };
    628 
    629 struct linux_sys_flistxattr_args {
    630 	syscallarg(int) fd;
    631 	syscallarg(char *) list;
    632 	syscallarg(size_t) size;
    633 };
    634 
    635 struct linux_sys_removexattr_args {
    636 	syscallarg(char *) path;
    637 	syscallarg(char *) name;
    638 };
    639 
    640 struct linux_sys_lremovexattr_args {
    641 	syscallarg(char *) path;
    642 	syscallarg(char *) name;
    643 };
    644 
    645 struct linux_sys_fremovexattr_args {
    646 	syscallarg(int) fd;
    647 	syscallarg(char *) name;
    648 };
    649 
    650 struct linux_sys_tkill_args {
    651 	syscallarg(int) tid;
    652 	syscallarg(int) sig;
    653 };
    654 
    655 struct linux_sys_time_args {
    656 	syscallarg(linux_time_t *) t;
    657 };
    658 
    659 struct linux_sys_futex_args {
    660 	syscallarg(int *) uaddr;
    661 	syscallarg(int) op;
    662 	syscallarg(int) val;
    663 	syscallarg(const struct timespec *) timeout;
    664 	syscallarg(int *) uaddr2;
    665 	syscallarg(int) val3;
    666 };
    667 
    668 struct linux_sys_sched_setaffinity_args {
    669 	syscallarg(pid_t) pid;
    670 	syscallarg(unsigned int) len;
    671 	syscallarg(unsigned long *) mask;
    672 };
    673 
    674 struct linux_sys_sched_getaffinity_args {
    675 	syscallarg(pid_t) pid;
    676 	syscallarg(unsigned int) len;
    677 	syscallarg(unsigned long *) mask;
    678 };
    679 
    680 struct linux_sys_getdents64_args {
    681 	syscallarg(int) fd;
    682 	syscallarg(struct linux_dirent64 *) dent;
    683 	syscallarg(unsigned int) count;
    684 };
    685 
    686 struct linux_sys_set_tid_address_args {
    687 	syscallarg(int *) tid;
    688 };
    689 
    690 struct linux_sys_clock_settime_args {
    691 	syscallarg(clockid_t) which;
    692 	syscallarg(struct linux_timespec *) tp;
    693 };
    694 
    695 struct linux_sys_clock_gettime_args {
    696 	syscallarg(clockid_t) which;
    697 	syscallarg(struct linux_timespec *) tp;
    698 };
    699 
    700 struct linux_sys_clock_getres_args {
    701 	syscallarg(clockid_t) which;
    702 	syscallarg(struct linux_timespec *) tp;
    703 };
    704 
    705 struct linux_sys_clock_nanosleep_args {
    706 	syscallarg(clockid_t) which;
    707 	syscallarg(int) flags;
    708 	syscallarg(struct linux_timespec *) rqtp;
    709 	syscallarg(struct linux_timespec *) rmtp;
    710 };
    711 
    712 struct linux_sys_exit_group_args {
    713 	syscallarg(int) error_code;
    714 };
    715 
    716 struct linux_sys_tgkill_args {
    717 	syscallarg(int) tgid;
    718 	syscallarg(int) tid;
    719 	syscallarg(int) sig;
    720 };
    721 
    722 /*
    723  * System call prototypes.
    724  */
    725 
    726 int	sys_read(struct lwp *, void *, register_t *);
    727 
    728 int	sys_write(struct lwp *, void *, register_t *);
    729 
    730 int	linux_sys_open(struct lwp *, void *, register_t *);
    731 
    732 int	sys_close(struct lwp *, void *, register_t *);
    733 
    734 int	linux_sys_stat64(struct lwp *, void *, register_t *);
    735 
    736 int	linux_sys_fstat64(struct lwp *, void *, register_t *);
    737 
    738 int	linux_sys_lstat64(struct lwp *, void *, register_t *);
    739 
    740 int	sys_poll(struct lwp *, void *, register_t *);
    741 
    742 int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
    743 
    744 int	linux_sys_mmap(struct lwp *, void *, register_t *);
    745 
    746 int	linux_sys_mprotect(struct lwp *, void *, register_t *);
    747 
    748 int	sys_munmap(struct lwp *, void *, register_t *);
    749 
    750 int	linux_sys_brk(struct lwp *, void *, register_t *);
    751 
    752 int	linux_sys_rt_sigaction(struct lwp *, void *, register_t *);
    753 
    754 int	linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *);
    755 
    756 int	linux_sys_rt_sigreturn(struct lwp *, void *, register_t *);
    757 
    758 int	linux_sys_ioctl(struct lwp *, void *, register_t *);
    759 
    760 int	linux_sys_pread(struct lwp *, void *, register_t *);
    761 
    762 int	linux_sys_pwrite(struct lwp *, void *, register_t *);
    763 
    764 int	sys_readv(struct lwp *, void *, register_t *);
    765 
    766 int	sys_writev(struct lwp *, void *, register_t *);
    767 
    768 int	linux_sys_access(struct lwp *, void *, register_t *);
    769 
    770 int	linux_sys_pipe(struct lwp *, void *, register_t *);
    771 
    772 int	linux_sys_select(struct lwp *, void *, register_t *);
    773 
    774 int	linux_sys_sched_yield(struct lwp *, void *, register_t *);
    775 
    776 int	linux_sys_mremap(struct lwp *, void *, register_t *);
    777 
    778 int	linux_sys_msync(struct lwp *, void *, register_t *);
    779 
    780 int	sys_mincore(struct lwp *, void *, register_t *);
    781 
    782 int	sys_madvise(struct lwp *, void *, register_t *);
    783 
    784 #ifdef SYSVSHM
    785 int	linux_sys_shmget(struct lwp *, void *, register_t *);
    786 
    787 int	linux_sys_shmat(struct lwp *, void *, register_t *);
    788 
    789 int	linux_sys_shmctl(struct lwp *, void *, register_t *);
    790 
    791 #else
    792 #endif
    793 int	sys_dup(struct lwp *, void *, register_t *);
    794 
    795 int	sys_dup2(struct lwp *, void *, register_t *);
    796 
    797 int	linux_sys_pause(struct lwp *, void *, register_t *);
    798 
    799 int	sys_nanosleep(struct lwp *, void *, register_t *);
    800 
    801 int	sys_getitimer(struct lwp *, void *, register_t *);
    802 
    803 int	linux_sys_alarm(struct lwp *, void *, register_t *);
    804 
    805 int	sys_setitimer(struct lwp *, void *, register_t *);
    806 
    807 int	sys_getpid(struct lwp *, void *, register_t *);
    808 
    809 int	linux_sys_socket(struct lwp *, void *, register_t *);
    810 
    811 int	linux_sys_connect(struct lwp *, void *, register_t *);
    812 
    813 int	linux_sys_accept(struct lwp *, void *, register_t *);
    814 
    815 int	linux_sys_sendto(struct lwp *, void *, register_t *);
    816 
    817 int	linux_sys_recvfrom(struct lwp *, void *, register_t *);
    818 
    819 int	linux_sys_sendmsg(struct lwp *, void *, register_t *);
    820 
    821 int	linux_sys_recvmsg(struct lwp *, void *, register_t *);
    822 
    823 int	sys_shutdown(struct lwp *, void *, register_t *);
    824 
    825 int	linux_sys_bind(struct lwp *, void *, register_t *);
    826 
    827 int	sys_listen(struct lwp *, void *, register_t *);
    828 
    829 int	linux_sys_getsockname(struct lwp *, void *, register_t *);
    830 
    831 int	linux_sys_getpeername(struct lwp *, void *, register_t *);
    832 
    833 int	linux_sys_socketpair(struct lwp *, void *, register_t *);
    834 
    835 int	linux_sys_setsockopt(struct lwp *, void *, register_t *);
    836 
    837 int	linux_sys_getsockopt(struct lwp *, void *, register_t *);
    838 
    839 int	linux_sys_clone(struct lwp *, void *, register_t *);
    840 
    841 int	sys_fork(struct lwp *, void *, register_t *);
    842 
    843 int	sys___vfork14(struct lwp *, void *, register_t *);
    844 
    845 int	linux_sys_execve(struct lwp *, void *, register_t *);
    846 
    847 int	sys_exit(struct lwp *, void *, register_t *);
    848 
    849 int	linux_sys_wait4(struct lwp *, void *, register_t *);
    850 
    851 int	linux_sys_kill(struct lwp *, void *, register_t *);
    852 
    853 int	linux_sys_uname(struct lwp *, void *, register_t *);
    854 
    855 #ifdef SYSVSEM
    856 int	sys_semget(struct lwp *, void *, register_t *);
    857 
    858 int	sys_semop(struct lwp *, void *, register_t *);
    859 
    860 int	linux_sys_semctl(struct lwp *, void *, register_t *);
    861 
    862 #else
    863 #endif
    864 #ifdef SYSVSHM
    865 int	sys_shmdt(struct lwp *, void *, register_t *);
    866 
    867 #else
    868 #endif
    869 #ifdef SYSVMSG
    870 int	sys_msgget(struct lwp *, void *, register_t *);
    871 
    872 int	sys_msgsnd(struct lwp *, void *, register_t *);
    873 
    874 int	sys_msgrcv(struct lwp *, void *, register_t *);
    875 
    876 int	linux_sys_msgctl(struct lwp *, void *, register_t *);
    877 
    878 #else
    879 #endif
    880 int	linux_sys_fcntl(struct lwp *, void *, register_t *);
    881 
    882 int	sys_flock(struct lwp *, void *, register_t *);
    883 
    884 int	sys_fsync(struct lwp *, void *, register_t *);
    885 
    886 int	linux_sys_fdatasync(struct lwp *, void *, register_t *);
    887 
    888 int	linux_sys_truncate64(struct lwp *, void *, register_t *);
    889 
    890 int	linux_sys_ftruncate64(struct lwp *, void *, register_t *);
    891 
    892 int	linux_sys_getdents(struct lwp *, void *, register_t *);
    893 
    894 int	sys___getcwd(struct lwp *, void *, register_t *);
    895 
    896 int	linux_sys_chdir(struct lwp *, void *, register_t *);
    897 
    898 int	sys_fchdir(struct lwp *, void *, register_t *);
    899 
    900 int	linux_sys_rename(struct lwp *, void *, register_t *);
    901 
    902 int	linux_sys_mkdir(struct lwp *, void *, register_t *);
    903 
    904 int	linux_sys_rmdir(struct lwp *, void *, register_t *);
    905 
    906 int	linux_sys_creat(struct lwp *, void *, register_t *);
    907 
    908 int	linux_sys_link(struct lwp *, void *, register_t *);
    909 
    910 int	linux_sys_unlink(struct lwp *, void *, register_t *);
    911 
    912 int	linux_sys_symlink(struct lwp *, void *, register_t *);
    913 
    914 int	linux_sys_readlink(struct lwp *, void *, register_t *);
    915 
    916 int	linux_sys_chmod(struct lwp *, void *, register_t *);
    917 
    918 int	sys_fchmod(struct lwp *, void *, register_t *);
    919 
    920 int	linux_sys_chown(struct lwp *, void *, register_t *);
    921 
    922 int	sys___posix_fchown(struct lwp *, void *, register_t *);
    923 
    924 int	linux_sys_lchown(struct lwp *, void *, register_t *);
    925 
    926 int	sys_umask(struct lwp *, void *, register_t *);
    927 
    928 int	linux_sys_gettimeofday(struct lwp *, void *, register_t *);
    929 
    930 int	linux_sys_getrlimit(struct lwp *, void *, register_t *);
    931 
    932 int	sys_getrusage(struct lwp *, void *, register_t *);
    933 
    934 int	linux_sys_sysinfo(struct lwp *, void *, register_t *);
    935 
    936 int	linux_sys_times(struct lwp *, void *, register_t *);
    937 
    938 int	linux_sys_ptrace(struct lwp *, void *, register_t *);
    939 
    940 int	sys_getuid(struct lwp *, void *, register_t *);
    941 
    942 int	sys_getgid(struct lwp *, void *, register_t *);
    943 
    944 int	sys_setuid(struct lwp *, void *, register_t *);
    945 
    946 int	sys_setgid(struct lwp *, void *, register_t *);
    947 
    948 int	sys_geteuid(struct lwp *, void *, register_t *);
    949 
    950 int	sys_getegid(struct lwp *, void *, register_t *);
    951 
    952 int	sys_setpgid(struct lwp *, void *, register_t *);
    953 
    954 int	sys_getppid(struct lwp *, void *, register_t *);
    955 
    956 int	sys_getpgrp(struct lwp *, void *, register_t *);
    957 
    958 int	sys_setsid(struct lwp *, void *, register_t *);
    959 
    960 int	sys_setreuid(struct lwp *, void *, register_t *);
    961 
    962 int	sys_setregid(struct lwp *, void *, register_t *);
    963 
    964 int	sys_getgroups(struct lwp *, void *, register_t *);
    965 
    966 int	sys_setgroups(struct lwp *, void *, register_t *);
    967 
    968 int	linux_sys_setresuid(struct lwp *, void *, register_t *);
    969 
    970 int	linux_sys_getresuid(struct lwp *, void *, register_t *);
    971 
    972 int	linux_sys_setresgid(struct lwp *, void *, register_t *);
    973 
    974 int	linux_sys_getresgid(struct lwp *, void *, register_t *);
    975 
    976 int	linux_sys_getpgid(struct lwp *, void *, register_t *);
    977 
    978 int	linux_sys_setfsuid(struct lwp *, void *, register_t *);
    979 
    980 int	linux_sys_getfsuid(struct lwp *, void *, register_t *);
    981 
    982 int	sys_getsid(struct lwp *, void *, register_t *);
    983 
    984 int	linux_sys_rt_sigpending(struct lwp *, void *, register_t *);
    985 
    986 int	linux_sys_rt_queueinfo(struct lwp *, void *, register_t *);
    987 
    988 int	linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *);
    989 
    990 int	linux_sys_sigaltstack(struct lwp *, void *, register_t *);
    991 
    992 int	linux_sys_utime(struct lwp *, void *, register_t *);
    993 
    994 int	linux_sys_mknod(struct lwp *, void *, register_t *);
    995 
    996 #ifdef EXEC_AOUT
    997 int	linux_sys_uselib(struct lwp *, void *, register_t *);
    998 
    999 #else
   1000 #endif
   1001 int	linux_sys_personality(struct lwp *, void *, register_t *);
   1002 
   1003 int	linux_sys_statfs64(struct lwp *, void *, register_t *);
   1004 
   1005 int	linux_sys_fstatfs64(struct lwp *, void *, register_t *);
   1006 
   1007 int	sys_getpriority(struct lwp *, void *, register_t *);
   1008 
   1009 int	sys_setpriority(struct lwp *, void *, register_t *);
   1010 
   1011 int	linux_sys_sched_setparam(struct lwp *, void *, register_t *);
   1012 
   1013 int	linux_sys_sched_getparam(struct lwp *, void *, register_t *);
   1014 
   1015 int	linux_sys_sched_setscheduler(struct lwp *, void *, register_t *);
   1016 
   1017 int	linux_sys_sched_getscheduler(struct lwp *, void *, register_t *);
   1018 
   1019 int	linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
   1020 
   1021 int	linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
   1022 
   1023 int	sys_mlock(struct lwp *, void *, register_t *);
   1024 
   1025 int	sys_munlock(struct lwp *, void *, register_t *);
   1026 
   1027 int	sys_mlockall(struct lwp *, void *, register_t *);
   1028 
   1029 int	sys_munlockall(struct lwp *, void *, register_t *);
   1030 
   1031 int	linux_sys_modify_ldt(struct lwp *, void *, register_t *);
   1032 
   1033 int	linux_sys___sysctl(struct lwp *, void *, register_t *);
   1034 
   1035 int	linux_sys_arch_prctl(struct lwp *, void *, register_t *);
   1036 
   1037 int	linux_sys_setrlimit(struct lwp *, void *, register_t *);
   1038 
   1039 int	sys_chroot(struct lwp *, void *, register_t *);
   1040 
   1041 int	sys_sync(struct lwp *, void *, register_t *);
   1042 
   1043 int	sys_acct(struct lwp *, void *, register_t *);
   1044 
   1045 int	linux_sys_settimeofday(struct lwp *, void *, register_t *);
   1046 
   1047 int	linux_sys_swapon(struct lwp *, void *, register_t *);
   1048 
   1049 int	linux_sys_swapoff(struct lwp *, void *, register_t *);
   1050 
   1051 int	linux_sys_reboot(struct lwp *, void *, register_t *);
   1052 
   1053 int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
   1054 
   1055 int	linux_sys_setdomainname(struct lwp *, void *, register_t *);
   1056 
   1057 int	linux_sys_iopl(struct lwp *, void *, register_t *);
   1058 
   1059 int	linux_sys_ioperm(struct lwp *, void *, register_t *);
   1060 
   1061 int	linux_sys_gettid(struct lwp *, void *, register_t *);
   1062 
   1063 int	linux_sys_setxattr(struct lwp *, void *, register_t *);
   1064 
   1065 int	linux_sys_lsetxattr(struct lwp *, void *, register_t *);
   1066 
   1067 int	linux_sys_fsetxattr(struct lwp *, void *, register_t *);
   1068 
   1069 int	linux_sys_getxattr(struct lwp *, void *, register_t *);
   1070 
   1071 int	linux_sys_lgetxattr(struct lwp *, void *, register_t *);
   1072 
   1073 int	linux_sys_fgetxattr(struct lwp *, void *, register_t *);
   1074 
   1075 int	linux_sys_listxattr(struct lwp *, void *, register_t *);
   1076 
   1077 int	linux_sys_llistxattr(struct lwp *, void *, register_t *);
   1078 
   1079 int	linux_sys_flistxattr(struct lwp *, void *, register_t *);
   1080 
   1081 int	linux_sys_removexattr(struct lwp *, void *, register_t *);
   1082 
   1083 int	linux_sys_lremovexattr(struct lwp *, void *, register_t *);
   1084 
   1085 int	linux_sys_fremovexattr(struct lwp *, void *, register_t *);
   1086 
   1087 int	linux_sys_tkill(struct lwp *, void *, register_t *);
   1088 
   1089 int	linux_sys_time(struct lwp *, void *, register_t *);
   1090 
   1091 int	linux_sys_futex(struct lwp *, void *, register_t *);
   1092 
   1093 int	linux_sys_sched_setaffinity(struct lwp *, void *, register_t *);
   1094 
   1095 int	linux_sys_sched_getaffinity(struct lwp *, void *, register_t *);
   1096 
   1097 int	linux_sys_getdents64(struct lwp *, void *, register_t *);
   1098 
   1099 int	linux_sys_set_tid_address(struct lwp *, void *, register_t *);
   1100 
   1101 int	linux_sys_clock_settime(struct lwp *, void *, register_t *);
   1102 
   1103 int	linux_sys_clock_gettime(struct lwp *, void *, register_t *);
   1104 
   1105 int	linux_sys_clock_getres(struct lwp *, void *, register_t *);
   1106 
   1107 int	linux_sys_clock_nanosleep(struct lwp *, void *, register_t *);
   1108 
   1109 int	linux_sys_exit_group(struct lwp *, void *, register_t *);
   1110 
   1111 int	linux_sys_tgkill(struct lwp *, void *, register_t *);
   1112 
   1113 int	linux_sys_nosys(struct lwp *, void *, register_t *);
   1114 
   1115 #endif /* _LINUX_SYS_SYSCALLARGS_H_ */
   1116