summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/init_sysent.c635
-rw-r--r--sys/kern/syscalls.c2
-rw-r--r--sys/sys/syscall-hide.h2
-rw-r--r--sys/sys/syscall.h2
-rw-r--r--sys/sys/sysproto.h425
5 files changed, 632 insertions, 434 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 8f34c0d..e91540f 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -2,503 +2,276 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from $Id: syscalls.master,v 1.14 1995/03/25 16:52:11 davidg Exp $
+ * created from syscalls.master,v 1.16 1995/09/19 13:30:51 bde Exp
*/
#include <sys/param.h>
#include <sys/sysent.h>
-
-int nosys();
-int exit();
-int fork();
-int read();
-int write();
-int open();
-int close();
-int wait4();
-int link();
-int unlink();
-int chdir();
-int fchdir();
-int mknod();
-int chmod();
-int chown();
-int obreak();
-int getfsstat();
-int getpid();
-int mount();
-int unmount();
-int setuid();
-int getuid();
-int geteuid();
-int ptrace();
-int recvmsg();
-int sendmsg();
-int recvfrom();
-int accept();
-int getpeername();
-int getsockname();
-int access();
-int chflags();
-int fchflags();
-int sync();
-int kill();
-int getppid();
-int dup();
-int pipe();
-int getegid();
-int profil();
-#ifdef KTRACE
-int ktrace();
-#else
-#endif
-int sigaction();
-int getgid();
-int sigprocmask();
-int getlogin();
-int setlogin();
-int acct();
-int sigpending();
-int sigaltstack();
-int ioctl();
-int reboot();
-int revoke();
-int symlink();
-int readlink();
-int execve();
-int umask();
-int chroot();
-int msync();
-int vfork();
-int sbrk();
-int sstk();
-int ovadvise();
-int munmap();
-int mprotect();
-int madvise();
-int mincore();
-int getgroups();
-int setgroups();
-int getpgrp();
-int setpgid();
-int setitimer();
-int swapon();
-int getitimer();
-int getdtablesize();
-int dup2();
-int fcntl();
-int select();
-int fsync();
-int setpriority();
-int socket();
-int connect();
-int getpriority();
-int sigreturn();
-int bind();
-int setsockopt();
-int listen();
-int sigsuspend();
-int gettimeofday();
-int getrusage();
-int getsockopt();
-#ifdef vax
-int resuba();
-#else
-#endif
-int readv();
-int writev();
-int settimeofday();
-int fchown();
-int fchmod();
-int setreuid();
-int setregid();
-int rename();
-int flock();
-int mkfifo();
-int sendto();
-int shutdown();
-int socketpair();
-int mkdir();
-int rmdir();
-int utimes();
-int adjtime();
-int setsid();
-int quotactl();
-#ifdef NFS
-int nfssvc();
-#else
-#endif
-int statfs();
-int fstatfs();
-#ifdef NFS
-int getfh();
-#else
-#endif
-int getdomainname();
-int setdomainname();
-int uname();
-int sysarch();
-int rtprio();
-#ifdef SYSVSEM
-int semsys();
-#else
-#endif
-#ifdef SYSVMSG
-int msgsys();
-#else
-#endif
-#ifdef SYSVSHM
-int shmsys();
-#else
-#endif
-int ntp_adjtime();
-int setgid();
-int setegid();
-int seteuid();
-#ifdef LFS
-int lfs_bmapv();
-int lfs_markv();
-int lfs_segclean();
-int lfs_segwait();
-#else
-#endif
-int stat();
-int fstat();
-int lstat();
-int pathconf();
-int fpathconf();
-int getrlimit();
-int setrlimit();
-int getdirentries();
-int mmap();
-int lseek();
-int truncate();
-int ftruncate();
-int __sysctl();
-int mlock();
-int munlock();
-int lkmnosys();
+#include <sys/sysproto.h>
#ifdef COMPAT_43
-#define compat(n, name) n, __CONCAT(o,name)
-
-int ocreat();
-int olseek();
-int ostat();
-int olstat();
-#ifdef KTRACE
-#else
-#endif
-int ofstat();
-int ogetkerninfo();
-int ogetpagesize();
-int ommap();
-int owait();
-int ogethostname();
-int osethostname();
-int oaccept();
-int osend();
-int orecv();
-int osigvec();
-int osigblock();
-int osigsetmask();
-int osigstack();
-int orecvmsg();
-int osendmsg();
-#ifdef vax
-#else
-#endif
-int orecvfrom();
-int otruncate();
-int oftruncate();
-int ogetpeername();
-int ogethostid();
-int osethostid();
-int ogetrlimit();
-int osetrlimit();
-int okillpg();
-int oquota();
-int ogetsockname();
-#ifdef NFS
-#else
-#endif
-int ogetdirentries();
-#ifdef NFS
-#else
-#endif
-#ifdef SYSVSEM
-#else
-#endif
-#ifdef SYSVMSG
-#else
-#endif
-#ifdef SYSVSHM
-#else
-#endif
-#ifdef LFS
+#define compat(n, name) n, (sy_call_t *)__CONCAT(o,name)
#else
+#define compat(n, name) 0, (sy_call_t *)nosys
#endif
-#else /* COMPAT_43 */
-#define compat(n, name) 0, nosys
-#endif /* COMPAT_43 */
-
+/* The casts are bogus but will do for now. */
struct sysent sysent[] = {
- { 0, nosys }, /* 0 = syscall */
- { 1, exit }, /* 1 = exit */
- { 0, fork }, /* 2 = fork */
- { 3, read }, /* 3 = read */
- { 3, write }, /* 4 = write */
- { 3, open }, /* 5 = open */
- { 1, close }, /* 6 = close */
- { 4, wait4 }, /* 7 = wait4 */
+ { 0, (sy_call_t *)nosys }, /* 0 = syscall */
+ { 1, (sy_call_t *)exit }, /* 1 = exit */
+ { 0, (sy_call_t *)fork }, /* 2 = fork */
+ { 3, (sy_call_t *)read }, /* 3 = read */
+ { 3, (sy_call_t *)write }, /* 4 = write */
+ { 3, (sy_call_t *)open }, /* 5 = open */
+ { 1, (sy_call_t *)close }, /* 6 = close */
+ { 4, (sy_call_t *)wait4 }, /* 7 = wait4 */
{ compat(2,creat) }, /* 8 = old creat */
- { 2, link }, /* 9 = link */
- { 1, unlink }, /* 10 = unlink */
- { 0, nosys }, /* 11 = obsolete execv */
- { 1, chdir }, /* 12 = chdir */
- { 1, fchdir }, /* 13 = fchdir */
- { 3, mknod }, /* 14 = mknod */
- { 2, chmod }, /* 15 = chmod */
- { 3, chown }, /* 16 = chown */
- { 1, obreak }, /* 17 = break */
- { 3, getfsstat }, /* 18 = getfsstat */
+ { 2, (sy_call_t *)link }, /* 9 = link */
+ { 1, (sy_call_t *)unlink }, /* 10 = unlink */
+ { 0, (sy_call_t *)nosys }, /* 11 = obsolete execv */
+ { 1, (sy_call_t *)chdir }, /* 12 = chdir */
+ { 1, (sy_call_t *)fchdir }, /* 13 = fchdir */
+ { 3, (sy_call_t *)mknod }, /* 14 = mknod */
+ { 2, (sy_call_t *)chmod }, /* 15 = chmod */
+ { 3, (sy_call_t *)chown }, /* 16 = chown */
+ { 1, (sy_call_t *)obreak }, /* 17 = break */
+ { 3, (sy_call_t *)getfsstat }, /* 18 = getfsstat */
{ compat(3,lseek) }, /* 19 = old lseek */
- { 0, getpid }, /* 20 = getpid */
- { 4, mount }, /* 21 = mount */
- { 2, unmount }, /* 22 = unmount */
- { 1, setuid }, /* 23 = setuid */
- { 0, getuid }, /* 24 = getuid */
- { 0, geteuid }, /* 25 = geteuid */
- { 4, ptrace }, /* 26 = ptrace */
- { 3, recvmsg }, /* 27 = recvmsg */
- { 3, sendmsg }, /* 28 = sendmsg */
- { 6, recvfrom }, /* 29 = recvfrom */
- { 3, accept }, /* 30 = accept */
- { 3, getpeername }, /* 31 = getpeername */
- { 3, getsockname }, /* 32 = getsockname */
- { 2, access }, /* 33 = access */
- { 2, chflags }, /* 34 = chflags */
- { 2, fchflags }, /* 35 = fchflags */
- { 0, sync }, /* 36 = sync */
- { 2, kill }, /* 37 = kill */
+ { 0, (sy_call_t *)getpid }, /* 20 = getpid */
+ { 4, (sy_call_t *)mount }, /* 21 = mount */
+ { 2, (sy_call_t *)unmount }, /* 22 = unmount */
+ { 1, (sy_call_t *)setuid }, /* 23 = setuid */
+ { 0, (sy_call_t *)getuid }, /* 24 = getuid */
+ { 0, (sy_call_t *)geteuid }, /* 25 = geteuid */
+ { 4, (sy_call_t *)ptrace }, /* 26 = ptrace */
+ { 3, (sy_call_t *)recvmsg }, /* 27 = recvmsg */
+ { 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 */
+ { 2, (sy_call_t *)access }, /* 33 = access */
+ { 2, (sy_call_t *)chflags }, /* 34 = chflags */
+ { 2, (sy_call_t *)fchflags }, /* 35 = fchflags */
+ { 0, (sy_call_t *)sync }, /* 36 = sync */
+ { 2, (sy_call_t *)kill }, /* 37 = kill */
{ compat(2,stat) }, /* 38 = old stat */
- { 0, getppid }, /* 39 = getppid */
+ { 0, (sy_call_t *)getppid }, /* 39 = getppid */
{ compat(2,lstat) }, /* 40 = old lstat */
- { 2, dup }, /* 41 = dup */
- { 0, pipe }, /* 42 = pipe */
- { 0, getegid }, /* 43 = getegid */
- { 4, profil }, /* 44 = profil */
+ { 2, (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 */
#ifdef KTRACE
- { 4, ktrace }, /* 45 = ktrace */
+ { 4, (sy_call_t *)ktrace }, /* 45 = ktrace */
#else
- { 0, nosys }, /* 45 = ktrace */
+ { 0, (sy_call_t *)nosys }, /* 45 = ktrace */
#endif
- { 3, sigaction }, /* 46 = sigaction */
- { 0, getgid }, /* 47 = getgid */
- { 2, sigprocmask }, /* 48 = sigprocmask */
- { 2, getlogin }, /* 49 = getlogin */
- { 1, setlogin }, /* 50 = setlogin */
- { 1, acct }, /* 51 = acct */
- { 0, sigpending }, /* 52 = sigpending */
- { 2, sigaltstack }, /* 53 = sigaltstack */
- { 3, ioctl }, /* 54 = ioctl */
- { 1, reboot }, /* 55 = reboot */
- { 1, revoke }, /* 56 = revoke */
- { 2, symlink }, /* 57 = symlink */
- { 3, readlink }, /* 58 = readlink */
- { 3, execve }, /* 59 = execve */
- { 1, umask }, /* 60 = umask */
- { 1, chroot }, /* 61 = chroot */
+ { 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 *)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 */
+ { 3, (sy_call_t *)ioctl }, /* 54 = ioctl */
+ { 1, (sy_call_t *)reboot }, /* 55 = reboot */
+ { 1, (sy_call_t *)revoke }, /* 56 = revoke */
+ { 2, (sy_call_t *)symlink }, /* 57 = symlink */
+ { 3, (sy_call_t *)readlink }, /* 58 = readlink */
+ { 3, (sy_call_t *)execve }, /* 59 = execve */
+ { 1, (sy_call_t *)umask }, /* 60 = umask */
+ { 1, (sy_call_t *)chroot }, /* 61 = chroot */
{ compat(2,fstat) }, /* 62 = old fstat */
{ compat(4,getkerninfo) }, /* 63 = old getkerninfo */
{ compat(0,getpagesize) }, /* 64 = old getpagesize */
- { 3, msync }, /* 65 = msync */
- { 0, vfork }, /* 66 = vfork */
- { 0, nosys }, /* 67 = obsolete vread */
- { 0, nosys }, /* 68 = obsolete vwrite */
- { 1, sbrk }, /* 69 = sbrk */
- { 1, sstk }, /* 70 = sstk */
+ { 3, (sy_call_t *)msync }, /* 65 = msync */
+ { 0, (sy_call_t *)vfork }, /* 66 = vfork */
+ { 0, (sy_call_t *)nosys }, /* 67 = obsolete vread */
+ { 0, (sy_call_t *)nosys }, /* 68 = obsolete vwrite */
+ { 1, (sy_call_t *)sbrk }, /* 69 = sbrk */
+ { 1, (sy_call_t *)sstk }, /* 70 = sstk */
{ compat(6,mmap) }, /* 71 = old mmap */
- { 1, ovadvise }, /* 72 = vadvise */
- { 2, munmap }, /* 73 = munmap */
- { 3, mprotect }, /* 74 = mprotect */
- { 3, madvise }, /* 75 = madvise */
- { 0, nosys }, /* 76 = obsolete vhangup */
- { 0, nosys }, /* 77 = obsolete vlimit */
- { 3, mincore }, /* 78 = mincore */
- { 2, getgroups }, /* 79 = getgroups */
- { 2, setgroups }, /* 80 = setgroups */
- { 0, getpgrp }, /* 81 = getpgrp */
- { 2, setpgid }, /* 82 = setpgid */
- { 3, setitimer }, /* 83 = setitimer */
+ { 1, (sy_call_t *)ovadvise }, /* 72 = vadvise */
+ { 2, (sy_call_t *)munmap }, /* 73 = munmap */
+ { 3, (sy_call_t *)mprotect }, /* 74 = mprotect */
+ { 3, (sy_call_t *)madvise }, /* 75 = madvise */
+ { 0, (sy_call_t *)nosys }, /* 76 = obsolete vhangup */
+ { 0, (sy_call_t *)nosys }, /* 77 = obsolete vlimit */
+ { 3, (sy_call_t *)mincore }, /* 78 = mincore */
+ { 2, (sy_call_t *)getgroups }, /* 79 = getgroups */
+ { 2, (sy_call_t *)setgroups }, /* 80 = setgroups */
+ { 0, (sy_call_t *)getpgrp }, /* 81 = getpgrp */
+ { 2, (sy_call_t *)setpgid }, /* 82 = setpgid */
+ { 3, (sy_call_t *)setitimer }, /* 83 = setitimer */
{ compat(0,wait) }, /* 84 = old wait */
- { 1, swapon }, /* 85 = swapon */
- { 2, getitimer }, /* 86 = getitimer */
+ { 1, (sy_call_t *)swapon }, /* 85 = swapon */
+ { 2, (sy_call_t *)getitimer }, /* 86 = getitimer */
{ compat(2,gethostname) }, /* 87 = old gethostname */
{ compat(2,sethostname) }, /* 88 = old sethostname */
- { 0, getdtablesize }, /* 89 = getdtablesize */
- { 2, dup2 }, /* 90 = dup2 */
- { 0, nosys }, /* 91 = getdopt */
- { 3, fcntl }, /* 92 = fcntl */
- { 5, select }, /* 93 = select */
- { 0, nosys }, /* 94 = setdopt */
- { 1, fsync }, /* 95 = fsync */
- { 3, setpriority }, /* 96 = setpriority */
- { 3, socket }, /* 97 = socket */
- { 3, connect }, /* 98 = connect */
+ { 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 *)socket }, /* 97 = socket */
+ { 3, (sy_call_t *)connect }, /* 98 = connect */
{ compat(3,accept) }, /* 99 = old accept */
- { 2, getpriority }, /* 100 = getpriority */
+ { 2, (sy_call_t *)getpriority }, /* 100 = getpriority */
{ compat(4,send) }, /* 101 = old send */
{ compat(4,recv) }, /* 102 = old recv */
- { 1, sigreturn }, /* 103 = sigreturn */
- { 3, bind }, /* 104 = bind */
- { 5, setsockopt }, /* 105 = setsockopt */
- { 2, listen }, /* 106 = listen */
- { 0, nosys }, /* 107 = obsolete vtimes */
+ { 1, (sy_call_t *)sigreturn }, /* 103 = sigreturn */
+ { 3, (sy_call_t *)bind }, /* 104 = bind */
+ { 5, (sy_call_t *)setsockopt }, /* 105 = setsockopt */
+ { 2, (sy_call_t *)listen }, /* 106 = listen */
+ { 0, (sy_call_t *)nosys }, /* 107 = obsolete vtimes */
{ compat(3,sigvec) }, /* 108 = old sigvec */
{ compat(1,sigblock) }, /* 109 = old sigblock */
{ compat(1,sigsetmask) }, /* 110 = old sigsetmask */
- { 1, sigsuspend }, /* 111 = sigsuspend */
+ { 1, (sy_call_t *)sigsuspend }, /* 111 = sigsuspend */
{ compat(2,sigstack) }, /* 112 = old sigstack */
{ compat(3,recvmsg) }, /* 113 = old recvmsg */
{ compat(3,sendmsg) }, /* 114 = old sendmsg */
- { 0, nosys }, /* 115 = obsolete vtrace */
- { 2, gettimeofday }, /* 116 = gettimeofday */
- { 2, getrusage }, /* 117 = getrusage */
- { 5, getsockopt }, /* 118 = getsockopt */
+ { 0, (sy_call_t *)nosys }, /* 115 = obsolete vtrace */
+ { 2, (sy_call_t *)gettimeofday }, /* 116 = gettimeofday */
+ { 2, (sy_call_t *)getrusage }, /* 117 = getrusage */
+ { 5, (sy_call_t *)getsockopt }, /* 118 = getsockopt */
#ifdef vax
- { 1, resuba }, /* 119 = resuba */
+ { 1, (sy_call_t *)resuba }, /* 119 = resuba */
#else
- { 0, nosys }, /* 119 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 119 = nosys */
#endif
- { 3, readv }, /* 120 = readv */
- { 3, writev }, /* 121 = writev */
- { 2, settimeofday }, /* 122 = settimeofday */
- { 3, fchown }, /* 123 = fchown */
- { 2, fchmod }, /* 124 = fchmod */
+ { 3, (sy_call_t *)readv }, /* 120 = readv */
+ { 3, (sy_call_t *)writev }, /* 121 = writev */
+ { 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 */
- { 2, setreuid }, /* 126 = setreuid */
- { 2, setregid }, /* 127 = setregid */
- { 2, rename }, /* 128 = rename */
+ { 2, (sy_call_t *)setreuid }, /* 126 = setreuid */
+ { 2, (sy_call_t *)setregid }, /* 127 = setregid */
+ { 2, (sy_call_t *)rename }, /* 128 = rename */
{ compat(2,truncate) }, /* 129 = old truncate */
{ compat(2,ftruncate) }, /* 130 = old ftruncate */
- { 2, flock }, /* 131 = flock */
- { 2, mkfifo }, /* 132 = mkfifo */
- { 6, sendto }, /* 133 = sendto */
- { 2, shutdown }, /* 134 = shutdown */
- { 5, socketpair }, /* 135 = socketpair */
- { 2, mkdir }, /* 136 = mkdir */
- { 1, rmdir }, /* 137 = rmdir */
- { 2, utimes }, /* 138 = utimes */
- { 0, nosys }, /* 139 = obsolete 4.2 sigreturn */
- { 2, adjtime }, /* 140 = adjtime */
+ { 2, (sy_call_t *)flock }, /* 131 = flock */
+ { 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 */
+ { 2, (sy_call_t *)mkdir }, /* 136 = mkdir */
+ { 1, (sy_call_t *)rmdir }, /* 137 = rmdir */
+ { 2, (sy_call_t *)utimes }, /* 138 = utimes */
+ { 0, (sy_call_t *)nosys }, /* 139 = obsolete 4.2 sigreturn */
+ { 2, (sy_call_t *)adjtime }, /* 140 = adjtime */
{ compat(3,getpeername) }, /* 141 = old getpeername */
{ compat(0,gethostid) }, /* 142 = old gethostid */
{ compat(1,sethostid) }, /* 143 = old sethostid */
{ compat(2,getrlimit) }, /* 144 = old getrlimit */
{ compat(2,setrlimit) }, /* 145 = old setrlimit */
{ compat(2,killpg) }, /* 146 = old killpg */
- { 0, setsid }, /* 147 = setsid */
- { 4, quotactl }, /* 148 = quotactl */
+ { 0, (sy_call_t *)setsid }, /* 147 = setsid */
+ { 4, (sy_call_t *)quotactl }, /* 148 = quotactl */
{ compat(4,quota) }, /* 149 = old quota */
{ compat(3,getsockname) }, /* 150 = old getsockname */
- { 0, nosys }, /* 151 = nosys */
- { 0, nosys }, /* 152 = nosys */
- { 0, nosys }, /* 153 = nosys */
- { 0, nosys }, /* 154 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 151 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 152 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 153 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 154 = nosys */
#ifdef NFS
- { 2, nfssvc }, /* 155 = nfssvc */
+ { 2, (sy_call_t *)nfssvc }, /* 155 = nfssvc */
#else
- { 0, nosys }, /* 155 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 155 = nosys */
#endif
{ compat(4,getdirentries) }, /* 156 = old getdirentries */
- { 2, statfs }, /* 157 = statfs */
- { 2, fstatfs }, /* 158 = fstatfs */
- { 0, nosys }, /* 159 = nosys */
- { 0, nosys }, /* 160 = nosys */
+ { 2, (sy_call_t *)statfs }, /* 157 = statfs */
+ { 2, (sy_call_t *)fstatfs }, /* 158 = fstatfs */
+ { 0, (sy_call_t *)nosys }, /* 159 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 160 = nosys */
#ifdef NFS
- { 2, getfh }, /* 161 = getfh */
+ { 2, (sy_call_t *)getfh }, /* 161 = getfh */
#else
- { 0, nosys }, /* 161 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 161 = nosys */
#endif
- { 2, getdomainname }, /* 162 = getdomainname */
- { 2, setdomainname }, /* 163 = setdomainname */
- { 1, uname }, /* 164 = uname */
- { 2, sysarch }, /* 165 = sysarch */
- { 3, rtprio }, /* 166 = rtprio */
- { 0, nosys }, /* 167 = nosys */
- { 0, nosys }, /* 168 = nosys */
+ { 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 */
+ { 0, (sy_call_t *)nosys }, /* 167 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 168 = nosys */
#ifdef SYSVSEM
- { 5, semsys }, /* 169 = semsys */
+ { 5, (sy_call_t *)semsys }, /* 169 = semsys */
#else
- { 0, nosys }, /* 169 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 169 = nosys */
#endif
#ifdef SYSVMSG
- { 6, msgsys }, /* 170 = msgsys */
+ { 6, (sy_call_t *)msgsys }, /* 170 = msgsys */
#else
- { 0, nosys }, /* 170 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 170 = nosys */
#endif
#ifdef SYSVSHM
- { 4, shmsys }, /* 171 = shmsys */
+ { 4, (sy_call_t *)shmsys }, /* 171 = shmsys */
#else
- { 0, nosys }, /* 171 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 171 = nosys */
#endif
- { 0, nosys }, /* 172 = nosys */
- { 0, nosys }, /* 173 = nosys */
- { 0, nosys }, /* 174 = nosys */
- { 0, nosys }, /* 175 = nosys */
- { 1, ntp_adjtime }, /* 176 = ntp_adjtime */
- { 0, nosys }, /* 177 = nosys */
- { 0, nosys }, /* 178 = nosys */
- { 0, nosys }, /* 179 = nosys */
- { 0, nosys }, /* 180 = nosys */
- { 1, setgid }, /* 181 = setgid */
- { 1, setegid }, /* 182 = setegid */
- { 1, seteuid }, /* 183 = seteuid */
+ { 0, (sy_call_t *)nosys }, /* 172 = nosys */
+ { 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 */
+ { 0, (sy_call_t *)nosys }, /* 177 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 178 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 179 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 180 = nosys */
+ { 1, (sy_call_t *)setgid }, /* 181 = setgid */
+ { 1, (sy_call_t *)setegid }, /* 182 = setegid */
+ { 1, (sy_call_t *)seteuid }, /* 183 = seteuid */
#ifdef LFS
- { 3, lfs_bmapv }, /* 184 = lfs_bmapv */
- { 3, lfs_markv }, /* 185 = lfs_markv */
- { 2, lfs_segclean }, /* 186 = lfs_segclean */
- { 2, lfs_segwait }, /* 187 = lfs_segwait */
+ { 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 */
#else
- { 0, nosys }, /* 184 = nosys */
- { 0, nosys }, /* 185 = nosys */
- { 0, nosys }, /* 186 = nosys */
- { 0, nosys }, /* 187 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 184 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 185 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 186 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 187 = nosys */
#endif
- { 2, stat }, /* 188 = stat */
- { 2, fstat }, /* 189 = fstat */
- { 2, lstat }, /* 190 = lstat */
- { 2, pathconf }, /* 191 = pathconf */
- { 2, fpathconf }, /* 192 = fpathconf */
- { 0, nosys }, /* 193 = nosys */
- { 2, getrlimit }, /* 194 = getrlimit */
- { 2, setrlimit }, /* 195 = setrlimit */
- { 4, getdirentries }, /* 196 = getdirentries */
- { 8, mmap }, /* 197 = mmap */
- { 0, nosys }, /* 198 = __syscall */
- { 5, lseek }, /* 199 = lseek */
- { 4, truncate }, /* 200 = truncate */
- { 4, ftruncate }, /* 201 = ftruncate */
- { 6, __sysctl }, /* 202 = __sysctl */
- { 2, mlock }, /* 203 = mlock */
- { 2, munlock }, /* 204 = munlock */
- { 0, nosys }, /* 205 = nosys */
- { 0, nosys }, /* 206 = nosys */
- { 0, nosys }, /* 207 = nosys */
- { 0, nosys }, /* 208 = nosys */
- { 0, nosys }, /* 209 = nosys */
- { 0, lkmnosys }, /* 210 = lkmnosys */
- { 0, lkmnosys }, /* 211 = lkmnosys */
- { 0, lkmnosys }, /* 212 = lkmnosys */
- { 0, lkmnosys }, /* 213 = lkmnosys */
- { 0, lkmnosys }, /* 214 = lkmnosys */
- { 0, lkmnosys }, /* 215 = lkmnosys */
- { 0, lkmnosys }, /* 216 = lkmnosys */
- { 0, lkmnosys }, /* 217 = lkmnosys */
- { 0, lkmnosys }, /* 218 = lkmnosys */
- { 0, lkmnosys }, /* 219 = lkmnosys */
+ { 2, (sy_call_t *)stat }, /* 188 = stat */
+ { 2, (sy_call_t *)fstat }, /* 189 = fstat */
+ { 2, (sy_call_t *)lstat }, /* 190 = lstat */
+ { 2, (sy_call_t *)pathconf }, /* 191 = pathconf */
+ { 2, (sy_call_t *)fpathconf }, /* 192 = fpathconf */
+ { 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 */
+ { 8, (sy_call_t *)mmap }, /* 197 = mmap */
+ { 0, (sy_call_t *)nosys }, /* 198 = __syscall */
+ { 5, (sy_call_t *)lseek }, /* 199 = lseek */
+ { 4, (sy_call_t *)truncate }, /* 200 = truncate */
+ { 4, (sy_call_t *)ftruncate }, /* 201 = ftruncate */
+ { 6, (sy_call_t *)__sysctl }, /* 202 = __sysctl */
+ { 2, (sy_call_t *)mlock }, /* 203 = mlock */
+ { 2, (sy_call_t *)munlock }, /* 204 = munlock */
+ { 0, (sy_call_t *)nosys }, /* 205 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 206 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 207 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 208 = nosys */
+ { 0, (sy_call_t *)nosys }, /* 209 = nosys */
+ { 0, (sy_call_t *)lkmnosys }, /* 210 = lkmnosys */
+ { 0, (sy_call_t *)lkmnosys }, /* 211 = lkmnosys */
+ { 0, (sy_call_t *)lkmnosys }, /* 212 = lkmnosys */
+ { 0, (sy_call_t *)lkmnosys }, /* 213 = lkmnosys */
+ { 0, (sy_call_t *)lkmnosys }, /* 214 = lkmnosys */
+ { 0, (sy_call_t *)lkmnosys }, /* 215 = lkmnosys */
+ { 0, (sy_call_t *)lkmnosys }, /* 216 = lkmnosys */
+ { 0, (sy_call_t *)lkmnosys }, /* 217 = lkmnosys */
+ { 0, (sy_call_t *)lkmnosys }, /* 218 = lkmnosys */
+ { 0, (sy_call_t *)lkmnosys }, /* 219 = lkmnosys */
};
struct sysentvec aout_sysvec = {
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 3b9f75c..2b006cc 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 $Id: syscalls.master,v 1.14 1995/03/25 16:52:11 davidg Exp $
+ * created from syscalls.master,v 1.16 1995/09/19 13:30:51 bde Exp
*/
char *syscallnames[] = {
diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h
index 920bfd8..0457902 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 $Id: syscalls.master,v 1.14 1995/03/25 16:52:11 davidg Exp $
+ * created from syscalls.master,v 1.16 1995/09/19 13:30:51 bde Exp
*/
HIDE_POSIX(fork)
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 1615979..a1c6160 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 $Id: syscalls.master,v 1.14 1995/03/25 16:52:11 davidg Exp $
+ * created from syscalls.master,v 1.16 1995/09/19 13:30:51 bde Exp
*/
#define SYS_syscall 0
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
new file mode 100644
index 0000000..da3d9ce
--- /dev/null
+++ b/sys/sys/sysproto.h
@@ -0,0 +1,425 @@
+/*
+ * 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
+ */
+
+#ifndef _SYS_SYSPROTO_H_
+#define _SYS_SYSPROTO_H_
+
+#include <sys/types.h>
+
+struct proc;
+
+struct nosys_args;
+int nosys __P((struct proc *, struct nosys_args *, int []));
+struct rexit_args;
+__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 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 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 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 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 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 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 []));
+
+#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 []));
+#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 []));
+#ifdef NFS
+#else
+#endif
+struct ogetdirentries_args;
+int ogetdirentries __P((struct proc *, struct ogetdirentries_args *, int []));
+#ifdef NFS
+#else
+#endif
+#ifdef SYSVSEM
+#else
+#endif
+#ifdef SYSVMSG
+#else
+#endif
+#ifdef SYSVSHM
+#else
+#endif
+#ifdef LFS
+#else
+#endif
+
+#endif /* COMPAT_43 */
+
+#endif /* !_SYS_SYSPROTO_H_ */
OpenPOWER on IntegriCloud