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