summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorswallace <swallace@FreeBSD.org>1995-10-07 06:29:30 +0000
committerswallace <swallace@FreeBSD.org>1995-10-07 06:29:30 +0000
commit11b88f454b1ce841ffafc39b6bcec68c51a2ffec (patch)
treeedbba4c827553043ea952806edaff569dbb66396 /sys
parent9c1e10e65e2fb3d6657f1a3e4a30e50c626f1f32 (diff)
downloadFreeBSD-src-11b88f454b1ce841ffafc39b6bcec68c51a2ffec.zip
FreeBSD-src-11b88f454b1ce841ffafc39b6bcec68c51a2ffec.tar.gz
Remake generated files to reflect makesyscalls.sh changes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_sysent.c44
-rw-r--r--sys/kern/syscalls.c6
-rw-r--r--sys/sys/syscall-hide.h6
-rw-r--r--sys/sys/syscall.h4
-rw-r--r--sys/sys/sysproto.h999
5 files changed, 797 insertions, 262 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index e91540f..e5e6868 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -2,10 +2,12 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from syscalls.master,v 1.16 1995/09/19 13:30:51 bde Exp
+ * created from Id: syscalls.master,v 1.17 1995/10/07 06:24:08 swallace Exp
*/
+#include <sys/types.h>
#include <sys/param.h>
+#include <sys/mount.h>
#include <sys/sysent.h>
#include <sys/sysproto.h>
@@ -48,8 +50,8 @@ struct sysent sysent[] = {
{ 3, (sy_call_t *)sendmsg }, /* 28 = sendmsg */
{ 6, (sy_call_t *)recvfrom }, /* 29 = recvfrom */
{ 3, (sy_call_t *)accept }, /* 30 = accept */
- { 3, (sy_call_t *)getpeername }, /* 31 = getpeername */
- { 3, (sy_call_t *)getsockname }, /* 32 = getsockname */
+ { 3, (sy_call_t *)getpeername }, /* 31 = getpeername */
+ { 3, (sy_call_t *)getsockname }, /* 32 = getsockname */
{ 2, (sy_call_t *)access }, /* 33 = access */
{ 2, (sy_call_t *)chflags }, /* 34 = chflags */
{ 2, (sy_call_t *)fchflags }, /* 35 = fchflags */
@@ -58,7 +60,7 @@ struct sysent sysent[] = {
{ compat(2,stat) }, /* 38 = old stat */
{ 0, (sy_call_t *)getppid }, /* 39 = getppid */
{ compat(2,lstat) }, /* 40 = old lstat */
- { 2, (sy_call_t *)dup }, /* 41 = dup */
+ { 1, (sy_call_t *)dup }, /* 41 = dup */
{ 0, (sy_call_t *)pipe }, /* 42 = pipe */
{ 0, (sy_call_t *)getegid }, /* 43 = getegid */
{ 4, (sy_call_t *)profil }, /* 44 = profil */
@@ -69,12 +71,12 @@ struct sysent sysent[] = {
#endif
{ 3, (sy_call_t *)sigaction }, /* 46 = sigaction */
{ 0, (sy_call_t *)getgid }, /* 47 = getgid */
- { 2, (sy_call_t *)sigprocmask }, /* 48 = sigprocmask */
+ { 2, (sy_call_t *)sigprocmask }, /* 48 = sigprocmask */
{ 2, (sy_call_t *)getlogin }, /* 49 = getlogin */
{ 1, (sy_call_t *)setlogin }, /* 50 = setlogin */
{ 1, (sy_call_t *)acct }, /* 51 = acct */
{ 0, (sy_call_t *)sigpending }, /* 52 = sigpending */
- { 2, (sy_call_t *)sigaltstack }, /* 53 = sigaltstack */
+ { 2, (sy_call_t *)sigaltstack }, /* 53 = sigaltstack */
{ 3, (sy_call_t *)ioctl }, /* 54 = ioctl */
{ 1, (sy_call_t *)reboot }, /* 55 = reboot */
{ 1, (sy_call_t *)revoke }, /* 56 = revoke */
@@ -110,18 +112,18 @@ struct sysent sysent[] = {
{ 2, (sy_call_t *)getitimer }, /* 86 = getitimer */
{ compat(2,gethostname) }, /* 87 = old gethostname */
{ compat(2,sethostname) }, /* 88 = old sethostname */
- { 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */
+ { 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */
{ 2, (sy_call_t *)dup2 }, /* 90 = dup2 */
{ 0, (sy_call_t *)nosys }, /* 91 = getdopt */
{ 3, (sy_call_t *)fcntl }, /* 92 = fcntl */
{ 5, (sy_call_t *)select }, /* 93 = select */
{ 0, (sy_call_t *)nosys }, /* 94 = setdopt */
{ 1, (sy_call_t *)fsync }, /* 95 = fsync */
- { 3, (sy_call_t *)setpriority }, /* 96 = setpriority */
+ { 3, (sy_call_t *)setpriority }, /* 96 = setpriority */
{ 3, (sy_call_t *)socket }, /* 97 = socket */
{ 3, (sy_call_t *)connect }, /* 98 = connect */
{ compat(3,accept) }, /* 99 = old accept */
- { 2, (sy_call_t *)getpriority }, /* 100 = getpriority */
+ { 2, (sy_call_t *)getpriority }, /* 100 = getpriority */
{ compat(4,send) }, /* 101 = old send */
{ compat(4,recv) }, /* 102 = old recv */
{ 1, (sy_call_t *)sigreturn }, /* 103 = sigreturn */
@@ -137,17 +139,13 @@ struct sysent sysent[] = {
{ compat(3,recvmsg) }, /* 113 = old recvmsg */
{ compat(3,sendmsg) }, /* 114 = old sendmsg */
{ 0, (sy_call_t *)nosys }, /* 115 = obsolete vtrace */
- { 2, (sy_call_t *)gettimeofday }, /* 116 = gettimeofday */
+ { 2, (sy_call_t *)gettimeofday }, /* 116 = gettimeofday */
{ 2, (sy_call_t *)getrusage }, /* 117 = getrusage */
{ 5, (sy_call_t *)getsockopt }, /* 118 = getsockopt */
-#ifdef vax
- { 1, (sy_call_t *)resuba }, /* 119 = resuba */
-#else
{ 0, (sy_call_t *)nosys }, /* 119 = nosys */
-#endif
{ 3, (sy_call_t *)readv }, /* 120 = readv */
{ 3, (sy_call_t *)writev }, /* 121 = writev */
- { 2, (sy_call_t *)settimeofday }, /* 122 = settimeofday */
+ { 2, (sy_call_t *)settimeofday }, /* 122 = settimeofday */
{ 3, (sy_call_t *)fchown }, /* 123 = fchown */
{ 2, (sy_call_t *)fchmod }, /* 124 = fchmod */
{ compat(6,recvfrom) }, /* 125 = old recvfrom */
@@ -160,7 +158,7 @@ struct sysent sysent[] = {
{ 2, (sy_call_t *)mkfifo }, /* 132 = mkfifo */
{ 6, (sy_call_t *)sendto }, /* 133 = sendto */
{ 2, (sy_call_t *)shutdown }, /* 134 = shutdown */
- { 5, (sy_call_t *)socketpair }, /* 135 = socketpair */
+ { 4, (sy_call_t *)socketpair }, /* 135 = socketpair */
{ 2, (sy_call_t *)mkdir }, /* 136 = mkdir */
{ 1, (sy_call_t *)rmdir }, /* 137 = rmdir */
{ 2, (sy_call_t *)utimes }, /* 138 = utimes */
@@ -174,7 +172,7 @@ struct sysent sysent[] = {
{ compat(2,killpg) }, /* 146 = old killpg */
{ 0, (sy_call_t *)setsid }, /* 147 = setsid */
{ 4, (sy_call_t *)quotactl }, /* 148 = quotactl */
- { compat(4,quota) }, /* 149 = old quota */
+ { compat(0,quota) }, /* 149 = old quota */
{ compat(3,getsockname) }, /* 150 = old getsockname */
{ 0, (sy_call_t *)nosys }, /* 151 = nosys */
{ 0, (sy_call_t *)nosys }, /* 152 = nosys */
@@ -195,8 +193,8 @@ struct sysent sysent[] = {
#else
{ 0, (sy_call_t *)nosys }, /* 161 = nosys */
#endif
- { 2, (sy_call_t *)getdomainname }, /* 162 = getdomainname */
- { 2, (sy_call_t *)setdomainname }, /* 163 = setdomainname */
+ { 2, (sy_call_t *)getdomainname }, /* 162 = getdomainname */
+ { 2, (sy_call_t *)setdomainname }, /* 163 = setdomainname */
{ 1, (sy_call_t *)uname }, /* 164 = uname */
{ 2, (sy_call_t *)sysarch }, /* 165 = sysarch */
{ 3, (sy_call_t *)rtprio }, /* 166 = rtprio */
@@ -221,7 +219,7 @@ struct sysent sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 173 = nosys */
{ 0, (sy_call_t *)nosys }, /* 174 = nosys */
{ 0, (sy_call_t *)nosys }, /* 175 = nosys */
- { 1, (sy_call_t *)ntp_adjtime }, /* 176 = ntp_adjtime */
+ { 1, (sy_call_t *)ntp_adjtime }, /* 176 = ntp_adjtime */
{ 0, (sy_call_t *)nosys }, /* 177 = nosys */
{ 0, (sy_call_t *)nosys }, /* 178 = nosys */
{ 0, (sy_call_t *)nosys }, /* 179 = nosys */
@@ -232,8 +230,8 @@ struct sysent sysent[] = {
#ifdef LFS
{ 3, (sy_call_t *)lfs_bmapv }, /* 184 = lfs_bmapv */
{ 3, (sy_call_t *)lfs_markv }, /* 185 = lfs_markv */
- { 2, (sy_call_t *)lfs_segclean }, /* 186 = lfs_segclean */
- { 2, (sy_call_t *)lfs_segwait }, /* 187 = lfs_segwait */
+ { 2, (sy_call_t *)lfs_segclean }, /* 186 = lfs_segclean */
+ { 2, (sy_call_t *)lfs_segwait }, /* 187 = lfs_segwait */
#else
{ 0, (sy_call_t *)nosys }, /* 184 = nosys */
{ 0, (sy_call_t *)nosys }, /* 185 = nosys */
@@ -248,7 +246,7 @@ struct sysent sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 193 = nosys */
{ 2, (sy_call_t *)getrlimit }, /* 194 = getrlimit */
{ 2, (sy_call_t *)setrlimit }, /* 195 = setrlimit */
- { 4, (sy_call_t *)getdirentries }, /* 196 = getdirentries */
+ { 4, (sy_call_t *)getdirentries }, /* 196 = getdirentries */
{ 8, (sy_call_t *)mmap }, /* 197 = mmap */
{ 0, (sy_call_t *)nosys }, /* 198 = __syscall */
{ 5, (sy_call_t *)lseek }, /* 199 = lseek */
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 2b006cc..67f3c20 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from syscalls.master,v 1.16 1995/09/19 13:30:51 bde Exp
+ * created from Id: syscalls.master,v 1.17 1995/10/07 06:24:08 swallace Exp
*/
char *syscallnames[] = {
@@ -129,11 +129,7 @@ char *syscallnames[] = {
"gettimeofday", /* 116 = gettimeofday */
"getrusage", /* 117 = getrusage */
"getsockopt", /* 118 = getsockopt */
-#ifdef vax
- "resuba", /* 119 = resuba */
-#else
"#119", /* 119 = nosys */
-#endif
"readv", /* 120 = readv */
"writev", /* 121 = writev */
"settimeofday", /* 122 = settimeofday */
diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h
index 0457902..ffeb7e4 100644
--- a/sys/sys/syscall-hide.h
+++ b/sys/sys/syscall-hide.h
@@ -2,7 +2,7 @@
* System call hiders.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from syscalls.master,v 1.16 1995/09/19 13:30:51 bde Exp
+ * created from Id: syscalls.master,v 1.17 1995/10/07 06:24:08 swallace Exp
*/
HIDE_POSIX(fork)
@@ -119,10 +119,6 @@ HIDE_BSD(sendmsg)
HIDE_BSD(gettimeofday)
HIDE_BSD(getrusage)
HIDE_BSD(getsockopt)
-#ifdef vax
-HIDE_BSD(resuba)
-#else
-#endif
HIDE_BSD(readv)
HIDE_BSD(writev)
HIDE_BSD(settimeofday)
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index a1c6160..bcdc5fa 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from syscalls.master,v 1.16 1995/09/19 13:30:51 bde Exp
+ * created from Id: syscalls.master,v 1.17 1995/10/07 06:24:08 swallace Exp
*/
#define SYS_syscall 0
@@ -122,7 +122,6 @@
#define SYS_gettimeofday 116
#define SYS_getrusage 117
#define SYS_getsockopt 118
-#define SYS_resuba 119
#define SYS_readv 120
#define SYS_writev 121
#define SYS_settimeofday 122
@@ -191,3 +190,4 @@
#define SYS___sysctl 202
#define SYS_mlock 203
#define SYS_munlock 204
+#define SYS_MAXSYSCALL 220
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index da3d9ce..eda0a2e 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -2,408 +2,921 @@
* System call prototypes.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from syscalls.master,v 1.16 1995/09/19 13:30:51 bde Exp
+ * created from Id: syscalls.master,v 1.17 1995/10/07 06:24:08 swallace Exp
*/
#ifndef _SYS_SYSPROTO_H_
#define _SYS_SYSPROTO_H_
#include <sys/types.h>
+#include <sys/param.h>
+#include <sys/mount.h>
-struct proc;
+struct args { int dummy; };
-struct nosys_args;
-int nosys __P((struct proc *, struct nosys_args *, int []));
-struct rexit_args;
+struct rexit_args {
+ int rval;
+};
+struct read_args {
+ int fd;
+ char * buf;
+ u_int nbyte;
+};
+struct write_args {
+ int fd;
+ char * buf;
+ u_int nbyte;
+};
+struct open_args {
+ char * path;
+ int flags;
+ int mode;
+};
+struct close_args {
+ int fd;
+};
+struct wait_args {
+ int pid;
+ int * status;
+ int options;
+ struct rusage * rusage;
+};
+struct link_args {
+ char * path;
+ char * link;
+};
+struct unlink_args {
+ char * path;
+};
+struct chdir_args {
+ char * path;
+};
+struct fchdir_args {
+ int fd;
+};
+struct mknod_args {
+ char * path;
+ int mode;
+ int dev;
+};
+struct chmod_args {
+ char * path;
+ int mode;
+};
+struct chown_args {
+ char * path;
+ int uid;
+ int gid;
+};
+struct obreak_args {
+ char * nsize;
+};
+struct getfsstat_args {
+ struct statfs * buf;
+ long bufsize;
+ int flags;
+};
+struct mount_args {
+ char * type;
+ char * path;
+ int flags;
+ caddr_t data;
+};
+struct unmount_args {
+ char * path;
+ int flags;
+};
+struct setuid_args {
+ uid_t uid;
+};
+struct ptrace_args {
+ int req;
+ pid_t pid;
+ caddr_t addr;
+ int data;
+};
+struct recvmsg_args {
+ int s;
+ struct msghdr * msg;
+ int flags;
+};
+struct sendmsg_args {
+ int s;
+ caddr_t msg;
+ int flags;
+};
+struct recvfrom_args {
+ int s;
+ caddr_t buf;
+ size_t len;
+ int flags;
+ caddr_t from;
+ int * fromlenaddr;
+};
+struct accept_args {
+ int s;
+ caddr_t name;
+ int * anamelen;
+};
+struct getpeername_args {
+ int fdes;
+ caddr_t asa;
+ int * alen;
+};
+struct getsockname_args {
+ int fdes;
+ caddr_t asa;
+ int * alen;
+};
+struct access_args {
+ char * path;
+ int flags;
+};
+struct chflags_args {
+ char * path;
+ int flags;
+};
+struct fchflags_args {
+ int fd;
+ int flags;
+};
+struct kill_args {
+ int pid;
+ int signum;
+};
+struct dup_args {
+ u_int fd;
+};
+struct profil_args {
+ caddr_t samples;
+ u_int size;
+ u_int offset;
+ u_int scale;
+};
+#ifdef KTRACE
+struct ktrace_args {
+ char * fname;
+ int ops;
+ int facs;
+ int pid;
+};
+#else
+#endif
+struct sigaction_args {
+ int signum;
+ struct sigaction * nsa;
+ struct sigaction * osa;
+};
+struct sigprocmask_args {
+ int how;
+ sigset_t mask;
+};
+struct getlogin_args {
+ char * namebuf;
+ u_int namelen;
+};
+struct setlogin_args {
+ char * namebuf;
+};
+struct acct_args {
+ char * path;
+};
+struct sigaltstack_args {
+ struct sigaltstack * nss;
+ struct sigaltstack * oss;
+};
+struct ioctl_args {
+ int fd;
+ u_long com;
+ caddr_t data;
+};
+struct reboot_args {
+ int opt;
+};
+struct revoke_args {
+ char * path;
+};
+struct symlink_args {
+ char * path;
+ char * link;
+};
+struct readlink_args {
+ char * path;
+ char * buf;
+ int count;
+};
+struct execve_args {
+ char * fname;
+ char ** argv;
+ char ** envv;
+};
+struct umask_args {
+ int newmask;
+};
+struct chroot_args {
+ char * path;
+};
+struct msync_args {
+ caddr_t addr;
+ size_t len;
+ int flags;
+};
+struct sbrk_args {
+ int incr;
+};
+struct sstk_args {
+ int incr;
+};
+struct ovadvise_args {
+ int anom;
+};
+struct munmap_args {
+ caddr_t addr;
+ size_t len;
+};
+struct mprotect_args {
+ caddr_t addr;
+ size_t len;
+ int prot;
+};
+struct madvise_args {
+ caddr_t addr;
+ size_t len;
+ int behav;
+};
+struct mincore_args {
+ caddr_t addr;
+ size_t len;
+ char * vec;
+};
+struct getgroups_args {
+ u_int gidsetsize;
+ gid_t * gidset;
+};
+struct setgroups_args {
+ u_int gidsetsize;
+ gid_t * gidset;
+};
+struct setpgid_args {
+ int pid;
+ int pgid;
+};
+struct setitimer_args {
+ u_int which;
+ struct itimerval * itv;
+ struct itimerval * oitv;
+};
+struct swapon_args {
+ char * name;
+};
+struct getitimer_args {
+ u_int which;
+ struct itimerval * itv;
+};
+struct dup2_args {
+ u_int from;
+ u_int to;
+};
+struct fcntl_args {
+ int fd;
+ int cmd;
+ void * arg;
+};
+struct select_args {
+ u_int nd;
+ fd_set * in;
+ fd_set * ou;
+ fd_set * ex;
+ struct timeval * tv;
+};
+struct fsync_args {
+ int fd;
+};
+struct setpriority_args {
+ int which;
+ int who;
+ int prio;
+};
+struct socket_args {
+ int domain;
+ int type;
+ int protocol;
+};
+struct connect_args {
+ int s;
+ caddr_t name;
+ int namelen;
+};
+struct getpriority_args {
+ int which;
+ int who;
+};
+struct sigreturn_args {
+ struct sigcontext * sigcntxp;
+};
+struct bind_args {
+ int s;
+ caddr_t name;
+ int namelen;
+};
+struct setsockopt_args {
+ int s;
+ int level;
+ int name;
+ caddr_t val;
+ int valsize;
+};
+struct listen_args {
+ int s;
+ int backlog;
+};
+struct sigsuspend_args {
+ int mask;
+};
+struct gettimeofday_args {
+ struct timeval * tp;
+ struct timezone * tzp;
+};
+struct getrusage_args {
+ int who;
+ struct rusage * rusage;
+};
+struct getsockopt_args {
+ int s;
+ int level;
+ int name;
+ caddr_t val;
+ int * avalsize;
+};
+struct readv_args {
+ int fd;
+ struct iovec * iovp;
+ u_int iovcnt;
+};
+struct writev_args {
+ int fd;
+ struct iovec * iovp;
+ u_int iovcnt;
+};
+struct settimeofday_args {
+ struct timeval * tv;
+ struct timezone * tzp;
+};
+struct fchown_args {
+ int fd;
+ int uid;
+ int gid;
+};
+struct fchmod_args {
+ int fd;
+ int mode;
+};
+struct setreuid_args {
+ int ruid;
+ int euid;
+};
+struct setregid_args {
+ int rgid;
+ int egid;
+};
+struct rename_args {
+ char * from;
+ char * to;
+};
+struct flock_args {
+ int fd;
+ int how;
+};
+struct mkfifo_args {
+ char * path;
+ int mode;
+};
+struct sendto_args {
+ int s;
+ caddr_t buf;
+ size_t len;
+ int flags;
+ caddr_t to;
+ int tolen;
+};
+struct shutdown_args {
+ int s;
+ int how;
+};
+struct socketpair_args {
+ int domain;
+ int type;
+ int protocol;
+ int * rsv;
+};
+struct mkdir_args {
+ char * path;
+ int mode;
+};
+struct rmdir_args {
+ char * path;
+};
+struct utimes_args {
+ char * path;
+ struct timeval * tptr;
+};
+struct adjtime_args {
+ struct timeval * delta;
+ struct timeval * olddelta;
+};
+struct quotactl_args {
+ char * path;
+ int cmd;
+ int uid;
+ caddr_t arg;
+};
+#ifdef NFS
+struct nfssvc_args {
+ int flag;
+ caddr_t argp;
+};
+#else
+#endif
+struct statfs_args {
+ char * path;
+ struct statfs * buf;
+};
+struct fstatfs_args {
+ int fd;
+ struct statfs * buf;
+};
+#ifdef NFS
+struct getfh_args {
+ char * fname;
+ fhandle_t * fhp;
+};
+#else
+#endif
+struct getdomainname_args {
+ char * domainname;
+ int len;
+};
+struct setdomainname_args {
+ char * domainname;
+ int len;
+};
+struct uname_args {
+ struct outsname * name;
+};
+struct sysarch_args {
+ int op;
+ char * parms;
+};
+struct rtprio_args {
+ int function;
+ pid_t pid;
+ struct rtprio * rtp;
+};
+#ifdef SYSVSEM
+struct semsys_args {
+ int which;
+ int a2;
+ int a3;
+ int a4;
+ int a5;
+};
+#else
+#endif
+#ifdef SYSVMSG
+struct msgsys_args {
+ int which;
+ int a2;
+ int a3;
+ int a4;
+ int a5;
+ int a6;
+};
+#else
+#endif
+#ifdef SYSVSHM
+struct shmsys_args {
+ int which;
+ int a2;
+ int a3;
+ int a4;
+};
+#else
+#endif
+struct ntp_adjtime_args {
+ struct timex * tp;
+};
+struct setgid_args {
+ gid_t gid;
+};
+struct setegid_args {
+ gid_t egid;
+};
+struct seteuid_args {
+ uid_t euid;
+};
+#ifdef LFS
+struct lfs_bmapv_args {
+ fsid_t * fsidp;
+ struct block_info * blkiov;
+ int blkcnt;
+};
+struct lfs_markv_args {
+ fsid_t * fsidp;
+ struct block_info * blkiov;
+ int blkcnt;
+};
+struct lfs_segclean_args {
+ fsid_t * fsidp;
+ u_long segment;
+};
+struct lfs_segwait_args {
+ fsid_t * fsidp;
+ struct timeval * tv;
+};
+#else
+#endif
+struct stat_args {
+ char * path;
+ struct stat * ub;
+};
+struct fstat_args {
+ int fd;
+ struct stat * sb;
+};
+struct lstat_args {
+ char * path;
+ struct stat * ub;
+};
+struct pathconf_args {
+ char * path;
+ int name;
+};
+struct fpathconf_args {
+ int fd;
+ int name;
+};
+struct __getrlimit_args {
+ u_int which;
+ struct ogetrlimit * rlp;
+};
+struct __setrlimit_args {
+ u_int which;
+ struct ogetrlimit * rlp;
+};
+struct getdirentries_args {
+ int fd;
+ char * buf;
+ u_int count;
+ long * basep;
+};
+struct mmap_args {
+ caddr_t addr;
+ size_t len;
+ int prot;
+ int flags;
+ int fd;
+ long pad;
+ off_t pos;
+};
+struct lseek_args {
+ int fd;
+ int pad;
+ off_t offset;
+ int whence;
+};
+struct truncate_args {
+ char * path;
+ int pad;
+ off_t length;
+};
+struct ftruncate_args {
+ int fd;
+ int pad;
+ off_t length;
+};
+struct sysctl_args {
+ int * name;
+ u_int namelen;
+ void * old;
+ size_t * oldlenp;
+ void * new;
+ size_t newlen;
+};
+struct mlock_args {
+ caddr_t addr;
+ size_t len;
+};
+struct munlock_args {
+ caddr_t addr;
+ size_t len;
+};
+int nosys __P((struct proc *, struct args *, int []));
__dead void exit __P((struct proc *, struct rexit_args *, int []));
-struct fork_args;
-int fork __P((struct proc *, struct fork_args *, int []));
-struct read_args;
+int fork __P((struct proc *, struct args *, int []));
int read __P((struct proc *, struct read_args *, int []));
-struct write_args;
int write __P((struct proc *, struct write_args *, int []));
-struct open_args;
int open __P((struct proc *, struct open_args *, int []));
-struct close_args;
int close __P((struct proc *, struct close_args *, int []));
-struct wait_args;
int wait4 __P((struct proc *, struct wait_args *, int []));
-struct link_args;
int link __P((struct proc *, struct link_args *, int []));
-struct unlink_args;
int unlink __P((struct proc *, struct unlink_args *, int []));
-struct chdir_args;
int chdir __P((struct proc *, struct chdir_args *, int []));
-struct fchdir_args;
int fchdir __P((struct proc *, struct fchdir_args *, int []));
-struct mknod_args;
int mknod __P((struct proc *, struct mknod_args *, int []));
-struct chmod_args;
int chmod __P((struct proc *, struct chmod_args *, int []));
-struct chown_args;
int chown __P((struct proc *, struct chown_args *, int []));
-struct obreak_args;
int obreak __P((struct proc *, struct obreak_args *, int []));
-struct getfsstat_args;
int getfsstat __P((struct proc *, struct getfsstat_args *, int []));
-struct args;
int getpid __P((struct proc *, struct args *, int []));
-struct mount_args;
int mount __P((struct proc *, struct mount_args *, int []));
-struct unmount_args;
int unmount __P((struct proc *, struct unmount_args *, int []));
-struct setuid_args;
int setuid __P((struct proc *, struct setuid_args *, int []));
-struct args;
int getuid __P((struct proc *, struct args *, int []));
-struct args;
int geteuid __P((struct proc *, struct args *, int []));
-struct ptrace_args;
int ptrace __P((struct proc *, struct ptrace_args *, int []));
-struct recvmsg_args;
int recvmsg __P((struct proc *, struct recvmsg_args *, int []));
-struct sendmsg_args;
int sendmsg __P((struct proc *, struct sendmsg_args *, int []));
-struct recvfrom_args;
int recvfrom __P((struct proc *, struct recvfrom_args *, int []));
-struct accept_args;
int accept __P((struct proc *, struct accept_args *, int []));
-struct getpeername_args;
int getpeername __P((struct proc *, struct getpeername_args *, int []));
-struct getsockname_args;
int getsockname __P((struct proc *, struct getsockname_args *, int []));
-struct access_args;
int access __P((struct proc *, struct access_args *, int []));
-struct chflags_args;
int chflags __P((struct proc *, struct chflags_args *, int []));
-struct fchflags_args;
int fchflags __P((struct proc *, struct fchflags_args *, int []));
-struct sync_args;
-int sync __P((struct proc *, struct sync_args *, int []));
-struct kill_args;
+int sync __P((struct proc *, struct args *, int []));
int kill __P((struct proc *, struct kill_args *, int []));
-struct args;
int getppid __P((struct proc *, struct args *, int []));
-struct dup_args;
int dup __P((struct proc *, struct dup_args *, int []));
-struct pipe_args;
-int pipe __P((struct proc *, struct pipe_args *, int []));
-struct args;
+int pipe __P((struct proc *, struct args *, int []));
int getegid __P((struct proc *, struct args *, int []));
-struct profil_args;
int profil __P((struct proc *, struct profil_args *, int []));
#ifdef KTRACE
-struct ktrace_args;
int ktrace __P((struct proc *, struct ktrace_args *, int []));
#else
#endif
-struct sigaction_args;
int sigaction __P((struct proc *, struct sigaction_args *, int []));
-struct args;
int getgid __P((struct proc *, struct args *, int []));
-struct sigprocmask_args;
int sigprocmask __P((struct proc *, struct sigprocmask_args *, int []));
-struct getlogin_args;
int getlogin __P((struct proc *, struct getlogin_args *, int []));
-struct setlogin_args;
int setlogin __P((struct proc *, struct setlogin_args *, int []));
-struct acct_args;
int acct __P((struct proc *, struct acct_args *, int []));
-struct sigpending_args;
-int sigpending __P((struct proc *, struct sigpending_args *, int []));
-struct sigaltstack_args;
+int sigpending __P((struct proc *, struct args *, int []));
int sigaltstack __P((struct proc *, struct sigaltstack_args *, int []));
-struct ioctl_args;
int ioctl __P((struct proc *, struct ioctl_args *, int []));
-struct reboot_args;
int reboot __P((struct proc *, struct reboot_args *, int []));
-struct revoke_args;
int revoke __P((struct proc *, struct revoke_args *, int []));
-struct symlink_args;
int symlink __P((struct proc *, struct symlink_args *, int []));
-struct readlink_args;
int readlink __P((struct proc *, struct readlink_args *, int []));
-struct execve_args;
int execve __P((struct proc *, struct execve_args *, int []));
-struct umask_args;
mode_t umask __P((struct proc *, struct umask_args *, int []));
-struct chroot_args;
int chroot __P((struct proc *, struct chroot_args *, int []));
-struct msync_args;
int msync __P((struct proc *, struct msync_args *, int []));
-struct fork_args;
-int vfork __P((struct proc *, struct fork_args *, int []));
-struct sbrk_args;
+int vfork __P((struct proc *, struct args *, int []));
int sbrk __P((struct proc *, struct sbrk_args *, int []));
-struct sstk_args;
int sstk __P((struct proc *, struct sstk_args *, int []));
-struct ovadvise_args;
int ovadvise __P((struct proc *, struct ovadvise_args *, int []));
-struct munmap_args;
int munmap __P((struct proc *, struct munmap_args *, int []));
-struct mprotect_args;
int mprotect __P((struct proc *, struct mprotect_args *, int []));
-struct madvise_args;
int madvise __P((struct proc *, struct madvise_args *, int []));
-struct mincore_args;
int mincore __P((struct proc *, struct mincore_args *, int []));
-struct getgroups_args;
int getgroups __P((struct proc *, struct getgroups_args *, int []));
-struct setgroups_args;
int setgroups __P((struct proc *, struct setgroups_args *, int []));
-struct args;
int getpgrp __P((struct proc *, struct args *, int []));
-struct setpgid_args;
int setpgid __P((struct proc *, struct setpgid_args *, int []));
-struct setitimer_args;
int setitimer __P((struct proc *, struct setitimer_args *, int []));
-struct swapon_args;
int swapon __P((struct proc *, struct swapon_args *, int []));
-struct getitimer_args;
int getitimer __P((struct proc *, struct getitimer_args *, int []));
-struct getdtablesize_args;
-int getdtablesize __P((struct proc *, struct getdtablesize_args *, int []));
-struct dup2_args;
+int getdtablesize __P((struct proc *, struct args *, int []));
int dup2 __P((struct proc *, struct dup2_args *, int []));
-struct fcntl_args;
int fcntl __P((struct proc *, struct fcntl_args *, int []));
-struct select_args;
int select __P((struct proc *, struct select_args *, int []));
-struct fsync_args;
int fsync __P((struct proc *, struct fsync_args *, int []));
-struct setpriority_args;
int setpriority __P((struct proc *, struct setpriority_args *, int []));
-struct socket_args;
int socket __P((struct proc *, struct socket_args *, int []));
-struct connect_args;
int connect __P((struct proc *, struct connect_args *, int []));
-struct getpriority_args;
int getpriority __P((struct proc *, struct getpriority_args *, int []));
-struct sigreturn_args;
int sigreturn __P((struct proc *, struct sigreturn_args *, int []));
-struct bind_args;
int bind __P((struct proc *, struct bind_args *, int []));
-struct setsockopt_args;
int setsockopt __P((struct proc *, struct setsockopt_args *, int []));
-struct listen_args;
int listen __P((struct proc *, struct listen_args *, int []));
-struct sigsuspend_args;
int sigsuspend __P((struct proc *, struct sigsuspend_args *, int []));
-struct gettimeofday_args;
int gettimeofday __P((struct proc *, struct gettimeofday_args *, int []));
-struct getrusage_args;
int getrusage __P((struct proc *, struct getrusage_args *, int []));
-struct getsockopt_args;
int getsockopt __P((struct proc *, struct getsockopt_args *, int []));
-#ifdef vax
-struct resuba_args;
-int resuba __P((struct proc *, struct resuba_args *, int []));
-#else
-#endif
-struct readv_args;
int readv __P((struct proc *, struct readv_args *, int []));
-struct writev_args;
int writev __P((struct proc *, struct writev_args *, int []));
-struct settimeofday_args;
int settimeofday __P((struct proc *, struct settimeofday_args *, int []));
-struct fchown_args;
int fchown __P((struct proc *, struct fchown_args *, int []));
-struct fchmod_args;
int fchmod __P((struct proc *, struct fchmod_args *, int []));
-struct setreuid_args;
int setreuid __P((struct proc *, struct setreuid_args *, int []));
-struct setregid_args;
int setregid __P((struct proc *, struct setregid_args *, int []));
-struct rename_args;
int rename __P((struct proc *, struct rename_args *, int []));
-struct flock_args;
int flock __P((struct proc *, struct flock_args *, int []));
-struct mkfifo_args;
int mkfifo __P((struct proc *, struct mkfifo_args *, int []));
-struct sendto_args;
int sendto __P((struct proc *, struct sendto_args *, int []));
-struct shutdown_args;
int shutdown __P((struct proc *, struct shutdown_args *, int []));
-struct socketpair_args;
int socketpair __P((struct proc *, struct socketpair_args *, int []));
-struct mkdir_args;
int mkdir __P((struct proc *, struct mkdir_args *, int []));
-struct rmdir_args;
int rmdir __P((struct proc *, struct rmdir_args *, int []));
-struct utimes_args;
int utimes __P((struct proc *, struct utimes_args *, int []));
-struct adjtime_args;
int adjtime __P((struct proc *, struct adjtime_args *, int []));
-struct args;
int setsid __P((struct proc *, struct args *, int []));
-struct quotactl_args;
int quotactl __P((struct proc *, struct quotactl_args *, int []));
#ifdef NFS
-struct nfssvc_args;
int nfssvc __P((struct proc *, struct nfssvc_args *, int []));
#else
#endif
-struct statfs_args;
int statfs __P((struct proc *, struct statfs_args *, int []));
-struct fstatfs_args;
int fstatfs __P((struct proc *, struct fstatfs_args *, int []));
#ifdef NFS
-struct getfh_args;
int getfh __P((struct proc *, struct getfh_args *, int []));
#else
#endif
-struct getdomainname_args;
int getdomainname __P((struct proc *, struct getdomainname_args *, int []));
-struct setdomainname_args;
int setdomainname __P((struct proc *, struct setdomainname_args *, int []));
-struct uname_args;
int uname __P((struct proc *, struct uname_args *, int []));
-struct sysarch_args;
int sysarch __P((struct proc *, struct sysarch_args *, int []));
-struct rtprio_args;
int rtprio __P((struct proc *, struct rtprio_args *, int []));
#ifdef SYSVSEM
-struct semsys_args;
int semsys __P((struct proc *, struct semsys_args *, int []));
#else
#endif
#ifdef SYSVMSG
-struct msgsys_args;
int msgsys __P((struct proc *, struct msgsys_args *, int []));
#else
#endif
#ifdef SYSVSHM
-struct shmsys_args;
int shmsys __P((struct proc *, struct shmsys_args *, int []));
#else
#endif
-struct ntp_adjtime_args;
int ntp_adjtime __P((struct proc *, struct ntp_adjtime_args *, int []));
-struct setgid_args;
int setgid __P((struct proc *, struct setgid_args *, int []));
-struct setegid_args;
int setegid __P((struct proc *, struct setegid_args *, int []));
-struct seteuid_args;
int seteuid __P((struct proc *, struct seteuid_args *, int []));
#ifdef LFS
-struct lfs_bmapv_args;
int lfs_bmapv __P((struct proc *, struct lfs_bmapv_args *, int []));
-struct lfs_markv_args;
int lfs_markv __P((struct proc *, struct lfs_markv_args *, int []));
-struct lfs_segclean_args;
int lfs_segclean __P((struct proc *, struct lfs_segclean_args *, int []));
-struct lfs_segwait_args;
int lfs_segwait __P((struct proc *, struct lfs_segwait_args *, int []));
#else
#endif
-struct stat_args;
int stat __P((struct proc *, struct stat_args *, int []));
-struct fstat_args;
int fstat __P((struct proc *, struct fstat_args *, int []));
-struct lstat_args;
int lstat __P((struct proc *, struct lstat_args *, int []));
-struct pathconf_args;
int pathconf __P((struct proc *, struct pathconf_args *, int []));
-struct fpathconf_args;
int fpathconf __P((struct proc *, struct fpathconf_args *, int []));
-struct __getrlimit_args;
int getrlimit __P((struct proc *, struct __getrlimit_args *, int []));
-struct __setrlimit_args;
int setrlimit __P((struct proc *, struct __setrlimit_args *, int []));
-struct getdirentries_args;
int getdirentries __P((struct proc *, struct getdirentries_args *, int []));
-struct mmap_args;
int mmap __P((struct proc *, struct mmap_args *, int []));
-struct lseek_args;
int lseek __P((struct proc *, struct lseek_args *, int []));
-struct truncate_args;
int truncate __P((struct proc *, struct truncate_args *, int []));
-struct ftruncate_args;
int ftruncate __P((struct proc *, struct ftruncate_args *, int []));
-struct sysctl_args;
int __sysctl __P((struct proc *, struct sysctl_args *, int []));
-struct mlock_args;
int mlock __P((struct proc *, struct mlock_args *, int []));
-struct munlock_args;
int munlock __P((struct proc *, struct munlock_args *, int []));
-struct nosys_args;
-int lkmnosys __P((struct proc *, struct nosys_args *, int []));
+int lkmnosys __P((struct proc *, struct args *, int []));
#ifdef COMPAT_43
-struct ocreat_args;
-int ocreat __P((struct proc *, struct ocreat_args *, int []));
-struct olseek_args;
-int olseek __P((struct proc *, struct olseek_args *, int []));
-struct ostat_args;
-int ostat __P((struct proc *, struct ostat_args *, int []));
-struct olstat_args;
-int olstat __P((struct proc *, struct olstat_args *, int []));
+struct ocreat_args {
+ char * path;
+ int mode;
+};
+struct olseek_args {
+ int fd;
+ long offset;
+ int whence;
+};
+struct ostat_args {
+ char * path;
+ struct ostat * ub;
+};
+struct olstat_args {
+ char * path;
+ struct ostat * ub;
+};
#ifdef KTRACE
#else
#endif
-struct ofstat_args;
-int ofstat __P((struct proc *, struct ofstat_args *, int []));
-struct getkerninfo_args;
-int ogetkerninfo __P((struct proc *, struct getkerninfo_args *, int []));
-struct getpagesize_args;
-int ogetpagesize __P((struct proc *, struct getpagesize_args *, int []));
-struct ommap_args;
-int ommap __P((struct proc *, struct ommap_args *, int []));
-struct wait_args;
-int owait __P((struct proc *, struct wait_args *, int []));
-struct gethostname_args;
-int ogethostname __P((struct proc *, struct gethostname_args *, int []));
-struct sethostname_args;
-int osethostname __P((struct proc *, struct sethostname_args *, int []));
-struct accept_args;
-int oaccept __P((struct proc *, struct accept_args *, int []));
-struct osend_args;
-int osend __P((struct proc *, struct osend_args *, int []));
-struct orecv_args;
-int orecv __P((struct proc *, struct orecv_args *, int []));
-struct osigvec_args;
-int osigvec __P((struct proc *, struct osigvec_args *, int []));
-struct osigblock_args;
-int osigblock __P((struct proc *, struct osigblock_args *, int []));
-struct osigsetmask_args;
-int osigsetmask __P((struct proc *, struct osigsetmask_args *, int []));
-struct osigstack_args;
-int osigstack __P((struct proc *, struct osigstack_args *, int []));
-struct orecvmsg_args;
-int orecvmsg __P((struct proc *, struct orecvmsg_args *, int []));
-struct osendmsg_args;
-int osendmsg __P((struct proc *, struct osendmsg_args *, int []));
-#ifdef vax
-#else
-#endif
-struct recvfrom_args;
-int orecvfrom __P((struct proc *, struct recvfrom_args *, int []));
-struct otruncate_args;
-int otruncate __P((struct proc *, struct otruncate_args *, int []));
-struct oftruncate_args;
-int oftruncate __P((struct proc *, struct oftruncate_args *, int []));
-struct getpeername_args;
-int ogetpeername __P((struct proc *, struct getpeername_args *, int []));
-struct gethostid_args;
-int ogethostid __P((struct proc *, struct gethostid_args *, int []));
-struct sethostid_args;
-int osethostid __P((struct proc *, struct sethostid_args *, int []));
-struct getrlimit_args;
-int ogetrlimit __P((struct proc *, struct getrlimit_args *, int []));
-struct setrlimit_args;
-int osetrlimit __P((struct proc *, struct setrlimit_args *, int []));
-struct okillpg_args;
-int okillpg __P((struct proc *, struct okillpg_args *, int []));
-struct quota_args;
-int oquota __P((struct proc *, struct quota_args *, int []));
-struct getsockname_args;
-int ogetsockname __P((struct proc *, struct getsockname_args *, int []));
+struct ofstat_args {
+ int fd;
+ struct ostat * sb;
+};
+struct ogetkerninfo_args {
+ int op;
+ char * where;
+ int * size;
+ int arg;
+};
+struct ommap_args {
+ caddr_t addr;
+ size_t len;
+ int prot;
+ int flags;
+ int fd;
+ long pos;
+};
+struct ogethostname_args {
+ char * hostname;
+ u_int len;
+};
+struct osethostname_args {
+ char * hostname;
+ u_int len;
+};
+struct oaccept_args {
+ int s;
+ caddr_t name;
+ int * anamelen;
+};
+struct osend_args {
+ int s;
+ caddr_t buf;
+ int len;
+ int flags;
+};
+struct orecv_args {
+ int s;
+ caddr_t buf;
+ int len;
+ int flags;
+};
+struct osigvec_args {
+ int signum;
+ struct sigvec * nsv;
+ struct sigvec * osv;
+};
+struct osigblock_args {
+ int mask;
+};
+struct osigsetmask_args {
+ int mask;
+};
+struct osigstack_args {
+ struct sigstack * nss;
+ struct sigstack * oss;
+};
+struct orecvmsg_args {
+ int s;
+ struct omsghdr * msg;
+ int flags;
+};
+struct osendmsg_args {
+ int s;
+ caddr_t msg;
+ int flags;
+};
+struct orecvfrom_args {
+ int s;
+ caddr_t buf;
+ size_t len;
+ int flags;
+ caddr_t from;
+ int * fromlenaddr;
+};
+struct otruncate_args {
+ char * path;
+ long length;
+};
+struct oftruncate_args {
+ int fd;
+ long length;
+};
+struct ogetpeername_args {
+ int fdes;
+ caddr_t asa;
+ int * alen;
+};
+struct osethostid_args {
+ long hostid;
+};
+struct ogetrlimit_args {
+ u_int which;
+ struct ogetrlimit * rlp;
+};
+struct osetrlimit_args {
+ u_int which;
+ struct ogetrlimit * rlp;
+};
+struct okillpg_args {
+ int pgid;
+ int signum;
+};
+struct ogetsockname_args {
+ int fdec;
+ caddr_t asa;
+ int * alen;
+};
#ifdef NFS
#else
#endif
-struct ogetdirentries_args;
-int ogetdirentries __P((struct proc *, struct ogetdirentries_args *, int []));
+struct ogetdirentries_args {
+ int fd;
+ char * buf;
+ u_int count;
+ long * basep;
+};
#ifdef NFS
#else
#endif
@@ -419,6 +932,38 @@ int ogetdirentries __P((struct proc *, struct ogetdirentries_args *, int []));
#ifdef LFS
#else
#endif
+int ocreat __P((struct proc *, struct ocreat_args *, int []));
+int olseek __P((struct proc *, struct olseek_args *, int []));
+int ostat __P((struct proc *, struct ostat_args *, int []));
+int olstat __P((struct proc *, struct olstat_args *, int []));
+int ofstat __P((struct proc *, struct ofstat_args *, int []));
+int ogetkerninfo __P((struct proc *, struct ogetkerninfo_args *, int []));
+int ogetpagesize __P((struct proc *, struct args *, int []));
+int ommap __P((struct proc *, struct ommap_args *, int []));
+int owait __P((struct proc *, struct args *, int []));
+int ogethostname __P((struct proc *, struct ogethostname_args *, int []));
+int osethostname __P((struct proc *, struct osethostname_args *, int []));
+int oaccept __P((struct proc *, struct oaccept_args *, int []));
+int osend __P((struct proc *, struct osend_args *, int []));
+int orecv __P((struct proc *, struct orecv_args *, int []));
+int osigvec __P((struct proc *, struct osigvec_args *, int []));
+int osigblock __P((struct proc *, struct osigblock_args *, int []));
+int osigsetmask __P((struct proc *, struct osigsetmask_args *, int []));
+int osigstack __P((struct proc *, struct osigstack_args *, int []));
+int orecvmsg __P((struct proc *, struct orecvmsg_args *, int []));
+int osendmsg __P((struct proc *, struct osendmsg_args *, int []));
+int orecvfrom __P((struct proc *, struct orecvfrom_args *, int []));
+int otruncate __P((struct proc *, struct otruncate_args *, int []));
+int oftruncate __P((struct proc *, struct oftruncate_args *, int []));
+int ogetpeername __P((struct proc *, struct ogetpeername_args *, int []));
+int ogethostid __P((struct proc *, struct args *, int []));
+int osethostid __P((struct proc *, struct osethostid_args *, int []));
+int ogetrlimit __P((struct proc *, struct ogetrlimit_args *, int []));
+int osetrlimit __P((struct proc *, struct osetrlimit_args *, int []));
+int okillpg __P((struct proc *, struct okillpg_args *, int []));
+int oquota __P((struct proc *, struct args *, int []));
+int ogetsockname __P((struct proc *, struct ogetsockname_args *, int []));
+int ogetdirentries __P((struct proc *, struct ogetdirentries_args *, int []));
#endif /* COMPAT_43 */
OpenPOWER on IntegriCloud