sysproto.h revision 22521
110907Sbde/* 210907Sbde * System call prototypes. 310907Sbde * 410907Sbde * DO NOT EDIT-- this file is automatically generated. 521777Sbde * created from FreeBSD 610907Sbde */ 710907Sbde 810907Sbde#ifndef _SYS_SYSPROTO_H_ 910907Sbde#define _SYS_SYSPROTO_H_ 1010907Sbde 1121777Sbde#include <sys/signal.h> 1210907Sbde 1311331Sswallacestruct nosys_args { 1411331Sswallace int dummy; 1511331Sswallace}; 1611295Sswallacestruct rexit_args { 1711295Sswallace int rval; 1811295Sswallace}; 1911331Sswallacestruct fork_args { 2011331Sswallace int dummy; 2111331Sswallace}; 2211295Sswallacestruct read_args { 2311295Sswallace int fd; 2411295Sswallace char * buf; 2511295Sswallace u_int nbyte; 2611295Sswallace}; 2711295Sswallacestruct write_args { 2811295Sswallace int fd; 2911295Sswallace char * buf; 3011295Sswallace u_int nbyte; 3111295Sswallace}; 3211295Sswallacestruct open_args { 3311295Sswallace char * path; 3411295Sswallace int flags; 3511295Sswallace int mode; 3611295Sswallace}; 3711295Sswallacestruct close_args { 3811295Sswallace int fd; 3911295Sswallace}; 4011295Sswallacestruct wait_args { 4111295Sswallace int pid; 4211295Sswallace int * status; 4311295Sswallace int options; 4411295Sswallace struct rusage * rusage; 4511295Sswallace}; 4611295Sswallacestruct link_args { 4711295Sswallace char * path; 4811295Sswallace char * link; 4911295Sswallace}; 5011295Sswallacestruct unlink_args { 5111295Sswallace char * path; 5211295Sswallace}; 5311295Sswallacestruct chdir_args { 5411295Sswallace char * path; 5511295Sswallace}; 5611295Sswallacestruct fchdir_args { 5711295Sswallace int fd; 5811295Sswallace}; 5911295Sswallacestruct mknod_args { 6011295Sswallace char * path; 6111295Sswallace int mode; 6211295Sswallace int dev; 6311295Sswallace}; 6411295Sswallacestruct chmod_args { 6511295Sswallace char * path; 6611295Sswallace int mode; 6711295Sswallace}; 6811295Sswallacestruct chown_args { 6911295Sswallace char * path; 7011295Sswallace int uid; 7111295Sswallace int gid; 7211295Sswallace}; 7311295Sswallacestruct obreak_args { 7411295Sswallace char * nsize; 7511295Sswallace}; 7611295Sswallacestruct getfsstat_args { 7711295Sswallace struct statfs * buf; 7811295Sswallace long bufsize; 7911295Sswallace int flags; 8011295Sswallace}; 8111331Sswallacestruct getpid_args { 8211331Sswallace int dummy; 8311331Sswallace}; 8411295Sswallacestruct mount_args { 8522521Sdyson char * type; 8611295Sswallace char * path; 8711295Sswallace int flags; 8811295Sswallace caddr_t data; 8911295Sswallace}; 9011295Sswallacestruct unmount_args { 9111295Sswallace char * path; 9211295Sswallace int flags; 9311295Sswallace}; 9411295Sswallacestruct setuid_args { 9511295Sswallace uid_t uid; 9611295Sswallace}; 9711331Sswallacestruct getuid_args { 9811331Sswallace int dummy; 9911331Sswallace}; 10011331Sswallacestruct geteuid_args { 10111331Sswallace int dummy; 10211331Sswallace}; 10311295Sswallacestruct ptrace_args { 10411295Sswallace int req; 10511295Sswallace pid_t pid; 10611295Sswallace caddr_t addr; 10711295Sswallace int data; 10811295Sswallace}; 10911295Sswallacestruct recvmsg_args { 11011295Sswallace int s; 11111295Sswallace struct msghdr * msg; 11211295Sswallace int flags; 11311295Sswallace}; 11411295Sswallacestruct sendmsg_args { 11511295Sswallace int s; 11611295Sswallace caddr_t msg; 11711295Sswallace int flags; 11811295Sswallace}; 11911295Sswallacestruct recvfrom_args { 12011295Sswallace int s; 12111295Sswallace caddr_t buf; 12211295Sswallace size_t len; 12311295Sswallace int flags; 12411295Sswallace caddr_t from; 12511295Sswallace int * fromlenaddr; 12611295Sswallace}; 12711295Sswallacestruct accept_args { 12811295Sswallace int s; 12911295Sswallace caddr_t name; 13011295Sswallace int * anamelen; 13111295Sswallace}; 13211295Sswallacestruct getpeername_args { 13311295Sswallace int fdes; 13411295Sswallace caddr_t asa; 13511295Sswallace int * alen; 13611295Sswallace}; 13711295Sswallacestruct getsockname_args { 13811295Sswallace int fdes; 13911295Sswallace caddr_t asa; 14011295Sswallace int * alen; 14111295Sswallace}; 14211295Sswallacestruct access_args { 14311295Sswallace char * path; 14411295Sswallace int flags; 14511295Sswallace}; 14611295Sswallacestruct chflags_args { 14711295Sswallace char * path; 14811295Sswallace int flags; 14911295Sswallace}; 15011295Sswallacestruct fchflags_args { 15111295Sswallace int fd; 15211295Sswallace int flags; 15311295Sswallace}; 15411331Sswallacestruct sync_args { 15511331Sswallace int dummy; 15611331Sswallace}; 15711295Sswallacestruct kill_args { 15811295Sswallace int pid; 15911295Sswallace int signum; 16011295Sswallace}; 16111331Sswallacestruct getppid_args { 16211331Sswallace int dummy; 16311331Sswallace}; 16411295Sswallacestruct dup_args { 16511295Sswallace u_int fd; 16611295Sswallace}; 16711331Sswallacestruct pipe_args { 16811331Sswallace int dummy; 16911331Sswallace}; 17011331Sswallacestruct getegid_args { 17111331Sswallace int dummy; 17211331Sswallace}; 17311295Sswallacestruct profil_args { 17411295Sswallace caddr_t samples; 17511295Sswallace u_int size; 17611295Sswallace u_int offset; 17711295Sswallace u_int scale; 17811295Sswallace}; 17911295Sswallacestruct ktrace_args { 18011295Sswallace char * fname; 18111295Sswallace int ops; 18211295Sswallace int facs; 18311295Sswallace int pid; 18411295Sswallace}; 18511295Sswallacestruct sigaction_args { 18611295Sswallace int signum; 18711295Sswallace struct sigaction * nsa; 18811295Sswallace struct sigaction * osa; 18911295Sswallace}; 19011331Sswallacestruct getgid_args { 19111331Sswallace int dummy; 19211331Sswallace}; 19311295Sswallacestruct sigprocmask_args { 19411295Sswallace int how; 19511295Sswallace sigset_t mask; 19611295Sswallace}; 19711295Sswallacestruct getlogin_args { 19811295Sswallace char * namebuf; 19911295Sswallace u_int namelen; 20011295Sswallace}; 20111295Sswallacestruct setlogin_args { 20211295Sswallace char * namebuf; 20311295Sswallace}; 20411295Sswallacestruct acct_args { 20511295Sswallace char * path; 20611295Sswallace}; 20711331Sswallacestruct sigpending_args { 20811331Sswallace int dummy; 20911331Sswallace}; 21011295Sswallacestruct sigaltstack_args { 21111295Sswallace struct sigaltstack * nss; 21211295Sswallace struct sigaltstack * oss; 21311295Sswallace}; 21411295Sswallacestruct ioctl_args { 21511295Sswallace int fd; 21611295Sswallace u_long com; 21711295Sswallace caddr_t data; 21811295Sswallace}; 21911295Sswallacestruct reboot_args { 22011295Sswallace int opt; 22111295Sswallace}; 22211295Sswallacestruct revoke_args { 22311295Sswallace char * path; 22411295Sswallace}; 22511295Sswallacestruct symlink_args { 22611295Sswallace char * path; 22711295Sswallace char * link; 22811295Sswallace}; 22911295Sswallacestruct readlink_args { 23011295Sswallace char * path; 23111295Sswallace char * buf; 23211295Sswallace int count; 23311295Sswallace}; 23411295Sswallacestruct execve_args { 23511295Sswallace char * fname; 23611295Sswallace char ** argv; 23711295Sswallace char ** envv; 23811295Sswallace}; 23911295Sswallacestruct umask_args { 24011295Sswallace int newmask; 24111295Sswallace}; 24211295Sswallacestruct chroot_args { 24311295Sswallace char * path; 24411295Sswallace}; 24511331Sswallacestruct getpagesize_args { 24611331Sswallace int dummy; 24711331Sswallace}; 24811295Sswallacestruct msync_args { 24911295Sswallace caddr_t addr; 25014324Speter size_t len; 25111295Sswallace int flags; 25211295Sswallace}; 25314220Speterstruct vfork_args { 25414220Speter int dummy; 25514220Speter}; 25611295Sswallacestruct sbrk_args { 25711295Sswallace int incr; 25811295Sswallace}; 25911295Sswallacestruct sstk_args { 26011295Sswallace int incr; 26111295Sswallace}; 26211295Sswallacestruct ovadvise_args { 26311295Sswallace int anom; 26411295Sswallace}; 26511295Sswallacestruct munmap_args { 26611295Sswallace caddr_t addr; 26714324Speter size_t len; 26811295Sswallace}; 26911295Sswallacestruct mprotect_args { 27011295Sswallace caddr_t addr; 27114324Speter size_t len; 27211295Sswallace int prot; 27311295Sswallace}; 27411295Sswallacestruct madvise_args { 27511295Sswallace caddr_t addr; 27614324Speter size_t len; 27711295Sswallace int behav; 27811295Sswallace}; 27911295Sswallacestruct mincore_args { 28011295Sswallace caddr_t addr; 28114324Speter size_t len; 28211295Sswallace char * vec; 28311295Sswallace}; 28411295Sswallacestruct getgroups_args { 28511295Sswallace u_int gidsetsize; 28611295Sswallace gid_t * gidset; 28711295Sswallace}; 28811295Sswallacestruct setgroups_args { 28911295Sswallace u_int gidsetsize; 29011295Sswallace gid_t * gidset; 29111295Sswallace}; 29211331Sswallacestruct getpgrp_args { 29311331Sswallace int dummy; 29411331Sswallace}; 29511295Sswallacestruct setpgid_args { 29611295Sswallace int pid; 29711295Sswallace int pgid; 29811295Sswallace}; 29911295Sswallacestruct setitimer_args { 30011295Sswallace u_int which; 30111295Sswallace struct itimerval * itv; 30211295Sswallace struct itimerval * oitv; 30311295Sswallace}; 30411331Sswallacestruct owait_args { 30511331Sswallace int dummy; 30611331Sswallace}; 30711295Sswallacestruct swapon_args { 30811295Sswallace char * name; 30911295Sswallace}; 31011295Sswallacestruct getitimer_args { 31111295Sswallace u_int which; 31211295Sswallace struct itimerval * itv; 31311295Sswallace}; 31411331Sswallacestruct getdtablesize_args { 31511331Sswallace int dummy; 31611331Sswallace}; 31711295Sswallacestruct dup2_args { 31811295Sswallace u_int from; 31911295Sswallace u_int to; 32011295Sswallace}; 32111295Sswallacestruct fcntl_args { 32211295Sswallace int fd; 32311295Sswallace int cmd; 32412217Sbde int arg; 32511295Sswallace}; 32611295Sswallacestruct select_args { 32717702Ssmpatel int nd; 32811295Sswallace fd_set * in; 32911295Sswallace fd_set * ou; 33011295Sswallace fd_set * ex; 33111295Sswallace struct timeval * tv; 33211295Sswallace}; 33311295Sswallacestruct fsync_args { 33411295Sswallace int fd; 33511295Sswallace}; 33611295Sswallacestruct setpriority_args { 33711295Sswallace int which; 33811295Sswallace int who; 33911295Sswallace int prio; 34011295Sswallace}; 34111295Sswallacestruct socket_args { 34211295Sswallace int domain; 34311295Sswallace int type; 34411295Sswallace int protocol; 34511295Sswallace}; 34611295Sswallacestruct connect_args { 34711295Sswallace int s; 34811295Sswallace caddr_t name; 34911295Sswallace int namelen; 35011295Sswallace}; 35111295Sswallacestruct getpriority_args { 35211295Sswallace int which; 35311295Sswallace int who; 35411295Sswallace}; 35511295Sswallacestruct sigreturn_args { 35611295Sswallace struct sigcontext * sigcntxp; 35711295Sswallace}; 35811295Sswallacestruct bind_args { 35911295Sswallace int s; 36011295Sswallace caddr_t name; 36111295Sswallace int namelen; 36211295Sswallace}; 36311295Sswallacestruct setsockopt_args { 36411295Sswallace int s; 36511295Sswallace int level; 36611295Sswallace int name; 36711295Sswallace caddr_t val; 36811295Sswallace int valsize; 36911295Sswallace}; 37011295Sswallacestruct listen_args { 37111295Sswallace int s; 37211295Sswallace int backlog; 37311295Sswallace}; 37411295Sswallacestruct sigsuspend_args { 37521777Sbde sigset_t mask; 37611295Sswallace}; 37711295Sswallacestruct gettimeofday_args { 37811295Sswallace struct timeval * tp; 37911295Sswallace struct timezone * tzp; 38011295Sswallace}; 38111295Sswallacestruct getrusage_args { 38211295Sswallace int who; 38311295Sswallace struct rusage * rusage; 38411295Sswallace}; 38511295Sswallacestruct getsockopt_args { 38611295Sswallace int s; 38711295Sswallace int level; 38811295Sswallace int name; 38911295Sswallace caddr_t val; 39011295Sswallace int * avalsize; 39111295Sswallace}; 39211295Sswallacestruct readv_args { 39311295Sswallace int fd; 39411295Sswallace struct iovec * iovp; 39511295Sswallace u_int iovcnt; 39611295Sswallace}; 39711295Sswallacestruct writev_args { 39811295Sswallace int fd; 39911295Sswallace struct iovec * iovp; 40011295Sswallace u_int iovcnt; 40111295Sswallace}; 40211295Sswallacestruct settimeofday_args { 40311295Sswallace struct timeval * tv; 40411295Sswallace struct timezone * tzp; 40511295Sswallace}; 40611295Sswallacestruct fchown_args { 40711295Sswallace int fd; 40811295Sswallace int uid; 40911295Sswallace int gid; 41011295Sswallace}; 41111295Sswallacestruct fchmod_args { 41211295Sswallace int fd; 41311295Sswallace int mode; 41411295Sswallace}; 41511295Sswallacestruct setreuid_args { 41611295Sswallace int ruid; 41711295Sswallace int euid; 41811295Sswallace}; 41911295Sswallacestruct setregid_args { 42011295Sswallace int rgid; 42111295Sswallace int egid; 42211295Sswallace}; 42311295Sswallacestruct rename_args { 42411295Sswallace char * from; 42511295Sswallace char * to; 42611295Sswallace}; 42711295Sswallacestruct flock_args { 42811295Sswallace int fd; 42911295Sswallace int how; 43011295Sswallace}; 43111295Sswallacestruct mkfifo_args { 43211295Sswallace char * path; 43311295Sswallace int mode; 43411295Sswallace}; 43511295Sswallacestruct sendto_args { 43611295Sswallace int s; 43711295Sswallace caddr_t buf; 43811295Sswallace size_t len; 43911295Sswallace int flags; 44011295Sswallace caddr_t to; 44111295Sswallace int tolen; 44211295Sswallace}; 44311295Sswallacestruct shutdown_args { 44411295Sswallace int s; 44511295Sswallace int how; 44611295Sswallace}; 44711295Sswallacestruct socketpair_args { 44811295Sswallace int domain; 44911295Sswallace int type; 45011295Sswallace int protocol; 45111295Sswallace int * rsv; 45211295Sswallace}; 45311295Sswallacestruct mkdir_args { 45411295Sswallace char * path; 45511295Sswallace int mode; 45611295Sswallace}; 45711295Sswallacestruct rmdir_args { 45811295Sswallace char * path; 45911295Sswallace}; 46011295Sswallacestruct utimes_args { 46111295Sswallace char * path; 46211295Sswallace struct timeval * tptr; 46311295Sswallace}; 46411295Sswallacestruct adjtime_args { 46511295Sswallace struct timeval * delta; 46611295Sswallace struct timeval * olddelta; 46711295Sswallace}; 46811331Sswallacestruct ogethostid_args { 46911331Sswallace int dummy; 47011331Sswallace}; 47111331Sswallacestruct setsid_args { 47211331Sswallace int dummy; 47311331Sswallace}; 47411295Sswallacestruct quotactl_args { 47511295Sswallace char * path; 47611295Sswallace int cmd; 47711295Sswallace int uid; 47811295Sswallace caddr_t arg; 47911295Sswallace}; 48011331Sswallacestruct oquota_args { 48111331Sswallace int dummy; 48211331Sswallace}; 48311295Sswallace#ifdef NFS 48411295Sswallacestruct nfssvc_args { 48511295Sswallace int flag; 48611295Sswallace caddr_t argp; 48711295Sswallace}; 48811295Sswallace#else 48911295Sswallace#endif 49011295Sswallacestruct statfs_args { 49111295Sswallace char * path; 49211295Sswallace struct statfs * buf; 49311295Sswallace}; 49411295Sswallacestruct fstatfs_args { 49511295Sswallace int fd; 49611295Sswallace struct statfs * buf; 49711295Sswallace}; 49813416Sphk#if defined(NFS) && !defined (NFS_NOSERVER) 49911295Sswallacestruct getfh_args { 50011295Sswallace char * fname; 50121777Sbde struct fhandle * fhp; 50211295Sswallace}; 50311295Sswallace#else 50411295Sswallace#endif 50511295Sswallacestruct getdomainname_args { 50611295Sswallace char * domainname; 50711295Sswallace int len; 50811295Sswallace}; 50911295Sswallacestruct setdomainname_args { 51011295Sswallace char * domainname; 51111295Sswallace int len; 51211295Sswallace}; 51311295Sswallacestruct uname_args { 51412217Sbde struct utsname * name; 51511295Sswallace}; 51611295Sswallacestruct sysarch_args { 51711295Sswallace int op; 51811295Sswallace char * parms; 51911295Sswallace}; 52011295Sswallacestruct rtprio_args { 52111295Sswallace int function; 52211295Sswallace pid_t pid; 52311295Sswallace struct rtprio * rtp; 52411295Sswallace}; 52511295Sswallacestruct semsys_args { 52611295Sswallace int which; 52711295Sswallace int a2; 52811295Sswallace int a3; 52911295Sswallace int a4; 53011295Sswallace int a5; 53111295Sswallace}; 53211295Sswallacestruct msgsys_args { 53311295Sswallace int which; 53411295Sswallace int a2; 53511295Sswallace int a3; 53611295Sswallace int a4; 53711295Sswallace int a5; 53811295Sswallace int a6; 53911295Sswallace}; 54011295Sswallacestruct shmsys_args { 54111295Sswallace int which; 54211295Sswallace int a2; 54311295Sswallace int a3; 54411295Sswallace int a4; 54511295Sswallace}; 54611295Sswallacestruct ntp_adjtime_args { 54711295Sswallace struct timex * tp; 54811295Sswallace}; 54911295Sswallacestruct setgid_args { 55011295Sswallace gid_t gid; 55111295Sswallace}; 55211295Sswallacestruct setegid_args { 55311295Sswallace gid_t egid; 55411295Sswallace}; 55511295Sswallacestruct seteuid_args { 55611295Sswallace uid_t euid; 55711295Sswallace}; 55811295Sswallace#ifdef LFS 55911295Sswallacestruct lfs_bmapv_args { 56021777Sbde struct fsid ** fsidp; 56111295Sswallace struct block_info * blkiov; 56211295Sswallace int blkcnt; 56311295Sswallace}; 56411295Sswallacestruct lfs_markv_args { 56521777Sbde struct fsid ** fsidp; 56611295Sswallace struct block_info * blkiov; 56711295Sswallace int blkcnt; 56811295Sswallace}; 56911295Sswallacestruct lfs_segclean_args { 57021777Sbde struct fsid ** fsidp; 57111295Sswallace u_long segment; 57211295Sswallace}; 57311295Sswallacestruct lfs_segwait_args { 57421777Sbde struct fsid ** fsidp; 57511295Sswallace struct timeval * tv; 57611295Sswallace}; 57711295Sswallace#else 57811295Sswallace#endif 57911295Sswallacestruct stat_args { 58011295Sswallace char * path; 58111295Sswallace struct stat * ub; 58211295Sswallace}; 58311295Sswallacestruct fstat_args { 58411295Sswallace int fd; 58511295Sswallace struct stat * sb; 58611295Sswallace}; 58711295Sswallacestruct lstat_args { 58811295Sswallace char * path; 58911295Sswallace struct stat * ub; 59011295Sswallace}; 59111295Sswallacestruct pathconf_args { 59211295Sswallace char * path; 59311295Sswallace int name; 59411295Sswallace}; 59511295Sswallacestruct fpathconf_args { 59611295Sswallace int fd; 59711295Sswallace int name; 59811295Sswallace}; 59911295Sswallacestruct __getrlimit_args { 60011295Sswallace u_int which; 60111331Sswallace struct orlimit * rlp; 60211295Sswallace}; 60311295Sswallacestruct __setrlimit_args { 60411295Sswallace u_int which; 60511331Sswallace struct orlimit * rlp; 60611295Sswallace}; 60711295Sswallacestruct getdirentries_args { 60811295Sswallace int fd; 60911295Sswallace char * buf; 61011295Sswallace u_int count; 61111295Sswallace long * basep; 61211295Sswallace}; 61311295Sswallacestruct mmap_args { 61411295Sswallace caddr_t addr; 61511295Sswallace size_t len; 61611295Sswallace int prot; 61711295Sswallace int flags; 61811295Sswallace int fd; 61911295Sswallace long pad; 62011295Sswallace off_t pos; 62111295Sswallace}; 62211295Sswallacestruct lseek_args { 62311295Sswallace int fd; 62411295Sswallace int pad; 62511295Sswallace off_t offset; 62611295Sswallace int whence; 62711295Sswallace}; 62811295Sswallacestruct truncate_args { 62911295Sswallace char * path; 63011295Sswallace int pad; 63111295Sswallace off_t length; 63211295Sswallace}; 63311295Sswallacestruct ftruncate_args { 63411295Sswallace int fd; 63511295Sswallace int pad; 63611295Sswallace off_t length; 63711295Sswallace}; 63811295Sswallacestruct sysctl_args { 63911295Sswallace int * name; 64011295Sswallace u_int namelen; 64111295Sswallace void * old; 64211295Sswallace size_t * oldlenp; 64311295Sswallace void * new; 64411295Sswallace size_t newlen; 64511295Sswallace}; 64611295Sswallacestruct mlock_args { 64711295Sswallace caddr_t addr; 64811295Sswallace size_t len; 64911295Sswallace}; 65011295Sswallacestruct munlock_args { 65111295Sswallace caddr_t addr; 65211295Sswallace size_t len; 65311295Sswallace}; 65418398Sphkstruct utrace_args { 65518398Sphk caddr_t addr; 65618398Sphk size_t len; 65718398Sphk}; 65822521Sdysonstruct undelete_args { 65922521Sdyson char * path; 66022521Sdyson}; 66112865Speterstruct __semctl_args { 66212865Speter int semid; 66312865Speter int semnum; 66412865Speter int cmd; 66512865Speter union semun * arg; 66612865Speter}; 66712865Speterstruct semget_args { 66812865Speter key_t key; 66912865Speter int nsems; 67012865Speter int semflg; 67112865Speter}; 67212865Speterstruct semop_args { 67312865Speter int semid; 67412865Speter struct sembuf * sops; 67512865Speter u_int nsops; 67612865Speter}; 67712865Speterstruct semconfig_args { 67812865Speter int flag; 67912865Speter}; 68012865Speterstruct msgctl_args { 68112865Speter int msqid; 68212865Speter int cmd; 68312865Speter struct msqid_ds * buf; 68412865Speter}; 68512865Speterstruct msgget_args { 68612865Speter key_t key; 68712865Speter int msgflg; 68812865Speter}; 68912865Speterstruct msgsnd_args { 69012865Speter int msqid; 69112865Speter void * msgp; 69212865Speter size_t msgsz; 69312865Speter int msgflg; 69412865Speter}; 69512865Speterstruct msgrcv_args { 69612865Speter int msqid; 69712865Speter void * msgp; 69812865Speter size_t msgsz; 69912865Speter long msgtyp; 70012865Speter int msgflg; 70112865Speter}; 70212865Speterstruct shmat_args { 70312865Speter int shmid; 70412865Speter void * shmaddr; 70512865Speter int shmflg; 70612865Speter}; 70712865Speterstruct shmctl_args { 70812865Speter int shmid; 70912865Speter int cmd; 71012865Speter struct shmid_ds * buf; 71112865Speter}; 71212865Speterstruct shmdt_args { 71312865Speter void * shmaddr; 71412865Speter}; 71512865Speterstruct shmget_args { 71612865Speter key_t key; 71712865Speter int size; 71812865Speter int shmflg; 71912865Speter}; 72014220Speterstruct minherit_args { 72114220Speter caddr_t addr; 72214220Speter size_t len; 72314220Speter int inherit; 72414220Speter}; 72514220Speterstruct rfork_args { 72614220Speter int flags; 72714220Speter}; 72811331Sswallaceint nosys __P((struct proc *, struct nosys_args *, int [])); 72918277Sbdevoid exit __P((struct proc *, struct rexit_args *, int [])) __dead2; 73011331Sswallaceint fork __P((struct proc *, struct fork_args *, int [])); 73110907Sbdeint read __P((struct proc *, struct read_args *, int [])); 73210907Sbdeint write __P((struct proc *, struct write_args *, int [])); 73310907Sbdeint open __P((struct proc *, struct open_args *, int [])); 73410907Sbdeint close __P((struct proc *, struct close_args *, int [])); 73510907Sbdeint wait4 __P((struct proc *, struct wait_args *, int [])); 73610907Sbdeint link __P((struct proc *, struct link_args *, int [])); 73710907Sbdeint unlink __P((struct proc *, struct unlink_args *, int [])); 73810907Sbdeint chdir __P((struct proc *, struct chdir_args *, int [])); 73910907Sbdeint fchdir __P((struct proc *, struct fchdir_args *, int [])); 74010907Sbdeint mknod __P((struct proc *, struct mknod_args *, int [])); 74110907Sbdeint chmod __P((struct proc *, struct chmod_args *, int [])); 74210907Sbdeint chown __P((struct proc *, struct chown_args *, int [])); 74310907Sbdeint obreak __P((struct proc *, struct obreak_args *, int [])); 74410907Sbdeint getfsstat __P((struct proc *, struct getfsstat_args *, int [])); 74511331Sswallaceint getpid __P((struct proc *, struct getpid_args *, int [])); 74610907Sbdeint mount __P((struct proc *, struct mount_args *, int [])); 74710907Sbdeint unmount __P((struct proc *, struct unmount_args *, int [])); 74810907Sbdeint setuid __P((struct proc *, struct setuid_args *, int [])); 74911331Sswallaceint getuid __P((struct proc *, struct getuid_args *, int [])); 75011331Sswallaceint geteuid __P((struct proc *, struct geteuid_args *, int [])); 75110907Sbdeint ptrace __P((struct proc *, struct ptrace_args *, int [])); 75210907Sbdeint recvmsg __P((struct proc *, struct recvmsg_args *, int [])); 75310907Sbdeint sendmsg __P((struct proc *, struct sendmsg_args *, int [])); 75410907Sbdeint recvfrom __P((struct proc *, struct recvfrom_args *, int [])); 75510907Sbdeint accept __P((struct proc *, struct accept_args *, int [])); 75610907Sbdeint getpeername __P((struct proc *, struct getpeername_args *, int [])); 75710907Sbdeint getsockname __P((struct proc *, struct getsockname_args *, int [])); 75810907Sbdeint access __P((struct proc *, struct access_args *, int [])); 75910907Sbdeint chflags __P((struct proc *, struct chflags_args *, int [])); 76010907Sbdeint fchflags __P((struct proc *, struct fchflags_args *, int [])); 76111331Sswallaceint sync __P((struct proc *, struct sync_args *, int [])); 76210907Sbdeint kill __P((struct proc *, struct kill_args *, int [])); 76311331Sswallaceint getppid __P((struct proc *, struct getppid_args *, int [])); 76410907Sbdeint dup __P((struct proc *, struct dup_args *, int [])); 76511331Sswallaceint pipe __P((struct proc *, struct pipe_args *, int [])); 76611331Sswallaceint getegid __P((struct proc *, struct getegid_args *, int [])); 76710907Sbdeint profil __P((struct proc *, struct profil_args *, int [])); 76810907Sbdeint ktrace __P((struct proc *, struct ktrace_args *, int [])); 76910907Sbdeint sigaction __P((struct proc *, struct sigaction_args *, int [])); 77011331Sswallaceint getgid __P((struct proc *, struct getgid_args *, int [])); 77110907Sbdeint sigprocmask __P((struct proc *, struct sigprocmask_args *, int [])); 77210907Sbdeint getlogin __P((struct proc *, struct getlogin_args *, int [])); 77310907Sbdeint setlogin __P((struct proc *, struct setlogin_args *, int [])); 77410907Sbdeint acct __P((struct proc *, struct acct_args *, int [])); 77511331Sswallaceint sigpending __P((struct proc *, struct sigpending_args *, int [])); 77610907Sbdeint sigaltstack __P((struct proc *, struct sigaltstack_args *, int [])); 77710907Sbdeint ioctl __P((struct proc *, struct ioctl_args *, int [])); 77810907Sbdeint reboot __P((struct proc *, struct reboot_args *, int [])); 77910907Sbdeint revoke __P((struct proc *, struct revoke_args *, int [])); 78010907Sbdeint symlink __P((struct proc *, struct symlink_args *, int [])); 78110907Sbdeint readlink __P((struct proc *, struct readlink_args *, int [])); 78210907Sbdeint execve __P((struct proc *, struct execve_args *, int [])); 78322521Sdysonint umask __P((struct proc *, struct umask_args *, int [])); 78410907Sbdeint chroot __P((struct proc *, struct chroot_args *, int [])); 78510907Sbdeint msync __P((struct proc *, struct msync_args *, int [])); 78614220Speterint vfork __P((struct proc *, struct vfork_args *, int [])); 78710907Sbdeint sbrk __P((struct proc *, struct sbrk_args *, int [])); 78810907Sbdeint sstk __P((struct proc *, struct sstk_args *, int [])); 78910907Sbdeint ovadvise __P((struct proc *, struct ovadvise_args *, int [])); 79010907Sbdeint munmap __P((struct proc *, struct munmap_args *, int [])); 79110907Sbdeint mprotect __P((struct proc *, struct mprotect_args *, int [])); 79210907Sbdeint madvise __P((struct proc *, struct madvise_args *, int [])); 79310907Sbdeint mincore __P((struct proc *, struct mincore_args *, int [])); 79410907Sbdeint getgroups __P((struct proc *, struct getgroups_args *, int [])); 79510907Sbdeint setgroups __P((struct proc *, struct setgroups_args *, int [])); 79611331Sswallaceint getpgrp __P((struct proc *, struct getpgrp_args *, int [])); 79710907Sbdeint setpgid __P((struct proc *, struct setpgid_args *, int [])); 79810907Sbdeint setitimer __P((struct proc *, struct setitimer_args *, int [])); 79910907Sbdeint swapon __P((struct proc *, struct swapon_args *, int [])); 80010907Sbdeint getitimer __P((struct proc *, struct getitimer_args *, int [])); 80111331Sswallaceint getdtablesize __P((struct proc *, struct getdtablesize_args *, int [])); 80210907Sbdeint dup2 __P((struct proc *, struct dup2_args *, int [])); 80310907Sbdeint fcntl __P((struct proc *, struct fcntl_args *, int [])); 80410907Sbdeint select __P((struct proc *, struct select_args *, int [])); 80510907Sbdeint fsync __P((struct proc *, struct fsync_args *, int [])); 80610907Sbdeint setpriority __P((struct proc *, struct setpriority_args *, int [])); 80710907Sbdeint socket __P((struct proc *, struct socket_args *, int [])); 80810907Sbdeint connect __P((struct proc *, struct connect_args *, int [])); 80910907Sbdeint getpriority __P((struct proc *, struct getpriority_args *, int [])); 81010907Sbdeint sigreturn __P((struct proc *, struct sigreturn_args *, int [])); 81110907Sbdeint bind __P((struct proc *, struct bind_args *, int [])); 81210907Sbdeint setsockopt __P((struct proc *, struct setsockopt_args *, int [])); 81310907Sbdeint listen __P((struct proc *, struct listen_args *, int [])); 81410907Sbdeint sigsuspend __P((struct proc *, struct sigsuspend_args *, int [])); 81510907Sbdeint gettimeofday __P((struct proc *, struct gettimeofday_args *, int [])); 81610907Sbdeint getrusage __P((struct proc *, struct getrusage_args *, int [])); 81710907Sbdeint getsockopt __P((struct proc *, struct getsockopt_args *, int [])); 81810907Sbdeint readv __P((struct proc *, struct readv_args *, int [])); 81910907Sbdeint writev __P((struct proc *, struct writev_args *, int [])); 82010907Sbdeint settimeofday __P((struct proc *, struct settimeofday_args *, int [])); 82110907Sbdeint fchown __P((struct proc *, struct fchown_args *, int [])); 82210907Sbdeint fchmod __P((struct proc *, struct fchmod_args *, int [])); 82310907Sbdeint setreuid __P((struct proc *, struct setreuid_args *, int [])); 82410907Sbdeint setregid __P((struct proc *, struct setregid_args *, int [])); 82510907Sbdeint rename __P((struct proc *, struct rename_args *, int [])); 82610907Sbdeint flock __P((struct proc *, struct flock_args *, int [])); 82710907Sbdeint mkfifo __P((struct proc *, struct mkfifo_args *, int [])); 82810907Sbdeint sendto __P((struct proc *, struct sendto_args *, int [])); 82910907Sbdeint shutdown __P((struct proc *, struct shutdown_args *, int [])); 83010907Sbdeint socketpair __P((struct proc *, struct socketpair_args *, int [])); 83110907Sbdeint mkdir __P((struct proc *, struct mkdir_args *, int [])); 83210907Sbdeint rmdir __P((struct proc *, struct rmdir_args *, int [])); 83310907Sbdeint utimes __P((struct proc *, struct utimes_args *, int [])); 83410907Sbdeint adjtime __P((struct proc *, struct adjtime_args *, int [])); 83511331Sswallaceint setsid __P((struct proc *, struct setsid_args *, int [])); 83610907Sbdeint quotactl __P((struct proc *, struct quotactl_args *, int [])); 83710907Sbde#ifdef NFS 83810907Sbdeint nfssvc __P((struct proc *, struct nfssvc_args *, int [])); 83910907Sbde#else 84010907Sbde#endif 84110907Sbdeint statfs __P((struct proc *, struct statfs_args *, int [])); 84210907Sbdeint fstatfs __P((struct proc *, struct fstatfs_args *, int [])); 84313416Sphk#if defined(NFS) && !defined (NFS_NOSERVER) 84410907Sbdeint getfh __P((struct proc *, struct getfh_args *, int [])); 84510907Sbde#else 84610907Sbde#endif 84710907Sbdeint getdomainname __P((struct proc *, struct getdomainname_args *, int [])); 84810907Sbdeint setdomainname __P((struct proc *, struct setdomainname_args *, int [])); 84910907Sbdeint uname __P((struct proc *, struct uname_args *, int [])); 85010907Sbdeint sysarch __P((struct proc *, struct sysarch_args *, int [])); 85110907Sbdeint rtprio __P((struct proc *, struct rtprio_args *, int [])); 85210907Sbdeint semsys __P((struct proc *, struct semsys_args *, int [])); 85310907Sbdeint msgsys __P((struct proc *, struct msgsys_args *, int [])); 85410907Sbdeint shmsys __P((struct proc *, struct shmsys_args *, int [])); 85510907Sbdeint ntp_adjtime __P((struct proc *, struct ntp_adjtime_args *, int [])); 85610907Sbdeint setgid __P((struct proc *, struct setgid_args *, int [])); 85710907Sbdeint setegid __P((struct proc *, struct setegid_args *, int [])); 85810907Sbdeint seteuid __P((struct proc *, struct seteuid_args *, int [])); 85910907Sbde#ifdef LFS 86010907Sbdeint lfs_bmapv __P((struct proc *, struct lfs_bmapv_args *, int [])); 86110907Sbdeint lfs_markv __P((struct proc *, struct lfs_markv_args *, int [])); 86210907Sbdeint lfs_segclean __P((struct proc *, struct lfs_segclean_args *, int [])); 86310907Sbdeint lfs_segwait __P((struct proc *, struct lfs_segwait_args *, int [])); 86410907Sbde#else 86510907Sbde#endif 86610907Sbdeint stat __P((struct proc *, struct stat_args *, int [])); 86710907Sbdeint fstat __P((struct proc *, struct fstat_args *, int [])); 86810907Sbdeint lstat __P((struct proc *, struct lstat_args *, int [])); 86910907Sbdeint pathconf __P((struct proc *, struct pathconf_args *, int [])); 87010907Sbdeint fpathconf __P((struct proc *, struct fpathconf_args *, int [])); 87110907Sbdeint getrlimit __P((struct proc *, struct __getrlimit_args *, int [])); 87210907Sbdeint setrlimit __P((struct proc *, struct __setrlimit_args *, int [])); 87310907Sbdeint getdirentries __P((struct proc *, struct getdirentries_args *, int [])); 87410907Sbdeint mmap __P((struct proc *, struct mmap_args *, int [])); 87510907Sbdeint lseek __P((struct proc *, struct lseek_args *, int [])); 87610907Sbdeint truncate __P((struct proc *, struct truncate_args *, int [])); 87710907Sbdeint ftruncate __P((struct proc *, struct ftruncate_args *, int [])); 87810907Sbdeint __sysctl __P((struct proc *, struct sysctl_args *, int [])); 87910907Sbdeint mlock __P((struct proc *, struct mlock_args *, int [])); 88010907Sbdeint munlock __P((struct proc *, struct munlock_args *, int [])); 88118398Sphkint utrace __P((struct proc *, struct utrace_args *, int [])); 88222521Sdysonint undelete __P((struct proc *, struct undelete_args *, int [])); 88311331Sswallaceint lkmnosys __P((struct proc *, struct nosys_args *, int [])); 88412865Speterint __semctl __P((struct proc *, struct __semctl_args *, int [])); 88512865Speterint semget __P((struct proc *, struct semget_args *, int [])); 88612865Speterint semop __P((struct proc *, struct semop_args *, int [])); 88712865Speterint semconfig __P((struct proc *, struct semconfig_args *, int [])); 88812865Speterint msgctl __P((struct proc *, struct msgctl_args *, int [])); 88912865Speterint msgget __P((struct proc *, struct msgget_args *, int [])); 89012865Speterint msgsnd __P((struct proc *, struct msgsnd_args *, int [])); 89112865Speterint msgrcv __P((struct proc *, struct msgrcv_args *, int [])); 89212865Speterint shmat __P((struct proc *, struct shmat_args *, int [])); 89312865Speterint shmctl __P((struct proc *, struct shmctl_args *, int [])); 89412865Speterint shmdt __P((struct proc *, struct shmdt_args *, int [])); 89512865Speterint shmget __P((struct proc *, struct shmget_args *, int [])); 89614220Speterint minherit __P((struct proc *, struct minherit_args *, int [])); 89714220Speterint rfork __P((struct proc *, struct rfork_args *, int [])); 89810907Sbde 89910907Sbde#ifdef COMPAT_43 90010907Sbde 90111295Sswallacestruct ocreat_args { 90211295Sswallace char * path; 90311295Sswallace int mode; 90411295Sswallace}; 90511295Sswallacestruct olseek_args { 90611295Sswallace int fd; 90711295Sswallace long offset; 90811295Sswallace int whence; 90911295Sswallace}; 91011295Sswallacestruct ostat_args { 91111295Sswallace char * path; 91211295Sswallace struct ostat * ub; 91311295Sswallace}; 91411295Sswallacestruct olstat_args { 91511295Sswallace char * path; 91611295Sswallace struct ostat * ub; 91711295Sswallace}; 91811295Sswallacestruct ofstat_args { 91911295Sswallace int fd; 92011295Sswallace struct ostat * sb; 92111295Sswallace}; 92211331Sswallacestruct getkerninfo_args { 92311295Sswallace int op; 92411295Sswallace char * where; 92511295Sswallace int * size; 92611295Sswallace int arg; 92711295Sswallace}; 92811295Sswallacestruct ommap_args { 92911295Sswallace caddr_t addr; 93012217Sbde int len; 93111295Sswallace int prot; 93211295Sswallace int flags; 93311295Sswallace int fd; 93411295Sswallace long pos; 93511295Sswallace}; 93611331Sswallacestruct gethostname_args { 93711295Sswallace char * hostname; 93811295Sswallace u_int len; 93911295Sswallace}; 94011331Sswallacestruct sethostname_args { 94111295Sswallace char * hostname; 94211295Sswallace u_int len; 94311295Sswallace}; 94411295Sswallacestruct osend_args { 94511295Sswallace int s; 94611295Sswallace caddr_t buf; 94711295Sswallace int len; 94811295Sswallace int flags; 94911295Sswallace}; 95011295Sswallacestruct orecv_args { 95111295Sswallace int s; 95211295Sswallace caddr_t buf; 95311295Sswallace int len; 95411295Sswallace int flags; 95511295Sswallace}; 95611295Sswallacestruct osigvec_args { 95711295Sswallace int signum; 95811295Sswallace struct sigvec * nsv; 95911295Sswallace struct sigvec * osv; 96011295Sswallace}; 96111295Sswallacestruct osigblock_args { 96211295Sswallace int mask; 96311295Sswallace}; 96411295Sswallacestruct osigsetmask_args { 96511295Sswallace int mask; 96611295Sswallace}; 96711295Sswallacestruct osigstack_args { 96811295Sswallace struct sigstack * nss; 96911295Sswallace struct sigstack * oss; 97011295Sswallace}; 97111295Sswallacestruct orecvmsg_args { 97211295Sswallace int s; 97311295Sswallace struct omsghdr * msg; 97411295Sswallace int flags; 97511295Sswallace}; 97611295Sswallacestruct osendmsg_args { 97711295Sswallace int s; 97811295Sswallace caddr_t msg; 97911295Sswallace int flags; 98011295Sswallace}; 98111295Sswallacestruct otruncate_args { 98211295Sswallace char * path; 98311295Sswallace long length; 98411295Sswallace}; 98511295Sswallacestruct oftruncate_args { 98611295Sswallace int fd; 98711295Sswallace long length; 98811295Sswallace}; 98911295Sswallacestruct ogetpeername_args { 99011295Sswallace int fdes; 99111295Sswallace caddr_t asa; 99211295Sswallace int * alen; 99311295Sswallace}; 99411295Sswallacestruct osethostid_args { 99511295Sswallace long hostid; 99611295Sswallace}; 99711295Sswallacestruct ogetrlimit_args { 99811295Sswallace u_int which; 99911295Sswallace struct ogetrlimit * rlp; 100011295Sswallace}; 100111295Sswallacestruct osetrlimit_args { 100211295Sswallace u_int which; 100311295Sswallace struct ogetrlimit * rlp; 100411295Sswallace}; 100511295Sswallacestruct okillpg_args { 100611295Sswallace int pgid; 100711295Sswallace int signum; 100811295Sswallace}; 100910907Sbde#ifdef NFS 101010907Sbde#else 101110907Sbde#endif 101211295Sswallacestruct ogetdirentries_args { 101311295Sswallace int fd; 101411295Sswallace char * buf; 101511295Sswallace u_int count; 101611295Sswallace long * basep; 101711295Sswallace}; 101813416Sphk#if defined(NFS) && !defined (NFS_NOSERVER) 101910907Sbde#else 102010907Sbde#endif 102110907Sbde#ifdef LFS 102210907Sbde#else 102310907Sbde#endif 102411295Sswallaceint ocreat __P((struct proc *, struct ocreat_args *, int [])); 102511295Sswallaceint olseek __P((struct proc *, struct olseek_args *, int [])); 102611295Sswallaceint ostat __P((struct proc *, struct ostat_args *, int [])); 102711295Sswallaceint olstat __P((struct proc *, struct olstat_args *, int [])); 102811295Sswallaceint ofstat __P((struct proc *, struct ofstat_args *, int [])); 102911331Sswallaceint ogetkerninfo __P((struct proc *, struct getkerninfo_args *, int [])); 103011331Sswallaceint ogetpagesize __P((struct proc *, struct getpagesize_args *, int [])); 103111295Sswallaceint ommap __P((struct proc *, struct ommap_args *, int [])); 103211331Sswallaceint owait __P((struct proc *, struct owait_args *, int [])); 103311331Sswallaceint ogethostname __P((struct proc *, struct gethostname_args *, int [])); 103411331Sswallaceint osethostname __P((struct proc *, struct sethostname_args *, int [])); 103511331Sswallaceint oaccept __P((struct proc *, struct accept_args *, int [])); 103611295Sswallaceint osend __P((struct proc *, struct osend_args *, int [])); 103711295Sswallaceint orecv __P((struct proc *, struct orecv_args *, int [])); 103811295Sswallaceint osigvec __P((struct proc *, struct osigvec_args *, int [])); 103911295Sswallaceint osigblock __P((struct proc *, struct osigblock_args *, int [])); 104011295Sswallaceint osigsetmask __P((struct proc *, struct osigsetmask_args *, int [])); 104111295Sswallaceint osigstack __P((struct proc *, struct osigstack_args *, int [])); 104211295Sswallaceint orecvmsg __P((struct proc *, struct orecvmsg_args *, int [])); 104311295Sswallaceint osendmsg __P((struct proc *, struct osendmsg_args *, int [])); 104411331Sswallaceint orecvfrom __P((struct proc *, struct recvfrom_args *, int [])); 104511295Sswallaceint otruncate __P((struct proc *, struct otruncate_args *, int [])); 104611295Sswallaceint oftruncate __P((struct proc *, struct oftruncate_args *, int [])); 104711295Sswallaceint ogetpeername __P((struct proc *, struct ogetpeername_args *, int [])); 104811331Sswallaceint ogethostid __P((struct proc *, struct ogethostid_args *, int [])); 104911295Sswallaceint osethostid __P((struct proc *, struct osethostid_args *, int [])); 105011295Sswallaceint ogetrlimit __P((struct proc *, struct ogetrlimit_args *, int [])); 105111295Sswallaceint osetrlimit __P((struct proc *, struct osetrlimit_args *, int [])); 105211295Sswallaceint okillpg __P((struct proc *, struct okillpg_args *, int [])); 105311331Sswallaceint oquota __P((struct proc *, struct oquota_args *, int [])); 105411331Sswallaceint ogetsockname __P((struct proc *, struct getsockname_args *, int [])); 105511295Sswallaceint ogetdirentries __P((struct proc *, struct ogetdirentries_args *, int [])); 105610907Sbde 105710907Sbde#endif /* COMPAT_43 */ 105810907Sbde 105910907Sbde#endif /* !_SYS_SYSPROTO_H_ */ 1060