This commit is contained in:
christos 1999-06-09 04:28:24 +00:00
parent 1e6c35821b
commit 4ebea99d8e
4 changed files with 155 additions and 138 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: aout_syscall.h,v 1.2 1999/03/28 21:57:50 sommerfe Exp $ */
/* $NetBSD: aout_syscall.h,v 1.3 1999/06/09 04:28:24 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.2 1999/03/28 21:56:56 sommerfe Exp
* created from NetBSD: syscalls.master,v 1.3 1999/06/09 04:27:44 christos Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -143,6 +143,7 @@
/* syscall: "ktrace" ret: "int" args: "const char *" "int" "int" "int" */
#define AOUT_SYS_ktrace 45
/* 45 is excluded ktrace */
/* syscall: "sigaction13" ret: "int" args: "int" "const struct sigaction13 *" "struct sigaction13 *" */
#define AOUT_SYS_sigaction13 46
@ -334,9 +335,6 @@
/* syscall: "osendmsg" ret: "int" args: "int" "caddr_t" "int" */
#define AOUT_SYS_osendmsg 114
/* syscall: "vtrace" ret: "int" args: "int" "int" */
#define AOUT_SYS_vtrace 115
/* 115 is obsolete vtrace */
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define AOUT_SYS_gettimeofday 116
@ -442,6 +440,7 @@
/* syscall: "nfssvc" ret: "int" args: "int" "void *" */
#define AOUT_SYS_nfssvc 155
/* 155 is excluded nfssvc */
/* syscall: "ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
#define AOUT_SYS_ogetdirentries 156
@ -454,6 +453,7 @@
/* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */
#define AOUT_SYS_getfh 161
/* 161 is excluded getfh */
/* syscall: "ogetdomainname" ret: "int" args: "char *" "int" */
#define AOUT_SYS_ogetdomainname 162
@ -469,12 +469,15 @@
/* syscall: "osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define AOUT_SYS_osemsys 169
/* 169 is excluded 1.0 semsys */
/* syscall: "omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
#define AOUT_SYS_omsgsys 170
/* 170 is excluded 1.0 msgsys */
/* syscall: "oshmsys" ret: "int" args: "int" "int" "int" "int" */
#define AOUT_SYS_oshmsys 171
/* 171 is excluded 1.0 shmsys */
/* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */
#define AOUT_SYS_pread 173
@ -508,6 +511,10 @@
/* syscall: "lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval *" */
#define AOUT_SYS_lfs_segwait 187
/* 184 is excluded lfs_bmapv */
/* 185 is excluded lfs_markv */
/* 186 is excluded lfs_segclean */
/* 187 is excluded lfs_segwait */
/* syscall: "stat12" ret: "int" args: "const char *" "struct stat12 *" */
#define AOUT_SYS_stat12 188
@ -571,6 +578,16 @@
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define AOUT_SYS_poll 209
/* 210 is excluded lkmnosys */
/* 211 is excluded lkmnosys */
/* 212 is excluded lkmnosys */
/* 213 is excluded lkmnosys */
/* 214 is excluded lkmnosys */
/* 215 is excluded lkmnosys */
/* 216 is excluded lkmnosys */
/* 217 is excluded lkmnosys */
/* 218 is excluded lkmnosys */
/* 219 is excluded lkmnosys */
/* syscall: "__semctl" ret: "int" args: "int" "int" "int" "union semun *" */
#define AOUT_SYS___semctl 220
@ -583,6 +600,10 @@
/* syscall: "semconfig" ret: "int" args: "int" */
#define AOUT_SYS_semconfig 223
/* 220 is excluded semctl */
/* 221 is excluded semget */
/* 222 is excluded semop */
/* 223 is excluded semconfig */
/* syscall: "msgctl" ret: "int" args: "int" "int" "struct msqid_ds *" */
#define AOUT_SYS_msgctl 224
@ -595,6 +616,10 @@
/* syscall: "msgrcv" ret: "ssize_t" args: "int" "void *" "size_t" "long" "int" */
#define AOUT_SYS_msgrcv 227
/* 224 is excluded msgctl */
/* 225 is excluded msgget */
/* 226 is excluded msgsnd */
/* 227 is excluded msgrcv */
/* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
#define AOUT_SYS_shmat 228
@ -607,6 +632,10 @@
/* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */
#define AOUT_SYS_shmget 231
/* 228 is excluded shmat */
/* 229 is excluded shmctl */
/* 230 is excluded shmdt */
/* 231 is excluded shmget */
/* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct timespec *" */
#define AOUT_SYS_clock_gettime 232
@ -676,6 +705,7 @@
/* syscall: "fktrace" ret: "int" args: "const int" "int" "int" "int" */
#define AOUT_SYS_fktrace 288
/* 288 is excluded ktrace */
/* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
#define AOUT_SYS_preadv 289

View File

@ -1,10 +1,10 @@
/* $NetBSD: aout_syscallargs.h,v 1.2 1999/03/28 21:57:50 sommerfe Exp $ */
/* $NetBSD: aout_syscallargs.h,v 1.3 1999/06/09 04:28:24 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.2 1999/03/28 21:56:56 sommerfe Exp
* created from NetBSD: syscalls.master,v 1.3 1999/06/09 04:27:44 christos Exp
*/
#ifndef _AOUT_SYS__SYSCALLARGS_H_
@ -280,7 +280,7 @@ int sys_dup __P((struct proc *, void *, register_t *));
int sys_pipe __P((struct proc *, void *, register_t *));
int sys_getegid __P((struct proc *, void *, register_t *));
int sys_profil __P((struct proc *, void *, register_t *));
#ifdef KTRACE
#if defined(KTRACE) || !defined(_KERNEL)
int aout_sys_ktrace __P((struct proc *, void *, register_t *));
#else
#endif
@ -346,10 +346,6 @@ int compat_13_sys_sigsuspend __P((struct proc *, void *, register_t *));
int compat_43_sys_sigstack __P((struct proc *, void *, register_t *));
int compat_43_sys_recvmsg __P((struct proc *, void *, register_t *));
int compat_43_sys_sendmsg __P((struct proc *, void *, register_t *));
#ifdef TRACE
int sys_vtrace __P((struct proc *, void *, register_t *));
#else
#endif
int sys_gettimeofday __P((struct proc *, void *, register_t *));
int sys_getrusage __P((struct proc *, void *, register_t *));
int sys_getsockopt __P((struct proc *, void *, register_t *));
@ -383,14 +379,14 @@ int sys_setsid __P((struct proc *, void *, register_t *));
int aout_sys_quotactl __P((struct proc *, void *, register_t *));
int compat_43_sys_quota __P((struct proc *, void *, register_t *));
int compat_43_sys_getsockname __P((struct proc *, void *, register_t *));
#if defined(NFS) || defined(NFSSERVER)
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
int sys_nfssvc __P((struct proc *, void *, register_t *));
#else
#endif
int compat_43_sys_getdirentries __P((struct proc *, void *, register_t *));
int aout_sys_statfs __P((struct proc *, void *, register_t *));
int sys_fstatfs __P((struct proc *, void *, register_t *));
#if defined(NFS) || defined(NFSSERVER)
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
int aout_sys_getfh __P((struct proc *, void *, register_t *));
#else
#endif
@ -398,15 +394,15 @@ int compat_09_sys_getdomainname __P((struct proc *, void *, register_t *));
int compat_09_sys_setdomainname __P((struct proc *, void *, register_t *));
int compat_09_sys_uname __P((struct proc *, void *, register_t *));
int sys_sysarch __P((struct proc *, void *, register_t *));
#if defined(SYSVSEM) && !defined(alpha)
#if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha)
int compat_10_sys_semsys __P((struct proc *, void *, register_t *));
#else
#endif
#if defined(SYSVMSG) && !defined(alpha)
#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha)
int compat_10_sys_msgsys __P((struct proc *, void *, register_t *));
#else
#endif
#if defined(SYSVSHM) && !defined(alpha)
#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha)
int compat_10_sys_shmsys __P((struct proc *, void *, register_t *));
#else
#endif
@ -417,11 +413,11 @@ int sys_ntp_adjtime __P((struct proc *, void *, register_t *));
int sys_setgid __P((struct proc *, void *, register_t *));
int sys_setegid __P((struct proc *, void *, register_t *));
int sys_seteuid __P((struct proc *, void *, register_t *));
#ifdef LFS
int lfs_bmapv __P((struct proc *, void *, register_t *));
int lfs_markv __P((struct proc *, void *, register_t *));
int lfs_segclean __P((struct proc *, void *, register_t *));
int lfs_segwait __P((struct proc *, void *, register_t *));
#if defined(LFS) || !defined(_KERNEL)
int sys_lfs_bmapv __P((struct proc *, void *, register_t *));
int sys_lfs_markv __P((struct proc *, void *, register_t *));
int sys_lfs_segclean __P((struct proc *, void *, register_t *));
int sys_lfs_segwait __P((struct proc *, void *, register_t *));
#else
#endif
int aout_compat_12_sys_stat __P((struct proc *, void *, register_t *));
@ -444,7 +440,7 @@ int sys_futimes __P((struct proc *, void *, register_t *));
int sys_getpgid __P((struct proc *, void *, register_t *));
int sys_reboot __P((struct proc *, void *, register_t *));
int sys_poll __P((struct proc *, void *, register_t *));
#ifdef LKM
#if defined(LKM) || !defined(_KERNEL)
int sys_lkmnosys __P((struct proc *, void *, register_t *));
int sys_lkmnosys __P((struct proc *, void *, register_t *));
int sys_lkmnosys __P((struct proc *, void *, register_t *));
@ -457,21 +453,21 @@ int sys_lkmnosys __P((struct proc *, void *, register_t *));
int sys_lkmnosys __P((struct proc *, void *, register_t *));
#else /* !LKM */
#endif /* !LKM */
#ifdef SYSVSEM
#if defined(SYSVSEM) || !defined(_KERNEL)
int sys___semctl __P((struct proc *, void *, register_t *));
int sys_semget __P((struct proc *, void *, register_t *));
int sys_semop __P((struct proc *, void *, register_t *));
int sys_semconfig __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVMSG
#if defined(SYSVMSG) || !defined(_KERNEL)
int sys_msgctl __P((struct proc *, void *, register_t *));
int sys_msgget __P((struct proc *, void *, register_t *));
int sys_msgsnd __P((struct proc *, void *, register_t *));
int sys_msgrcv __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVSHM
#if defined(SYSVSHM) || !defined(_KERNEL)
int sys_shmat __P((struct proc *, void *, register_t *));
int sys_shmctl __P((struct proc *, void *, register_t *));
int sys_shmdt __P((struct proc *, void *, register_t *));
@ -500,7 +496,7 @@ int aout_sys___posix_chown __P((struct proc *, void *, register_t *));
int sys___posix_fchown __P((struct proc *, void *, register_t *));
int sys___posix_lchown __P((struct proc *, void *, register_t *));
int sys_getsid __P((struct proc *, void *, register_t *));
#ifdef KTRACE
#if defined(KTRACE) || !defined(_KERNEL)
int sys_fktrace __P((struct proc *, void *, register_t *));
#else
#endif

View File

@ -1,10 +1,10 @@
/* $NetBSD: aout_syscalls.c,v 1.2 1999/03/28 21:57:50 sommerfe Exp $ */
/* $NetBSD: aout_syscalls.c,v 1.3 1999/06/09 04:28:24 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.2 1999/03/28 21:56:56 sommerfe Exp
* created from NetBSD: syscalls.master,v 1.3 1999/06/09 04:27:44 christos Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@ -69,10 +69,10 @@ char *aout_syscallnames[] = {
"pipe", /* 42 = pipe */
"getegid", /* 43 = getegid */
"profil", /* 44 = profil */
#ifdef KTRACE
#if defined(KTRACE) || !defined(_KERNEL)
"ktrace", /* 45 = ktrace */
#else
"#45 (unimplemented ktrace)", /* 45 = unimplemented ktrace */
"#45 (excluded ktrace)", /* 45 = excluded ktrace */
#endif
"sigaction13", /* 46 = sigaction13 */
"getgid", /* 47 = getgid */
@ -143,11 +143,7 @@ char *aout_syscallnames[] = {
"osigstack", /* 112 = osigstack */
"orecvmsg", /* 113 = orecvmsg */
"osendmsg", /* 114 = osendmsg */
#ifdef TRACE
"vtrace", /* 115 = vtrace */
#else
"#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
#endif
"gettimeofday", /* 116 = gettimeofday */
"getrusage", /* 117 = getrusage */
"getsockopt", /* 118 = getsockopt */
@ -187,20 +183,20 @@ char *aout_syscallnames[] = {
"#152 (unimplemented)", /* 152 = unimplemented */
"#153 (unimplemented)", /* 153 = unimplemented */
"#154 (unimplemented)", /* 154 = unimplemented */
#if defined(NFS) || defined(NFSSERVER)
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
"nfssvc", /* 155 = nfssvc */
#else
"#155 (unimplemented)", /* 155 = unimplemented */
"#155 (excluded nfssvc)", /* 155 = excluded nfssvc */
#endif
"ogetdirentries", /* 156 = ogetdirentries */
"statfs", /* 157 = statfs */
"fstatfs", /* 158 = fstatfs */
"#159 (unimplemented)", /* 159 = unimplemented */
"#160 (unimplemented)", /* 160 = unimplemented */
#if defined(NFS) || defined(NFSSERVER)
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
"getfh", /* 161 = getfh */
#else
"#161 (unimplemented getfh)", /* 161 = unimplemented getfh */
"#161 (excluded getfh)", /* 161 = excluded getfh */
#endif
"ogetdomainname", /* 162 = ogetdomainname */
"osetdomainname", /* 163 = osetdomainname */
@ -209,20 +205,20 @@ char *aout_syscallnames[] = {
"#166 (unimplemented)", /* 166 = unimplemented */
"#167 (unimplemented)", /* 167 = unimplemented */
"#168 (unimplemented)", /* 168 = unimplemented */
#if defined(SYSVSEM) && !defined(alpha)
#if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha)
"osemsys", /* 169 = osemsys */
#else
"#169 (unimplemented 1.0 semsys)", /* 169 = unimplemented 1.0 semsys */
"#169 (excluded 1.0 semsys)", /* 169 = excluded 1.0 semsys */
#endif
#if defined(SYSVMSG) && !defined(alpha)
#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha)
"omsgsys", /* 170 = omsgsys */
#else
"#170 (unimplemented 1.0 msgsys)", /* 170 = unimplemented 1.0 msgsys */
"#170 (excluded 1.0 msgsys)", /* 170 = excluded 1.0 msgsys */
#endif
#if defined(SYSVSHM) && !defined(alpha)
#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha)
"oshmsys", /* 171 = oshmsys */
#else
"#171 (unimplemented 1.0 shmsys)", /* 171 = unimplemented 1.0 shmsys */
"#171 (excluded 1.0 shmsys)", /* 171 = excluded 1.0 shmsys */
#endif
"#172 (unimplemented)", /* 172 = unimplemented */
"pread", /* 173 = pread */
@ -236,16 +232,16 @@ char *aout_syscallnames[] = {
"setgid", /* 181 = setgid */
"setegid", /* 182 = setegid */
"seteuid", /* 183 = seteuid */
#ifdef LFS
#if defined(LFS) || !defined(_KERNEL)
"lfs_bmapv", /* 184 = lfs_bmapv */
"lfs_markv", /* 185 = lfs_markv */
"lfs_segclean", /* 186 = lfs_segclean */
"lfs_segwait", /* 187 = lfs_segwait */
#else
"#184 (unimplemented)", /* 184 = unimplemented */
"#185 (unimplemented)", /* 185 = unimplemented */
"#186 (unimplemented)", /* 186 = unimplemented */
"#187 (unimplemented)", /* 187 = unimplemented */
"#184 (excluded lfs_bmapv)", /* 184 = excluded lfs_bmapv */
"#185 (excluded lfs_markv)", /* 185 = excluded lfs_markv */
"#186 (excluded lfs_segclean)", /* 186 = excluded lfs_segclean */
"#187 (excluded lfs_segwait)", /* 187 = excluded lfs_segwait */
#endif
"stat12", /* 188 = stat12 */
"fstat12", /* 189 = fstat12 */
@ -269,7 +265,7 @@ char *aout_syscallnames[] = {
"getpgid", /* 207 = getpgid */
"reboot", /* 208 = reboot */
"poll", /* 209 = poll */
#ifdef LKM
#if defined(LKM) || !defined(_KERNEL)
"lkmnosys", /* 210 = lkmnosys */
"lkmnosys", /* 211 = lkmnosys */
"lkmnosys", /* 212 = lkmnosys */
@ -281,49 +277,49 @@ char *aout_syscallnames[] = {
"lkmnosys", /* 218 = lkmnosys */
"lkmnosys", /* 219 = lkmnosys */
#else /* !LKM */
"#210 (unimplemented)", /* 210 = unimplemented */
"#211 (unimplemented)", /* 211 = unimplemented */
"#212 (unimplemented)", /* 212 = unimplemented */
"#213 (unimplemented)", /* 213 = unimplemented */
"#214 (unimplemented)", /* 214 = unimplemented */
"#215 (unimplemented)", /* 215 = unimplemented */
"#216 (unimplemented)", /* 216 = unimplemented */
"#217 (unimplemented)", /* 217 = unimplemented */
"#218 (unimplemented)", /* 218 = unimplemented */
"#219 (unimplemented)", /* 219 = unimplemented */
"#210 (excluded lkmnosys)", /* 210 = excluded lkmnosys */
"#211 (excluded lkmnosys)", /* 211 = excluded lkmnosys */
"#212 (excluded lkmnosys)", /* 212 = excluded lkmnosys */
"#213 (excluded lkmnosys)", /* 213 = excluded lkmnosys */
"#214 (excluded lkmnosys)", /* 214 = excluded lkmnosys */
"#215 (excluded lkmnosys)", /* 215 = excluded lkmnosys */
"#216 (excluded lkmnosys)", /* 216 = excluded lkmnosys */
"#217 (excluded lkmnosys)", /* 217 = excluded lkmnosys */
"#218 (excluded lkmnosys)", /* 218 = excluded lkmnosys */
"#219 (excluded lkmnosys)", /* 219 = excluded lkmnosys */
#endif /* !LKM */
#ifdef SYSVSEM
#if defined(SYSVSEM) || !defined(_KERNEL)
"__semctl", /* 220 = __semctl */
"semget", /* 221 = semget */
"semop", /* 222 = semop */
"semconfig", /* 223 = semconfig */
#else
"#220 (unimplemented semctl)", /* 220 = unimplemented semctl */
"#221 (unimplemented semget)", /* 221 = unimplemented semget */
"#222 (unimplemented semop)", /* 222 = unimplemented semop */
"#223 (unimplemented semconfig)", /* 223 = unimplemented semconfig */
"#220 (excluded semctl)", /* 220 = excluded semctl */
"#221 (excluded semget)", /* 221 = excluded semget */
"#222 (excluded semop)", /* 222 = excluded semop */
"#223 (excluded semconfig)", /* 223 = excluded semconfig */
#endif
#ifdef SYSVMSG
#if defined(SYSVMSG) || !defined(_KERNEL)
"msgctl", /* 224 = msgctl */
"msgget", /* 225 = msgget */
"msgsnd", /* 226 = msgsnd */
"msgrcv", /* 227 = msgrcv */
#else
"#224 (unimplemented msgctl)", /* 224 = unimplemented msgctl */
"#225 (unimplemented msgget)", /* 225 = unimplemented msgget */
"#226 (unimplemented msgsnd)", /* 226 = unimplemented msgsnd */
"#227 (unimplemented msgrcv)", /* 227 = unimplemented msgrcv */
"#224 (excluded msgctl)", /* 224 = excluded msgctl */
"#225 (excluded msgget)", /* 225 = excluded msgget */
"#226 (excluded msgsnd)", /* 226 = excluded msgsnd */
"#227 (excluded msgrcv)", /* 227 = excluded msgrcv */
#endif
#ifdef SYSVSHM
#if defined(SYSVSHM) || !defined(_KERNEL)
"shmat", /* 228 = shmat */
"shmctl", /* 229 = shmctl */
"shmdt", /* 230 = shmdt */
"shmget", /* 231 = shmget */
#else
"#228 (unimplemented shmat)", /* 228 = unimplemented shmat */
"#229 (unimplemented shmctl)", /* 229 = unimplemented shmctl */
"#230 (unimplemented shmdt)", /* 230 = unimplemented shmdt */
"#231 (unimplemented shmget)", /* 231 = unimplemented shmget */
"#228 (excluded shmat)", /* 228 = excluded shmat */
"#229 (excluded shmctl)", /* 229 = excluded shmctl */
"#230 (excluded shmdt)", /* 230 = excluded shmdt */
"#231 (excluded shmget)", /* 231 = excluded shmget */
#endif
"clock_gettime", /* 232 = clock_gettime */
"clock_settime", /* 233 = clock_settime */
@ -381,10 +377,10 @@ char *aout_syscallnames[] = {
"__posix_lchown", /* 285 = __posix_lchown */
"getsid", /* 286 = getsid */
"#287 (unimplemented)", /* 287 = unimplemented */
#ifdef KTRACE
#if defined(KTRACE) || !defined(_KERNEL)
"fktrace", /* 288 = fktrace */
#else
"#288 (unimplemented)", /* 288 = unimplemented */
"#288 (excluded ktrace)", /* 288 = excluded ktrace */
#endif
"preadv", /* 289 = preadv */
"pwritev", /* 290 = pwritev */

View File

@ -1,10 +1,10 @@
/* $NetBSD: aout_sysent.c,v 1.2 1999/03/28 21:57:51 sommerfe Exp $ */
/* $NetBSD: aout_sysent.c,v 1.3 1999/06/09 04:28:24 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.2 1999/03/28 21:56:56 sommerfe Exp
* created from NetBSD: syscalls.master,v 1.3 1999/06/09 04:27:44 christos Exp
*/
#include "opt_ktrace.h"
@ -114,12 +114,12 @@ struct sysent aout_sysent[] = {
sys_getegid }, /* 43 = getegid */
{ 4, s(struct sys_profil_args),
sys_profil }, /* 44 = profil */
#ifdef KTRACE
#if defined(KTRACE) || !defined(_KERNEL)
{ 4, s(struct aout_sys_ktrace_args),
aout_sys_ktrace }, /* 45 = ktrace */
#else
{ 0, 0,
sys_nosys }, /* 45 = unimplemented ktrace */
sys_nosys }, /* 45 = excluded ktrace */
#endif
{ 3, s(struct compat_13_sys_sigaction_args),
compat_13_sys_sigaction }, /* 46 = sigaction13 */
@ -259,13 +259,8 @@ struct sysent aout_sysent[] = {
compat_43_sys_recvmsg }, /* 113 = orecvmsg */
{ 3, s(struct compat_43_sys_sendmsg_args),
compat_43_sys_sendmsg }, /* 114 = osendmsg */
#ifdef TRACE
{ 2, s(struct sys_vtrace_args),
sys_vtrace }, /* 115 = vtrace */
#else
{ 0, 0,
sys_nosys }, /* 115 = obsolete vtrace */
#endif
{ 2, s(struct sys_gettimeofday_args),
sys_gettimeofday }, /* 116 = gettimeofday */
{ 2, s(struct sys_getrusage_args),
@ -344,12 +339,12 @@ struct sysent aout_sysent[] = {
sys_nosys }, /* 153 = unimplemented */
{ 0, 0,
sys_nosys }, /* 154 = unimplemented */
#if defined(NFS) || defined(NFSSERVER)
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
{ 2, s(struct sys_nfssvc_args),
sys_nfssvc }, /* 155 = nfssvc */
#else
{ 0, 0,
sys_nosys }, /* 155 = unimplemented */
sys_nosys }, /* 155 = excluded nfssvc */
#endif
{ 4, s(struct compat_43_sys_getdirentries_args),
compat_43_sys_getdirentries }, /* 156 = ogetdirentries */
@ -361,12 +356,12 @@ struct sysent aout_sysent[] = {
sys_nosys }, /* 159 = unimplemented */
{ 0, 0,
sys_nosys }, /* 160 = unimplemented */
#if defined(NFS) || defined(NFSSERVER)
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
{ 2, s(struct aout_sys_getfh_args),
aout_sys_getfh }, /* 161 = getfh */
#else
{ 0, 0,
sys_nosys }, /* 161 = unimplemented getfh */
sys_nosys }, /* 161 = excluded getfh */
#endif
{ 2, s(struct compat_09_sys_getdomainname_args),
compat_09_sys_getdomainname }, /* 162 = ogetdomainname */
@ -382,26 +377,26 @@ struct sysent aout_sysent[] = {
sys_nosys }, /* 167 = unimplemented */
{ 0, 0,
sys_nosys }, /* 168 = unimplemented */
#if defined(SYSVSEM) && !defined(alpha)
#if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha)
{ 5, s(struct compat_10_sys_semsys_args),
compat_10_sys_semsys }, /* 169 = osemsys */
#else
{ 0, 0,
sys_nosys }, /* 169 = unimplemented 1.0 semsys */
sys_nosys }, /* 169 = excluded 1.0 semsys */
#endif
#if defined(SYSVMSG) && !defined(alpha)
#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha)
{ 6, s(struct compat_10_sys_msgsys_args),
compat_10_sys_msgsys }, /* 170 = omsgsys */
#else
{ 0, 0,
sys_nosys }, /* 170 = unimplemented 1.0 msgsys */
sys_nosys }, /* 170 = excluded 1.0 msgsys */
#endif
#if defined(SYSVSHM) && !defined(alpha)
#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha)
{ 4, s(struct compat_10_sys_shmsys_args),
compat_10_sys_shmsys }, /* 171 = oshmsys */
#else
{ 0, 0,
sys_nosys }, /* 171 = unimplemented 1.0 shmsys */
sys_nosys }, /* 171 = excluded 1.0 shmsys */
#endif
{ 0, 0,
sys_nosys }, /* 172 = unimplemented */
@ -427,24 +422,24 @@ struct sysent aout_sysent[] = {
sys_setegid }, /* 182 = setegid */
{ 1, s(struct sys_seteuid_args),
sys_seteuid }, /* 183 = seteuid */
#ifdef LFS
{ 3, s(struct lfs_bmapv_args),
lfs_bmapv }, /* 184 = lfs_bmapv */
{ 3, s(struct lfs_markv_args),
lfs_markv }, /* 185 = lfs_markv */
{ 2, s(struct lfs_segclean_args),
lfs_segclean }, /* 186 = lfs_segclean */
{ 2, s(struct lfs_segwait_args),
lfs_segwait }, /* 187 = lfs_segwait */
#if defined(LFS) || !defined(_KERNEL)
{ 3, s(struct sys_lfs_bmapv_args),
sys_lfs_bmapv }, /* 184 = lfs_bmapv */
{ 3, s(struct sys_lfs_markv_args),
sys_lfs_markv }, /* 185 = lfs_markv */
{ 2, s(struct sys_lfs_segclean_args),
sys_lfs_segclean }, /* 186 = lfs_segclean */
{ 2, s(struct sys_lfs_segwait_args),
sys_lfs_segwait }, /* 187 = lfs_segwait */
#else
{ 0, 0,
sys_nosys }, /* 184 = unimplemented */
sys_nosys }, /* 184 = excluded lfs_bmapv */
{ 0, 0,
sys_nosys }, /* 185 = unimplemented */
sys_nosys }, /* 185 = excluded lfs_markv */
{ 0, 0,
sys_nosys }, /* 186 = unimplemented */
sys_nosys }, /* 186 = excluded lfs_segclean */
{ 0, 0,
sys_nosys }, /* 187 = unimplemented */
sys_nosys }, /* 187 = excluded lfs_segwait */
#endif
{ 2, s(struct aout_compat_12_sys_stat_args),
aout_compat_12_sys_stat }, /* 188 = stat12 */
@ -490,7 +485,7 @@ struct sysent aout_sysent[] = {
sys_reboot }, /* 208 = reboot */
{ 3, s(struct sys_poll_args),
sys_poll }, /* 209 = poll */
#ifdef LKM
#if defined(LKM) || !defined(_KERNEL)
{ 0, 0,
sys_lkmnosys }, /* 210 = lkmnosys */
{ 0, 0,
@ -513,27 +508,27 @@ struct sysent aout_sysent[] = {
sys_lkmnosys }, /* 219 = lkmnosys */
#else /* !LKM */
{ 0, 0,
sys_nosys }, /* 210 = unimplemented */
sys_nosys }, /* 210 = excluded lkmnosys */
{ 0, 0,
sys_nosys }, /* 211 = unimplemented */
sys_nosys }, /* 211 = excluded lkmnosys */
{ 0, 0,
sys_nosys }, /* 212 = unimplemented */
sys_nosys }, /* 212 = excluded lkmnosys */
{ 0, 0,
sys_nosys }, /* 213 = unimplemented */
sys_nosys }, /* 213 = excluded lkmnosys */
{ 0, 0,
sys_nosys }, /* 214 = unimplemented */
sys_nosys }, /* 214 = excluded lkmnosys */
{ 0, 0,
sys_nosys }, /* 215 = unimplemented */
sys_nosys }, /* 215 = excluded lkmnosys */
{ 0, 0,
sys_nosys }, /* 216 = unimplemented */
sys_nosys }, /* 216 = excluded lkmnosys */
{ 0, 0,
sys_nosys }, /* 217 = unimplemented */
sys_nosys }, /* 217 = excluded lkmnosys */
{ 0, 0,
sys_nosys }, /* 218 = unimplemented */
sys_nosys }, /* 218 = excluded lkmnosys */
{ 0, 0,
sys_nosys }, /* 219 = unimplemented */
sys_nosys }, /* 219 = excluded lkmnosys */
#endif /* !LKM */
#ifdef SYSVSEM
#if defined(SYSVSEM) || !defined(_KERNEL)
{ 4, s(struct sys___semctl_args),
sys___semctl }, /* 220 = __semctl */
{ 3, s(struct sys_semget_args),
@ -544,15 +539,15 @@ struct sysent aout_sysent[] = {
sys_semconfig }, /* 223 = semconfig */
#else
{ 0, 0,
sys_nosys }, /* 220 = unimplemented semctl */
sys_nosys }, /* 220 = excluded semctl */
{ 0, 0,
sys_nosys }, /* 221 = unimplemented semget */
sys_nosys }, /* 221 = excluded semget */
{ 0, 0,
sys_nosys }, /* 222 = unimplemented semop */
sys_nosys }, /* 222 = excluded semop */
{ 0, 0,
sys_nosys }, /* 223 = unimplemented semconfig */
sys_nosys }, /* 223 = excluded semconfig */
#endif
#ifdef SYSVMSG
#if defined(SYSVMSG) || !defined(_KERNEL)
{ 3, s(struct sys_msgctl_args),
sys_msgctl }, /* 224 = msgctl */
{ 2, s(struct sys_msgget_args),
@ -563,15 +558,15 @@ struct sysent aout_sysent[] = {
sys_msgrcv }, /* 227 = msgrcv */
#else
{ 0, 0,
sys_nosys }, /* 224 = unimplemented msgctl */
sys_nosys }, /* 224 = excluded msgctl */
{ 0, 0,
sys_nosys }, /* 225 = unimplemented msgget */
sys_nosys }, /* 225 = excluded msgget */
{ 0, 0,
sys_nosys }, /* 226 = unimplemented msgsnd */
sys_nosys }, /* 226 = excluded msgsnd */
{ 0, 0,
sys_nosys }, /* 227 = unimplemented msgrcv */
sys_nosys }, /* 227 = excluded msgrcv */
#endif
#ifdef SYSVSHM
#if defined(SYSVSHM) || !defined(_KERNEL)
{ 3, s(struct sys_shmat_args),
sys_shmat }, /* 228 = shmat */
{ 3, s(struct sys_shmctl_args),
@ -582,13 +577,13 @@ struct sysent aout_sysent[] = {
sys_shmget }, /* 231 = shmget */
#else
{ 0, 0,
sys_nosys }, /* 228 = unimplemented shmat */
sys_nosys }, /* 228 = excluded shmat */
{ 0, 0,
sys_nosys }, /* 229 = unimplemented shmctl */
sys_nosys }, /* 229 = excluded shmctl */
{ 0, 0,
sys_nosys }, /* 230 = unimplemented shmdt */
sys_nosys }, /* 230 = excluded shmdt */
{ 0, 0,
sys_nosys }, /* 231 = unimplemented shmget */
sys_nosys }, /* 231 = excluded shmget */
#endif
{ 2, s(struct sys_clock_gettime_args),
sys_clock_gettime }, /* 232 = clock_gettime */
@ -702,12 +697,12 @@ struct sysent aout_sysent[] = {
sys_getsid }, /* 286 = getsid */
{ 0, 0,
sys_nosys }, /* 287 = unimplemented */
#ifdef KTRACE
#if defined(KTRACE) || !defined(_KERNEL)
{ 4, s(struct sys_fktrace_args),
sys_fktrace }, /* 288 = fktrace */
#else
{ 0, 0,
sys_nosys }, /* 288 = unimplemented */
sys_nosys }, /* 288 = excluded ktrace */
#endif
{ 5, s(struct sys_preadv_args),
sys_preadv }, /* 289 = preadv */