Home | History | Annotate | Line # | Download | only in alpha
linux_syscallargs.h revision 1.28
      1 /* $NetBSD: linux_syscallargs.h,v 1.28 2000/12/11 04:54:29 mycroft 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.27 2000/12/11 04:54:13 mycroft 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 {						\
     22 			int8_t pad[ (sizeof (register_t) < sizeof (x))	\
     23 				? 0					\
     24 				: sizeof (register_t) - sizeof (x)];	\
     25 			x datum;					\
     26 		} be;							\
     27 	}
     28 
     29 struct osf1_sys_wait4_args {
     30 	syscallarg(int) pid;
     31 	syscallarg(int *) status;
     32 	syscallarg(int) options;
     33 	syscallarg(struct osf1_rusage *) rusage;
     34 };
     35 
     36 struct linux_sys_creat_args {
     37 	syscallarg(const char *) path;
     38 	syscallarg(mode_t) mode;
     39 };
     40 
     41 struct linux_sys_unlink_args {
     42 	syscallarg(const char *) path;
     43 };
     44 
     45 struct linux_sys_chdir_args {
     46 	syscallarg(const char *) path;
     47 };
     48 
     49 struct linux_sys_mknod_args {
     50 	syscallarg(const char *) path;
     51 	syscallarg(int) mode;
     52 	syscallarg(int) dev;
     53 };
     54 
     55 struct linux_sys_chmod_args {
     56 	syscallarg(const char *) path;
     57 	syscallarg(int) mode;
     58 };
     59 
     60 struct linux_sys_chown_args {
     61 	syscallarg(const char *) path;
     62 	syscallarg(int) uid;
     63 	syscallarg(int) gid;
     64 };
     65 
     66 struct linux_sys_brk_args {
     67 	syscallarg(char *) nsize;
     68 };
     69 
     70 struct osf1_sys_mount_args {
     71 	syscallarg(int) type;
     72 	syscallarg(const char *) path;
     73 	syscallarg(int) flags;
     74 	syscallarg(caddr_t) data;
     75 };
     76 
     77 struct linux_sys_ptrace_args {
     78 	syscallarg(long) request;
     79 	syscallarg(long) pid;
     80 	syscallarg(long) addr;
     81 	syscallarg(long) data;
     82 };
     83 
     84 struct linux_sys_access_args {
     85 	syscallarg(const char *) path;
     86 	syscallarg(int) flags;
     87 };
     88 
     89 struct linux_sys_kill_args {
     90 	syscallarg(int) pid;
     91 	syscallarg(int) signum;
     92 };
     93 
     94 struct osf1_sys_set_program_attributes_args {
     95 	syscallarg(caddr_t) taddr;
     96 	syscallarg(unsigned long) tsize;
     97 	syscallarg(caddr_t) daddr;
     98 	syscallarg(unsigned long) dsize;
     99 };
    100 
    101 struct linux_sys_open_args {
    102 	syscallarg(const char *) path;
    103 	syscallarg(int) flags;
    104 	syscallarg(int) mode;
    105 };
    106 
    107 struct linux_sys_sigpending_args {
    108 	syscallarg(linux_old_sigset_t *) set;
    109 };
    110 
    111 struct linux_sys_ioctl_args {
    112 	syscallarg(int) fd;
    113 	syscallarg(u_long) com;
    114 	syscallarg(caddr_t) data;
    115 };
    116 
    117 struct linux_sys_symlink_args {
    118 	syscallarg(const char *) path;
    119 	syscallarg(const char *) to;
    120 };
    121 
    122 struct linux_sys_readlink_args {
    123 	syscallarg(const char *) name;
    124 	syscallarg(char *) buf;
    125 	syscallarg(int) count;
    126 };
    127 
    128 struct linux_sys_execve_args {
    129 	syscallarg(const char *) path;
    130 	syscallarg(char **) argp;
    131 	syscallarg(char **) envp;
    132 };
    133 
    134 struct linux_sys_stat_args {
    135 	syscallarg(const char *) path;
    136 	syscallarg(struct linux_stat *) sp;
    137 };
    138 
    139 struct linux_sys_lstat_args {
    140 	syscallarg(const char *) path;
    141 	syscallarg(struct linux_stat *) sp;
    142 };
    143 
    144 struct osf1_sys_setitimer_args {
    145 	syscallarg(u_int) which;
    146 	syscallarg(struct osf1_itimerval *) itv;
    147 	syscallarg(struct osf1_itimerval *) oitv;
    148 };
    149 
    150 struct linux_sys_fstat_args {
    151 	syscallarg(int) fd;
    152 	syscallarg(struct linux_stat *) sp;
    153 };
    154 
    155 struct linux_sys_fcntl_args {
    156 	syscallarg(int) fd;
    157 	syscallarg(int) cmd;
    158 	syscallarg(void *) arg;
    159 };
    160 
    161 struct osf1_sys_select_args {
    162 	syscallarg(u_int) nd;
    163 	syscallarg(fd_set *) in;
    164 	syscallarg(fd_set *) ou;
    165 	syscallarg(fd_set *) ex;
    166 	syscallarg(struct osf1_timeval *) tv;
    167 };
    168 
    169 struct linux_sys_socket_args {
    170 	syscallarg(int) domain;
    171 	syscallarg(int) type;
    172 	syscallarg(int) protocol;
    173 };
    174 
    175 struct linux_sys_connect_args {
    176 	syscallarg(int) s;
    177 	syscallarg(const struct sockaddr *) name;
    178 	syscallarg(unsigned int) namelen;
    179 };
    180 
    181 struct linux_sys_sigreturn_args {
    182 	syscallarg(struct linux_sigframe *) sfp;
    183 };
    184 
    185 struct linux_sys_setsockopt_args {
    186 	syscallarg(int) s;
    187 	syscallarg(int) level;
    188 	syscallarg(int) optname;
    189 	syscallarg(void *) optval;
    190 	syscallarg(int) optlen;
    191 };
    192 
    193 struct linux_sys_sigsuspend_args {
    194 	syscallarg(caddr_t) restart;
    195 	syscallarg(int) oldmask;
    196 	syscallarg(int) mask;
    197 };
    198 
    199 struct osf1_sys_gettimeofday_args {
    200 	syscallarg(struct osf1_timeval *) tv;
    201 	syscallarg(struct osf1_timezone *) tzp;
    202 };
    203 
    204 struct osf1_sys_getrusage_args {
    205 	syscallarg(int) who;
    206 	syscallarg(struct osf1_rusage *) rusage;
    207 };
    208 
    209 struct linux_sys_getsockopt_args {
    210 	syscallarg(int) s;
    211 	syscallarg(int) level;
    212 	syscallarg(int) optname;
    213 	syscallarg(void *) optval;
    214 	syscallarg(int *) optlen;
    215 };
    216 
    217 struct osf1_sys_settimeofday_args {
    218 	syscallarg(struct osf1_timeval *) tv;
    219 	syscallarg(struct osf1_timezone *) tzp;
    220 };
    221 
    222 struct linux_sys_fchown_args {
    223 	syscallarg(int) fd;
    224 	syscallarg(int) uid;
    225 	syscallarg(int) gid;
    226 };
    227 
    228 struct linux_sys_recvfrom_args {
    229 	syscallarg(int) s;
    230 	syscallarg(void *) buf;
    231 	syscallarg(int) len;
    232 	syscallarg(int) flags;
    233 	syscallarg(struct sockaddr *) from;
    234 	syscallarg(int *) fromlen;
    235 };
    236 
    237 struct linux_sys_setreuid_args {
    238 	syscallarg(int) ruid;
    239 	syscallarg(int) euid;
    240 };
    241 
    242 struct linux_sys_setregid_args {
    243 	syscallarg(int) rgid;
    244 	syscallarg(int) egid;
    245 };
    246 
    247 struct linux_sys_rename_args {
    248 	syscallarg(const char *) from;
    249 	syscallarg(const char *) to;
    250 };
    251 
    252 struct linux_sys_truncate_args {
    253 	syscallarg(const char *) path;
    254 	syscallarg(long) length;
    255 };
    256 
    257 struct linux_sys_sendto_args {
    258 	syscallarg(int) s;
    259 	syscallarg(void *) msg;
    260 	syscallarg(int) len;
    261 	syscallarg(int) flags;
    262 	syscallarg(struct sockaddr *) to;
    263 	syscallarg(int) tolen;
    264 };
    265 
    266 struct linux_sys_socketpair_args {
    267 	syscallarg(int) domain;
    268 	syscallarg(int) type;
    269 	syscallarg(int) protocol;
    270 	syscallarg(int *) rsv;
    271 };
    272 
    273 struct linux_sys_mkdir_args {
    274 	syscallarg(const char *) path;
    275 	syscallarg(int) mode;
    276 };
    277 
    278 struct linux_sys_rmdir_args {
    279 	syscallarg(const char *) path;
    280 };
    281 
    282 struct osf1_sys_utimes_args {
    283 	syscallarg(const char *) path;
    284 	syscallarg(const struct osf1_timeval *) tptr;
    285 };
    286 
    287 struct linux_sys_sigaction_args {
    288 	syscallarg(int) signum;
    289 	syscallarg(const struct linux_old_sigaction *) nsa;
    290 	syscallarg(struct linux_old_sigaction *) osa;
    291 };
    292 
    293 struct osf1_sys_statfs_args {
    294 	syscallarg(const char *) path;
    295 	syscallarg(struct osf1_statfs *) buf;
    296 	syscallarg(int) len;
    297 };
    298 
    299 struct osf1_sys_fstatfs_args {
    300 	syscallarg(int) fd;
    301 	syscallarg(struct osf1_statfs *) buf;
    302 	syscallarg(int) len;
    303 };
    304 
    305 struct linux_sys_setdomainname_args {
    306 	syscallarg(char *) domainname;
    307 	syscallarg(int) len;
    308 };
    309 
    310 struct linux_sys_olduname_args {
    311 	syscallarg(struct linux_old_utsname *) up;
    312 };
    313 
    314 struct linux_sys_lchown_args {
    315 	syscallarg(char *) path;
    316 	syscallarg(int) uid;
    317 	syscallarg(int) gid;
    318 };
    319 
    320 struct linux_sys_msync_args {
    321 	syscallarg(caddr_t) addr;
    322 	syscallarg(int) len;
    323 	syscallarg(int) fl;
    324 };
    325 
    326 struct linux_sys_getpgid_args {
    327 	syscallarg(int) pid;
    328 };
    329 
    330 struct osf1_sys_sysinfo_args {
    331 	syscallarg(int) cmd;
    332 	syscallarg(char) buf;
    333 	syscallarg(long) len;
    334 };
    335 
    336 struct osf1_sys_usleep_thread_args {
    337 	syscallarg(struct osf1_timeval *) sleep;
    338 	syscallarg(struct osf1_timeval *) slept;
    339 };
    340 
    341 struct osf1_sys_getsysinfo_args {
    342 	syscallarg(u_long) op;
    343 	syscallarg(caddr_t) buffer;
    344 	syscallarg(u_long) nbytes;
    345 	syscallarg(caddr_t) arg;
    346 	syscallarg(u_long) flag;
    347 };
    348 
    349 struct osf1_sys_setsysinfo_args {
    350 	syscallarg(u_long) op;
    351 	syscallarg(caddr_t) buffer;
    352 	syscallarg(u_long) nbytes;
    353 	syscallarg(caddr_t) arg;
    354 	syscallarg(u_long) flag;
    355 };
    356 
    357 struct linux_sys_fdatasync_args {
    358 	syscallarg(int) fd;
    359 };
    360 
    361 struct linux_sys_swapoff_args {
    362 	syscallarg(const char *) path;
    363 };
    364 
    365 struct linux_sys_getdents_args {
    366 	syscallarg(int) fd;
    367 	syscallarg(struct linux_dirent *) dent;
    368 	syscallarg(unsigned int) count;
    369 };
    370 
    371 struct linux_sys_reboot_args {
    372 	syscallarg(int) magic1;
    373 	syscallarg(int) magic2;
    374 	syscallarg(int) cmd;
    375 	syscallarg(void *) arg;
    376 };
    377 
    378 struct linux_sys_clone_args {
    379 	syscallarg(int) flags;
    380 	syscallarg(void *) stack;
    381 };
    382 
    383 struct linux_sys_uselib_args {
    384 	syscallarg(const char *) path;
    385 };
    386 
    387 struct linux_sys___sysctl_args {
    388 	syscallarg(struct linux___sysctl *) lsp;
    389 };
    390 
    391 struct linux_sys_swapon_args {
    392 	syscallarg(const char *) name;
    393 };
    394 
    395 struct linux_sys_times_args {
    396 	syscallarg(struct times *) tms;
    397 };
    398 
    399 struct linux_sys_personality_args {
    400 	syscallarg(int) per;
    401 };
    402 
    403 struct linux_sys_setfsuid_args {
    404 	syscallarg(uid_t) uid;
    405 };
    406 
    407 struct linux_sys_statfs_args {
    408 	syscallarg(const char *) path;
    409 	syscallarg(struct linux_statfs *) sp;
    410 };
    411 
    412 struct linux_sys_fstatfs_args {
    413 	syscallarg(int) fd;
    414 	syscallarg(struct linux_statfs *) sp;
    415 };
    416 
    417 struct linux_sys_sched_setparam_args {
    418 	syscallarg(pid_t) pid;
    419 	syscallarg(const struct linux_sched_param *) sp;
    420 };
    421 
    422 struct linux_sys_sched_getparam_args {
    423 	syscallarg(pid_t) pid;
    424 	syscallarg(struct linux_sched_param *) sp;
    425 };
    426 
    427 struct linux_sys_sched_setscheduler_args {
    428 	syscallarg(pid_t) pid;
    429 	syscallarg(int) policy;
    430 	syscallarg(const struct linux_sched_param *) sp;
    431 };
    432 
    433 struct linux_sys_sched_getscheduler_args {
    434 	syscallarg(pid_t) pid;
    435 };
    436 
    437 struct linux_sys_sched_get_priority_max_args {
    438 	syscallarg(int) policy;
    439 };
    440 
    441 struct linux_sys_sched_get_priority_min_args {
    442 	syscallarg(int) policy;
    443 };
    444 
    445 struct linux_sys_uname_args {
    446 	syscallarg(struct linux_utsname *) up;
    447 };
    448 
    449 struct linux_sys_mremap_args {
    450 	syscallarg(void *) old_address;
    451 	syscallarg(size_t) old_size;
    452 	syscallarg(size_t) new_size;
    453 	syscallarg(u_long) flags;
    454 };
    455 
    456 struct linux_sys_setresuid_args {
    457 	syscallarg(uid_t) ruid;
    458 	syscallarg(uid_t) euid;
    459 	syscallarg(uid_t) suid;
    460 };
    461 
    462 struct linux_sys_getresuid_args {
    463 	syscallarg(uid_t *) ruid;
    464 	syscallarg(uid_t *) euid;
    465 	syscallarg(uid_t *) suid;
    466 };
    467 
    468 struct linux_sys_pread_args {
    469 	syscallarg(int) fd;
    470 	syscallarg(char *) buf;
    471 	syscallarg(size_t) nbyte;
    472 	syscallarg(linux_off_t) offset;
    473 };
    474 
    475 struct linux_sys_pwrite_args {
    476 	syscallarg(int) fd;
    477 	syscallarg(char *) buf;
    478 	syscallarg(size_t) nbyte;
    479 	syscallarg(linux_off_t) offset;
    480 };
    481 
    482 struct linux_sys_rt_sigreturn_args {
    483 	syscallarg(struct linux_rt_sigframe *) sfp;
    484 };
    485 
    486 struct linux_sys_rt_sigaction_args {
    487 	syscallarg(int) signum;
    488 	syscallarg(const struct linux_sigaction *) nsa;
    489 	syscallarg(struct linux_sigaction *) osa;
    490 	syscallarg(size_t) sigsetsize;
    491 };
    492 
    493 struct linux_sys_rt_sigprocmask_args {
    494 	syscallarg(int) how;
    495 	syscallarg(const linux_sigset_t *) set;
    496 	syscallarg(linux_sigset_t *) oset;
    497 	syscallarg(size_t) sigsetsize;
    498 };
    499 
    500 struct linux_sys_rt_sigpending_args {
    501 	syscallarg(linux_sigset_t *) set;
    502 	syscallarg(size_t) sigsetsize;
    503 };
    504 
    505 struct linux_sys_rt_queueinfo_args {
    506 	syscallarg(int) pid;
    507 	syscallarg(int) signum;
    508 	syscallarg(linux_siginfo_t *) uinfo;
    509 };
    510 
    511 struct linux_sys_rt_sigsuspend_args {
    512 	syscallarg(linux_sigset_t *) unewset;
    513 	syscallarg(size_t) sigsetsize;
    514 };
    515 
    516 struct linux_sys_select_args {
    517 	syscallarg(int) nfds;
    518 	syscallarg(fd_set *) readfds;
    519 	syscallarg(fd_set *) writefds;
    520 	syscallarg(fd_set *) exceptfds;
    521 	syscallarg(struct timeval *) timeout;
    522 };
    523 
    524 struct linux_sys_wait4_args {
    525 	syscallarg(int) pid;
    526 	syscallarg(int *) status;
    527 	syscallarg(int) options;
    528 	syscallarg(struct rusage *) rusage;
    529 };
    530 
    531 /*
    532  * System call prototypes.
    533  */
    534 
    535 int	sys_nosys(struct proc *, void *, register_t *);
    536 int	sys_exit(struct proc *, void *, register_t *);
    537 int	sys_fork(struct proc *, void *, register_t *);
    538 int	sys_read(struct proc *, void *, register_t *);
    539 int	sys_write(struct proc *, void *, register_t *);
    540 int	sys_close(struct proc *, void *, register_t *);
    541 int	osf1_sys_wait4(struct proc *, void *, register_t *);
    542 int	linux_sys_creat(struct proc *, void *, register_t *);
    543 int	sys_link(struct proc *, void *, register_t *);
    544 int	linux_sys_unlink(struct proc *, void *, register_t *);
    545 int	linux_sys_chdir(struct proc *, void *, register_t *);
    546 int	sys_fchdir(struct proc *, void *, register_t *);
    547 int	linux_sys_mknod(struct proc *, void *, register_t *);
    548 int	linux_sys_chmod(struct proc *, void *, register_t *);
    549 int	linux_sys_chown(struct proc *, void *, register_t *);
    550 int	linux_sys_brk(struct proc *, void *, register_t *);
    551 int	compat_43_sys_lseek(struct proc *, void *, register_t *);
    552 int	sys_getpid_with_ppid(struct proc *, void *, register_t *);
    553 int	osf1_sys_mount(struct proc *, void *, register_t *);
    554 int	sys_setuid(struct proc *, void *, register_t *);
    555 int	sys_getuid(struct proc *, void *, register_t *);
    556 int	linux_sys_ptrace(struct proc *, void *, register_t *);
    557 int	linux_sys_access(struct proc *, void *, register_t *);
    558 int	sys_sync(struct proc *, void *, register_t *);
    559 int	linux_sys_kill(struct proc *, void *, register_t *);
    560 int	sys_setpgid(struct proc *, void *, register_t *);
    561 int	sys_dup(struct proc *, void *, register_t *);
    562 int	linux_sys_pipe(struct proc *, void *, register_t *);
    563 int	osf1_sys_set_program_attributes(struct proc *, void *, register_t *);
    564 int	linux_sys_open(struct proc *, void *, register_t *);
    565 int	sys_getgid(struct proc *, void *, register_t *);
    566 int	compat_13_sys_sigprocmask(struct proc *, void *, register_t *);
    567 int	sys_acct(struct proc *, void *, register_t *);
    568 int	linux_sys_sigpending(struct proc *, void *, register_t *);
    569 int	linux_sys_ioctl(struct proc *, void *, register_t *);
    570 int	linux_sys_symlink(struct proc *, void *, register_t *);
    571 int	linux_sys_readlink(struct proc *, void *, register_t *);
    572 int	linux_sys_execve(struct proc *, void *, register_t *);
    573 int	sys_umask(struct proc *, void *, register_t *);
    574 int	sys_chroot(struct proc *, void *, register_t *);
    575 int	sys_getpgrp(struct proc *, void *, register_t *);
    576 int	compat_43_sys_getpagesize(struct proc *, void *, register_t *);
    577 int	sys___vfork14(struct proc *, void *, register_t *);
    578 int	linux_sys_stat(struct proc *, void *, register_t *);
    579 int	linux_sys_lstat(struct proc *, void *, register_t *);
    580 int	linux_sys_mmap(struct proc *, void *, register_t *);
    581 int	sys_munmap(struct proc *, void *, register_t *);
    582 int	sys_mprotect(struct proc *, void *, register_t *);
    583 int	sys_getgroups(struct proc *, void *, register_t *);
    584 int	sys_setgroups(struct proc *, void *, register_t *);
    585 int	osf1_sys_setitimer(struct proc *, void *, register_t *);
    586 int	compat_43_sys_gethostname(struct proc *, void *, register_t *);
    587 int	compat_43_sys_sethostname(struct proc *, void *, register_t *);
    588 int	sys_dup2(struct proc *, void *, register_t *);
    589 int	linux_sys_fstat(struct proc *, void *, register_t *);
    590 int	linux_sys_fcntl(struct proc *, void *, register_t *);
    591 int	osf1_sys_select(struct proc *, void *, register_t *);
    592 int	sys_poll(struct proc *, void *, register_t *);
    593 int	sys_fsync(struct proc *, void *, register_t *);
    594 int	sys_setpriority(struct proc *, void *, register_t *);
    595 int	linux_sys_socket(struct proc *, void *, register_t *);
    596 int	linux_sys_connect(struct proc *, void *, register_t *);
    597 int	compat_43_sys_accept(struct proc *, void *, register_t *);
    598 int	sys_getpriority(struct proc *, void *, register_t *);
    599 int	compat_43_sys_send(struct proc *, void *, register_t *);
    600 int	compat_43_sys_recv(struct proc *, void *, register_t *);
    601 int	linux_sys_sigreturn(struct proc *, void *, register_t *);
    602 int	sys_bind(struct proc *, void *, register_t *);
    603 int	linux_sys_setsockopt(struct proc *, void *, register_t *);
    604 int	sys_listen(struct proc *, void *, register_t *);
    605 int	linux_sys_sigsuspend(struct proc *, void *, register_t *);
    606 int	compat_43_sys_sigstack(struct proc *, void *, register_t *);
    607 int	sys_recvmsg(struct proc *, void *, register_t *);
    608 int	sys_sendmsg(struct proc *, void *, register_t *);
    609 int	osf1_sys_gettimeofday(struct proc *, void *, register_t *);
    610 int	osf1_sys_getrusage(struct proc *, void *, register_t *);
    611 int	linux_sys_getsockopt(struct proc *, void *, register_t *);
    612 int	sys_readv(struct proc *, void *, register_t *);
    613 int	sys_writev(struct proc *, void *, register_t *);
    614 int	osf1_sys_settimeofday(struct proc *, void *, register_t *);
    615 int	linux_sys_fchown(struct proc *, void *, register_t *);
    616 int	sys_fchmod(struct proc *, void *, register_t *);
    617 int	linux_sys_recvfrom(struct proc *, void *, register_t *);
    618 int	linux_sys_setreuid(struct proc *, void *, register_t *);
    619 int	linux_sys_setregid(struct proc *, void *, register_t *);
    620 int	linux_sys_rename(struct proc *, void *, register_t *);
    621 int	linux_sys_truncate(struct proc *, void *, register_t *);
    622 int	compat_43_sys_ftruncate(struct proc *, void *, register_t *);
    623 int	sys_flock(struct proc *, void *, register_t *);
    624 int	sys_setgid(struct proc *, void *, register_t *);
    625 int	linux_sys_sendto(struct proc *, void *, register_t *);
    626 int	sys_shutdown(struct proc *, void *, register_t *);
    627 int	linux_sys_socketpair(struct proc *, void *, register_t *);
    628 int	linux_sys_mkdir(struct proc *, void *, register_t *);
    629 int	linux_sys_rmdir(struct proc *, void *, register_t *);
    630 int	osf1_sys_utimes(struct proc *, void *, register_t *);
    631 int	compat_43_sys_getpeername(struct proc *, void *, register_t *);
    632 int	compat_43_sys_getrlimit(struct proc *, void *, register_t *);
    633 int	compat_43_sys_setrlimit(struct proc *, void *, register_t *);
    634 int	sys_setsid(struct proc *, void *, register_t *);
    635 int	compat_43_sys_getsockname(struct proc *, void *, register_t *);
    636 int	linux_sys_sigaction(struct proc *, void *, register_t *);
    637 int	compat_43_sys_getdirentries(struct proc *, void *, register_t *);
    638 int	osf1_sys_statfs(struct proc *, void *, register_t *);
    639 int	osf1_sys_fstatfs(struct proc *, void *, register_t *);
    640 int	compat_09_sys_getdomainname(struct proc *, void *, register_t *);
    641 int	linux_sys_setdomainname(struct proc *, void *, register_t *);
    642 #ifdef SYSVMSG
    643 int	linux_sys_msgctl(struct proc *, void *, register_t *);
    644 int	sys_msgget(struct proc *, void *, register_t *);
    645 int	sys_msgrcv(struct proc *, void *, register_t *);
    646 int	sys_msgsnd(struct proc *, void *, register_t *);
    647 #else
    648 #endif
    649 #ifdef SYSVSEM
    650 int	linux_sys_semctl(struct proc *, void *, register_t *);
    651 int	sys_semget(struct proc *, void *, register_t *);
    652 int	sys_semop(struct proc *, void *, register_t *);
    653 #else
    654 #endif
    655 int	linux_sys_olduname(struct proc *, void *, register_t *);
    656 int	linux_sys_lchown(struct proc *, void *, register_t *);
    657 #ifdef SYSVSHM
    658 int	linux_sys_shmat(struct proc *, void *, register_t *);
    659 int	linux_sys_shmctl(struct proc *, void *, register_t *);
    660 int	sys_shmdt(struct proc *, void *, register_t *);
    661 int	sys_shmget(struct proc *, void *, register_t *);
    662 #else
    663 #endif
    664 int	linux_sys_msync(struct proc *, void *, register_t *);
    665 int	linux_sys_getpgid(struct proc *, void *, register_t *);
    666 int	sys_getsid(struct proc *, void *, register_t *);
    667 int	osf1_sys_sysinfo(struct proc *, void *, register_t *);
    668 int	osf1_sys_usleep_thread(struct proc *, void *, register_t *);
    669 int	osf1_sys_getsysinfo(struct proc *, void *, register_t *);
    670 int	osf1_sys_setsysinfo(struct proc *, void *, register_t *);
    671 int	linux_sys_fdatasync(struct proc *, void *, register_t *);
    672 int	linux_sys_swapoff(struct proc *, void *, register_t *);
    673 int	linux_sys_getdents(struct proc *, void *, register_t *);
    674 int	linux_sys_reboot(struct proc *, void *, register_t *);
    675 int	linux_sys_clone(struct proc *, void *, register_t *);
    676 #ifdef EXEC_AOUT
    677 int	linux_sys_uselib(struct proc *, void *, register_t *);
    678 #else
    679 #endif
    680 int	sys_mlock(struct proc *, void *, register_t *);
    681 int	sys_munlock(struct proc *, void *, register_t *);
    682 int	sys_mlockall(struct proc *, void *, register_t *);
    683 int	sys_munlockall(struct proc *, void *, register_t *);
    684 int	linux_sys___sysctl(struct proc *, void *, register_t *);
    685 int	linux_sys_swapon(struct proc *, void *, register_t *);
    686 int	linux_sys_times(struct proc *, void *, register_t *);
    687 int	linux_sys_personality(struct proc *, void *, register_t *);
    688 int	linux_sys_setfsuid(struct proc *, void *, register_t *);
    689 int	linux_sys_statfs(struct proc *, void *, register_t *);
    690 int	linux_sys_fstatfs(struct proc *, void *, register_t *);
    691 int	linux_sys_sched_setparam(struct proc *, void *, register_t *);
    692 int	linux_sys_sched_getparam(struct proc *, void *, register_t *);
    693 int	linux_sys_sched_setscheduler(struct proc *, void *, register_t *);
    694 int	linux_sys_sched_getscheduler(struct proc *, void *, register_t *);
    695 int	linux_sys_sched_yield(struct proc *, void *, register_t *);
    696 int	linux_sys_sched_get_priority_max(struct proc *, void *, register_t *);
    697 int	linux_sys_sched_get_priority_min(struct proc *, void *, register_t *);
    698 int	linux_sys_uname(struct proc *, void *, register_t *);
    699 int	sys_nanosleep(struct proc *, void *, register_t *);
    700 int	linux_sys_mremap(struct proc *, void *, register_t *);
    701 int	linux_sys_setresuid(struct proc *, void *, register_t *);
    702 int	linux_sys_getresuid(struct proc *, void *, register_t *);
    703 int	linux_sys_pread(struct proc *, void *, register_t *);
    704 int	linux_sys_pwrite(struct proc *, void *, register_t *);
    705 int	linux_sys_rt_sigreturn(struct proc *, void *, register_t *);
    706 int	linux_sys_rt_sigaction(struct proc *, void *, register_t *);
    707 int	linux_sys_rt_sigprocmask(struct proc *, void *, register_t *);
    708 int	linux_sys_rt_sigpending(struct proc *, void *, register_t *);
    709 int	linux_sys_rt_queueinfo(struct proc *, void *, register_t *);
    710 int	linux_sys_rt_sigsuspend(struct proc *, void *, register_t *);
    711 int	linux_sys_select(struct proc *, void *, register_t *);
    712 int	sys_gettimeofday(struct proc *, void *, register_t *);
    713 int	sys_settimeofday(struct proc *, void *, register_t *);
    714 int	sys_getitimer(struct proc *, void *, register_t *);
    715 int	sys_setitimer(struct proc *, void *, register_t *);
    716 int	sys_utimes(struct proc *, void *, register_t *);
    717 int	sys_getrusage(struct proc *, void *, register_t *);
    718 int	linux_sys_wait4(struct proc *, void *, register_t *);
    719 int	sys___getcwd(struct proc *, void *, register_t *);
    720 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */
    721