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