pecoff_misc.c: Remove compat functions.
pecoff_sys*.[ch]: regen
This commit is contained in:
parent
f4b046d721
commit
dad83731c1
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pecoff_misc.c,v 1.1 2002/03/18 07:11:06 oki Exp $ */
|
||||
/* $NetBSD: pecoff_misc.c,v 1.2 2002/03/29 17:04:46 kent Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pecoff_misc.c,v 1.1 2002/03/18 07:11:06 oki Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pecoff_misc.c,v 1.2 2002/03/29 17:04:46 kent Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ktrace.h"
|
||||
|
@ -56,11 +56,9 @@ __KERNEL_RCSID(0, "$NetBSD: pecoff_misc.c,v 1.1 2002/03/18 07:11:06 oki Exp $");
|
|||
#include <sys/fcntl.h>
|
||||
#include <sys/proc.h>
|
||||
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/syscallargs.h>
|
||||
|
||||
#include <compat/common/compat_util.h>
|
||||
#include <compat/pecoff/pecoff_syscall.h>
|
||||
#include <compat/pecoff/pecoff_syscallargs.h>
|
||||
|
||||
int
|
||||
|
@ -206,6 +204,7 @@ pecoff_sys_chflags(p, v, retval)
|
|||
}
|
||||
|
||||
|
||||
#ifdef PECOFF_INCLUDE_COMPAT
|
||||
int
|
||||
pecoff_compat_43_sys_stat(p, v, retval)
|
||||
struct proc *p;
|
||||
|
@ -234,6 +233,8 @@ pecoff_compat_43_sys_lstat(p, v, retval)
|
|||
|
||||
return compat_43_sys_lstat(p, v, retval);
|
||||
}
|
||||
#endif /* PECOFF_INCLUDE_COMPAT */
|
||||
|
||||
|
||||
int
|
||||
pecoff_sys_revoke(p, v, retval)
|
||||
|
@ -331,6 +332,7 @@ pecoff_sys_rename(p, v, retval)
|
|||
}
|
||||
|
||||
|
||||
#ifdef PECOFF_INCLUDE_COMPAT
|
||||
int
|
||||
pecoff_compat_43_sys_truncate(p, v, retval)
|
||||
struct proc *p;
|
||||
|
@ -344,6 +346,7 @@ pecoff_compat_43_sys_truncate(p, v, retval)
|
|||
|
||||
return compat_43_sys_truncate(p, v, retval);
|
||||
}
|
||||
#endif /* PECOFF_INCLUDE_COMPAT */
|
||||
|
||||
|
||||
int
|
||||
|
@ -391,7 +394,6 @@ pecoff_sys_statfs(p, v, retval)
|
|||
}
|
||||
|
||||
|
||||
#if defined(NFS) || defined(NFSSERVER)
|
||||
int
|
||||
pecoff_sys_getfh(p, v, retval)
|
||||
struct proc *p;
|
||||
|
@ -405,9 +407,9 @@ pecoff_sys_getfh(p, v, retval)
|
|||
|
||||
return sys_getfh(p, v, retval);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef PECOFF_INCLUDE_COMPAT
|
||||
int
|
||||
pecoff_compat_12_sys_stat(p, v, retval)
|
||||
struct proc *p;
|
||||
|
@ -436,7 +438,7 @@ pecoff_compat_12_sys_lstat(p, v, retval)
|
|||
|
||||
return compat_12_sys_lstat(p, v, retval);
|
||||
}
|
||||
|
||||
#endif /* PECOFF_INCLUDE_COMPAT */
|
||||
|
||||
int
|
||||
pecoff_sys_pathconf(p, v, retval)
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: pecoff_syscall.h,v 1.1 2002/03/18 07:11:06 oki Exp $ */
|
||||
/* $NetBSD: pecoff_syscall.h,v 1.2 2002/03/29 17:04:46 kent Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.15 2001/05/30 11:37:21 mrg Exp
|
||||
* created from NetBSD: syscalls.master,v 1.2 2002/03/29 17:00:43 kent Exp
|
||||
*/
|
||||
|
||||
/* syscall: "syscall" ret: "int" args: "int" "..." */
|
||||
|
@ -31,9 +31,7 @@
|
|||
/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct rusage *" */
|
||||
#define PECOFF_SYS_wait4 7
|
||||
|
||||
/* syscall: "ocreat" ret: "int" args: "const char *" "mode_t" */
|
||||
#define PECOFF_SYS_ocreat 8
|
||||
|
||||
/* 8 is excluded { int sys_creat ( const char * path , mode_t mode ) ; } ocreat */
|
||||
/* syscall: "link" ret: "int" args: "const char *" "const char *" */
|
||||
#define PECOFF_SYS_link 9
|
||||
|
||||
|
@ -62,9 +60,7 @@
|
|||
/* syscall: "getfsstat" ret: "int" args: "struct statfs *" "long" "int" */
|
||||
#define PECOFF_SYS_getfsstat 18
|
||||
|
||||
/* syscall: "olseek" ret: "long" args: "int" "long" "int" */
|
||||
#define PECOFF_SYS_olseek 19
|
||||
|
||||
/* 19 is excluded { long sys_lseek ( int fd , long offset , int whence ) ; } olseek */
|
||||
/* syscall: "getpid" ret: "pid_t" args: */
|
||||
#define PECOFF_SYS_getpid 20
|
||||
|
||||
|
@ -92,16 +88,16 @@
|
|||
/* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */
|
||||
#define PECOFF_SYS_sendmsg 28
|
||||
|
||||
/* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "int *" */
|
||||
/* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "unsigned int *" */
|
||||
#define PECOFF_SYS_recvfrom 29
|
||||
|
||||
/* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "int *" */
|
||||
/* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
|
||||
#define PECOFF_SYS_accept 30
|
||||
|
||||
/* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "int *" */
|
||||
/* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
|
||||
#define PECOFF_SYS_getpeername 31
|
||||
|
||||
/* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "int *" */
|
||||
/* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
|
||||
#define PECOFF_SYS_getsockname 32
|
||||
|
||||
/* syscall: "access" ret: "int" args: "const char *" "int" */
|
||||
|
@ -119,15 +115,11 @@
|
|||
/* syscall: "kill" ret: "int" args: "int" "int" */
|
||||
#define PECOFF_SYS_kill 37
|
||||
|
||||
/* syscall: "stat43" ret: "int" args: "const char *" "struct stat43 *" */
|
||||
#define PECOFF_SYS_stat43 38
|
||||
|
||||
/* 38 is excluded { int pecoff_compat_43_sys_stat ( const char * path , struct stat43 * ub ) ; } stat43 */
|
||||
/* syscall: "getppid" ret: "pid_t" args: */
|
||||
#define PECOFF_SYS_getppid 39
|
||||
|
||||
/* syscall: "lstat43" ret: "int" args: "const char *" "struct stat43 *" */
|
||||
#define PECOFF_SYS_lstat43 40
|
||||
|
||||
/* 40 is excluded { int pecoff_compat_43_sys_lstat ( const char * path , struct stat43 * ub ) ; } lstat43 */
|
||||
/* syscall: "dup" ret: "int" args: "int" */
|
||||
#define PECOFF_SYS_dup 41
|
||||
|
||||
|
@ -144,15 +136,11 @@
|
|||
#define PECOFF_SYS_ktrace 45
|
||||
|
||||
/* 45 is excluded ktrace */
|
||||
/* syscall: "sigaction13" ret: "int" args: "int" "const struct sigaction13 *" "struct sigaction13 *" */
|
||||
#define PECOFF_SYS_sigaction13 46
|
||||
|
||||
/* 46 is excluded { int sys_sigaction ( int signum , const struct sigaction13 * nsa , struct sigaction13 * osa ) ; } sigaction13 */
|
||||
/* syscall: "getgid" ret: "gid_t" args: */
|
||||
#define PECOFF_SYS_getgid 47
|
||||
|
||||
/* syscall: "sigprocmask13" ret: "int" args: "int" "int" */
|
||||
#define PECOFF_SYS_sigprocmask13 48
|
||||
|
||||
/* 48 is excluded { int sys_sigprocmask ( int how , int mask ) ; } sigprocmask13 */
|
||||
/* syscall: "__getlogin" ret: "int" args: "char *" "size_t" */
|
||||
#define PECOFF_SYS___getlogin 49
|
||||
|
||||
|
@ -162,18 +150,12 @@
|
|||
/* syscall: "acct" ret: "int" args: "const char *" */
|
||||
#define PECOFF_SYS_acct 51
|
||||
|
||||
/* syscall: "sigpending13" ret: "int" args: */
|
||||
#define PECOFF_SYS_sigpending13 52
|
||||
|
||||
/* syscall: "sigaltstack13" ret: "int" args: "const struct sigaltstack13 *" "struct sigaltstack13 *" */
|
||||
#define PECOFF_SYS_sigaltstack13 53
|
||||
|
||||
/* 52 is excluded { int sys_sigpending ( void ) ; } sigpending13 */
|
||||
/* 53 is excluded { int sys_sigaltstack ( const struct sigaltstack13 * nss , struct sigaltstack13 * oss ) ; } sigaltstack13 */
|
||||
/* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */
|
||||
#define PECOFF_SYS_ioctl 54
|
||||
|
||||
/* syscall: "oreboot" ret: "int" args: "int" */
|
||||
#define PECOFF_SYS_oreboot 55
|
||||
|
||||
/* 55 is excluded { int sys_reboot ( int opt ) ; } oreboot */
|
||||
/* syscall: "revoke" ret: "int" args: "const char *" */
|
||||
#define PECOFF_SYS_revoke 56
|
||||
|
||||
|
@ -192,18 +174,10 @@
|
|||
/* syscall: "chroot" ret: "int" args: "const char *" */
|
||||
#define PECOFF_SYS_chroot 61
|
||||
|
||||
/* syscall: "fstat43" ret: "int" args: "int" "struct stat43 *" */
|
||||
#define PECOFF_SYS_fstat43 62
|
||||
|
||||
/* syscall: "ogetkerninfo" ret: "int" args: "int" "char *" "int *" "int" */
|
||||
#define PECOFF_SYS_ogetkerninfo 63
|
||||
|
||||
/* syscall: "ogetpagesize" ret: "int" args: */
|
||||
#define PECOFF_SYS_ogetpagesize 64
|
||||
|
||||
/* syscall: "msync" ret: "int" args: "caddr_t" "size_t" */
|
||||
#define PECOFF_SYS_msync 65
|
||||
|
||||
/* 62 is excluded { int sys_fstat ( int fd , struct stat43 * sb ) ; } fstat43 */
|
||||
/* 63 is excluded { int sys_getkerninfo ( int op , char * where , int * size , int arg ) ; } ogetkerninfo */
|
||||
/* 64 is excluded { int sys_getpagesize ( void ) ; } ogetpagesize */
|
||||
/* 65 is excluded { int sys_msync ( caddr_t addr , size_t len ) ; } */
|
||||
/* syscall: "vfork" ret: "int" args: */
|
||||
#define PECOFF_SYS_vfork 66
|
||||
|
||||
|
@ -215,9 +189,7 @@
|
|||
/* syscall: "sstk" ret: "int" args: "int" */
|
||||
#define PECOFF_SYS_sstk 70
|
||||
|
||||
/* syscall: "ommap" ret: "int" args: "caddr_t" "size_t" "int" "int" "int" "long" */
|
||||
#define PECOFF_SYS_ommap 71
|
||||
|
||||
/* 71 is excluded { int sys_mmap ( caddr_t addr , size_t len , int prot , int flags , int fd , long pos ) ; } ommap */
|
||||
/* syscall: "vadvise" ret: "int" args: "int" */
|
||||
#define PECOFF_SYS_vadvise 72
|
||||
|
||||
|
@ -232,7 +204,7 @@
|
|||
|
||||
/* 76 is obsolete vhangup */
|
||||
/* 77 is obsolete vlimit */
|
||||
/* syscall: "mincore" ret: "int" args: "caddr_t" "size_t" "char *" */
|
||||
/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
|
||||
#define PECOFF_SYS_mincore 78
|
||||
|
||||
/* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
|
||||
|
@ -250,24 +222,14 @@
|
|||
/* syscall: "setitimer" ret: "int" args: "int" "const struct itimerval *" "struct itimerval *" */
|
||||
#define PECOFF_SYS_setitimer 83
|
||||
|
||||
/* syscall: "owait" ret: "int" args: */
|
||||
#define PECOFF_SYS_owait 84
|
||||
|
||||
/* syscall: "oswapon" ret: "int" args: "const char *" */
|
||||
#define PECOFF_SYS_oswapon 85
|
||||
|
||||
/* 84 is excluded { int sys_wait ( void ) ; } owait */
|
||||
/* 85 is excluded { int sys_swapon ( const char * name ) ; } oswapon */
|
||||
/* syscall: "getitimer" ret: "int" args: "int" "struct itimerval *" */
|
||||
#define PECOFF_SYS_getitimer 86
|
||||
|
||||
/* syscall: "ogethostname" ret: "int" args: "char *" "u_int" */
|
||||
#define PECOFF_SYS_ogethostname 87
|
||||
|
||||
/* syscall: "osethostname" ret: "int" args: "char *" "u_int" */
|
||||
#define PECOFF_SYS_osethostname 88
|
||||
|
||||
/* syscall: "ogetdtablesize" ret: "int" args: */
|
||||
#define PECOFF_SYS_ogetdtablesize 89
|
||||
|
||||
/* 87 is excluded { int sys_gethostname ( char * hostname , u_int len ) ; } ogethostname */
|
||||
/* 88 is excluded { int sys_sethostname ( char * hostname , u_int len ) ; } osethostname */
|
||||
/* 89 is excluded { int sys_getdtablesize ( void ) ; } ogetdtablesize */
|
||||
/* syscall: "dup2" ret: "int" args: "int" "int" */
|
||||
#define PECOFF_SYS_dup2 90
|
||||
|
||||
|
@ -286,56 +248,33 @@
|
|||
/* syscall: "socket" ret: "int" args: "int" "int" "int" */
|
||||
#define PECOFF_SYS_socket 97
|
||||
|
||||
/* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "int" */
|
||||
/* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "unsigned int" */
|
||||
#define PECOFF_SYS_connect 98
|
||||
|
||||
/* syscall: "oaccept" ret: "int" args: "int" "caddr_t" "int *" */
|
||||
#define PECOFF_SYS_oaccept 99
|
||||
|
||||
/* 99 is excluded { int sys_accept ( int s , caddr_t name , int * anamelen ) ; } oaccept */
|
||||
/* syscall: "getpriority" ret: "int" args: "int" "int" */
|
||||
#define PECOFF_SYS_getpriority 100
|
||||
|
||||
/* syscall: "osend" ret: "int" args: "int" "caddr_t" "int" "int" */
|
||||
#define PECOFF_SYS_osend 101
|
||||
|
||||
/* syscall: "orecv" ret: "int" args: "int" "caddr_t" "int" "int" */
|
||||
#define PECOFF_SYS_orecv 102
|
||||
|
||||
/* syscall: "sigreturn13" ret: "int" args: "struct sigcontext13 *" */
|
||||
#define PECOFF_SYS_sigreturn13 103
|
||||
|
||||
/* 103 is excluded compat_13_sys_sigreturn */
|
||||
/* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "int" */
|
||||
/* 101 is excluded { int sys_send ( int s , caddr_t buf , int len , int flags ) ; } osend */
|
||||
/* 102 is excluded { int sys_recv ( int s , caddr_t buf , int len , int flags ) ; } orecv */
|
||||
/* 103 is excluded { int sys_sigreturn ( struct sigcontext13 * sigcntxp ) ; } sigreturn13 */
|
||||
/* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "unsigned int" */
|
||||
#define PECOFF_SYS_bind 104
|
||||
|
||||
/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "int" */
|
||||
/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "unsigned int" */
|
||||
#define PECOFF_SYS_setsockopt 105
|
||||
|
||||
/* syscall: "listen" ret: "int" args: "int" "int" */
|
||||
#define PECOFF_SYS_listen 106
|
||||
|
||||
/* 107 is obsolete vtimes */
|
||||
/* syscall: "osigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
|
||||
#define PECOFF_SYS_osigvec 108
|
||||
|
||||
/* syscall: "osigblock" ret: "int" args: "int" */
|
||||
#define PECOFF_SYS_osigblock 109
|
||||
|
||||
/* syscall: "osigsetmask" ret: "int" args: "int" */
|
||||
#define PECOFF_SYS_osigsetmask 110
|
||||
|
||||
/* syscall: "sigsuspend13" ret: "int" args: "int" */
|
||||
#define PECOFF_SYS_sigsuspend13 111
|
||||
|
||||
/* syscall: "osigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
|
||||
#define PECOFF_SYS_osigstack 112
|
||||
|
||||
/* syscall: "orecvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
|
||||
#define PECOFF_SYS_orecvmsg 113
|
||||
|
||||
/* syscall: "osendmsg" ret: "int" args: "int" "caddr_t" "int" */
|
||||
#define PECOFF_SYS_osendmsg 114
|
||||
|
||||
/* 108 is excluded { int sys_sigvec ( int signum , struct sigvec * nsv , struct sigvec * osv ) ; } osigvec */
|
||||
/* 109 is excluded { int sys_sigblock ( int mask ) ; } osigblock */
|
||||
/* 110 is excluded { int sys_sigsetmask ( int mask ) ; } osigsetmask */
|
||||
/* 111 is excluded { int sys_sigsuspend ( int mask ) ; } sigsuspend13 */
|
||||
/* 112 is excluded { int sys_sigstack ( struct sigstack * nss , struct sigstack * oss ) ; } osigstack */
|
||||
/* 113 is excluded { int sys_recvmsg ( int s , struct omsghdr * msg , int flags ) ; } orecvmsg */
|
||||
/* 114 is excluded { int sys_sendmsg ( int s , caddr_t msg , int flags ) ; } osendmsg */
|
||||
/* 115 is obsolete vtrace */
|
||||
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
|
||||
#define PECOFF_SYS_gettimeofday 116
|
||||
|
@ -343,7 +282,7 @@
|
|||
/* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
|
||||
#define PECOFF_SYS_getrusage 117
|
||||
|
||||
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
|
||||
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "unsigned int *" */
|
||||
#define PECOFF_SYS_getsockopt 118
|
||||
|
||||
/* 119 is obsolete resuba */
|
||||
|
@ -362,9 +301,7 @@
|
|||
/* syscall: "fchmod" ret: "int" args: "int" "mode_t" */
|
||||
#define PECOFF_SYS_fchmod 124
|
||||
|
||||
/* syscall: "orecvfrom" ret: "int" args: "int" "caddr_t" "size_t" "int" "caddr_t" "int *" */
|
||||
#define PECOFF_SYS_orecvfrom 125
|
||||
|
||||
/* 125 is excluded { int sys_recvfrom ( int s , caddr_t buf , size_t len , int flags , caddr_t from , int * fromlenaddr ) ; } orecvfrom */
|
||||
/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
|
||||
#define PECOFF_SYS_setreuid 126
|
||||
|
||||
|
@ -374,19 +311,15 @@
|
|||
/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
|
||||
#define PECOFF_SYS_rename 128
|
||||
|
||||
/* syscall: "otruncate" ret: "int" args: "const char *" "long" */
|
||||
#define PECOFF_SYS_otruncate 129
|
||||
|
||||
/* syscall: "oftruncate" ret: "int" args: "int" "long" */
|
||||
#define PECOFF_SYS_oftruncate 130
|
||||
|
||||
/* 129 is excluded { int pecoff_compat_43_sys_truncate ( const char * path , long length ) ; } otruncate */
|
||||
/* 130 is excluded { int sys_ftruncate ( int fd , long length ) ; } oftruncate */
|
||||
/* syscall: "flock" ret: "int" args: "int" "int" */
|
||||
#define PECOFF_SYS_flock 131
|
||||
|
||||
/* syscall: "mkfifo" ret: "int" args: "const char *" "mode_t" */
|
||||
#define PECOFF_SYS_mkfifo 132
|
||||
|
||||
/* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "int" */
|
||||
/* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "unsigned int" */
|
||||
#define PECOFF_SYS_sendto 133
|
||||
|
||||
/* syscall: "shutdown" ret: "int" args: "int" "int" */
|
||||
|
@ -408,43 +341,25 @@
|
|||
/* syscall: "adjtime" ret: "int" args: "const struct timeval *" "struct timeval *" */
|
||||
#define PECOFF_SYS_adjtime 140
|
||||
|
||||
/* syscall: "ogetpeername" ret: "int" args: "int" "caddr_t" "int *" */
|
||||
#define PECOFF_SYS_ogetpeername 141
|
||||
|
||||
/* syscall: "ogethostid" ret: "int32_t" args: */
|
||||
#define PECOFF_SYS_ogethostid 142
|
||||
|
||||
/* syscall: "osethostid" ret: "int" args: "int32_t" */
|
||||
#define PECOFF_SYS_osethostid 143
|
||||
|
||||
/* syscall: "ogetrlimit" ret: "int" args: "int" "struct orlimit *" */
|
||||
#define PECOFF_SYS_ogetrlimit 144
|
||||
|
||||
/* syscall: "osetrlimit" ret: "int" args: "int" "const struct orlimit *" */
|
||||
#define PECOFF_SYS_osetrlimit 145
|
||||
|
||||
/* syscall: "okillpg" ret: "int" args: "int" "int" */
|
||||
#define PECOFF_SYS_okillpg 146
|
||||
|
||||
/* 141 is excluded { int sys_getpeername ( int fdes , caddr_t asa , int * alen ) ; } ogetpeername */
|
||||
/* 142 is excluded { int32_t sys_gethostid ( void ) ; } ogethostid */
|
||||
/* 143 is excluded { int sys_sethostid ( int32_t hostid ) ; } osethostid */
|
||||
/* 144 is excluded { int sys_getrlimit ( int which , struct orlimit * rlp ) ; } ogetrlimit */
|
||||
/* 145 is excluded { int sys_setrlimit ( int which , const struct orlimit * rlp ) ; } osetrlimit */
|
||||
/* 146 is excluded { int sys_killpg ( int pgid , int signum ) ; } okillpg */
|
||||
/* syscall: "setsid" ret: "int" args: */
|
||||
#define PECOFF_SYS_setsid 147
|
||||
|
||||
/* syscall: "quotactl" ret: "int" args: "const char *" "int" "int" "caddr_t" */
|
||||
#define PECOFF_SYS_quotactl 148
|
||||
|
||||
/* syscall: "oquota" ret: "int" args: */
|
||||
#define PECOFF_SYS_oquota 149
|
||||
|
||||
/* syscall: "ogetsockname" ret: "int" args: "int" "caddr_t" "int *" */
|
||||
#define PECOFF_SYS_ogetsockname 150
|
||||
|
||||
/* 149 is excluded { int sys_quota ( void ) ; } oquota */
|
||||
/* 150 is excluded { int sys_getsockname ( int fdec , caddr_t asa , int * alen ) ; } ogetsockname */
|
||||
/* syscall: "nfssvc" ret: "int" args: "int" "void *" */
|
||||
#define PECOFF_SYS_nfssvc 155
|
||||
|
||||
/* 155 is excluded nfssvc */
|
||||
/* syscall: "ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
|
||||
#define PECOFF_SYS_ogetdirentries 156
|
||||
|
||||
/* 156 is excluded { int sys_getdirentries ( int fd , char * buf , u_int count , long * basep ) ; } ogetdirentries */
|
||||
/* syscall: "statfs" ret: "int" args: "const char *" "struct statfs *" */
|
||||
#define PECOFF_SYS_statfs 157
|
||||
|
||||
|
@ -454,30 +369,17 @@
|
|||
/* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */
|
||||
#define PECOFF_SYS_getfh 161
|
||||
|
||||
/* 161 is excluded getfh */
|
||||
/* syscall: "ogetdomainname" ret: "int" args: "char *" "int" */
|
||||
#define PECOFF_SYS_ogetdomainname 162
|
||||
|
||||
/* syscall: "osetdomainname" ret: "int" args: "char *" "int" */
|
||||
#define PECOFF_SYS_osetdomainname 163
|
||||
|
||||
/* syscall: "ouname" ret: "int" args: "struct outsname *" */
|
||||
#define PECOFF_SYS_ouname 164
|
||||
|
||||
/* 162 is excluded { int sys_getdomainname ( char * domainname , int len ) ; } ogetdomainname */
|
||||
/* 163 is excluded { int sys_setdomainname ( char * domainname , int len ) ; } osetdomainname */
|
||||
/* 164 is excluded { int sys_uname ( struct outsname * name ) ; } ouname */
|
||||
/* syscall: "sysarch" ret: "int" args: "int" "void *" */
|
||||
#define PECOFF_SYS_sysarch 165
|
||||
|
||||
/* syscall: "osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
|
||||
#define PECOFF_SYS_osemsys 169
|
||||
|
||||
/* 169 is excluded { int sys_semsys ( int which , int a2 , int a3 , int a4 , int a5 ) ; } osemsys */
|
||||
/* 169 is excluded 1.0 semsys */
|
||||
/* syscall: "omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
|
||||
#define PECOFF_SYS_omsgsys 170
|
||||
|
||||
/* 170 is excluded { int sys_msgsys ( int which , int a2 , int a3 , int a4 , int a5 , int a6 ) ; } omsgsys */
|
||||
/* 170 is excluded 1.0 msgsys */
|
||||
/* syscall: "oshmsys" ret: "int" args: "int" "int" "int" "int" */
|
||||
#define PECOFF_SYS_oshmsys 171
|
||||
|
||||
/* 171 is excluded { int sys_shmsys ( int which , int a2 , int a3 , int a4 ) ; } oshmsys */
|
||||
/* 171 is excluded 1.0 shmsys */
|
||||
/* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */
|
||||
#define PECOFF_SYS_pread 173
|
||||
|
@ -517,15 +419,9 @@
|
|||
/* 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 PECOFF_SYS_stat12 188
|
||||
|
||||
/* syscall: "fstat12" ret: "int" args: "int" "struct stat12 *" */
|
||||
#define PECOFF_SYS_fstat12 189
|
||||
|
||||
/* syscall: "lstat12" ret: "int" args: "const char *" "struct stat12 *" */
|
||||
#define PECOFF_SYS_lstat12 190
|
||||
|
||||
/* 188 is excluded { int pecoff_compat_12_sys_stat ( const char * path , struct stat12 * ub ) ; } stat12 */
|
||||
/* 189 is excluded { int sys_fstat ( int fd , struct stat12 * sb ) ; } fstat12 */
|
||||
/* 190 is excluded { int pecoff_compat_12_sys_lstat ( const char * path , struct stat12 * ub ) ; } lstat12 */
|
||||
/* syscall: "pathconf" ret: "long" args: "const char *" "int" */
|
||||
#define PECOFF_SYS_pathconf 191
|
||||
|
||||
|
@ -538,9 +434,7 @@
|
|||
/* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */
|
||||
#define PECOFF_SYS_setrlimit 195
|
||||
|
||||
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
|
||||
#define PECOFF_SYS_getdirentries 196
|
||||
|
||||
/* 196 is excluded { int sys_getdirentries ( int fd , char * buf , u_int count , long * basep ) ; } */
|
||||
/* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */
|
||||
#define PECOFF_SYS_mmap 197
|
||||
|
||||
|
@ -590,10 +484,7 @@
|
|||
/* 217 is excluded lkmnosys */
|
||||
/* 218 is excluded lkmnosys */
|
||||
/* 219 is excluded lkmnosys */
|
||||
/* syscall: "__semctl" ret: "int" args: "int" "int" "int" "union __semun *" */
|
||||
#define PECOFF_SYS___semctl 220
|
||||
|
||||
/* 220 is excluded compat_14_semctl */
|
||||
/* 220 is excluded { int sys___semctl ( int semid , int semnum , int cmd , union __semun * arg ) ; } */
|
||||
/* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
|
||||
#define PECOFF_SYS_semget 221
|
||||
|
||||
|
@ -607,10 +498,7 @@
|
|||
/* 221 is excluded semget */
|
||||
/* 222 is excluded semop */
|
||||
/* 223 is excluded semconfig */
|
||||
/* syscall: "msgctl" ret: "int" args: "int" "int" "struct msqid_ds14 *" */
|
||||
#define PECOFF_SYS_msgctl 224
|
||||
|
||||
/* 224 is excluded compat_14_sys_msgctl */
|
||||
/* 224 is excluded { int sys_msgctl ( int msqid , int cmd , struct msqid_ds14 * buf ) ; } */
|
||||
/* syscall: "msgget" ret: "int" args: "key_t" "int" */
|
||||
#define PECOFF_SYS_msgget 225
|
||||
|
||||
|
@ -627,10 +515,7 @@
|
|||
/* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
|
||||
#define PECOFF_SYS_shmat 228
|
||||
|
||||
/* syscall: "shmctl" ret: "int" args: "int" "int" "struct shmid_ds14 *" */
|
||||
#define PECOFF_SYS_shmctl 229
|
||||
|
||||
/* 229 is excluded compat_14_sys_shmctl */
|
||||
/* 229 is excluded { int sys_shmctl ( int shmid , int cmd , struct shmid_ds14 * buf ) ; } */
|
||||
/* syscall: "shmdt" ret: "int" args: "const void *" */
|
||||
#define PECOFF_SYS_shmdt 230
|
||||
|
||||
|
@ -713,6 +598,9 @@
|
|||
/* syscall: "getsid" ret: "pid_t" args: "pid_t" */
|
||||
#define PECOFF_SYS_getsid 286
|
||||
|
||||
/* syscall: "__clone" ret: "pid_t" args: "int" "void *" */
|
||||
#define PECOFF_SYS___clone 287
|
||||
|
||||
/* syscall: "fktrace" ret: "int" args: "const int" "int" "int" "int" */
|
||||
#define PECOFF_SYS_fktrace 288
|
||||
|
||||
|
@ -771,5 +659,8 @@
|
|||
/* syscall: "issetugid" ret: "int" args: */
|
||||
#define PECOFF_SYS_issetugid 305
|
||||
|
||||
#define PECOFF_SYS_MAXSYSCALL 306
|
||||
/* syscall: "utrace" ret: "int" args: "const char *" "void *" "size_t" */
|
||||
#define PECOFF_SYS_utrace 306
|
||||
|
||||
#define PECOFF_SYS_MAXSYSCALL 340
|
||||
#define PECOFF_SYS_NSYSENT 512
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: pecoff_syscallargs.h,v 1.1 2002/03/18 07:11:07 oki Exp $ */
|
||||
/* $NetBSD: pecoff_syscallargs.h,v 1.2 2002/03/29 17:04:46 kent Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.15 2001/05/30 11:37:21 mrg Exp
|
||||
* created from NetBSD: syscalls.master,v 1.2 2002/03/29 17:00:43 kent Exp
|
||||
*/
|
||||
|
||||
#ifndef _PECOFF_SYS__SYSCALLARGS_H_
|
||||
|
@ -72,16 +72,6 @@ struct pecoff_sys_chflags_args {
|
|||
syscallarg(u_long) flags;
|
||||
};
|
||||
|
||||
struct pecoff_compat_43_sys_stat_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(struct stat43 *) ub;
|
||||
};
|
||||
|
||||
struct pecoff_compat_43_sys_lstat_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(struct stat43 *) ub;
|
||||
};
|
||||
|
||||
struct pecoff_sys_revoke_args {
|
||||
syscallarg(const char *) path;
|
||||
};
|
||||
|
@ -112,11 +102,6 @@ struct pecoff_sys_rename_args {
|
|||
syscallarg(const char *) to;
|
||||
};
|
||||
|
||||
struct pecoff_compat_43_sys_truncate_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(long) length;
|
||||
};
|
||||
|
||||
struct pecoff_sys_rmdir_args {
|
||||
syscallarg(const char *) path;
|
||||
};
|
||||
|
@ -136,16 +121,6 @@ struct pecoff_sys_getfh_args {
|
|||
syscallarg(fhandle_t *) fhp;
|
||||
};
|
||||
|
||||
struct pecoff_compat_12_sys_stat_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(struct stat12 *) ub;
|
||||
};
|
||||
|
||||
struct pecoff_compat_12_sys_lstat_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(struct stat12 *) ub;
|
||||
};
|
||||
|
||||
struct pecoff_sys_pathconf_args {
|
||||
syscallarg(const char *) path;
|
||||
syscallarg(int) name;
|
||||
|
@ -199,7 +174,6 @@ int sys_write(struct proc *, void *, register_t *);
|
|||
int pecoff_sys_open(struct proc *, void *, register_t *);
|
||||
int sys_close(struct proc *, void *, register_t *);
|
||||
int sys_wait4(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_creat(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_link(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_unlink(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_chdir(struct proc *, void *, register_t *);
|
||||
|
@ -209,12 +183,19 @@ int pecoff_sys_chmod(struct proc *, void *, register_t *);
|
|||
int pecoff_sys_chown(struct proc *, void *, register_t *);
|
||||
int sys_obreak(struct proc *, void *, register_t *);
|
||||
int sys_getfsstat(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_lseek(struct proc *, void *, register_t *);
|
||||
#ifdef COMPAT_43
|
||||
int sys_getpid_with_ppid(struct proc *, void *, register_t *);
|
||||
#else
|
||||
int sys_getpid(struct proc *, void *, register_t *);
|
||||
#endif
|
||||
int sys_mount(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_unmount(struct proc *, void *, register_t *);
|
||||
int sys_setuid(struct proc *, void *, register_t *);
|
||||
#ifdef COMPAT_43
|
||||
int sys_getuid_with_euid(struct proc *, void *, register_t *);
|
||||
#else
|
||||
int sys_getuid(struct proc *, void *, register_t *);
|
||||
#endif
|
||||
int sys_geteuid(struct proc *, void *, register_t *);
|
||||
int sys_ptrace(struct proc *, void *, register_t *);
|
||||
int sys_recvmsg(struct proc *, void *, register_t *);
|
||||
|
@ -228,9 +209,7 @@ int pecoff_sys_chflags(struct proc *, void *, register_t *);
|
|||
int sys_fchflags(struct proc *, void *, register_t *);
|
||||
int sys_sync(struct proc *, void *, register_t *);
|
||||
int sys_kill(struct proc *, void *, register_t *);
|
||||
int pecoff_compat_43_sys_stat(struct proc *, void *, register_t *);
|
||||
int sys_getppid(struct proc *, void *, register_t *);
|
||||
int pecoff_compat_43_sys_lstat(struct proc *, void *, register_t *);
|
||||
int sys_dup(struct proc *, void *, register_t *);
|
||||
int sys_pipe(struct proc *, void *, register_t *);
|
||||
int sys_getegid(struct proc *, void *, register_t *);
|
||||
|
@ -239,30 +218,24 @@ int sys_profil(struct proc *, void *, register_t *);
|
|||
int sys_ktrace(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
int compat_13_sys_sigaction(struct proc *, void *, register_t *);
|
||||
#ifdef COMPAT_43
|
||||
int sys_getgid_with_egid(struct proc *, void *, register_t *);
|
||||
#else
|
||||
int sys_getgid(struct proc *, void *, register_t *);
|
||||
int compat_13_sys_sigprocmask(struct proc *, void *, register_t *);
|
||||
#endif
|
||||
int sys___getlogin(struct proc *, void *, register_t *);
|
||||
int sys_setlogin(struct proc *, void *, register_t *);
|
||||
int sys_acct(struct proc *, void *, register_t *);
|
||||
int compat_13_sys_sigpending(struct proc *, void *, register_t *);
|
||||
int compat_13_sys_sigaltstack(struct proc *, void *, register_t *);
|
||||
int sys_ioctl(struct proc *, void *, register_t *);
|
||||
int compat_12_sys_reboot(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_revoke(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_symlink(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_readlink(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_execve(struct proc *, void *, register_t *);
|
||||
int sys_umask(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_chroot(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_fstat(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_getkerninfo(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_getpagesize(struct proc *, void *, register_t *);
|
||||
int compat_12_sys_msync(struct proc *, void *, register_t *);
|
||||
int sys_vfork(struct proc *, void *, register_t *);
|
||||
int sys_sbrk(struct proc *, void *, register_t *);
|
||||
int sys_sstk(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_mmap(struct proc *, void *, register_t *);
|
||||
int sys_ovadvise(struct proc *, void *, register_t *);
|
||||
int sys_munmap(struct proc *, void *, register_t *);
|
||||
int sys_mprotect(struct proc *, void *, register_t *);
|
||||
|
@ -273,12 +246,7 @@ int sys_setgroups(struct proc *, void *, register_t *);
|
|||
int sys_getpgrp(struct proc *, void *, register_t *);
|
||||
int sys_setpgid(struct proc *, void *, register_t *);
|
||||
int sys_setitimer(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_wait(struct proc *, void *, register_t *);
|
||||
int compat_12_sys_swapon(struct proc *, void *, register_t *);
|
||||
int sys_getitimer(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_gethostname(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_sethostname(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_getdtablesize(struct proc *, void *, register_t *);
|
||||
int sys_dup2(struct proc *, void *, register_t *);
|
||||
int sys_fcntl(struct proc *, void *, register_t *);
|
||||
int sys_select(struct proc *, void *, register_t *);
|
||||
|
@ -286,24 +254,10 @@ int sys_fsync(struct proc *, void *, register_t *);
|
|||
int sys_setpriority(struct proc *, void *, register_t *);
|
||||
int sys_socket(struct proc *, void *, register_t *);
|
||||
int sys_connect(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_accept(struct proc *, void *, register_t *);
|
||||
int sys_getpriority(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_send(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_recv(struct proc *, void *, register_t *);
|
||||
#ifdef COMPAT_13
|
||||
int compat_13_sys_sigreturn(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
int sys_bind(struct proc *, void *, register_t *);
|
||||
int sys_setsockopt(struct proc *, void *, register_t *);
|
||||
int sys_listen(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_sigvec(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_sigblock(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_sigsetmask(struct proc *, void *, register_t *);
|
||||
int compat_13_sys_sigsuspend(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_sigstack(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_recvmsg(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_sendmsg(struct proc *, void *, register_t *);
|
||||
int sys_gettimeofday(struct proc *, void *, register_t *);
|
||||
int sys_getrusage(struct proc *, void *, register_t *);
|
||||
int sys_getsockopt(struct proc *, void *, register_t *);
|
||||
|
@ -312,12 +266,9 @@ int sys_writev(struct proc *, void *, register_t *);
|
|||
int sys_settimeofday(struct proc *, void *, register_t *);
|
||||
int sys_fchown(struct proc *, void *, register_t *);
|
||||
int sys_fchmod(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_recvfrom(struct proc *, void *, register_t *);
|
||||
int sys_setreuid(struct proc *, void *, register_t *);
|
||||
int sys_setregid(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_rename(struct proc *, void *, register_t *);
|
||||
int pecoff_compat_43_sys_truncate(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_ftruncate(struct proc *, void *, register_t *);
|
||||
int sys_flock(struct proc *, void *, register_t *);
|
||||
int sys_mkfifo(struct proc *, void *, register_t *);
|
||||
int sys_sendto(struct proc *, void *, register_t *);
|
||||
|
@ -327,41 +278,23 @@ int sys_mkdir(struct proc *, void *, register_t *);
|
|||
int pecoff_sys_rmdir(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_utimes(struct proc *, void *, register_t *);
|
||||
int sys_adjtime(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_getpeername(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_gethostid(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_sethostid(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_getrlimit(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_setrlimit(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_killpg(struct proc *, void *, register_t *);
|
||||
int sys_setsid(struct proc *, void *, register_t *);
|
||||
int sys_quotactl(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_quota(struct proc *, void *, register_t *);
|
||||
int compat_43_sys_getsockname(struct proc *, void *, register_t *);
|
||||
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
|
||||
int sys_nfssvc(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
int compat_43_sys_getdirentries(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_statfs(struct proc *, void *, register_t *);
|
||||
int sys_fstatfs(struct proc *, void *, register_t *);
|
||||
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
|
||||
int pecoff_sys_getfh(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
int compat_09_sys_getdomainname(struct proc *, void *, register_t *);
|
||||
int compat_09_sys_setdomainname(struct proc *, void *, register_t *);
|
||||
int compat_09_sys_uname(struct proc *, void *, register_t *);
|
||||
int sys_sysarch(struct proc *, void *, register_t *);
|
||||
#if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha)
|
||||
int compat_10_sys_semsys(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha)
|
||||
int compat_10_sys_msgsys(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha)
|
||||
int compat_10_sys_shmsys(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
int sys_pread(struct proc *, void *, register_t *);
|
||||
|
@ -381,14 +314,10 @@ int sys_lfs_segclean(struct proc *, void *, register_t *);
|
|||
int sys_lfs_segwait(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
int pecoff_compat_12_sys_stat(struct proc *, void *, register_t *);
|
||||
int compat_12_sys_fstat(struct proc *, void *, register_t *);
|
||||
int pecoff_compat_12_sys_lstat(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_pathconf(struct proc *, void *, register_t *);
|
||||
int sys_fpathconf(struct proc *, void *, register_t *);
|
||||
int sys_getrlimit(struct proc *, void *, register_t *);
|
||||
int sys_setrlimit(struct proc *, void *, register_t *);
|
||||
int compat_12_sys_getdirentries(struct proc *, void *, register_t *);
|
||||
int sys_mmap(struct proc *, void *, register_t *);
|
||||
int sys_lseek(struct proc *, void *, register_t *);
|
||||
int pecoff_sys_truncate(struct proc *, void *, register_t *);
|
||||
|
@ -415,20 +344,12 @@ int sys_lkmnosys(struct proc *, void *, register_t *);
|
|||
#else /* !LKM */
|
||||
#endif /* !LKM */
|
||||
#if defined(SYSVSEM) || !defined(_KERNEL)
|
||||
#ifdef COMPAT_14
|
||||
int compat_14_sys___semctl(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
int sys_semget(struct proc *, void *, register_t *);
|
||||
int sys_semop(struct proc *, void *, register_t *);
|
||||
int sys_semconfig(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
#if defined(SYSVMSG) || !defined(_KERNEL)
|
||||
#ifdef COMPAT_14
|
||||
int compat_14_sys_msgctl(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
int sys_msgget(struct proc *, void *, register_t *);
|
||||
int sys_msgsnd(struct proc *, void *, register_t *);
|
||||
int sys_msgrcv(struct proc *, void *, register_t *);
|
||||
|
@ -436,10 +357,6 @@ int sys_msgrcv(struct proc *, void *, register_t *);
|
|||
#endif
|
||||
#if defined(SYSVSHM) || !defined(_KERNEL)
|
||||
int sys_shmat(struct proc *, void *, register_t *);
|
||||
#ifdef COMPAT_14
|
||||
int compat_14_sys_shmctl(struct proc *, void *, register_t *);
|
||||
#else
|
||||
#endif
|
||||
int sys_shmdt(struct proc *, void *, register_t *);
|
||||
int sys_shmget(struct proc *, void *, register_t *);
|
||||
#else
|
||||
|
@ -468,6 +385,7 @@ int pecoff_sys___posix_chown(struct proc *, void *, register_t *);
|
|||
int sys___posix_fchown(struct proc *, void *, register_t *);
|
||||
int sys___posix_lchown(struct proc *, void *, register_t *);
|
||||
int sys_getsid(struct proc *, void *, register_t *);
|
||||
int sys___clone(struct proc *, void *, register_t *);
|
||||
#if defined(KTRACE) || !defined(_KERNEL)
|
||||
int sys_fktrace(struct proc *, void *, register_t *);
|
||||
#else
|
||||
|
@ -498,4 +416,5 @@ int sys___shmctl13(struct proc *, void *, register_t *);
|
|||
#endif
|
||||
int sys_lchflags(struct proc *, void *, register_t *);
|
||||
int sys_issetugid(struct proc *, void *, register_t *);
|
||||
int sys_utrace(struct proc *, void *, register_t *);
|
||||
#endif /* _PECOFF_SYS__SYSCALLARGS_H_ */
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: pecoff_syscalls.c,v 1.1 2002/03/18 07:11:07 oki Exp $ */
|
||||
/* $NetBSD: pecoff_syscalls.c,v 1.2 2002/03/29 17:04:46 kent Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.15 2001/05/30 11:37:21 mrg Exp
|
||||
* created from NetBSD: syscalls.master,v 1.2 2002/03/29 17:00:43 kent Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pecoff_syscalls.c,v 1.1 2002/03/18 07:11:07 oki Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pecoff_syscalls.c,v 1.2 2002/03/29 17:04:46 kent Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#if defined(_KERNEL_OPT)
|
||||
|
@ -38,7 +38,7 @@ const char *const pecoff_syscallnames[] = {
|
|||
"open", /* 5 = open */
|
||||
"close", /* 6 = close */
|
||||
"wait4", /* 7 = wait4 */
|
||||
"ocreat", /* 8 = ocreat */
|
||||
"#8 (excluded { int sys_creat ( const char * path , mode_t mode ) ; } ocreat)", /* 8 = excluded { int sys_creat ( const char * path , mode_t mode ) ; } ocreat */
|
||||
"link", /* 9 = link */
|
||||
"unlink", /* 10 = unlink */
|
||||
"#11 (obsolete execv)", /* 11 = obsolete execv */
|
||||
|
@ -49,12 +49,20 @@ const char *const pecoff_syscallnames[] = {
|
|||
"chown", /* 16 = chown */
|
||||
"break", /* 17 = break */
|
||||
"getfsstat", /* 18 = getfsstat */
|
||||
"olseek", /* 19 = olseek */
|
||||
"#19 (excluded { long sys_lseek ( int fd , long offset , int whence ) ; } olseek)", /* 19 = excluded { long sys_lseek ( int fd , long offset , int whence ) ; } olseek */
|
||||
#ifdef COMPAT_43
|
||||
"getpid", /* 20 = getpid */
|
||||
#else
|
||||
"getpid", /* 20 = getpid */
|
||||
#endif
|
||||
"mount", /* 21 = mount */
|
||||
"unmount", /* 22 = unmount */
|
||||
"setuid", /* 23 = setuid */
|
||||
#ifdef COMPAT_43
|
||||
"getuid", /* 24 = getuid */
|
||||
#else
|
||||
"getuid", /* 24 = getuid */
|
||||
#endif
|
||||
"geteuid", /* 25 = geteuid */
|
||||
"ptrace", /* 26 = ptrace */
|
||||
"recvmsg", /* 27 = recvmsg */
|
||||
|
@ -68,9 +76,9 @@ const char *const pecoff_syscallnames[] = {
|
|||
"fchflags", /* 35 = fchflags */
|
||||
"sync", /* 36 = sync */
|
||||
"kill", /* 37 = kill */
|
||||
"stat43", /* 38 = stat43 */
|
||||
"#38 (excluded { int pecoff_compat_43_sys_stat ( const char * path , struct stat43 * ub ) ; } stat43)", /* 38 = excluded { int pecoff_compat_43_sys_stat ( const char * path , struct stat43 * ub ) ; } stat43 */
|
||||
"getppid", /* 39 = getppid */
|
||||
"lstat43", /* 40 = lstat43 */
|
||||
"#40 (excluded { int pecoff_compat_43_sys_lstat ( const char * path , struct stat43 * ub ) ; } lstat43)", /* 40 = excluded { int pecoff_compat_43_sys_lstat ( const char * path , struct stat43 * ub ) ; } lstat43 */
|
||||
"dup", /* 41 = dup */
|
||||
"pipe", /* 42 = pipe */
|
||||
"getegid", /* 43 = getegid */
|
||||
|
@ -80,32 +88,36 @@ const char *const pecoff_syscallnames[] = {
|
|||
#else
|
||||
"#45 (excluded ktrace)", /* 45 = excluded ktrace */
|
||||
#endif
|
||||
"sigaction13", /* 46 = sigaction13 */
|
||||
"#46 (excluded { int sys_sigaction ( int signum , const struct sigaction13 * nsa , struct sigaction13 * osa ) ; } sigaction13)", /* 46 = excluded { int sys_sigaction ( int signum , const struct sigaction13 * nsa , struct sigaction13 * osa ) ; } sigaction13 */
|
||||
#ifdef COMPAT_43
|
||||
"getgid", /* 47 = getgid */
|
||||
"sigprocmask13", /* 48 = sigprocmask13 */
|
||||
#else
|
||||
"getgid", /* 47 = getgid */
|
||||
#endif
|
||||
"#48 (excluded { int sys_sigprocmask ( int how , int mask ) ; } sigprocmask13)", /* 48 = excluded { int sys_sigprocmask ( int how , int mask ) ; } sigprocmask13 */
|
||||
"__getlogin", /* 49 = __getlogin */
|
||||
"setlogin", /* 50 = setlogin */
|
||||
"acct", /* 51 = acct */
|
||||
"sigpending13", /* 52 = sigpending13 */
|
||||
"sigaltstack13", /* 53 = sigaltstack13 */
|
||||
"#52 (excluded { int sys_sigpending ( void ) ; } sigpending13)", /* 52 = excluded { int sys_sigpending ( void ) ; } sigpending13 */
|
||||
"#53 (excluded { int sys_sigaltstack ( const struct sigaltstack13 * nss , struct sigaltstack13 * oss ) ; } sigaltstack13)", /* 53 = excluded { int sys_sigaltstack ( const struct sigaltstack13 * nss , struct sigaltstack13 * oss ) ; } sigaltstack13 */
|
||||
"ioctl", /* 54 = ioctl */
|
||||
"oreboot", /* 55 = oreboot */
|
||||
"#55 (excluded { int sys_reboot ( int opt ) ; } oreboot)", /* 55 = excluded { int sys_reboot ( int opt ) ; } oreboot */
|
||||
"revoke", /* 56 = revoke */
|
||||
"symlink", /* 57 = symlink */
|
||||
"readlink", /* 58 = readlink */
|
||||
"execve", /* 59 = execve */
|
||||
"umask", /* 60 = umask */
|
||||
"chroot", /* 61 = chroot */
|
||||
"fstat43", /* 62 = fstat43 */
|
||||
"ogetkerninfo", /* 63 = ogetkerninfo */
|
||||
"ogetpagesize", /* 64 = ogetpagesize */
|
||||
"msync", /* 65 = msync */
|
||||
"#62 (excluded { int sys_fstat ( int fd , struct stat43 * sb ) ; } fstat43)", /* 62 = excluded { int sys_fstat ( int fd , struct stat43 * sb ) ; } fstat43 */
|
||||
"#63 (excluded { int sys_getkerninfo ( int op , char * where , int * size , int arg ) ; } ogetkerninfo)", /* 63 = excluded { int sys_getkerninfo ( int op , char * where , int * size , int arg ) ; } ogetkerninfo */
|
||||
"#64 (excluded { int sys_getpagesize ( void ) ; } ogetpagesize)", /* 64 = excluded { int sys_getpagesize ( void ) ; } ogetpagesize */
|
||||
"#65 (excluded { int sys_msync ( caddr_t addr , size_t len ) ; })", /* 65 = excluded { int sys_msync ( caddr_t addr , size_t len ) ; } */
|
||||
"vfork", /* 66 = vfork */
|
||||
"#67 (obsolete vread)", /* 67 = obsolete vread */
|
||||
"#68 (obsolete vwrite)", /* 68 = obsolete vwrite */
|
||||
"sbrk", /* 69 = sbrk */
|
||||
"sstk", /* 70 = sstk */
|
||||
"ommap", /* 71 = ommap */
|
||||
"#71 (excluded { int sys_mmap ( caddr_t addr , size_t len , int prot , int flags , int fd , long pos ) ; } ommap)", /* 71 = excluded { int sys_mmap ( caddr_t addr , size_t len , int prot , int flags , int fd , long pos ) ; } ommap */
|
||||
"vadvise", /* 72 = vadvise */
|
||||
"munmap", /* 73 = munmap */
|
||||
"mprotect", /* 74 = mprotect */
|
||||
|
@ -118,12 +130,12 @@ const char *const pecoff_syscallnames[] = {
|
|||
"getpgrp", /* 81 = getpgrp */
|
||||
"setpgid", /* 82 = setpgid */
|
||||
"setitimer", /* 83 = setitimer */
|
||||
"owait", /* 84 = owait */
|
||||
"oswapon", /* 85 = oswapon */
|
||||
"#84 (excluded { int sys_wait ( void ) ; } owait)", /* 84 = excluded { int sys_wait ( void ) ; } owait */
|
||||
"#85 (excluded { int sys_swapon ( const char * name ) ; } oswapon)", /* 85 = excluded { int sys_swapon ( const char * name ) ; } oswapon */
|
||||
"getitimer", /* 86 = getitimer */
|
||||
"ogethostname", /* 87 = ogethostname */
|
||||
"osethostname", /* 88 = osethostname */
|
||||
"ogetdtablesize", /* 89 = ogetdtablesize */
|
||||
"#87 (excluded { int sys_gethostname ( char * hostname , u_int len ) ; } ogethostname)", /* 87 = excluded { int sys_gethostname ( char * hostname , u_int len ) ; } ogethostname */
|
||||
"#88 (excluded { int sys_sethostname ( char * hostname , u_int len ) ; } osethostname)", /* 88 = excluded { int sys_sethostname ( char * hostname , u_int len ) ; } osethostname */
|
||||
"#89 (excluded { int sys_getdtablesize ( void ) ; } ogetdtablesize)", /* 89 = excluded { int sys_getdtablesize ( void ) ; } ogetdtablesize */
|
||||
"dup2", /* 90 = dup2 */
|
||||
"#91 (unimplemented getdopt)", /* 91 = unimplemented getdopt */
|
||||
"fcntl", /* 92 = fcntl */
|
||||
|
@ -133,26 +145,22 @@ const char *const pecoff_syscallnames[] = {
|
|||
"setpriority", /* 96 = setpriority */
|
||||
"socket", /* 97 = socket */
|
||||
"connect", /* 98 = connect */
|
||||
"oaccept", /* 99 = oaccept */
|
||||
"#99 (excluded { int sys_accept ( int s , caddr_t name , int * anamelen ) ; } oaccept)", /* 99 = excluded { int sys_accept ( int s , caddr_t name , int * anamelen ) ; } oaccept */
|
||||
"getpriority", /* 100 = getpriority */
|
||||
"osend", /* 101 = osend */
|
||||
"orecv", /* 102 = orecv */
|
||||
#ifdef COMPAT_13
|
||||
"sigreturn13", /* 103 = sigreturn13 */
|
||||
#else
|
||||
"#103 (excluded compat_13_sys_sigreturn)", /* 103 = excluded compat_13_sys_sigreturn */
|
||||
#endif
|
||||
"#101 (excluded { int sys_send ( int s , caddr_t buf , int len , int flags ) ; } osend)", /* 101 = excluded { int sys_send ( int s , caddr_t buf , int len , int flags ) ; } osend */
|
||||
"#102 (excluded { int sys_recv ( int s , caddr_t buf , int len , int flags ) ; } orecv)", /* 102 = excluded { int sys_recv ( int s , caddr_t buf , int len , int flags ) ; } orecv */
|
||||
"#103 (excluded { int sys_sigreturn ( struct sigcontext13 * sigcntxp ) ; } sigreturn13)", /* 103 = excluded { int sys_sigreturn ( struct sigcontext13 * sigcntxp ) ; } sigreturn13 */
|
||||
"bind", /* 104 = bind */
|
||||
"setsockopt", /* 105 = setsockopt */
|
||||
"listen", /* 106 = listen */
|
||||
"#107 (obsolete vtimes)", /* 107 = obsolete vtimes */
|
||||
"osigvec", /* 108 = osigvec */
|
||||
"osigblock", /* 109 = osigblock */
|
||||
"osigsetmask", /* 110 = osigsetmask */
|
||||
"sigsuspend13", /* 111 = sigsuspend13 */
|
||||
"osigstack", /* 112 = osigstack */
|
||||
"orecvmsg", /* 113 = orecvmsg */
|
||||
"osendmsg", /* 114 = osendmsg */
|
||||
"#108 (excluded { int sys_sigvec ( int signum , struct sigvec * nsv , struct sigvec * osv ) ; } osigvec)", /* 108 = excluded { int sys_sigvec ( int signum , struct sigvec * nsv , struct sigvec * osv ) ; } osigvec */
|
||||
"#109 (excluded { int sys_sigblock ( int mask ) ; } osigblock)", /* 109 = excluded { int sys_sigblock ( int mask ) ; } osigblock */
|
||||
"#110 (excluded { int sys_sigsetmask ( int mask ) ; } osigsetmask)", /* 110 = excluded { int sys_sigsetmask ( int mask ) ; } osigsetmask */
|
||||
"#111 (excluded { int sys_sigsuspend ( int mask ) ; } sigsuspend13)", /* 111 = excluded { int sys_sigsuspend ( int mask ) ; } sigsuspend13 */
|
||||
"#112 (excluded { int sys_sigstack ( struct sigstack * nss , struct sigstack * oss ) ; } osigstack)", /* 112 = excluded { int sys_sigstack ( struct sigstack * nss , struct sigstack * oss ) ; } osigstack */
|
||||
"#113 (excluded { int sys_recvmsg ( int s , struct omsghdr * msg , int flags ) ; } orecvmsg)", /* 113 = excluded { int sys_recvmsg ( int s , struct omsghdr * msg , int flags ) ; } orecvmsg */
|
||||
"#114 (excluded { int sys_sendmsg ( int s , caddr_t msg , int flags ) ; } osendmsg)", /* 114 = excluded { int sys_sendmsg ( int s , caddr_t msg , int flags ) ; } osendmsg */
|
||||
"#115 (obsolete vtrace)", /* 115 = obsolete vtrace */
|
||||
"gettimeofday", /* 116 = gettimeofday */
|
||||
"getrusage", /* 117 = getrusage */
|
||||
|
@ -163,12 +171,12 @@ const char *const pecoff_syscallnames[] = {
|
|||
"settimeofday", /* 122 = settimeofday */
|
||||
"fchown", /* 123 = fchown */
|
||||
"fchmod", /* 124 = fchmod */
|
||||
"orecvfrom", /* 125 = orecvfrom */
|
||||
"#125 (excluded { int sys_recvfrom ( int s , caddr_t buf , size_t len , int flags , caddr_t from , int * fromlenaddr ) ; } orecvfrom)", /* 125 = excluded { int sys_recvfrom ( int s , caddr_t buf , size_t len , int flags , caddr_t from , int * fromlenaddr ) ; } orecvfrom */
|
||||
"setreuid", /* 126 = setreuid */
|
||||
"setregid", /* 127 = setregid */
|
||||
"rename", /* 128 = rename */
|
||||
"otruncate", /* 129 = otruncate */
|
||||
"oftruncate", /* 130 = oftruncate */
|
||||
"#129 (excluded { int pecoff_compat_43_sys_truncate ( const char * path , long length ) ; } otruncate)", /* 129 = excluded { int pecoff_compat_43_sys_truncate ( const char * path , long length ) ; } otruncate */
|
||||
"#130 (excluded { int sys_ftruncate ( int fd , long length ) ; } oftruncate)", /* 130 = excluded { int sys_ftruncate ( int fd , long length ) ; } oftruncate */
|
||||
"flock", /* 131 = flock */
|
||||
"mkfifo", /* 132 = mkfifo */
|
||||
"sendto", /* 133 = sendto */
|
||||
|
@ -179,16 +187,16 @@ const char *const pecoff_syscallnames[] = {
|
|||
"utimes", /* 138 = utimes */
|
||||
"#139 (obsolete 4.2 sigreturn)", /* 139 = obsolete 4.2 sigreturn */
|
||||
"adjtime", /* 140 = adjtime */
|
||||
"ogetpeername", /* 141 = ogetpeername */
|
||||
"ogethostid", /* 142 = ogethostid */
|
||||
"osethostid", /* 143 = osethostid */
|
||||
"ogetrlimit", /* 144 = ogetrlimit */
|
||||
"osetrlimit", /* 145 = osetrlimit */
|
||||
"okillpg", /* 146 = okillpg */
|
||||
"#141 (excluded { int sys_getpeername ( int fdes , caddr_t asa , int * alen ) ; } ogetpeername)", /* 141 = excluded { int sys_getpeername ( int fdes , caddr_t asa , int * alen ) ; } ogetpeername */
|
||||
"#142 (excluded { int32_t sys_gethostid ( void ) ; } ogethostid)", /* 142 = excluded { int32_t sys_gethostid ( void ) ; } ogethostid */
|
||||
"#143 (excluded { int sys_sethostid ( int32_t hostid ) ; } osethostid)", /* 143 = excluded { int sys_sethostid ( int32_t hostid ) ; } osethostid */
|
||||
"#144 (excluded { int sys_getrlimit ( int which , struct orlimit * rlp ) ; } ogetrlimit)", /* 144 = excluded { int sys_getrlimit ( int which , struct orlimit * rlp ) ; } ogetrlimit */
|
||||
"#145 (excluded { int sys_setrlimit ( int which , const struct orlimit * rlp ) ; } osetrlimit)", /* 145 = excluded { int sys_setrlimit ( int which , const struct orlimit * rlp ) ; } osetrlimit */
|
||||
"#146 (excluded { int sys_killpg ( int pgid , int signum ) ; } okillpg)", /* 146 = excluded { int sys_killpg ( int pgid , int signum ) ; } okillpg */
|
||||
"setsid", /* 147 = setsid */
|
||||
"quotactl", /* 148 = quotactl */
|
||||
"oquota", /* 149 = oquota */
|
||||
"ogetsockname", /* 150 = ogetsockname */
|
||||
"#149 (excluded { int sys_quota ( void ) ; } oquota)", /* 149 = excluded { int sys_quota ( void ) ; } oquota */
|
||||
"#150 (excluded { int sys_getsockname ( int fdec , caddr_t asa , int * alen ) ; } ogetsockname)", /* 150 = excluded { int sys_getsockname ( int fdec , caddr_t asa , int * alen ) ; } ogetsockname */
|
||||
"#151 (unimplemented)", /* 151 = unimplemented */
|
||||
"#152 (unimplemented)", /* 152 = unimplemented */
|
||||
"#153 (unimplemented)", /* 153 = unimplemented */
|
||||
|
@ -198,35 +206,31 @@ const char *const pecoff_syscallnames[] = {
|
|||
#else
|
||||
"#155 (excluded nfssvc)", /* 155 = excluded nfssvc */
|
||||
#endif
|
||||
"ogetdirentries", /* 156 = ogetdirentries */
|
||||
"#156 (excluded { int sys_getdirentries ( int fd , char * buf , u_int count , long * basep ) ; } ogetdirentries)", /* 156 = excluded { int sys_getdirentries ( int fd , char * buf , u_int count , long * basep ) ; } ogetdirentries */
|
||||
"statfs", /* 157 = statfs */
|
||||
"fstatfs", /* 158 = fstatfs */
|
||||
"#159 (unimplemented)", /* 159 = unimplemented */
|
||||
"#160 (unimplemented)", /* 160 = unimplemented */
|
||||
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
|
||||
"getfh", /* 161 = getfh */
|
||||
#else
|
||||
"#161 (excluded getfh)", /* 161 = excluded getfh */
|
||||
#endif
|
||||
"ogetdomainname", /* 162 = ogetdomainname */
|
||||
"osetdomainname", /* 163 = osetdomainname */
|
||||
"ouname", /* 164 = ouname */
|
||||
"#162 (excluded { int sys_getdomainname ( char * domainname , int len ) ; } ogetdomainname)", /* 162 = excluded { int sys_getdomainname ( char * domainname , int len ) ; } ogetdomainname */
|
||||
"#163 (excluded { int sys_setdomainname ( char * domainname , int len ) ; } osetdomainname)", /* 163 = excluded { int sys_setdomainname ( char * domainname , int len ) ; } osetdomainname */
|
||||
"#164 (excluded { int sys_uname ( struct outsname * name ) ; } ouname)", /* 164 = excluded { int sys_uname ( struct outsname * name ) ; } ouname */
|
||||
"sysarch", /* 165 = sysarch */
|
||||
"#166 (unimplemented)", /* 166 = unimplemented */
|
||||
"#167 (unimplemented)", /* 167 = unimplemented */
|
||||
"#168 (unimplemented)", /* 168 = unimplemented */
|
||||
#if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha)
|
||||
"osemsys", /* 169 = osemsys */
|
||||
"#169 (excluded { int sys_semsys ( int which , int a2 , int a3 , int a4 , int a5 ) ; } osemsys)", /* 169 = excluded { int sys_semsys ( int which , int a2 , int a3 , int a4 , int a5 ) ; } osemsys */
|
||||
#else
|
||||
"#169 (excluded 1.0 semsys)", /* 169 = excluded 1.0 semsys */
|
||||
#endif
|
||||
#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha)
|
||||
"omsgsys", /* 170 = omsgsys */
|
||||
"#170 (excluded { int sys_msgsys ( int which , int a2 , int a3 , int a4 , int a5 , int a6 ) ; } omsgsys)", /* 170 = excluded { int sys_msgsys ( int which , int a2 , int a3 , int a4 , int a5 , int a6 ) ; } omsgsys */
|
||||
#else
|
||||
"#170 (excluded 1.0 msgsys)", /* 170 = excluded 1.0 msgsys */
|
||||
#endif
|
||||
#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha)
|
||||
"oshmsys", /* 171 = oshmsys */
|
||||
"#171 (excluded { int sys_shmsys ( int which , int a2 , int a3 , int a4 ) ; } oshmsys)", /* 171 = excluded { int sys_shmsys ( int which , int a2 , int a3 , int a4 ) ; } oshmsys */
|
||||
#else
|
||||
"#171 (excluded 1.0 shmsys)", /* 171 = excluded 1.0 shmsys */
|
||||
#endif
|
||||
|
@ -257,15 +261,15 @@ const char *const pecoff_syscallnames[] = {
|
|||
"#186 (excluded lfs_segclean)", /* 186 = excluded lfs_segclean */
|
||||
"#187 (excluded lfs_segwait)", /* 187 = excluded lfs_segwait */
|
||||
#endif
|
||||
"stat12", /* 188 = stat12 */
|
||||
"fstat12", /* 189 = fstat12 */
|
||||
"lstat12", /* 190 = lstat12 */
|
||||
"#188 (excluded { int pecoff_compat_12_sys_stat ( const char * path , struct stat12 * ub ) ; } stat12)", /* 188 = excluded { int pecoff_compat_12_sys_stat ( const char * path , struct stat12 * ub ) ; } stat12 */
|
||||
"#189 (excluded { int sys_fstat ( int fd , struct stat12 * sb ) ; } fstat12)", /* 189 = excluded { int sys_fstat ( int fd , struct stat12 * sb ) ; } fstat12 */
|
||||
"#190 (excluded { int pecoff_compat_12_sys_lstat ( const char * path , struct stat12 * ub ) ; } lstat12)", /* 190 = excluded { int pecoff_compat_12_sys_lstat ( const char * path , struct stat12 * ub ) ; } lstat12 */
|
||||
"pathconf", /* 191 = pathconf */
|
||||
"fpathconf", /* 192 = fpathconf */
|
||||
"#193 (unimplemented)", /* 193 = unimplemented */
|
||||
"getrlimit", /* 194 = getrlimit */
|
||||
"setrlimit", /* 195 = setrlimit */
|
||||
"getdirentries", /* 196 = getdirentries */
|
||||
"#196 (excluded { int sys_getdirentries ( int fd , char * buf , u_int count , long * basep ) ; })", /* 196 = excluded { int sys_getdirentries ( int fd , char * buf , u_int count , long * basep ) ; } */
|
||||
"mmap", /* 197 = mmap */
|
||||
"__syscall", /* 198 = __syscall */
|
||||
"lseek", /* 199 = lseek */
|
||||
|
@ -303,11 +307,7 @@ const char *const pecoff_syscallnames[] = {
|
|||
"#219 (excluded lkmnosys)", /* 219 = excluded lkmnosys */
|
||||
#endif /* !LKM */
|
||||
#if defined(SYSVSEM) || !defined(_KERNEL)
|
||||
#ifdef COMPAT_14
|
||||
"__semctl", /* 220 = __semctl */
|
||||
#else
|
||||
"#220 (excluded compat_14_semctl)", /* 220 = excluded compat_14_semctl */
|
||||
#endif
|
||||
"#220 (excluded { int sys___semctl ( int semid , int semnum , int cmd , union __semun * arg ) ; })", /* 220 = excluded { int sys___semctl ( int semid , int semnum , int cmd , union __semun * arg ) ; } */
|
||||
"semget", /* 221 = semget */
|
||||
"semop", /* 222 = semop */
|
||||
"semconfig", /* 223 = semconfig */
|
||||
|
@ -318,11 +318,7 @@ const char *const pecoff_syscallnames[] = {
|
|||
"#223 (excluded semconfig)", /* 223 = excluded semconfig */
|
||||
#endif
|
||||
#if defined(SYSVMSG) || !defined(_KERNEL)
|
||||
#ifdef COMPAT_14
|
||||
"msgctl", /* 224 = msgctl */
|
||||
#else
|
||||
"#224 (excluded compat_14_sys_msgctl)", /* 224 = excluded compat_14_sys_msgctl */
|
||||
#endif
|
||||
"#224 (excluded { int sys_msgctl ( int msqid , int cmd , struct msqid_ds14 * buf ) ; })", /* 224 = excluded { int sys_msgctl ( int msqid , int cmd , struct msqid_ds14 * buf ) ; } */
|
||||
"msgget", /* 225 = msgget */
|
||||
"msgsnd", /* 226 = msgsnd */
|
||||
"msgrcv", /* 227 = msgrcv */
|
||||
|
@ -334,11 +330,7 @@ const char *const pecoff_syscallnames[] = {
|
|||
#endif
|
||||
#if defined(SYSVSHM) || !defined(_KERNEL)
|
||||
"shmat", /* 228 = shmat */
|
||||
#ifdef COMPAT_14
|
||||
"shmctl", /* 229 = shmctl */
|
||||
#else
|
||||
"#229 (excluded compat_14_sys_shmctl)", /* 229 = excluded compat_14_sys_shmctl */
|
||||
#endif
|
||||
"#229 (excluded { int sys_shmctl ( int shmid , int cmd , struct shmid_ds14 * buf ) ; })", /* 229 = excluded { int sys_shmctl ( int shmid , int cmd , struct shmid_ds14 * buf ) ; } */
|
||||
"shmdt", /* 230 = shmdt */
|
||||
"shmget", /* 231 = shmget */
|
||||
#else
|
||||
|
@ -402,7 +394,7 @@ const char *const pecoff_syscallnames[] = {
|
|||
"__posix_fchown", /* 284 = __posix_fchown */
|
||||
"__posix_lchown", /* 285 = __posix_lchown */
|
||||
"getsid", /* 286 = getsid */
|
||||
"#287 (unimplemented)", /* 287 = unimplemented */
|
||||
"__clone", /* 287 = __clone */
|
||||
#if defined(KTRACE) || !defined(_KERNEL)
|
||||
"fktrace", /* 288 = fktrace */
|
||||
#else
|
||||
|
@ -437,4 +429,38 @@ const char *const pecoff_syscallnames[] = {
|
|||
#endif
|
||||
"lchflags", /* 304 = lchflags */
|
||||
"issetugid", /* 305 = issetugid */
|
||||
"utrace", /* 306 = utrace */
|
||||
"#307 (unimplemented)", /* 307 = unimplemented */
|
||||
"#308 (unimplemented)", /* 308 = unimplemented */
|
||||
"#309 (unimplemented)", /* 309 = unimplemented */
|
||||
"#310 (unimplemented)", /* 310 = unimplemented */
|
||||
"#311 (unimplemented)", /* 311 = unimplemented */
|
||||
"#312 (unimplemented)", /* 312 = unimplemented */
|
||||
"#313 (unimplemented)", /* 313 = unimplemented */
|
||||
"#314 (unimplemented)", /* 314 = unimplemented */
|
||||
"#315 (unimplemented)", /* 315 = unimplemented */
|
||||
"#316 (unimplemented)", /* 316 = unimplemented */
|
||||
"#317 (unimplemented)", /* 317 = unimplemented */
|
||||
"#318 (unimplemented)", /* 318 = unimplemented */
|
||||
"#319 (unimplemented)", /* 319 = unimplemented */
|
||||
"#320 (unimplemented)", /* 320 = unimplemented */
|
||||
"#321 (unimplemented)", /* 321 = unimplemented */
|
||||
"#322 (unimplemented)", /* 322 = unimplemented */
|
||||
"#323 (unimplemented)", /* 323 = unimplemented */
|
||||
"#324 (unimplemented)", /* 324 = unimplemented */
|
||||
"#325 (unimplemented)", /* 325 = unimplemented */
|
||||
"#326 (unimplemented)", /* 326 = unimplemented */
|
||||
"#327 (unimplemented)", /* 327 = unimplemented */
|
||||
"#328 (unimplemented)", /* 328 = unimplemented */
|
||||
"#329 (unimplemented)", /* 329 = unimplemented */
|
||||
"#330 (unimplemented)", /* 330 = unimplemented */
|
||||
"#331 (unimplemented)", /* 331 = unimplemented */
|
||||
"#332 (unimplemented)", /* 332 = unimplemented */
|
||||
"#333 (unimplemented)", /* 333 = unimplemented */
|
||||
"#334 (unimplemented)", /* 334 = unimplemented */
|
||||
"#335 (unimplemented)", /* 335 = unimplemented */
|
||||
"#336 (unimplemented)", /* 336 = unimplemented */
|
||||
"#337 (unimplemented)", /* 337 = unimplemented */
|
||||
"#338 (unimplemented)", /* 338 = unimplemented */
|
||||
"#339 (unimplemented)", /* 339 = unimplemented */
|
||||
};
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: pecoff_sysent.c,v 1.1 2002/03/18 07:11:07 oki Exp $ */
|
||||
/* $NetBSD: pecoff_sysent.c,v 1.2 2002/03/29 17:04:46 kent Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.15 2001/05/30 11:37:21 mrg Exp
|
||||
* created from NetBSD: syscalls.master,v 1.2 2002/03/29 17:00:43 kent Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pecoff_sysent.c,v 1.1 2002/03/18 07:11:07 oki Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pecoff_sysent.c,v 1.2 2002/03/29 17:04:46 kent Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ktrace.h"
|
||||
|
@ -46,8 +46,8 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_close }, /* 6 = close */
|
||||
{ 4, s(struct sys_wait4_args), 0,
|
||||
sys_wait4 }, /* 7 = wait4 */
|
||||
{ 2, s(struct compat_43_sys_creat_args), 0,
|
||||
compat_43_sys_creat }, /* 8 = ocreat */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 8 = excluded { int sys_creat ( const char * path , mode_t mode ) ; } ocreat */
|
||||
{ 2, s(struct pecoff_sys_link_args), 0,
|
||||
pecoff_sys_link }, /* 9 = link */
|
||||
{ 1, s(struct pecoff_sys_unlink_args), 0,
|
||||
|
@ -68,18 +68,28 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_obreak }, /* 17 = break */
|
||||
{ 3, s(struct sys_getfsstat_args), 0,
|
||||
sys_getfsstat }, /* 18 = getfsstat */
|
||||
{ 3, s(struct compat_43_sys_lseek_args), 0,
|
||||
compat_43_sys_lseek }, /* 19 = olseek */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 19 = excluded { long sys_lseek ( int fd , long offset , int whence ) ; } olseek */
|
||||
#ifdef COMPAT_43
|
||||
{ 0, 0, 0,
|
||||
sys_getpid_with_ppid }, /* 20 = getpid */
|
||||
#else
|
||||
{ 0, 0, SYCALL_MPSAFE | 0,
|
||||
sys_getpid }, /* 20 = getpid */
|
||||
#endif
|
||||
{ 4, s(struct sys_mount_args), 0,
|
||||
sys_mount }, /* 21 = mount */
|
||||
{ 2, s(struct pecoff_sys_unmount_args), 0,
|
||||
pecoff_sys_unmount }, /* 22 = unmount */
|
||||
{ 1, s(struct sys_setuid_args), 0,
|
||||
sys_setuid }, /* 23 = setuid */
|
||||
#ifdef COMPAT_43
|
||||
{ 0, 0, 0,
|
||||
sys_getuid_with_euid }, /* 24 = getuid */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_getuid }, /* 24 = getuid */
|
||||
#endif
|
||||
{ 0, 0, 0,
|
||||
sys_geteuid }, /* 25 = geteuid */
|
||||
{ 4, s(struct sys_ptrace_args), 0,
|
||||
|
@ -106,12 +116,12 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_sync }, /* 36 = sync */
|
||||
{ 2, s(struct sys_kill_args), 0,
|
||||
sys_kill }, /* 37 = kill */
|
||||
{ 2, s(struct pecoff_compat_43_sys_stat_args), 0,
|
||||
pecoff_compat_43_sys_stat }, /* 38 = stat43 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 38 = excluded { int pecoff_compat_43_sys_stat ( const char * path , struct stat43 * ub ) ; } stat43 */
|
||||
{ 0, 0, 0,
|
||||
sys_getppid }, /* 39 = getppid */
|
||||
{ 2, s(struct pecoff_compat_43_sys_lstat_args), 0,
|
||||
pecoff_compat_43_sys_lstat }, /* 40 = lstat43 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 40 = excluded { int pecoff_compat_43_sys_lstat ( const char * path , struct stat43 * ub ) ; } lstat43 */
|
||||
{ 1, s(struct sys_dup_args), 0,
|
||||
sys_dup }, /* 41 = dup */
|
||||
{ 0, 0, 0,
|
||||
|
@ -127,12 +137,17 @@ struct sysent pecoff_sysent[] = {
|
|||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 45 = excluded ktrace */
|
||||
#endif
|
||||
{ 3, s(struct compat_13_sys_sigaction_args), 0,
|
||||
compat_13_sys_sigaction }, /* 46 = sigaction13 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 46 = excluded { int sys_sigaction ( int signum , const struct sigaction13 * nsa , struct sigaction13 * osa ) ; } sigaction13 */
|
||||
#ifdef COMPAT_43
|
||||
{ 0, 0, 0,
|
||||
sys_getgid_with_egid }, /* 47 = getgid */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_getgid }, /* 47 = getgid */
|
||||
{ 2, s(struct compat_13_sys_sigprocmask_args), 0,
|
||||
compat_13_sys_sigprocmask }, /* 48 = sigprocmask13 */
|
||||
#endif
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 48 = excluded { int sys_sigprocmask ( int how , int mask ) ; } sigprocmask13 */
|
||||
{ 2, s(struct sys___getlogin_args), 0,
|
||||
sys___getlogin }, /* 49 = __getlogin */
|
||||
{ 1, s(struct sys_setlogin_args), 0,
|
||||
|
@ -140,13 +155,13 @@ struct sysent pecoff_sysent[] = {
|
|||
{ 1, s(struct sys_acct_args), 0,
|
||||
sys_acct }, /* 51 = acct */
|
||||
{ 0, 0, 0,
|
||||
compat_13_sys_sigpending }, /* 52 = sigpending13 */
|
||||
{ 2, s(struct compat_13_sys_sigaltstack_args), 0,
|
||||
compat_13_sys_sigaltstack }, /* 53 = sigaltstack13 */
|
||||
sys_nosys }, /* 52 = excluded { int sys_sigpending ( void ) ; } sigpending13 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 53 = excluded { int sys_sigaltstack ( const struct sigaltstack13 * nss , struct sigaltstack13 * oss ) ; } sigaltstack13 */
|
||||
{ 3, s(struct sys_ioctl_args), 0,
|
||||
sys_ioctl }, /* 54 = ioctl */
|
||||
{ 1, s(struct compat_12_sys_reboot_args), 0,
|
||||
compat_12_sys_reboot }, /* 55 = oreboot */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 55 = excluded { int sys_reboot ( int opt ) ; } oreboot */
|
||||
{ 1, s(struct pecoff_sys_revoke_args), 0,
|
||||
pecoff_sys_revoke }, /* 56 = revoke */
|
||||
{ 2, s(struct pecoff_sys_symlink_args), 0,
|
||||
|
@ -159,14 +174,14 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_umask }, /* 60 = umask */
|
||||
{ 1, s(struct pecoff_sys_chroot_args), 0,
|
||||
pecoff_sys_chroot }, /* 61 = chroot */
|
||||
{ 2, s(struct compat_43_sys_fstat_args), 0,
|
||||
compat_43_sys_fstat }, /* 62 = fstat43 */
|
||||
{ 4, s(struct compat_43_sys_getkerninfo_args), 0,
|
||||
compat_43_sys_getkerninfo }, /* 63 = ogetkerninfo */
|
||||
{ 0, 0, 0,
|
||||
compat_43_sys_getpagesize }, /* 64 = ogetpagesize */
|
||||
{ 2, s(struct compat_12_sys_msync_args), 0,
|
||||
compat_12_sys_msync }, /* 65 = msync */
|
||||
sys_nosys }, /* 62 = excluded { int sys_fstat ( int fd , struct stat43 * sb ) ; } fstat43 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 63 = excluded { int sys_getkerninfo ( int op , char * where , int * size , int arg ) ; } ogetkerninfo */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 64 = excluded { int sys_getpagesize ( void ) ; } ogetpagesize */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 65 = excluded { int sys_msync ( caddr_t addr , size_t len ) ; } */
|
||||
{ 0, 0, 0,
|
||||
sys_vfork }, /* 66 = vfork */
|
||||
{ 0, 0, 0,
|
||||
|
@ -177,8 +192,8 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_sbrk }, /* 69 = sbrk */
|
||||
{ 1, s(struct sys_sstk_args), 0,
|
||||
sys_sstk }, /* 70 = sstk */
|
||||
{ 6, s(struct compat_43_sys_mmap_args), 0,
|
||||
compat_43_sys_mmap }, /* 71 = ommap */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 71 = excluded { int sys_mmap ( caddr_t addr , size_t len , int prot , int flags , int fd , long pos ) ; } ommap */
|
||||
{ 1, s(struct sys_ovadvise_args), 0,
|
||||
sys_ovadvise }, /* 72 = vadvise */
|
||||
{ 2, s(struct sys_munmap_args), 0,
|
||||
|
@ -204,17 +219,17 @@ struct sysent pecoff_sysent[] = {
|
|||
{ 3, s(struct sys_setitimer_args), 0,
|
||||
sys_setitimer }, /* 83 = setitimer */
|
||||
{ 0, 0, 0,
|
||||
compat_43_sys_wait }, /* 84 = owait */
|
||||
{ 1, s(struct compat_12_sys_swapon_args), 0,
|
||||
compat_12_sys_swapon }, /* 85 = oswapon */
|
||||
sys_nosys }, /* 84 = excluded { int sys_wait ( void ) ; } owait */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 85 = excluded { int sys_swapon ( const char * name ) ; } oswapon */
|
||||
{ 2, s(struct sys_getitimer_args), 0,
|
||||
sys_getitimer }, /* 86 = getitimer */
|
||||
{ 2, s(struct compat_43_sys_gethostname_args), 0,
|
||||
compat_43_sys_gethostname }, /* 87 = ogethostname */
|
||||
{ 2, s(struct compat_43_sys_sethostname_args), 0,
|
||||
compat_43_sys_sethostname }, /* 88 = osethostname */
|
||||
{ 0, 0, 0,
|
||||
compat_43_sys_getdtablesize }, /* 89 = ogetdtablesize */
|
||||
sys_nosys }, /* 87 = excluded { int sys_gethostname ( char * hostname , u_int len ) ; } ogethostname */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 88 = excluded { int sys_sethostname ( char * hostname , u_int len ) ; } osethostname */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 89 = excluded { int sys_getdtablesize ( void ) ; } ogetdtablesize */
|
||||
{ 2, s(struct sys_dup2_args), 0,
|
||||
sys_dup2 }, /* 90 = dup2 */
|
||||
{ 0, 0, 0,
|
||||
|
@ -233,21 +248,16 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_socket }, /* 97 = socket */
|
||||
{ 3, s(struct sys_connect_args), 0,
|
||||
sys_connect }, /* 98 = connect */
|
||||
{ 3, s(struct compat_43_sys_accept_args), 0,
|
||||
compat_43_sys_accept }, /* 99 = oaccept */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 99 = excluded { int sys_accept ( int s , caddr_t name , int * anamelen ) ; } oaccept */
|
||||
{ 2, s(struct sys_getpriority_args), 0,
|
||||
sys_getpriority }, /* 100 = getpriority */
|
||||
{ 4, s(struct compat_43_sys_send_args), 0,
|
||||
compat_43_sys_send }, /* 101 = osend */
|
||||
{ 4, s(struct compat_43_sys_recv_args), 0,
|
||||
compat_43_sys_recv }, /* 102 = orecv */
|
||||
#ifdef COMPAT_13
|
||||
{ 1, s(struct compat_13_sys_sigreturn_args), 0,
|
||||
compat_13_sys_sigreturn }, /* 103 = sigreturn13 */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 103 = excluded compat_13_sys_sigreturn */
|
||||
#endif
|
||||
sys_nosys }, /* 101 = excluded { int sys_send ( int s , caddr_t buf , int len , int flags ) ; } osend */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 102 = excluded { int sys_recv ( int s , caddr_t buf , int len , int flags ) ; } orecv */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 103 = excluded { int sys_sigreturn ( struct sigcontext13 * sigcntxp ) ; } sigreturn13 */
|
||||
{ 3, s(struct sys_bind_args), 0,
|
||||
sys_bind }, /* 104 = bind */
|
||||
{ 5, s(struct sys_setsockopt_args), 0,
|
||||
|
@ -256,20 +266,20 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_listen }, /* 106 = listen */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 107 = obsolete vtimes */
|
||||
{ 3, s(struct compat_43_sys_sigvec_args), 0,
|
||||
compat_43_sys_sigvec }, /* 108 = osigvec */
|
||||
{ 1, s(struct compat_43_sys_sigblock_args), 0,
|
||||
compat_43_sys_sigblock }, /* 109 = osigblock */
|
||||
{ 1, s(struct compat_43_sys_sigsetmask_args), 0,
|
||||
compat_43_sys_sigsetmask }, /* 110 = osigsetmask */
|
||||
{ 1, s(struct compat_13_sys_sigsuspend_args), 0,
|
||||
compat_13_sys_sigsuspend }, /* 111 = sigsuspend13 */
|
||||
{ 2, s(struct compat_43_sys_sigstack_args), 0,
|
||||
compat_43_sys_sigstack }, /* 112 = osigstack */
|
||||
{ 3, s(struct compat_43_sys_recvmsg_args), 0,
|
||||
compat_43_sys_recvmsg }, /* 113 = orecvmsg */
|
||||
{ 3, s(struct compat_43_sys_sendmsg_args), 0,
|
||||
compat_43_sys_sendmsg }, /* 114 = osendmsg */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 108 = excluded { int sys_sigvec ( int signum , struct sigvec * nsv , struct sigvec * osv ) ; } osigvec */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 109 = excluded { int sys_sigblock ( int mask ) ; } osigblock */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 110 = excluded { int sys_sigsetmask ( int mask ) ; } osigsetmask */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 111 = excluded { int sys_sigsuspend ( int mask ) ; } sigsuspend13 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 112 = excluded { int sys_sigstack ( struct sigstack * nss , struct sigstack * oss ) ; } osigstack */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 113 = excluded { int sys_recvmsg ( int s , struct omsghdr * msg , int flags ) ; } orecvmsg */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 114 = excluded { int sys_sendmsg ( int s , caddr_t msg , int flags ) ; } osendmsg */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 115 = obsolete vtrace */
|
||||
{ 2, s(struct sys_gettimeofday_args), 0,
|
||||
|
@ -290,18 +300,18 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_fchown }, /* 123 = fchown */
|
||||
{ 2, s(struct sys_fchmod_args), 0,
|
||||
sys_fchmod }, /* 124 = fchmod */
|
||||
{ 6, s(struct compat_43_sys_recvfrom_args), 0,
|
||||
compat_43_sys_recvfrom }, /* 125 = orecvfrom */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 125 = excluded { int sys_recvfrom ( int s , caddr_t buf , size_t len , int flags , caddr_t from , int * fromlenaddr ) ; } orecvfrom */
|
||||
{ 2, s(struct sys_setreuid_args), 0,
|
||||
sys_setreuid }, /* 126 = setreuid */
|
||||
{ 2, s(struct sys_setregid_args), 0,
|
||||
sys_setregid }, /* 127 = setregid */
|
||||
{ 2, s(struct pecoff_sys_rename_args), 0,
|
||||
pecoff_sys_rename }, /* 128 = rename */
|
||||
{ 2, s(struct pecoff_compat_43_sys_truncate_args), 0,
|
||||
pecoff_compat_43_sys_truncate }, /* 129 = otruncate */
|
||||
{ 2, s(struct compat_43_sys_ftruncate_args), 0,
|
||||
compat_43_sys_ftruncate }, /* 130 = oftruncate */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 129 = excluded { int pecoff_compat_43_sys_truncate ( const char * path , long length ) ; } otruncate */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 130 = excluded { int sys_ftruncate ( int fd , long length ) ; } oftruncate */
|
||||
{ 2, s(struct sys_flock_args), 0,
|
||||
sys_flock }, /* 131 = flock */
|
||||
{ 2, s(struct sys_mkfifo_args), 0,
|
||||
|
@ -322,26 +332,26 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_nosys }, /* 139 = obsolete 4.2 sigreturn */
|
||||
{ 2, s(struct sys_adjtime_args), 0,
|
||||
sys_adjtime }, /* 140 = adjtime */
|
||||
{ 3, s(struct compat_43_sys_getpeername_args), 0,
|
||||
compat_43_sys_getpeername }, /* 141 = ogetpeername */
|
||||
{ 0, 0, 0,
|
||||
compat_43_sys_gethostid }, /* 142 = ogethostid */
|
||||
{ 1, s(struct compat_43_sys_sethostid_args), 0,
|
||||
compat_43_sys_sethostid }, /* 143 = osethostid */
|
||||
{ 2, s(struct compat_43_sys_getrlimit_args), 0,
|
||||
compat_43_sys_getrlimit }, /* 144 = ogetrlimit */
|
||||
{ 2, s(struct compat_43_sys_setrlimit_args), 0,
|
||||
compat_43_sys_setrlimit }, /* 145 = osetrlimit */
|
||||
{ 2, s(struct compat_43_sys_killpg_args), 0,
|
||||
compat_43_sys_killpg }, /* 146 = okillpg */
|
||||
sys_nosys }, /* 141 = excluded { int sys_getpeername ( int fdes , caddr_t asa , int * alen ) ; } ogetpeername */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 142 = excluded { int32_t sys_gethostid ( void ) ; } ogethostid */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 143 = excluded { int sys_sethostid ( int32_t hostid ) ; } osethostid */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 144 = excluded { int sys_getrlimit ( int which , struct orlimit * rlp ) ; } ogetrlimit */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 145 = excluded { int sys_setrlimit ( int which , const struct orlimit * rlp ) ; } osetrlimit */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 146 = excluded { int sys_killpg ( int pgid , int signum ) ; } okillpg */
|
||||
{ 0, 0, 0,
|
||||
sys_setsid }, /* 147 = setsid */
|
||||
{ 4, s(struct sys_quotactl_args), 0,
|
||||
sys_quotactl }, /* 148 = quotactl */
|
||||
{ 0, 0, 0,
|
||||
compat_43_sys_quota }, /* 149 = oquota */
|
||||
{ 3, s(struct compat_43_sys_getsockname_args), 0,
|
||||
compat_43_sys_getsockname }, /* 150 = ogetsockname */
|
||||
sys_nosys }, /* 149 = excluded { int sys_quota ( void ) ; } oquota */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 150 = excluded { int sys_getsockname ( int fdec , caddr_t asa , int * alen ) ; } ogetsockname */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 151 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
|
@ -357,8 +367,8 @@ struct sysent pecoff_sysent[] = {
|
|||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 155 = excluded nfssvc */
|
||||
#endif
|
||||
{ 4, s(struct compat_43_sys_getdirentries_args), 0,
|
||||
compat_43_sys_getdirentries }, /* 156 = ogetdirentries */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 156 = excluded { int sys_getdirentries ( int fd , char * buf , u_int count , long * basep ) ; } ogetdirentries */
|
||||
{ 2, s(struct pecoff_sys_statfs_args), 0,
|
||||
pecoff_sys_statfs }, /* 157 = statfs */
|
||||
{ 2, s(struct sys_fstatfs_args), 0,
|
||||
|
@ -367,19 +377,14 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_nosys }, /* 159 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 160 = unimplemented */
|
||||
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
|
||||
{ 2, s(struct pecoff_sys_getfh_args), 0,
|
||||
pecoff_sys_getfh }, /* 161 = getfh */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 161 = excluded getfh */
|
||||
#endif
|
||||
{ 2, s(struct compat_09_sys_getdomainname_args), 0,
|
||||
compat_09_sys_getdomainname }, /* 162 = ogetdomainname */
|
||||
{ 2, s(struct compat_09_sys_setdomainname_args), 0,
|
||||
compat_09_sys_setdomainname }, /* 163 = osetdomainname */
|
||||
{ 1, s(struct compat_09_sys_uname_args), 0,
|
||||
compat_09_sys_uname }, /* 164 = ouname */
|
||||
sys_nosys }, /* 162 = excluded { int sys_getdomainname ( char * domainname , int len ) ; } ogetdomainname */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 163 = excluded { int sys_setdomainname ( char * domainname , int len ) ; } osetdomainname */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 164 = excluded { int sys_uname ( struct outsname * name ) ; } ouname */
|
||||
{ 2, s(struct sys_sysarch_args), 0,
|
||||
sys_sysarch }, /* 165 = sysarch */
|
||||
{ 0, 0, 0,
|
||||
|
@ -389,22 +394,22 @@ struct sysent pecoff_sysent[] = {
|
|||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 168 = unimplemented */
|
||||
#if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha)
|
||||
{ 5, s(struct compat_10_sys_semsys_args), 0,
|
||||
compat_10_sys_semsys }, /* 169 = osemsys */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 169 = excluded { int sys_semsys ( int which , int a2 , int a3 , int a4 , int a5 ) ; } osemsys */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 169 = excluded 1.0 semsys */
|
||||
#endif
|
||||
#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha)
|
||||
{ 6, s(struct compat_10_sys_msgsys_args), 0,
|
||||
compat_10_sys_msgsys }, /* 170 = omsgsys */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 170 = excluded { int sys_msgsys ( int which , int a2 , int a3 , int a4 , int a5 , int a6 ) ; } omsgsys */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 170 = excluded 1.0 msgsys */
|
||||
#endif
|
||||
#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha)
|
||||
{ 4, s(struct compat_10_sys_shmsys_args), 0,
|
||||
compat_10_sys_shmsys }, /* 171 = oshmsys */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 171 = excluded { int sys_shmsys ( int which , int a2 , int a3 , int a4 ) ; } oshmsys */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 171 = excluded 1.0 shmsys */
|
||||
|
@ -457,12 +462,12 @@ struct sysent pecoff_sysent[] = {
|
|||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 187 = excluded lfs_segwait */
|
||||
#endif
|
||||
{ 2, s(struct pecoff_compat_12_sys_stat_args), 0,
|
||||
pecoff_compat_12_sys_stat }, /* 188 = stat12 */
|
||||
{ 2, s(struct compat_12_sys_fstat_args), 0,
|
||||
compat_12_sys_fstat }, /* 189 = fstat12 */
|
||||
{ 2, s(struct pecoff_compat_12_sys_lstat_args), 0,
|
||||
pecoff_compat_12_sys_lstat }, /* 190 = lstat12 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 188 = excluded { int pecoff_compat_12_sys_stat ( const char * path , struct stat12 * ub ) ; } stat12 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 189 = excluded { int sys_fstat ( int fd , struct stat12 * sb ) ; } fstat12 */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 190 = excluded { int pecoff_compat_12_sys_lstat ( const char * path , struct stat12 * ub ) ; } lstat12 */
|
||||
{ 2, s(struct pecoff_sys_pathconf_args), 0,
|
||||
pecoff_sys_pathconf }, /* 191 = pathconf */
|
||||
{ 2, s(struct sys_fpathconf_args), 0,
|
||||
|
@ -473,8 +478,8 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_getrlimit }, /* 194 = getrlimit */
|
||||
{ 2, s(struct sys_setrlimit_args), 0,
|
||||
sys_setrlimit }, /* 195 = setrlimit */
|
||||
{ 4, s(struct compat_12_sys_getdirentries_args), 0,
|
||||
compat_12_sys_getdirentries }, /* 196 = getdirentries */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 196 = excluded { int sys_getdirentries ( int fd , char * buf , u_int count , long * basep ) ; } */
|
||||
{ 7, s(struct sys_mmap_args), 0,
|
||||
sys_mmap }, /* 197 = mmap */
|
||||
{ 0, 0, 0,
|
||||
|
@ -545,13 +550,8 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_nosys }, /* 219 = excluded lkmnosys */
|
||||
#endif /* !LKM */
|
||||
#if defined(SYSVSEM) || !defined(_KERNEL)
|
||||
#ifdef COMPAT_14
|
||||
{ 4, s(struct compat_14_sys___semctl_args), 0,
|
||||
compat_14_sys___semctl }, /* 220 = __semctl */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 220 = excluded compat_14_semctl */
|
||||
#endif
|
||||
sys_nosys }, /* 220 = excluded { int sys___semctl ( int semid , int semnum , int cmd , union __semun * arg ) ; } */
|
||||
{ 3, s(struct sys_semget_args), 0,
|
||||
sys_semget }, /* 221 = semget */
|
||||
{ 3, s(struct sys_semop_args), 0,
|
||||
|
@ -569,13 +569,8 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_nosys }, /* 223 = excluded semconfig */
|
||||
#endif
|
||||
#if defined(SYSVMSG) || !defined(_KERNEL)
|
||||
#ifdef COMPAT_14
|
||||
{ 3, s(struct compat_14_sys_msgctl_args), 0,
|
||||
compat_14_sys_msgctl }, /* 224 = msgctl */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 224 = excluded compat_14_sys_msgctl */
|
||||
#endif
|
||||
sys_nosys }, /* 224 = excluded { int sys_msgctl ( int msqid , int cmd , struct msqid_ds14 * buf ) ; } */
|
||||
{ 2, s(struct sys_msgget_args), 0,
|
||||
sys_msgget }, /* 225 = msgget */
|
||||
{ 4, s(struct sys_msgsnd_args), 0,
|
||||
|
@ -595,13 +590,8 @@ struct sysent pecoff_sysent[] = {
|
|||
#if defined(SYSVSHM) || !defined(_KERNEL)
|
||||
{ 3, s(struct sys_shmat_args), 0,
|
||||
sys_shmat }, /* 228 = shmat */
|
||||
#ifdef COMPAT_14
|
||||
{ 3, s(struct compat_14_sys_shmctl_args), 0,
|
||||
compat_14_sys_shmctl }, /* 229 = shmctl */
|
||||
#else
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 229 = excluded compat_14_sys_shmctl */
|
||||
#endif
|
||||
sys_nosys }, /* 229 = excluded { int sys_shmctl ( int shmid , int cmd , struct shmid_ds14 * buf ) ; } */
|
||||
{ 1, s(struct sys_shmdt_args), 0,
|
||||
sys_shmdt }, /* 230 = shmdt */
|
||||
{ 3, s(struct sys_shmget_args), 0,
|
||||
|
@ -726,8 +716,8 @@ struct sysent pecoff_sysent[] = {
|
|||
sys___posix_lchown }, /* 285 = __posix_lchown */
|
||||
{ 1, s(struct sys_getsid_args), 0,
|
||||
sys_getsid }, /* 286 = getsid */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 287 = unimplemented */
|
||||
{ 2, s(struct sys___clone_args), 0,
|
||||
sys___clone }, /* 287 = __clone */
|
||||
#if defined(KTRACE) || !defined(_KERNEL)
|
||||
{ 4, s(struct sys_fktrace_args), 0,
|
||||
sys_fktrace }, /* 288 = fktrace */
|
||||
|
@ -784,74 +774,74 @@ struct sysent pecoff_sysent[] = {
|
|||
sys_lchflags }, /* 304 = lchflags */
|
||||
{ 0, 0, 0,
|
||||
sys_issetugid }, /* 305 = issetugid */
|
||||
{ 3, s(struct sys_utrace_args), 0,
|
||||
sys_utrace }, /* 306 = utrace */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 306 = filler */
|
||||
sys_nosys }, /* 307 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 307 = filler */
|
||||
sys_nosys }, /* 308 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 308 = filler */
|
||||
sys_nosys }, /* 309 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 309 = filler */
|
||||
sys_nosys }, /* 310 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 310 = filler */
|
||||
sys_nosys }, /* 311 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 311 = filler */
|
||||
sys_nosys }, /* 312 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 312 = filler */
|
||||
sys_nosys }, /* 313 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 313 = filler */
|
||||
sys_nosys }, /* 314 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 314 = filler */
|
||||
sys_nosys }, /* 315 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 315 = filler */
|
||||
sys_nosys }, /* 316 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 316 = filler */
|
||||
sys_nosys }, /* 317 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 317 = filler */
|
||||
sys_nosys }, /* 318 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 318 = filler */
|
||||
sys_nosys }, /* 319 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 319 = filler */
|
||||
sys_nosys }, /* 320 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 320 = filler */
|
||||
sys_nosys }, /* 321 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 321 = filler */
|
||||
sys_nosys }, /* 322 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 322 = filler */
|
||||
sys_nosys }, /* 323 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 323 = filler */
|
||||
sys_nosys }, /* 324 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 324 = filler */
|
||||
sys_nosys }, /* 325 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 325 = filler */
|
||||
sys_nosys }, /* 326 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 326 = filler */
|
||||
sys_nosys }, /* 327 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 327 = filler */
|
||||
sys_nosys }, /* 328 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 328 = filler */
|
||||
sys_nosys }, /* 329 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 329 = filler */
|
||||
sys_nosys }, /* 330 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 330 = filler */
|
||||
sys_nosys }, /* 331 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 331 = filler */
|
||||
sys_nosys }, /* 332 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 332 = filler */
|
||||
sys_nosys }, /* 333 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 333 = filler */
|
||||
sys_nosys }, /* 334 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 334 = filler */
|
||||
sys_nosys }, /* 335 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 335 = filler */
|
||||
sys_nosys }, /* 336 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 336 = filler */
|
||||
sys_nosys }, /* 337 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 337 = filler */
|
||||
sys_nosys }, /* 338 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 338 = filler */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 339 = filler */
|
||||
sys_nosys }, /* 339 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 340 = filler */
|
||||
{ 0, 0, 0,
|
||||
|
|
Loading…
Reference in New Issue