syscalls.master revision 211998
150477Speter $FreeBSD: head/sys/kern/syscalls.master 211998 2010-08-30 14:24:44Z kib $
21817Sdg;	from: @(#)syscalls.master	8.2 (Berkeley) 1/13/94
31817Sdg;
41541Srgrimes; System call name/number master file.
51541Srgrimes; Processed to created init_sysent.c, syscalls.c and syscall.h.
61541Srgrimes
7160798Sjhb; Columns: number audit type name alt{name,tag,rtyp}/comments
81541Srgrimes;	number	system call number, must be in order
9146806Srwatson;	audit	the audit event associated with the system call
10146806Srwatson;		A value of AUE_NULL means no auditing, but it also means that
11146806Srwatson;		there is no audit event for the call at this time. For the
12146806Srwatson;		case where the event exists, but we don't want auditing, the
13146806Srwatson;		event should be #defined to AUE_NULL in audit_kevents.h.
14194390Sjhb;	type	one of STD, OBSOL, UNIMPL, COMPAT, COMPAT4, COMPAT6,
15203660Sed;		COMPAT7, NODEF, NOARGS, NOPROTO, NOSTD
16194390Sjhb;		The COMPAT* options may be combined with one or more NO*
17194390Sjhb;		options separated by '|' with no spaces (e.g. COMPAT|NOARGS)
1811294Sswallace;	name	psuedo-prototype of syscall routine
1910905Sbde;		If one of the following alts is different, then all appear:
201541Srgrimes;	altname	name of system call if different
2110905Sbde;	alttag	name of args struct tag if different from [o]`name'"_args"
2210905Sbde;	altrtyp	return type if not int (bogus - syscalls always return int)
231541Srgrimes;		for UNIMPL/OBSOL, name continues with comments
241541Srgrimes
251541Srgrimes; types:
261541Srgrimes;	STD	always included
271541Srgrimes;	COMPAT	included on COMPAT #ifdef
2899855Salfred;	COMPAT4	included on COMPAT4 #ifdef (FreeBSD 4 compat)
29194645Sjhb;	COMPAT6	included on COMPAT6 #ifdef (FreeBSD 6 compat)
30194833Sjhb;	COMPAT7	included on COMPAT7 #ifdef (FreeBSD 7 compat)
311541Srgrimes;	OBSOL	obsolete, not included in system, only specifies name
321541Srgrimes;	UNIMPL	not implemented, placeholder only
3369449Salfred;	NOSTD	implemented but as a lkm that can be statically
34194383Sjhb;		compiled in; sysent entry will be filled with lkmressys
35160797Sjhb;		so the SYSCALL_MODULE macro works
36181972Sobrien;	NOARGS	same as STD except do not create structure in sys/sysproto.h
37181972Sobrien;	NODEF	same as STD except only have the entry in the syscall table
38183361Sjhb;		added.  Meaning - do not create structure or function
39181972Sobrien;		prototype in sys/sysproto.h
40181972Sobrien;	NOPROTO	same as STD except do not create structure or
41181972Sobrien;		function prototype in sys/sysproto.h.  Does add a
42181972Sobrien;		definition to syscall.h besides adding a sysent.
43211838Skib;	NOTSTATIC syscall is loadable
44104747Srwatson;
45104747Srwatson; Please copy any additions and changes to the following compatability tables:
46123408Speter; sys/compat/freebsd32/syscalls.master
47123408Speter
481541Srgrimes; #ifdef's, etc. may be included, and are copied to the output files.
491541Srgrimes
5011294Sswallace#include <sys/param.h>
5111294Sswallace#include <sys/sysent.h>
5211294Sswallace#include <sys/sysproto.h>
5311294Sswallace
541541Srgrimes; Reserved/unimplemented system calls in the range 0-150 inclusive
551541Srgrimes; are reserved for use in future Berkeley releases.
561541Srgrimes; Additional system calls implemented in vendor and other
571541Srgrimes; redistributions should be placed in the reserved range at the end
581541Srgrimes; of the current calls.
591541Srgrimes
60160798Sjhb0	AUE_NULL	STD	{ int nosys(void); } syscall nosys_args int
61160798Sjhb1	AUE_EXIT	STD	{ void sys_exit(int rval); } exit \
62146806Srwatson				    sys_exit_args void
63160798Sjhb2	AUE_FORK	STD	{ int fork(void); }
64160798Sjhb3	AUE_NULL	STD	{ ssize_t read(int fd, void *buf, \
65146806Srwatson				    size_t nbyte); }
66160798Sjhb4	AUE_NULL	STD	{ ssize_t write(int fd, const void *buf, \
67146806Srwatson				    size_t nbyte); }
68160798Sjhb5	AUE_OPEN_RWTC	STD	{ int open(char *path, int flags, int mode); }
6912216Sbde; XXX should be		{ int open(const char *path, int flags, ...); }
7012216Sbde; but we're not ready for `const' or varargs.
7112216Sbde; XXX man page says `mode_t mode'.
72160798Sjhb6	AUE_CLOSE	STD	{ int close(int fd); }
73160798Sjhb7	AUE_WAIT4	STD	{ int wait4(int pid, int *status, \
74146806Srwatson				    int options, struct rusage *rusage); } \
75146806Srwatson				    wait4 wait_args int
76162991Srwatson8	AUE_CREAT	COMPAT	{ int creat(char *path, int mode); }
77160798Sjhb9	AUE_LINK	STD	{ int link(char *path, char *link); }
78160798Sjhb10	AUE_UNLINK	STD	{ int unlink(char *path); }
79146806Srwatson11	AUE_NULL	OBSOL	execv
80160798Sjhb12	AUE_CHDIR	STD	{ int chdir(char *path); }
81160798Sjhb13	AUE_FCHDIR	STD	{ int fchdir(int fd); }
82160798Sjhb14	AUE_MKNOD	STD	{ int mknod(char *path, int mode, int dev); }
83160798Sjhb15	AUE_CHMOD	STD	{ int chmod(char *path, int mode); }
84160798Sjhb16	AUE_CHOWN	STD	{ int chown(char *path, int uid, int gid); }
85160798Sjhb17	AUE_NULL	STD	{ int obreak(char *nsize); } break \
86146806Srwatson				    obreak_args int
87160798Sjhb18	AUE_GETFSSTAT	COMPAT4	{ int getfsstat(struct ostatfs *buf, \
88146806Srwatson				    long bufsize, int flags); }
89160798Sjhb19	AUE_LSEEK	COMPAT	{ long lseek(int fd, long offset, \
90146806Srwatson				    int whence); }
91160798Sjhb20	AUE_GETPID	STD	{ pid_t getpid(void); }
92160798Sjhb21	AUE_MOUNT	STD	{ int mount(char *type, char *path, \
93146806Srwatson				    int flags, caddr_t data); }
9412216Sbde; XXX `path' should have type `const char *' but we're not ready for that.
95160798Sjhb22	AUE_UMOUNT	STD	{ int unmount(char *path, int flags); }
96160798Sjhb23	AUE_SETUID	STD	{ int setuid(uid_t uid); }
97160798Sjhb24	AUE_GETUID	STD	{ uid_t getuid(void); }
98160798Sjhb25	AUE_GETEUID	STD	{ uid_t geteuid(void); }
99160798Sjhb26	AUE_PTRACE	STD	{ int ptrace(int req, pid_t pid, \
100146806Srwatson				    caddr_t addr, int data); }
101160798Sjhb27	AUE_RECVMSG	STD	{ int recvmsg(int s, struct msghdr *msg, \
102146806Srwatson				    int flags); }
103160798Sjhb28	AUE_SENDMSG	STD	{ int sendmsg(int s, struct msghdr *msg, \
104146806Srwatson				    int flags); }
105160798Sjhb29	AUE_RECVFROM	STD	{ int recvfrom(int s, caddr_t buf, \
106146806Srwatson				    size_t len, int flags, \
107146806Srwatson				    struct sockaddr * __restrict from, \
108146806Srwatson				    __socklen_t * __restrict fromlenaddr); }
109160798Sjhb30	AUE_ACCEPT	STD	{ int accept(int s, \
110146806Srwatson				    struct sockaddr * __restrict name, \
111146806Srwatson				    __socklen_t * __restrict anamelen); }
112160798Sjhb31	AUE_GETPEERNAME	STD	{ int getpeername(int fdes, \
113146806Srwatson				    struct sockaddr * __restrict asa, \
114146806Srwatson				    __socklen_t * __restrict alen); }
115160798Sjhb32	AUE_GETSOCKNAME	STD	{ int getsockname(int fdes, \
116146806Srwatson				    struct sockaddr * __restrict asa, \
117146806Srwatson				    __socklen_t * __restrict alen); }
118160798Sjhb33	AUE_ACCESS	STD	{ int access(char *path, int flags); }
119160798Sjhb34	AUE_CHFLAGS	STD	{ int chflags(char *path, int flags); }
120160798Sjhb35	AUE_FCHFLAGS	STD	{ int fchflags(int fd, int flags); }
121160798Sjhb36	AUE_SYNC	STD	{ int sync(void); }
122160798Sjhb37	AUE_KILL	STD	{ int kill(int pid, int signum); }
123160798Sjhb38	AUE_STAT	COMPAT	{ int stat(char *path, struct ostat *ub); }
124160798Sjhb39	AUE_GETPPID	STD	{ pid_t getppid(void); }
125160798Sjhb40	AUE_LSTAT	COMPAT	{ int lstat(char *path, struct ostat *ub); }
126160798Sjhb41	AUE_DUP		STD	{ int dup(u_int fd); }
127160798Sjhb42	AUE_PIPE	STD	{ int pipe(void); }
128160798Sjhb43	AUE_GETEGID	STD	{ gid_t getegid(void); }
129160798Sjhb44	AUE_PROFILE	STD	{ int profil(caddr_t samples, size_t size, \
130146806Srwatson				    size_t offset, u_int scale); }
131160798Sjhb45	AUE_KTRACE	STD	{ int ktrace(const char *fname, int ops, \
132146806Srwatson				    int facs, int pid); }
133160798Sjhb46	AUE_SIGACTION	COMPAT	{ int sigaction(int signum, \
134146806Srwatson				    struct osigaction *nsa, \
135146806Srwatson				    struct osigaction *osa); }
136160798Sjhb47	AUE_GETGID	STD	{ gid_t getgid(void); }
137160798Sjhb48	AUE_SIGPROCMASK	COMPAT	{ int sigprocmask(int how, osigset_t mask); }
13821776Sbde; XXX note nonstandard (bogus) calling convention - the libc stub passes
13921776Sbde; us the mask, not a pointer to it, and we return the old mask as the
14021776Sbde; (int) return value.
141160798Sjhb49	AUE_GETLOGIN	STD	{ int getlogin(char *namebuf, u_int \
142146806Srwatson				    namelen); }
143160798Sjhb50	AUE_SETLOGIN	STD	{ int setlogin(char *namebuf); }
144160798Sjhb51	AUE_ACCT	STD	{ int acct(char *path); }
145160798Sjhb52	AUE_SIGPENDING	COMPAT	{ int sigpending(void); }
146162373Srwatson53	AUE_SIGALTSTACK	STD	{ int sigaltstack(stack_t *ss, \
147146806Srwatson				    stack_t *oss); }
148160798Sjhb54	AUE_IOCTL	STD	{ int ioctl(int fd, u_long com, \
149146806Srwatson				    caddr_t data); }
150160798Sjhb55	AUE_REBOOT	STD	{ int reboot(int opt); }
151160798Sjhb56	AUE_REVOKE	STD	{ int revoke(char *path); }
152160798Sjhb57	AUE_SYMLINK	STD	{ int symlink(char *path, char *link); }
153176215Sru58	AUE_READLINK	STD	{ ssize_t readlink(char *path, char *buf, \
154176215Sru				    size_t count); }
155160798Sjhb59	AUE_EXECVE	STD	{ int execve(char *fname, char **argv, \
156146806Srwatson				    char **envv); }
157160798Sjhb60	AUE_UMASK	STD	{ int umask(int newmask); } umask umask_args \
158146806Srwatson				    int
159160798Sjhb61	AUE_CHROOT	STD	{ int chroot(char *path); }
160160798Sjhb62	AUE_FSTAT	COMPAT	{ int fstat(int fd, struct ostat *sb); }
161160798Sjhb63	AUE_NULL	COMPAT	{ int getkerninfo(int op, char *where, \
162146806Srwatson				    size_t *size, int arg); } getkerninfo \
163146806Srwatson				    getkerninfo_args int
164162991Srwatson64	AUE_NULL	COMPAT	{ int getpagesize(void); } getpagesize \
165146806Srwatson				    getpagesize_args int
166160798Sjhb65	AUE_MSYNC	STD	{ int msync(void *addr, size_t len, \
167146806Srwatson				    int flags); }
168160798Sjhb66	AUE_VFORK	STD	{ int vfork(void); }
169146806Srwatson67	AUE_NULL	OBSOL	vread
170146806Srwatson68	AUE_NULL	OBSOL	vwrite
171160798Sjhb69	AUE_SBRK	STD	{ int sbrk(int incr); }
172160798Sjhb70	AUE_SSTK	STD	{ int sstk(int incr); }
173160798Sjhb71	AUE_MMAP	COMPAT	{ int mmap(void *addr, int len, int prot, \
174146806Srwatson				    int flags, int fd, long pos); }
175160798Sjhb72	AUE_O_VADVISE	STD	{ int ovadvise(int anom); } vadvise \
176146806Srwatson				    ovadvise_args int
177160798Sjhb73	AUE_MUNMAP	STD	{ int munmap(void *addr, size_t len); }
178160798Sjhb74	AUE_MPROTECT	STD	{ int mprotect(const void *addr, size_t len, \
179146806Srwatson				    int prot); }
180160798Sjhb75	AUE_MADVISE	STD	{ int madvise(void *addr, size_t len, \
181146806Srwatson				    int behav); }
182146806Srwatson76	AUE_NULL	OBSOL	vhangup
183146806Srwatson77	AUE_NULL	OBSOL	vlimit
184160798Sjhb78	AUE_MINCORE	STD	{ int mincore(const void *addr, size_t len, \
185146806Srwatson				    char *vec); }
186160798Sjhb79	AUE_GETGROUPS	STD	{ int getgroups(u_int gidsetsize, \
187146806Srwatson				    gid_t *gidset); }
188160798Sjhb80	AUE_SETGROUPS	STD	{ int setgroups(u_int gidsetsize, \
189146806Srwatson				    gid_t *gidset); }
190160798Sjhb81	AUE_GETPGRP	STD	{ int getpgrp(void); }
191160798Sjhb82	AUE_SETPGRP	STD	{ int setpgid(int pid, int pgid); }
192160798Sjhb83	AUE_SETITIMER	STD	{ int setitimer(u_int which, struct \
193146806Srwatson				    itimerval *itv, struct itimerval *oitv); }
194160798Sjhb84	AUE_WAIT4	COMPAT	{ int wait(void); }
195160798Sjhb85	AUE_SWAPON	STD	{ int swapon(char *name); }
196160798Sjhb86	AUE_GETITIMER	STD	{ int getitimer(u_int which, \
197146806Srwatson				    struct itimerval *itv); }
198160798Sjhb87	AUE_SYSCTL	COMPAT	{ int gethostname(char *hostname, \
199146806Srwatson				    u_int len); } gethostname \
200146806Srwatson				    gethostname_args int
201160798Sjhb88	AUE_SYSCTL	COMPAT	{ int sethostname(char *hostname, \
202146806Srwatson				    u_int len); } sethostname \
203146806Srwatson				    sethostname_args int
204160798Sjhb89	AUE_GETDTABLESIZE	STD	{ int getdtablesize(void); }
205160798Sjhb90	AUE_DUP2	STD	{ int dup2(u_int from, u_int to); }
206146806Srwatson91	AUE_NULL	UNIMPL	getdopt
207160798Sjhb92	AUE_FCNTL	STD	{ int fcntl(int fd, int cmd, long arg); }
208123750Speter; XXX should be	{ int fcntl(int fd, int cmd, ...); }
20912216Sbde; but we're not ready for varargs.
210160798Sjhb93	AUE_SELECT	STD	{ int select(int nd, fd_set *in, fd_set *ou, \
211146806Srwatson				    fd_set *ex, struct timeval *tv); }
212146806Srwatson94	AUE_NULL	UNIMPL	setdopt
213160798Sjhb95	AUE_FSYNC	STD	{ int fsync(int fd); }
214160798Sjhb96	AUE_SETPRIORITY	STD	{ int setpriority(int which, int who, \
215146806Srwatson				    int prio); }
216160798Sjhb97	AUE_SOCKET	STD	{ int socket(int domain, int type, \
217146806Srwatson				    int protocol); }
218160798Sjhb98	AUE_CONNECT	STD	{ int connect(int s, caddr_t name, \
219146806Srwatson				    int namelen); }
220194390Sjhb99	AUE_ACCEPT	COMPAT|NOARGS { int accept(int s, caddr_t name, \
221146806Srwatson				    int *anamelen); } accept accept_args int
222160798Sjhb100	AUE_GETPRIORITY	STD	{ int getpriority(int which, int who); }
223160798Sjhb101	AUE_SEND	COMPAT	{ int send(int s, caddr_t buf, int len, \
224146806Srwatson				    int flags); }
225160798Sjhb102	AUE_RECV	COMPAT	{ int recv(int s, caddr_t buf, int len, \
226146806Srwatson				    int flags); }
227160798Sjhb103	AUE_SIGRETURN	COMPAT	{ int sigreturn( \
228146806Srwatson				    struct osigcontext *sigcntxp); }
229160798Sjhb104	AUE_BIND	STD	{ int bind(int s, caddr_t name, \
230146806Srwatson				    int namelen); }
231160798Sjhb105	AUE_SETSOCKOPT	STD	{ int setsockopt(int s, int level, int name, \
232146806Srwatson				    caddr_t val, int valsize); }
233160798Sjhb106	AUE_LISTEN	STD	{ int listen(int s, int backlog); }
234146806Srwatson107	AUE_NULL	OBSOL	vtimes
235160798Sjhb108	AUE_NULL	COMPAT	{ int sigvec(int signum, struct sigvec *nsv, \
236146806Srwatson				    struct sigvec *osv); }
237160798Sjhb109	AUE_NULL	COMPAT	{ int sigblock(int mask); }
238160798Sjhb110	AUE_NULL	COMPAT	{ int sigsetmask(int mask); }
239160798Sjhb111	AUE_NULL	COMPAT	{ int sigsuspend(osigset_t mask); }
24021776Sbde; XXX note nonstandard (bogus) calling convention - the libc stub passes
24121776Sbde; us the mask, not a pointer to it.
242160798Sjhb112	AUE_NULL	COMPAT	{ int sigstack(struct sigstack *nss, \
243146806Srwatson				    struct sigstack *oss); }
244160798Sjhb113	AUE_RECVMSG	COMPAT	{ int recvmsg(int s, struct omsghdr *msg, \
245146806Srwatson				    int flags); }
246160798Sjhb114	AUE_SENDMSG	COMPAT	{ int sendmsg(int s, caddr_t msg, \
247146806Srwatson				    int flags); }
248146806Srwatson115	AUE_NULL	OBSOL	vtrace
249160798Sjhb116	AUE_GETTIMEOFDAY	STD	{ int gettimeofday(struct timeval *tp, \
250146806Srwatson				    struct timezone *tzp); }
251160798Sjhb117	AUE_GETRUSAGE	STD	{ int getrusage(int who, \
252146806Srwatson				    struct rusage *rusage); }
253160798Sjhb118	AUE_GETSOCKOPT	STD	{ int getsockopt(int s, int level, int name, \
254146806Srwatson				    caddr_t val, int *avalsize); }
255146806Srwatson119	AUE_NULL	UNIMPL	resuba (BSD/OS 2.x)
256160798Sjhb120	AUE_READV	STD	{ int readv(int fd, struct iovec *iovp, \
257146806Srwatson				    u_int iovcnt); }
258160798Sjhb121	AUE_WRITEV	STD	{ int writev(int fd, struct iovec *iovp, \
259146806Srwatson				    u_int iovcnt); }
260160798Sjhb122	AUE_SETTIMEOFDAY	STD	{ int settimeofday(struct timeval *tv, \
261146806Srwatson				    struct timezone *tzp); }
262160798Sjhb123	AUE_FCHOWN	STD	{ int fchown(int fd, int uid, int gid); }
263160798Sjhb124	AUE_FCHMOD	STD	{ int fchmod(int fd, int mode); }
264194390Sjhb125	AUE_RECVFROM	COMPAT|NOARGS { int recvfrom(int s, caddr_t buf, \
265146806Srwatson				    size_t len, int flags, caddr_t from, int \
266146806Srwatson				    *fromlenaddr); } recvfrom recvfrom_args \
267146806Srwatson				    int
268160798Sjhb126	AUE_SETREUID	STD	{ int setreuid(int ruid, int euid); }
269160798Sjhb127	AUE_SETREGID	STD	{ int setregid(int rgid, int egid); }
270160798Sjhb128	AUE_RENAME	STD	{ int rename(char *from, char *to); }
271160798Sjhb129	AUE_TRUNCATE	COMPAT	{ int truncate(char *path, long length); }
272160798Sjhb130	AUE_FTRUNCATE	COMPAT	{ int ftruncate(int fd, long length); }
273160798Sjhb131	AUE_FLOCK	STD	{ int flock(int fd, int how); }
274160798Sjhb132	AUE_MKFIFO	STD	{ int mkfifo(char *path, int mode); }
275160798Sjhb133	AUE_SENDTO	STD	{ int sendto(int s, caddr_t buf, size_t len, \
276146806Srwatson				    int flags, caddr_t to, int tolen); }
277160798Sjhb134	AUE_SHUTDOWN	STD	{ int shutdown(int s, int how); }
278160798Sjhb135	AUE_SOCKETPAIR	STD	{ int socketpair(int domain, int type, \
279146806Srwatson				    int protocol, int *rsv); }
280160798Sjhb136	AUE_MKDIR	STD	{ int mkdir(char *path, int mode); }
281160798Sjhb137	AUE_RMDIR	STD	{ int rmdir(char *path); }
282160798Sjhb138	AUE_UTIMES	STD	{ int utimes(char *path, \
283146806Srwatson				    struct timeval *tptr); }
284146806Srwatson139	AUE_NULL	OBSOL	4.2 sigreturn
285160798Sjhb140	AUE_ADJTIME	STD	{ int adjtime(struct timeval *delta, \
286146806Srwatson				    struct timeval *olddelta); }
287160798Sjhb141	AUE_GETPEERNAME	COMPAT	{ int getpeername(int fdes, caddr_t asa, \
288146806Srwatson				    int *alen); }
289160798Sjhb142	AUE_SYSCTL	COMPAT	{ long gethostid(void); }
290160798Sjhb143	AUE_SYSCTL	COMPAT	{ int sethostid(long hostid); }
291160798Sjhb144	AUE_GETRLIMIT	COMPAT	{ int getrlimit(u_int which, struct \
292146806Srwatson				    orlimit *rlp); }
293160798Sjhb145	AUE_SETRLIMIT	COMPAT	{ int setrlimit(u_int which, \
294146806Srwatson				    struct orlimit *rlp); }
295160798Sjhb146	AUE_KILLPG	COMPAT	{ int killpg(int pgid, int signum); }
296160798Sjhb147	AUE_SETSID	STD	{ int setsid(void); }
297160798Sjhb148	AUE_QUOTACTL	STD	{ int quotactl(char *path, int cmd, int uid, \
298146806Srwatson				    caddr_t arg); }
299160798Sjhb149	AUE_O_QUOTA	COMPAT	{ int quota(void); }
300194390Sjhb150	AUE_GETSOCKNAME	COMPAT|NOARGS { int getsockname(int fdec, \
301146806Srwatson				    caddr_t asa, int *alen); } getsockname \
302146806Srwatson				    getsockname_args int
3031541Srgrimes
3041541Srgrimes; Syscalls 151-180 inclusive are reserved for vendor-specific
3051541Srgrimes; system calls.  (This includes various calls added for compatibity
3061541Srgrimes; with other Unix variants.)
3071541Srgrimes; Some of these calls are now supported by BSD...
308146806Srwatson151	AUE_NULL	UNIMPL	sem_lock (BSD/OS 2.x)
309146806Srwatson152	AUE_NULL	UNIMPL	sem_wakeup (BSD/OS 2.x)
310146806Srwatson153	AUE_NULL	UNIMPL	asyncdaemon (BSD/OS 2.x)
311177633Sdfr; 154 is initialised by the NLM code, if present.
312177633Sdfr154	AUE_NULL	NOSTD	{ int nlm_syscall(int debug_level, int grace_period, int addr_count, char **addrs); }
31330740Sphk; 155 is initialized by the NFS code, if present.
314161325Sjhb155	AUE_NFS_SVC	NOSTD	{ int nfssvc(int flag, caddr_t argp); }
315160798Sjhb156	AUE_GETDIRENTRIES	COMPAT	{ int getdirentries(int fd, char *buf, \
316146806Srwatson				    u_int count, long *basep); }
317160798Sjhb157	AUE_STATFS	COMPAT4	{ int statfs(char *path, \
318146806Srwatson				    struct ostatfs *buf); }
319160798Sjhb158	AUE_FSTATFS	COMPAT4	{ int fstatfs(int fd, \
320146806Srwatson				    struct ostatfs *buf); }
321146806Srwatson159	AUE_NULL	UNIMPL	nosys
322160798Sjhb160	AUE_LGETFH	STD	{ int lgetfh(char *fname, \
323146806Srwatson				    struct fhandle *fhp); }
324160798Sjhb161	AUE_NFS_GETFH	STD	{ int getfh(char *fname, \
325146806Srwatson				    struct fhandle *fhp); }
326184789Sed162	AUE_SYSCTL	COMPAT4	{ int getdomainname(char *domainname, \
327146806Srwatson				    int len); }
328184789Sed163	AUE_SYSCTL	COMPAT4	{ int setdomainname(char *domainname, \
329146806Srwatson				    int len); }
330184789Sed164	AUE_NULL	COMPAT4	{ int uname(struct utsname *name); }
331161952Srwatson165	AUE_SYSARCH	STD	{ int sysarch(int op, char *parms); }
332161952Srwatson166	AUE_RTPRIO	STD	{ int rtprio(int function, pid_t pid, \
333146806Srwatson				    struct rtprio *rtp); }
334146806Srwatson167	AUE_NULL	UNIMPL	nosys
335146806Srwatson168	AUE_NULL	UNIMPL	nosys
336160798Sjhb169	AUE_SEMSYS	NOSTD	{ int semsys(int which, int a2, int a3, \
337146806Srwatson				    int a4, int a5); }
338123750Speter; XXX should be	{ int semsys(int which, ...); }
339160798Sjhb170	AUE_MSGSYS	NOSTD	{ int msgsys(int which, int a2, int a3, \
340146806Srwatson				    int a4, int a5, int a6); }
341123750Speter; XXX should be	{ int msgsys(int which, ...); }
342160798Sjhb171	AUE_SHMSYS	NOSTD	{ int shmsys(int which, int a2, int a3, \
343146806Srwatson				    int a4); }
344123750Speter; XXX should be	{ int shmsys(int which, ...); }
345146806Srwatson172	AUE_NULL	UNIMPL	nosys
346171209Speter173	AUE_PREAD	STD	{ ssize_t freebsd6_pread(int fd, void *buf, \
347146806Srwatson				    size_t nbyte, int pad, off_t offset); }
348171209Speter174	AUE_PWRITE	STD	{ ssize_t freebsd6_pwrite(int fd, \
349171209Speter				    const void *buf, \
350146806Srwatson				    size_t nbyte, int pad, off_t offset); }
351178888Sjulian175	AUE_NULL	STD	{ int setfib(int fibnum); }
352161946Srwatson176	AUE_NTP_ADJTIME	STD	{ int ntp_adjtime(struct timex *tp); }
353146806Srwatson177	AUE_NULL	UNIMPL	sfork (BSD/OS 2.x)
354146806Srwatson178	AUE_NULL	UNIMPL	getdescriptor (BSD/OS 2.x)
355146806Srwatson179	AUE_NULL	UNIMPL	setdescriptor (BSD/OS 2.x)
356146806Srwatson180	AUE_NULL	UNIMPL	nosys
3571541Srgrimes
35849428Sjkh; Syscalls 181-199 are used by/reserved for BSD
359160798Sjhb181	AUE_SETGID	STD	{ int setgid(gid_t gid); }
360160798Sjhb182	AUE_SETEGID	STD	{ int setegid(gid_t egid); }
361160798Sjhb183	AUE_SETEUID	STD	{ int seteuid(uid_t euid); }
362146806Srwatson184	AUE_NULL	UNIMPL	lfs_bmapv
363146806Srwatson185	AUE_NULL	UNIMPL	lfs_markv
364146806Srwatson186	AUE_NULL	UNIMPL	lfs_segclean
365146806Srwatson187	AUE_NULL	UNIMPL	lfs_segwait
366160798Sjhb188	AUE_STAT	STD	{ int stat(char *path, struct stat *ub); }
367160798Sjhb189	AUE_FSTAT	STD	{ int fstat(int fd, struct stat *sb); }
368160798Sjhb190	AUE_LSTAT	STD	{ int lstat(char *path, struct stat *ub); }
369160798Sjhb191	AUE_PATHCONF	STD	{ int pathconf(char *path, int name); }
370160798Sjhb192	AUE_FPATHCONF	STD	{ int fpathconf(int fd, int name); }
371146806Srwatson193	AUE_NULL	UNIMPL	nosys
372160798Sjhb194	AUE_GETRLIMIT	STD	{ int getrlimit(u_int which, \
373146806Srwatson				    struct rlimit *rlp); } getrlimit \
374146806Srwatson				    __getrlimit_args int
375160798Sjhb195	AUE_SETRLIMIT	STD	{ int setrlimit(u_int which, \
376146806Srwatson				    struct rlimit *rlp); } setrlimit \
377146806Srwatson				    __setrlimit_args int
378160798Sjhb196	AUE_GETDIRENTRIES	STD	{ int getdirentries(int fd, char *buf, \
379146806Srwatson				    u_int count, long *basep); }
380171209Speter197	AUE_MMAP	STD	{ caddr_t freebsd6_mmap(caddr_t addr, \
381171209Speter				    size_t len, int prot, int flags, int fd, \
382171209Speter				    int pad, off_t pos); }
383183361Sjhb198	AUE_NULL	NOPROTO	{ int nosys(void); } __syscall \
384146806Srwatson				    __syscall_args int
385171209Speter199	AUE_LSEEK	STD	{ off_t freebsd6_lseek(int fd, int pad, \
386171209Speter				    off_t offset, int whence); }
387171209Speter200	AUE_TRUNCATE	STD	{ int freebsd6_truncate(char *path, int pad, \
388146806Srwatson				    off_t length); }
389171209Speter201	AUE_FTRUNCATE	STD	{ int freebsd6_ftruncate(int fd, int pad, \
390146806Srwatson				    off_t length); }
391160798Sjhb202	AUE_SYSCTL	STD	{ int __sysctl(int *name, u_int namelen, \
392146806Srwatson				    void *old, size_t *oldlenp, void *new, \
393146806Srwatson				    size_t newlen); } __sysctl sysctl_args int
394160798Sjhb203	AUE_MLOCK	STD	{ int mlock(const void *addr, size_t len); }
395160798Sjhb204	AUE_MUNLOCK	STD	{ int munlock(const void *addr, size_t len); }
396160798Sjhb205	AUE_UNDELETE	STD	{ int undelete(char *path); }
397160798Sjhb206	AUE_FUTIMES	STD	{ int futimes(int fd, struct timeval *tptr); }
398160798Sjhb207	AUE_GETPGID	STD	{ int getpgid(pid_t pid); }
399146806Srwatson208	AUE_NULL	UNIMPL	newreboot (NetBSD)
400160798Sjhb209	AUE_POLL	STD	{ int poll(struct pollfd *fds, u_int nfds, \
401146806Srwatson				    int timeout); }
4022124Sdg
4032124Sdg;
4042124Sdg; The following are reserved for loadable syscalls
4052124Sdg;
406209579Skib210	AUE_NULL	NODEF|NOTSTATIC	lkmnosys lkmnosys nosys_args int
407209579Skib211	AUE_NULL	NODEF|NOTSTATIC	lkmnosys lkmnosys nosys_args int
408209579Skib212	AUE_NULL	NODEF|NOTSTATIC	lkmnosys lkmnosys nosys_args int
409209579Skib213	AUE_NULL	NODEF|NOTSTATIC	lkmnosys lkmnosys nosys_args int
410209579Skib214	AUE_NULL	NODEF|NOTSTATIC	lkmnosys lkmnosys nosys_args int
411209579Skib215	AUE_NULL	NODEF|NOTSTATIC	lkmnosys lkmnosys nosys_args int
412209579Skib216	AUE_NULL	NODEF|NOTSTATIC	lkmnosys lkmnosys nosys_args int
413209579Skib217	AUE_NULL	NODEF|NOTSTATIC	lkmnosys lkmnosys nosys_args int
414209579Skib218	AUE_NULL	NODEF|NOTSTATIC	lkmnosys lkmnosys nosys_args int
415209579Skib219	AUE_NULL	NODEF|NOTSTATIC	lkmnosys lkmnosys nosys_args int
41612864Speter
41712864Speter;
41814215Speter; The following were introduced with NetBSD/4.4Lite-2
419194910Sjhb220	AUE_SEMCTL	COMPAT7|NOSTD { int __semctl(int semid, int semnum, \
420194910Sjhb				    int cmd, union semun_old *arg); }
421160798Sjhb221	AUE_SEMGET	NOSTD	{ int semget(key_t key, int nsems, \
422146806Srwatson				    int semflg); }
423160798Sjhb222	AUE_SEMOP	NOSTD	{ int semop(int semid, struct sembuf *sops, \
424146806Srwatson				    size_t nsops); }
425146806Srwatson223	AUE_NULL	UNIMPL	semconfig
426194910Sjhb224	AUE_MSGCTL	COMPAT7|NOSTD { int msgctl(int msqid, int cmd, \
427194910Sjhb				    struct msqid_ds_old *buf); }
428160798Sjhb225	AUE_MSGGET	NOSTD	{ int msgget(key_t key, int msgflg); }
429160798Sjhb226	AUE_MSGSND	NOSTD	{ int msgsnd(int msqid, const void *msgp, \
430146806Srwatson				    size_t msgsz, int msgflg); }
431160798Sjhb227	AUE_MSGRCV	NOSTD	{ int msgrcv(int msqid, void *msgp, \
432146806Srwatson				    size_t msgsz, long msgtyp, int msgflg); }
433160798Sjhb228	AUE_SHMAT	NOSTD	{ int shmat(int shmid, const void *shmaddr, \
434146806Srwatson				    int shmflg); }
435194910Sjhb229	AUE_SHMCTL	COMPAT7|NOSTD { int shmctl(int shmid, int cmd, \
436194910Sjhb				    struct shmid_ds_old *buf); }
437160798Sjhb230	AUE_SHMDT	NOSTD	{ int shmdt(const void *shmaddr); }
438160798Sjhb231	AUE_SHMGET	NOSTD	{ int shmget(key_t key, size_t size, \
439146806Srwatson				    int shmflg); }
44014219Speter;
441160798Sjhb232	AUE_NULL	STD	{ int clock_gettime(clockid_t clock_id, \
442146806Srwatson				    struct timespec *tp); }
443161952Srwatson233	AUE_CLOCK_SETTIME	STD	{ int clock_settime( \
444161952Srwatson				    clockid_t clock_id, \
445146806Srwatson				    const struct timespec *tp); }
446160798Sjhb234	AUE_NULL	STD	{ int clock_getres(clockid_t clock_id, \
447146806Srwatson				    struct timespec *tp); }
448160798Sjhb235	AUE_NULL	STD	{ int ktimer_create(clockid_t clock_id, \
449156134Sdavidxu				    struct sigevent *evp, int *timerid); }
450160798Sjhb236	AUE_NULL	STD	{ int ktimer_delete(int timerid); }
451160798Sjhb237	AUE_NULL	STD	{ int ktimer_settime(int timerid, int flags, \
452151576Sdavidxu				    const struct itimerspec *value, \
453151576Sdavidxu				    struct itimerspec *ovalue); }
454160798Sjhb238	AUE_NULL	STD	{ int ktimer_gettime(int timerid, struct \
455151576Sdavidxu				    itimerspec *value); }
456160798Sjhb239	AUE_NULL	STD	{ int ktimer_getoverrun(int timerid); }
457160798Sjhb240	AUE_NULL	STD	{ int nanosleep(const struct timespec *rqtp, \
458146806Srwatson				    struct timespec *rmtp); }
459146806Srwatson241	AUE_NULL	UNIMPL	nosys
460146806Srwatson242	AUE_NULL	UNIMPL	nosys
461146806Srwatson243	AUE_NULL	UNIMPL	nosys
462146806Srwatson244	AUE_NULL	UNIMPL	nosys
463146806Srwatson245	AUE_NULL	UNIMPL	nosys
464146806Srwatson246	AUE_NULL	UNIMPL	nosys
465146806Srwatson247	AUE_NULL	UNIMPL	nosys
466160798Sjhb248	AUE_NULL	STD	{ int ntp_gettime(struct ntptimeval *ntvp); }
467146806Srwatson249	AUE_NULL	UNIMPL	nosys
46814219Speter; syscall numbers initially used in OpenBSD
469160798Sjhb250	AUE_MINHERIT	STD	{ int minherit(void *addr, size_t len, \
470146806Srwatson				    int inherit); }
471160798Sjhb251	AUE_RFORK	STD	{ int rfork(int flags); }
472160798Sjhb252	AUE_POLL	STD	{ int openbsd_poll(struct pollfd *fds, \
473146806Srwatson				    u_int nfds, int timeout); }
474160798Sjhb253	AUE_ISSETUGID	STD	{ int issetugid(void); }
475160798Sjhb254	AUE_LCHOWN	STD	{ int lchown(char *path, int uid, int gid); }
476160798Sjhb255	AUE_NULL	NOSTD	{ int aio_read(struct aiocb *aiocbp); }
477160798Sjhb256	AUE_NULL	NOSTD	{ int aio_write(struct aiocb *aiocbp); }
478160798Sjhb257	AUE_NULL	NOSTD	{ int lio_listio(int mode, \
479151867Sdavidxu				    struct aiocb * const *acb_list, \
480151867Sdavidxu				    int nent, struct sigevent *sig); }
481152845Sdavidxu258	AUE_NULL	UNIMPL	nosys
482152845Sdavidxu259	AUE_NULL	UNIMPL	nosys
483152845Sdavidxu260	AUE_NULL	UNIMPL	nosys
484152845Sdavidxu261	AUE_NULL	UNIMPL	nosys
485152845Sdavidxu262	AUE_NULL	UNIMPL	nosys
486152845Sdavidxu263	AUE_NULL	UNIMPL	nosys
487146806Srwatson264	AUE_NULL	UNIMPL	nosys
488146806Srwatson265	AUE_NULL	UNIMPL	nosys
489146806Srwatson266	AUE_NULL	UNIMPL	nosys
490146806Srwatson267	AUE_NULL	UNIMPL	nosys
491146806Srwatson268	AUE_NULL	UNIMPL	nosys
492146806Srwatson269	AUE_NULL	UNIMPL	nosys
493146806Srwatson270	AUE_NULL	UNIMPL	nosys
494146806Srwatson271	AUE_NULL	UNIMPL	nosys
495160798Sjhb272	AUE_O_GETDENTS	STD	{ int getdents(int fd, char *buf, \
496146806Srwatson				    size_t count); }
497146806Srwatson273	AUE_NULL	UNIMPL	nosys
498160798Sjhb274	AUE_LCHMOD	STD	{ int lchmod(char *path, mode_t mode); }
499160798Sjhb275	AUE_LCHOWN	NOPROTO	{ int lchown(char *path, uid_t uid, \
500146806Srwatson				    gid_t gid); } netbsd_lchown lchown_args \
501146806Srwatson				    int
502160798Sjhb276	AUE_LUTIMES	STD	{ int lutimes(char *path, \
503146806Srwatson				    struct timeval *tptr); }
504160798Sjhb277	AUE_MSYNC	NOPROTO	{ int msync(void *addr, size_t len, \
505146806Srwatson				    int flags); } netbsd_msync msync_args int
506160798Sjhb278	AUE_STAT	STD	{ int nstat(char *path, struct nstat *ub); }
507160798Sjhb279	AUE_FSTAT	STD	{ int nfstat(int fd, struct nstat *sb); }
508160798Sjhb280	AUE_LSTAT	STD	{ int nlstat(char *path, struct nstat *ub); }
509146806Srwatson281	AUE_NULL	UNIMPL	nosys
510146806Srwatson282	AUE_NULL	UNIMPL	nosys
511146806Srwatson283	AUE_NULL	UNIMPL	nosys
512146806Srwatson284	AUE_NULL	UNIMPL	nosys
513146806Srwatson285	AUE_NULL	UNIMPL	nosys
514146806Srwatson286	AUE_NULL	UNIMPL	nosys
515146806Srwatson287	AUE_NULL	UNIMPL	nosys
516146806Srwatson288	AUE_NULL	UNIMPL	nosys
517147813Sjhb; 289 and 290 from NetBSD (OpenBSD: 267 and 268)
518161952Srwatson289	AUE_PREADV	STD	{ ssize_t preadv(int fd, struct iovec *iovp, \
519147813Sjhb					u_int iovcnt, off_t offset); }
520161952Srwatson290	AUE_PWRITEV	STD	{ ssize_t pwritev(int fd, struct iovec *iovp, \
521147813Sjhb					u_int iovcnt, off_t offset); }
522146806Srwatson291	AUE_NULL	UNIMPL	nosys
523146806Srwatson292	AUE_NULL	UNIMPL	nosys
524146806Srwatson293	AUE_NULL	UNIMPL	nosys
525146806Srwatson294	AUE_NULL	UNIMPL	nosys
526146806Srwatson295	AUE_NULL	UNIMPL	nosys
527146806Srwatson296	AUE_NULL	UNIMPL	nosys
52851138Salfred; XXX 297 is 300 in NetBSD 
529160798Sjhb297	AUE_FHSTATFS	COMPAT4	{ int fhstatfs( \
530146806Srwatson				    const struct fhandle *u_fhp, \
531146806Srwatson				    struct ostatfs *buf); }
532160798Sjhb298	AUE_FHOPEN	STD	{ int fhopen(const struct fhandle *u_fhp, \
533146806Srwatson				    int flags); }
534160798Sjhb299	AUE_FHSTAT	STD	{ int fhstat(const struct fhandle *u_fhp, \
535146806Srwatson				    struct stat *sb); }
53625537Sdfr; syscall numbers for FreeBSD
537160798Sjhb300	AUE_NULL	STD	{ int modnext(int modid); }
538160798Sjhb301	AUE_NULL	STD	{ int modstat(int modid, \
539146806Srwatson				    struct module_stat *stat); }
540160798Sjhb302	AUE_NULL	STD	{ int modfnext(int modid); }
541160798Sjhb303	AUE_NULL	STD	{ int modfind(const char *name); }
542160798Sjhb304	AUE_MODLOAD	STD	{ int kldload(const char *file); }
543160798Sjhb305	AUE_MODUNLOAD	STD	{ int kldunload(int fileid); }
544160798Sjhb306	AUE_NULL	STD	{ int kldfind(const char *file); }
545160798Sjhb307	AUE_NULL	STD	{ int kldnext(int fileid); }
546160798Sjhb308	AUE_NULL	STD	{ int kldstat(int fileid, struct \
547146806Srwatson				    kld_file_stat* stat); }
548160798Sjhb309	AUE_NULL	STD	{ int kldfirstmod(int fileid); }
549160798Sjhb310	AUE_GETSID	STD	{ int getsid(pid_t pid); }
550160798Sjhb311	AUE_SETRESUID	STD	{ int setresuid(uid_t ruid, uid_t euid, \
551146806Srwatson				    uid_t suid); }
552160798Sjhb312	AUE_SETRESGID	STD	{ int setresgid(gid_t rgid, gid_t egid, \
553146806Srwatson				    gid_t sgid); }
554146806Srwatson313	AUE_NULL	OBSOL	signanosleep
555160798Sjhb314	AUE_NULL	NOSTD	{ int aio_return(struct aiocb *aiocbp); }
556160798Sjhb315	AUE_NULL	NOSTD	{ int aio_suspend( \
557146806Srwatson				    struct aiocb * const * aiocbp, int nent, \
558146806Srwatson				    const struct timespec *timeout); }
559160798Sjhb316	AUE_NULL	NOSTD	{ int aio_cancel(int fd, \
560146806Srwatson				    struct aiocb *aiocbp); }
561160798Sjhb317	AUE_NULL	NOSTD	{ int aio_error(struct aiocb *aiocbp); }
562160798Sjhb318	AUE_NULL	NOSTD	{ int oaio_read(struct oaiocb *aiocbp); }
563160798Sjhb319	AUE_NULL	NOSTD	{ int oaio_write(struct oaiocb *aiocbp); }
564160798Sjhb320	AUE_NULL	NOSTD	{ int olio_listio(int mode, \
565151867Sdavidxu				    struct oaiocb * const *acb_list, \
566151867Sdavidxu				    int nent, struct osigevent *sig); }
567160798Sjhb321	AUE_NULL	STD	{ int yield(void); }
568146806Srwatson322	AUE_NULL	OBSOL	thr_sleep
569146806Srwatson323	AUE_NULL	OBSOL	thr_wakeup
570160798Sjhb324	AUE_MLOCKALL	STD	{ int mlockall(int how); }
571160798Sjhb325	AUE_MUNLOCKALL	STD	{ int munlockall(void); }
572161952Srwatson326	AUE_GETCWD	STD	{ int __getcwd(u_char *buf, u_int buflen); }
57334925Sdufault
574160798Sjhb327	AUE_NULL	STD	{ int sched_setparam (pid_t pid, \
575146806Srwatson				    const struct sched_param *param); }
576160798Sjhb328	AUE_NULL	STD	{ int sched_getparam (pid_t pid, struct \
577146806Srwatson				    sched_param *param); }
57834925Sdufault
579160798Sjhb329	AUE_NULL	STD	{ int sched_setscheduler (pid_t pid, int \
580146806Srwatson				    policy, const struct sched_param \
581146806Srwatson				    *param); }
582160798Sjhb330	AUE_NULL	STD	{ int sched_getscheduler (pid_t pid); }
58334925Sdufault
584160798Sjhb331	AUE_NULL	STD	{ int sched_yield (void); }
585160798Sjhb332	AUE_NULL	STD	{ int sched_get_priority_max (int policy); }
586160798Sjhb333	AUE_NULL	STD	{ int sched_get_priority_min (int policy); }
587160798Sjhb334	AUE_NULL	STD	{ int sched_rr_get_interval (pid_t pid, \
588146806Srwatson				    struct timespec *interval); }
589160798Sjhb335	AUE_NULL	STD	{ int utrace(const void *addr, size_t len); }
590160798Sjhb336	AUE_SENDFILE	COMPAT4	{ int sendfile(int fd, int s, \
591146806Srwatson				    off_t offset, size_t nbytes, \
592146806Srwatson				    struct sf_hdtr *hdtr, off_t *sbytes, \
593146806Srwatson				    int flags); }
594160798Sjhb337	AUE_NULL	STD	{ int kldsym(int fileid, int cmd, \
595146806Srwatson				    void *data); }
596160798Sjhb338	AUE_JAIL	STD	{ int jail(struct jail *jail); }
597211998Skib339	AUE_NULL	NOSTD|NOTSTATIC	{ int nnpfs_syscall(int operation, \
598211998Skib				    char *a_pathP, int a_opcode, \
599211998Skib				    void *a_paramsP, int a_followSymlinks); }
600160798Sjhb340	AUE_SIGPROCMASK	STD	{ int sigprocmask(int how, \
601146806Srwatson				    const sigset_t *set, sigset_t *oset); }
602160798Sjhb341	AUE_SIGSUSPEND	STD	{ int sigsuspend(const sigset_t *sigmask); }
603160798Sjhb342	AUE_SIGACTION	COMPAT4	{ int sigaction(int sig, const \
604146806Srwatson				    struct sigaction *act, \
605146806Srwatson				    struct sigaction *oact); }
606160798Sjhb343	AUE_SIGPENDING	STD	{ int sigpending(sigset_t *set); }
607160798Sjhb344	AUE_SIGRETURN	COMPAT4	{ int sigreturn( \
608146806Srwatson				    const struct ucontext4 *sigcntxp); }
609160798Sjhb345	AUE_SIGWAIT	STD	{ int sigtimedwait(const sigset_t *set, \
610146806Srwatson				    siginfo_t *info, \
611146806Srwatson				    const struct timespec *timeout); }
612160798Sjhb346	AUE_NULL	STD	{ int sigwaitinfo(const sigset_t *set, \
613146806Srwatson				    siginfo_t *info); }
614160798Sjhb347	AUE_NULL	STD	{ int __acl_get_file(const char *path, \
615146806Srwatson				    acl_type_t type, struct acl *aclp); }
616160798Sjhb348	AUE_NULL	STD	{ int __acl_set_file(const char *path, \
617146806Srwatson				    acl_type_t type, struct acl *aclp); }
618160798Sjhb349	AUE_NULL	STD	{ int __acl_get_fd(int filedes, \
619146806Srwatson				    acl_type_t type, struct acl *aclp); }
620160798Sjhb350	AUE_NULL	STD	{ int __acl_set_fd(int filedes, \
621146806Srwatson				    acl_type_t type, struct acl *aclp); }
622160798Sjhb351	AUE_NULL	STD	{ int __acl_delete_file(const char *path, \
623146806Srwatson				    acl_type_t type); }
624160798Sjhb352	AUE_NULL	STD	{ int __acl_delete_fd(int filedes, \
625146806Srwatson				    acl_type_t type); }
626160798Sjhb353	AUE_NULL	STD	{ int __acl_aclcheck_file(const char *path, \
627146806Srwatson				    acl_type_t type, struct acl *aclp); }
628160798Sjhb354	AUE_NULL	STD	{ int __acl_aclcheck_fd(int filedes, \
629146806Srwatson				    acl_type_t type, struct acl *aclp); }
630160798Sjhb355	AUE_EXTATTRCTL	STD	{ int extattrctl(const char *path, int cmd, \
631146806Srwatson				    const char *filename, int attrnamespace, \
632146806Srwatson				    const char *attrname); }
633160798Sjhb356	AUE_EXTATTR_SET_FILE	STD	{ int extattr_set_file( \
634160111Swsalamon				    const char *path, int attrnamespace, \
635160111Swsalamon				    const char *attrname, void *data, \
636160111Swsalamon				    size_t nbytes); }
637160798Sjhb357	AUE_EXTATTR_GET_FILE	STD	{ ssize_t extattr_get_file( \
638160111Swsalamon				    const char *path, int attrnamespace, \
639160111Swsalamon				    const char *attrname, void *data, \
640160111Swsalamon				    size_t nbytes); }
641160798Sjhb358	AUE_EXTATTR_DELETE_FILE	STD	{ int extattr_delete_file(const char *path, \
642146806Srwatson				    int attrnamespace, \
643146806Srwatson				    const char *attrname); }
644160798Sjhb359	AUE_NULL	NOSTD	{ int aio_waitcomplete( \
645146806Srwatson				    struct aiocb **aiocbp, \
646146806Srwatson				    struct timespec *timeout); }
647160798Sjhb360	AUE_GETRESUID	STD	{ int getresuid(uid_t *ruid, uid_t *euid, \
648146806Srwatson				    uid_t *suid); }
649160798Sjhb361	AUE_GETRESGID	STD	{ int getresgid(gid_t *rgid, gid_t *egid, \
650146806Srwatson				    gid_t *sgid); }
651161952Srwatson362	AUE_KQUEUE	STD	{ int kqueue(void); }
652160798Sjhb363	AUE_NULL	STD	{ int kevent(int fd, \
653146806Srwatson				    struct kevent *changelist, int nchanges, \
654146806Srwatson				    struct kevent *eventlist, int nevents, \
655146806Srwatson				    const struct timespec *timeout); }
656146806Srwatson364	AUE_NULL	UNIMPL	__cap_get_proc
657146806Srwatson365	AUE_NULL	UNIMPL	__cap_set_proc
658146806Srwatson366	AUE_NULL	UNIMPL	__cap_get_fd
659146806Srwatson367	AUE_NULL	UNIMPL	__cap_get_file
660146806Srwatson368	AUE_NULL	UNIMPL	__cap_set_fd
661146806Srwatson369	AUE_NULL	UNIMPL	__cap_set_file
662183361Sjhb370	AUE_NULL	UNIMPL	nosys
663160798Sjhb371	AUE_EXTATTR_SET_FD	STD	{ int extattr_set_fd(int fd, \
664146806Srwatson				    int attrnamespace, const char *attrname, \
665146806Srwatson				    void *data, size_t nbytes); }
666160798Sjhb372	AUE_EXTATTR_GET_FD	STD	{ ssize_t extattr_get_fd(int fd, \
667146806Srwatson				    int attrnamespace, const char *attrname, \
668146806Srwatson				    void *data, size_t nbytes); }
669160798Sjhb373	AUE_EXTATTR_DELETE_FD	STD	{ int extattr_delete_fd(int fd, \
670146806Srwatson				    int attrnamespace, \
671146806Srwatson				    const char *attrname); }
672160798Sjhb374	AUE_NULL	STD	{ int __setugid(int flag); }
673194383Sjhb375	AUE_NULL	UNIMPL	nfsclnt
674160798Sjhb376	AUE_EACCESS	STD	{ int eaccess(char *path, int flags); }
675211998Skib377	AUE_NULL	NOSTD|NOTSTATIC	{ int afs3_syscall(long syscall, \
676211998Skib				    long parm1, long parm2, long parm3, \
677211998Skib				    long parm4, long parm5, long parm6); }
678160798Sjhb378	AUE_NMOUNT	STD	{ int nmount(struct iovec *iovp, \
679146806Srwatson				    unsigned int iovcnt, int flags); }
680177091Sjeff379	AUE_NULL	UNIMPL	kse_exit
681177091Sjeff380	AUE_NULL	UNIMPL	kse_wakeup
682177091Sjeff381	AUE_NULL	UNIMPL	kse_create
683177091Sjeff382	AUE_NULL	UNIMPL	kse_thr_interrupt
684177091Sjeff383	AUE_NULL	UNIMPL	kse_release
685160798Sjhb384	AUE_NULL	STD	{ int __mac_get_proc(struct mac *mac_p); }
686160798Sjhb385	AUE_NULL	STD	{ int __mac_set_proc(struct mac *mac_p); }
687160798Sjhb386	AUE_NULL	STD	{ int __mac_get_fd(int fd, \
688146806Srwatson				    struct mac *mac_p); }
689160798Sjhb387	AUE_NULL	STD	{ int __mac_get_file(const char *path_p, \
690146806Srwatson				    struct mac *mac_p); }
691160798Sjhb388	AUE_NULL	STD	{ int __mac_set_fd(int fd, \
692146806Srwatson				    struct mac *mac_p); }
693160798Sjhb389	AUE_NULL	STD	{ int __mac_set_file(const char *path_p, \
694146806Srwatson				    struct mac *mac_p); }
695160798Sjhb390	AUE_NULL	STD	{ int kenv(int what, const char *name, \
696146806Srwatson				    char *value, int len); }
697160798Sjhb391	AUE_LCHFLAGS	STD	{ int lchflags(const char *path, int flags); }
698160798Sjhb392	AUE_NULL	STD	{ int uuidgen(struct uuid *store, \
699146806Srwatson				    int count); }
700160798Sjhb393	AUE_SENDFILE	STD	{ int sendfile(int fd, int s, off_t offset, \
701146806Srwatson				    size_t nbytes, struct sf_hdtr *hdtr, \
702146806Srwatson				    off_t *sbytes, int flags); }
703160798Sjhb394	AUE_NULL	STD	{ int mac_syscall(const char *policy, \
704146806Srwatson				    int call, void *arg); }
705160798Sjhb395	AUE_GETFSSTAT	STD	{ int getfsstat(struct statfs *buf, \
706146806Srwatson				    long bufsize, int flags); }
707160798Sjhb396	AUE_STATFS	STD	{ int statfs(char *path, \
708146806Srwatson				    struct statfs *buf); }
709160798Sjhb397	AUE_FSTATFS	STD	{ int fstatfs(int fd, struct statfs *buf); }
710161952Srwatson398	AUE_FHSTATFS	STD	{ int fhstatfs(const struct fhandle *u_fhp, \
711146806Srwatson				    struct statfs *buf); }
712146806Srwatson399	AUE_NULL	UNIMPL	nosys
713160798Sjhb400	AUE_NULL	NOSTD	{ int ksem_close(semid_t id); }
714160798Sjhb401	AUE_NULL	NOSTD	{ int ksem_post(semid_t id); }
715160798Sjhb402	AUE_NULL	NOSTD	{ int ksem_wait(semid_t id); }
716160798Sjhb403	AUE_NULL	NOSTD	{ int ksem_trywait(semid_t id); }
717160798Sjhb404	AUE_NULL	NOSTD	{ int ksem_init(semid_t *idp, \
718146806Srwatson				    unsigned int value); }
719160798Sjhb405	AUE_NULL	NOSTD	{ int ksem_open(semid_t *idp, \
720146806Srwatson				    const char *name, int oflag, \
721146806Srwatson				    mode_t mode, unsigned int value); }
722160798Sjhb406	AUE_NULL	NOSTD	{ int ksem_unlink(const char *name); }
723160798Sjhb407	AUE_NULL	NOSTD	{ int ksem_getvalue(semid_t id, int *val); }
724160798Sjhb408	AUE_NULL	NOSTD	{ int ksem_destroy(semid_t id); }
725160798Sjhb409	AUE_NULL	STD	{ int __mac_get_pid(pid_t pid, \
726146806Srwatson				    struct mac *mac_p); }
727160798Sjhb410	AUE_NULL	STD	{ int __mac_get_link(const char *path_p, \
728146806Srwatson				    struct mac *mac_p); }
729160798Sjhb411	AUE_NULL	STD	{ int __mac_set_link(const char *path_p, \
730146806Srwatson				    struct mac *mac_p); }
731160798Sjhb412	AUE_EXTATTR_SET_LINK	STD	{ int extattr_set_link( \
732160111Swsalamon				    const char *path, int attrnamespace, \
733160111Swsalamon				    const char *attrname, void *data, \
734160111Swsalamon				    size_t nbytes); }
735160798Sjhb413	AUE_EXTATTR_GET_LINK	STD	{ ssize_t extattr_get_link( \
736160111Swsalamon				    const char *path, int attrnamespace, \
737160111Swsalamon				    const char *attrname, void *data, \
738160111Swsalamon				    size_t nbytes); }
739160798Sjhb414	AUE_EXTATTR_DELETE_LINK	STD	{ int extattr_delete_link( \
740160111Swsalamon				    const char *path, int attrnamespace, \
741146806Srwatson				    const char *attrname); }
742160798Sjhb415	AUE_NULL	STD	{ int __mac_execve(char *fname, char **argv, \
743146806Srwatson				    char **envv, struct mac *mac_p); }
744160798Sjhb416	AUE_SIGACTION	STD	{ int sigaction(int sig, \
745146806Srwatson				    const struct sigaction *act, \
746146806Srwatson				    struct sigaction *oact); }
747160798Sjhb417	AUE_SIGRETURN	STD	{ int sigreturn( \
748146806Srwatson				    const struct __ucontext *sigcntxp); }
749146806Srwatson418	AUE_NULL	UNIMPL	__xstat
750146806Srwatson419	AUE_NULL	UNIMPL	__xfstat
751146806Srwatson420	AUE_NULL	UNIMPL	__xlstat
752160798Sjhb421	AUE_NULL	STD	{ int getcontext(struct __ucontext *ucp); }
753160798Sjhb422	AUE_NULL	STD	{ int setcontext( \
754146806Srwatson				    const struct __ucontext *ucp); }
755160798Sjhb423	AUE_NULL	STD	{ int swapcontext(struct __ucontext *oucp, \
756146806Srwatson				    const struct __ucontext *ucp); }
757160798Sjhb424	AUE_SWAPOFF	STD	{ int swapoff(const char *name); }
758160798Sjhb425	AUE_NULL	STD	{ int __acl_get_link(const char *path, \
759146806Srwatson				    acl_type_t type, struct acl *aclp); }
760160798Sjhb426	AUE_NULL	STD	{ int __acl_set_link(const char *path, \
761146806Srwatson				    acl_type_t type, struct acl *aclp); }
762160798Sjhb427	AUE_NULL	STD	{ int __acl_delete_link(const char *path, \
763146806Srwatson				    acl_type_t type); }
764160798Sjhb428	AUE_NULL	STD	{ int __acl_aclcheck_link(const char *path, \
765146806Srwatson				    acl_type_t type, struct acl *aclp); }
766160798Sjhb429	AUE_SIGWAIT	STD	{ int sigwait(const sigset_t *set, \
767146806Srwatson				    int *sig); }
768160798Sjhb430	AUE_NULL	STD	{ int thr_create(ucontext_t *ctx, long *id, \
769146806Srwatson				    int flags); }
770160798Sjhb431	AUE_NULL	STD	{ void thr_exit(long *state); }
771160798Sjhb432	AUE_NULL	STD	{ int thr_self(long *id); }
772160798Sjhb433	AUE_NULL	STD	{ int thr_kill(long id, int sig); }
773160798Sjhb434	AUE_NULL	STD	{ int _umtx_lock(struct umtx *umtx); }
774160798Sjhb435	AUE_NULL	STD	{ int _umtx_unlock(struct umtx *umtx); }
775160798Sjhb436	AUE_NULL	STD	{ int jail_attach(int jid); }
776160798Sjhb437	AUE_EXTATTR_LIST_FD	STD	{ ssize_t extattr_list_fd(int fd, \
777146806Srwatson				    int attrnamespace, void *data, \
778146806Srwatson				    size_t nbytes); }
779160798Sjhb438	AUE_EXTATTR_LIST_FILE	STD	{ ssize_t extattr_list_file( \
780146806Srwatson				    const char *path, int attrnamespace, \
781146806Srwatson				    void *data, size_t nbytes); }
782160798Sjhb439	AUE_EXTATTR_LIST_LINK	STD	{ ssize_t extattr_list_link( \
783146806Srwatson				    const char *path, int attrnamespace, \
784146806Srwatson				    void *data, size_t nbytes); }
785177091Sjeff440	AUE_NULL	UNIMPL	kse_switchin
786160798Sjhb441	AUE_NULL	NOSTD	{ int ksem_timedwait(semid_t id, \
787151445Sstefanf				    const struct timespec *abstime); }
788160798Sjhb442	AUE_NULL	STD	{ int thr_suspend( \
789146806Srwatson				    const struct timespec *timeout); }
790160798Sjhb443	AUE_NULL	STD	{ int thr_wake(long id); }
791161952Srwatson444	AUE_MODUNLOAD	STD	{ int kldunloadf(int fileid, int flags); }
792160798Sjhb445	AUE_AUDIT	STD	{ int audit(const void *record, \
793146806Srwatson				    u_int length); }
794160798Sjhb446	AUE_AUDITON	STD	{ int auditon(int cmd, void *data, \
795146806Srwatson				    u_int length); }
796160798Sjhb447	AUE_GETAUID	STD	{ int getauid(uid_t *auid); }
797160798Sjhb448	AUE_SETAUID	STD	{ int setauid(uid_t *auid); }
798160798Sjhb449	AUE_GETAUDIT	STD	{ int getaudit(struct auditinfo *auditinfo); }
799160798Sjhb450	AUE_SETAUDIT	STD	{ int setaudit(struct auditinfo *auditinfo); }
800160798Sjhb451	AUE_GETAUDIT_ADDR	STD	{ int getaudit_addr( \
801146806Srwatson				    struct auditinfo_addr *auditinfo_addr, \
802146806Srwatson				    u_int length); }
803160798Sjhb452	AUE_SETAUDIT_ADDR	STD	{ int setaudit_addr( \
804146806Srwatson				    struct auditinfo_addr *auditinfo_addr, \
805146806Srwatson				    u_int length); }
806160798Sjhb453	AUE_AUDITCTL	STD	{ int auditctl(char *path); }
807161678Sdavidxu454	AUE_NULL	STD	{ int _umtx_op(void *obj, int op, \
808163449Sdavidxu				    u_long val, void *uaddr1, void *uaddr2); }
809160798Sjhb455	AUE_NULL	STD	{ int thr_new(struct thr_param *param, \
810146806Srwatson				    int param_size); }
811160798Sjhb456	AUE_NULL	STD	{ int sigqueue(pid_t pid, int signum, void *value); }
812160798Sjhb457	AUE_NULL	NOSTD	{ int kmq_open(const char *path, int flags, \
813152845Sdavidxu				    mode_t mode, const struct mq_attr *attr); }
814160798Sjhb458	AUE_NULL	NOSTD	{ int kmq_setattr(int mqd,		\
815152845Sdavidxu				    const struct mq_attr *attr,		\
816152845Sdavidxu				    struct mq_attr *oattr); }
817160798Sjhb459	AUE_NULL	NOSTD	{ int kmq_timedreceive(int mqd,	\
818152845Sdavidxu				    char *msg_ptr, size_t msg_len,	\
819152845Sdavidxu				    unsigned *msg_prio,			\
820152845Sdavidxu				    const struct timespec *abs_timeout); }
821160798Sjhb460	AUE_NULL	NOSTD	{ int kmq_timedsend(int mqd,		\
822152845Sdavidxu				    const char *msg_ptr, size_t msg_len,\
823152845Sdavidxu				    unsigned msg_prio,			\
824152845Sdavidxu				    const struct timespec *abs_timeout);}
825160798Sjhb461	AUE_NULL	NOSTD	{ int kmq_notify(int mqd,		\
826152845Sdavidxu				    const struct sigevent *sigev); }
827160798Sjhb462	AUE_NULL	NOSTD	{ int kmq_unlink(const char *path); }
828160798Sjhb463	AUE_NULL	STD	{ int abort2(const char *why, int nargs, void **args); }
829160798Sjhb464	AUE_NULL	STD	{ int thr_set_name(long id, const char *name); }
830160798Sjhb465	AUE_NULL	NOSTD	{ int aio_fsync(int op, struct aiocb *aiocbp); }
831162497Sdavidxu466	AUE_RTPRIO	STD	{ int rtprio_thread(int function, \
832162497Sdavidxu				    lwpid_t lwpid, struct rtprio *rtp); }
833162497Sdavidxu467	AUE_NULL	UNIMPL	nosys
834162497Sdavidxu468	AUE_NULL	UNIMPL	nosys
835161367Speter469	AUE_NULL	UNIMPL	__getpath_fromfd
836161367Speter470	AUE_NULL	UNIMPL	__getpath_fromaddr
837163953Srrs471	AUE_NULL	STD	{ int sctp_peeloff(int sd, uint32_t name); }
838163953Srrs472     AUE_NULL        STD    { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
839163953Srrs	                            caddr_t to, __socklen_t tolen, \
840163953Srrs				    struct sctp_sndrcvinfo *sinfo, int flags); }
841163953Srrs473     AUE_NULL        STD    { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
842163953Srrs	                            caddr_t to, __socklen_t tolen, \
843163953Srrs				    struct sctp_sndrcvinfo *sinfo, int flags); }
844163953Srrs474     AUE_NULL        STD    { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
845163953Srrs				    struct sockaddr * from, __socklen_t *fromlenaddr, \
846163953Srrs				    struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
847171209Speter475	AUE_PREAD	STD	{ ssize_t pread(int fd, void *buf, \
848171209Speter				    size_t nbyte, off_t offset); }
849171209Speter476	AUE_PWRITE	STD	{ ssize_t pwrite(int fd, const void *buf, \
850171209Speter				    size_t nbyte, off_t offset); }
851171209Speter477	AUE_MMAP	STD	{ caddr_t mmap(caddr_t addr, size_t len, \
852171209Speter				    int prot, int flags, int fd, off_t pos); }
853171209Speter478	AUE_LSEEK	STD	{ off_t lseek(int fd, off_t offset, \
854171209Speter				    int whence); }
855171209Speter479	AUE_TRUNCATE	STD	{ int truncate(char *path, off_t length); }
856171209Speter480	AUE_FTRUNCATE	STD	{ int ftruncate(int fd, off_t length); }
857171859Sdavidxu481	AUE_KILL	STD	{ int thr_kill2(pid_t pid, long id, int sig); }
858175517Srwatson482	AUE_SHMOPEN	STD	{ int shm_open(const char *path, int flags, \
859175164Sjhb				    mode_t mode); }
860175517Srwatson483	AUE_SHMUNLINK	STD	{ int shm_unlink(const char *path); }
861176730Sjeff484	AUE_NULL	STD	{ int cpuset(cpusetid_t *setid); }
862176730Sjeff485	AUE_NULL	STD	{ int cpuset_setid(cpuwhich_t which, id_t id, \
863176730Sjeff				    cpusetid_t setid); }
864176730Sjeff486	AUE_NULL	STD	{ int cpuset_getid(cpulevel_t level, \
865176730Sjeff				    cpuwhich_t which, id_t id, \
866176730Sjeff				    cpusetid_t *setid); }
867176730Sjeff487	AUE_NULL	STD	{ int cpuset_getaffinity(cpulevel_t level, \
868177597Sru				    cpuwhich_t which, id_t id, size_t cpusetsize, \
869177597Sru				    cpuset_t *mask); }
870176730Sjeff488	AUE_NULL	STD	{ int cpuset_setaffinity(cpulevel_t level, \
871177597Sru				    cpuwhich_t which, id_t id, size_t cpusetsize, \
872177597Sru				    const cpuset_t *mask); }
873177788Skib489	AUE_FACCESSAT	STD	{ int faccessat(int fd, char *path, int mode, \
874177788Skib				    int flag); }
875177788Skib490	AUE_FCHMODAT	STD	{ int fchmodat(int fd, char *path, mode_t mode, \
876177788Skib				    int flag); }
877177788Skib491	AUE_FCHOWNAT	STD	{ int fchownat(int fd, char *path, uid_t uid, \
878177788Skib				    gid_t gid, int flag); }
879177788Skib492	AUE_FEXECVE	STD	{ int fexecve(int fd, char **argv, \
880177788Skib				    char **envv); }
881177788Skib493	AUE_FSTATAT	STD	{ int fstatat(int fd, char *path, \
882177788Skib				    struct stat *buf, int flag); }
883177788Skib494	AUE_FUTIMESAT	STD	{ int futimesat(int fd, char *path, \
884177788Skib				    struct timeval *times); }
885177788Skib495	AUE_LINKAT	STD	{ int linkat(int fd1, char *path1, int fd2, \
886177788Skib				    char *path2, int flag); }
887177788Skib496	AUE_MKDIRAT	STD	{ int mkdirat(int fd, char *path, mode_t mode); }
888177788Skib497	AUE_MKFIFOAT	STD	{ int mkfifoat(int fd, char *path, mode_t mode); }
889177788Skib498	AUE_MKNODAT	STD	{ int mknodat(int fd, char *path, mode_t mode, \
890177788Skib				    dev_t dev); }
891177788Skib; XXX: see the comment for open
892177788Skib499	AUE_OPENAT_RWTC	STD	{ int openat(int fd, char *path, int flag, \
893177788Skib				    mode_t mode); }
894177788Skib500	AUE_READLINKAT	STD	{ int readlinkat(int fd, char *path, char *buf, \
895177788Skib				    size_t bufsize); }
896177788Skib501	AUE_RENAMEAT	STD	{ int renameat(int oldfd, char *old, int newfd, \
897177788Skib				     char *new); }
898177788Skib502	AUE_SYMLINKAT	STD	{ int symlinkat(char *path1, int fd, \
899177788Skib				     char *path2); }
900177788Skib503	AUE_UNLINKAT	STD	{ int unlinkat(int fd, char *path, int flag); }
901182123Srwatson504	AUE_POSIX_OPENPT	STD	{ int posix_openpt(int flags); }
902184588Sdfr; 505 is initialised by the kgssapi code, if present.
903184588Sdfr505	AUE_NULL	NOSTD	{ int gssd_syscall(char *path); }
904191673Sjamie506	AUE_NULL	STD	{ int jail_get(struct iovec *iovp, \
905191673Sjamie				    unsigned int iovcnt, int flags); }
906191673Sjamie507	AUE_NULL	STD	{ int jail_set(struct iovec *iovp, \
907191673Sjamie				    unsigned int iovcnt, int flags); }
908191673Sjamie508	AUE_NULL	STD	{ int jail_remove(int jid); }
909194262Sjhb509	AUE_CLOSEFROM	STD	{ int closefrom(int lowfd); }
910194910Sjhb510	AUE_SEMCTL	NOSTD	{ int __semctl(int semid, int semnum, \
911194910Sjhb				    int cmd, union semun *arg); }
912194910Sjhb511	AUE_MSGCTL	NOSTD	{ int msgctl(int msqid, int cmd, \
913194910Sjhb				    struct msqid_ds *buf); }
914194910Sjhb512	AUE_SHMCTL	NOSTD	{ int shmctl(int shmid, int cmd, \
915194910Sjhb				    struct shmid_ds *buf); }
916195458Strasz513	AUE_LPATHCONF	STD	{ int lpathconf(char *path, int name); }
917197636Srwatson514	AUE_CAP_NEW	UNIMPL	cap_new
918197636Srwatson515	AUE_CAP_GETRIGHTS	UNIMPL	cap_getrights
919197636Srwatson516	AUE_CAP_ENTER	UNIMPL	cap_enter
920197636Srwatson517	AUE_CAP_GETMODE	UNIMPL	cap_getmode
921197636Srwatson518	AUE_PDFORK	UNIMPL	pdfork
922197636Srwatson519	AUE_PDKILL	UNIMPL	pdkill
923197636Srwatson520	AUE_PDGETPID	UNIMPL	pdgetpid
924197636Srwatson521	AUE_PDWAIT	UNIMPL	pdwait
925198508Skib522	AUE_SELECT	STD	{ int pselect(int nd, fd_set *in, \
926198508Skib				    fd_set *ou, fd_set *ex, \
927198508Skib				    const struct timespec *ts, \
928198508Skib				    const sigset_t *sm); }
929105144Speter; Please copy any additions and changes to the following compatability tables:
930123408Speter; sys/compat/freebsd32/syscalls.master
931