1 $FreeBSD$
2 ; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
3 ; from: src/sys/kern/syscalls.master 1.107
4 ;
5 ; System call name/number master file.
6 ; Processed to created init_sysent.c, syscalls.c and syscall.h.
7
8 ; Columns: number audit type name alt{name,tag,rtyp}/comments
9 ; number system call number, must be in order
10 ; audit the audit event associated with the system call
11 ; A value of AUE_NULL means no auditing, but it also means that
12 ; there is no audit event for the call at this time. For the
13 ; case where the event exists, but we don't want auditing, the
14 ; event should be #defined to AUE_NULL in audit_kevents.h.
15 ; type one of STD, OBSOL, UNIMPL, COMPAT, COMPAT4, COMPAT6,
16 ; LIBCOMPAT, NODEF, NOARGS, NOPROTO, NOSTD
17 ; The COMPAT* options may be combined with one or more NO*
18 ; options separated by '|' with no spaces (e.g. COMPAT|NOARGS)
19 ; name psuedo-prototype of syscall routine
20 ; If one of the following alts is different, then all appear:
21 ; altname name of system call if different
22 ; alttag name of args struct tag if different from [o]`name'"_args"
23 ; altrtyp return type if not int (bogus - syscalls always return int)
24 ; for UNIMPL/OBSOL, name continues with comments
25
26 ; types:
27 ; STD always included
28 ; COMPAT included on COMPAT #ifdef
29 ; COMPAT4 included on COMPAT4 #ifdef (FreeBSD 4 compat)
30 ; COMPAT6 included on COMPAT6 #ifdef (FreeBSD 6 compat)
31 ; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
32 ; OBSOL obsolete, not included in system, only specifies name
33 ; UNIMPL not implemented, placeholder only
34 ; NOSTD implemented but as a lkm that can be statically
35 ; compiled in; sysent entry will be filled with lkmressys
36 ; so the SYSCALL_MODULE macro works
37 ; NOARGS same as STD except do not create structure in sys/sysproto.h
38 ; NODEF same as STD except only have the entry in the syscall table
39 ; added. Meaning - do not create structure or function
40 ; prototype in sys/sysproto.h
41 ; NOPROTO same as STD except do not create structure or
42 ; function prototype in sys/sysproto.h. Does add a
43 ; definition to syscall.h besides adding a sysent.
44
45 ; #ifdef's, etc. may be included, and are copied to the output files.
46
47 #include <sys/param.h>
48 #include <sys/sysent.h>
49 #include <sys/sysproto.h>
50 #include <sys/mount.h>
51 #include <sys/socket.h>
52 #include <compat/freebsd32/freebsd32.h>
53 #include <compat/freebsd32/freebsd32_proto.h>
54
55 ; Reserved/unimplemented system calls in the range 0-150 inclusive
56 ; are reserved for use in future Berkeley releases.
57 ; Additional system calls implemented in vendor and other
58 ; redistributions should be placed in the reserved range at the end
59 ; of the current calls.
60
61 0 AUE_NULL NOPROTO { int nosys(void); } syscall nosys_args int
62 1 AUE_EXIT NOPROTO { void sys_exit(int rval); } exit \
63 sys_exit_args void
64 2 AUE_FORK NOPROTO { int fork(void); }
65 3 AUE_READ NOPROTO { ssize_t read(int fd, void *buf, \
66 size_t nbyte); }
67 4 AUE_WRITE NOPROTO { ssize_t write(int fd, const void *buf, \
68 size_t nbyte); }
69 5 AUE_OPEN_RWTC NOPROTO { int open(char *path, int flags, \
70 int mode); }
71 6 AUE_CLOSE NOPROTO { int close(int fd); }
72 7 AUE_WAIT4 STD { int freebsd32_wait4(int pid, int *status, \
73 int options, struct rusage32 *rusage); }
74 8 AUE_CREAT OBSOL old creat
75 9 AUE_LINK NOPROTO { int link(char *path, char *link); }
76 10 AUE_UNLINK NOPROTO { int unlink(char *path); }
77 11 AUE_NULL OBSOL execv
78 12 AUE_CHDIR NOPROTO { int chdir(char *path); }
79 13 AUE_FCHDIR NOPROTO { int fchdir(int fd); }
80 14 AUE_MKNOD NOPROTO { int mknod(char *path, int mode, int dev); }
81 15 AUE_CHMOD NOPROTO { int chmod(char *path, int mode); }
82 16 AUE_CHOWN NOPROTO { int chown(char *path, int uid, int gid); }
83 17 AUE_NULL NOPROTO { int obreak(char *nsize); } break \
84 obreak_args int
85 18 AUE_GETFSSTAT COMPAT4 { int freebsd32_getfsstat( \
86 struct statfs32 *buf, long bufsize, \
87 int flags); }
88 19 AUE_LSEEK OBSOL olseek
89 20 AUE_GETPID NOPROTO { pid_t getpid(void); }
90 21 AUE_MOUNT NOPROTO { int mount(char *type, char *path, \
91 int flags, caddr_t data); }
92 22 AUE_UMOUNT NOPROTO { int unmount(char *path, int flags); }
93 23 AUE_SETUID NOPROTO { int setuid(uid_t uid); }
94 24 AUE_GETUID NOPROTO { uid_t getuid(void); }
95 25 AUE_GETEUID NOPROTO { uid_t geteuid(void); }
96 26 AUE_PTRACE NOPROTO { int ptrace(int req, pid_t pid, \
97 caddr_t addr, int data); }
98 27 AUE_RECVMSG STD { int freebsd32_recvmsg(int s, struct msghdr32 *msg, \
99 int flags); }
100 28 AUE_SENDMSG STD { int freebsd32_sendmsg(int s, struct msghdr32 *msg, \
101 int flags); }
102 29 AUE_RECVFROM STD { int freebsd32_recvfrom(int s, u_int32_t buf, \
103 u_int32_t len, int flags, u_int32_t from, \
104 u_int32_t fromlenaddr); }
105 30 AUE_ACCEPT NOPROTO { int accept(int s, caddr_t name, \
106 int *anamelen); }
107 31 AUE_GETPEERNAME NOPROTO { int getpeername(int fdes, caddr_t asa, \
108 int *alen); }
109 32 AUE_GETSOCKNAME NOPROTO { int getsockname(int fdes, caddr_t asa, \
110 int *alen); }
111 33 AUE_ACCESS NOPROTO { int access(char *path, int flags); }
112 34 AUE_CHFLAGS NOPROTO { int chflags(char *path, int flags); }
113 35 AUE_FCHFLAGS NOPROTO { int fchflags(int fd, int flags); }
114 36 AUE_SYNC NOPROTO { int sync(void); }
115 37 AUE_KILL NOPROTO { int kill(int pid, int signum); }
116 38 AUE_STAT UNIMPL ostat
117 39 AUE_GETPPID NOPROTO { pid_t getppid(void); }
118 40 AUE_LSTAT UNIMPL olstat
119 41 AUE_DUP NOPROTO { int dup(u_int fd); }
120 42 AUE_PIPE NOPROTO { int pipe(void); }
121 43 AUE_GETEGID NOPROTO { gid_t getegid(void); }
122 44 AUE_PROFILE NOPROTO { int profil(caddr_t samples, size_t size, \
123 size_t offset, u_int scale); }
124 45 AUE_KTRACE NOPROTO { int ktrace(const char *fname, int ops, \
125 int facs, int pid); }
126 46 AUE_SIGACTION COMPAT { int freebsd32_sigaction( int signum, \
127 struct osigaction32 *nsa, \
128 struct osigaction32 *osa); }
129 47 AUE_GETGID NOPROTO { gid_t getgid(void); }
130 48 AUE_SIGPROCMASK COMPAT { int freebsd32_sigprocmask(int how, \
131 osigset_t mask); }
132 49 AUE_GETLOGIN NOPROTO { int getlogin(char *namebuf, \
133 u_int namelen); }
134 50 AUE_SETLOGIN NOPROTO { int setlogin(char *namebuf); }
135 51 AUE_ACCT NOPROTO { int acct(char *path); }
136 52 AUE_SIGPENDING COMPAT { int freebsd32_sigpending(void); }
137 53 AUE_SIGALTSTACK STD { int freebsd32_sigaltstack( \
138 struct sigaltstack32 *ss, \
139 struct sigaltstack32 *oss); }
140 54 AUE_NULL STD { int freebsd32_ioctl(int fd, uint32_t com, \
141 struct md_ioctl32 *data); }
142 55 AUE_REBOOT NOPROTO { int reboot(int opt); }
143 56 AUE_REVOKE NOPROTO { int revoke(char *path); }
144 57 AUE_SYMLINK NOPROTO { int symlink(char *path, char *link); }
145 58 AUE_READLINK NOPROTO { int readlink(char *path, char *buf, \
146 int count); }
147 59 AUE_EXECVE STD { int freebsd32_execve(char *fname, \
148 u_int32_t *argv, u_int32_t *envv); }
149 60 AUE_UMASK NOPROTO { int umask(int newmask); } umask \
150 umask_args int
151 61 AUE_CHROOT NOPROTO { int chroot(char *path); }
152 62 AUE_FSTAT OBSOL ofstat
153 63 AUE_NULL OBSOL ogetkerninfo
154 64 AUE_NULL OBSOL ogetpagesize
155 65 AUE_MSYNC NOPROTO { int msync(void *addr, size_t len, \
156 int flags); }
157 66 AUE_VFORK NOPROTO { int vfork(void); }
158 67 AUE_NULL OBSOL vread
159 68 AUE_NULL OBSOL vwrite
160 69 AUE_SBRK NOPROTO { int sbrk(int incr); }
161 70 AUE_SSTK NOPROTO { int sstk(int incr); }
162 71 AUE_MMAP OBSOL ommap
163 72 AUE_O_VADVISE NOPROTO { int ovadvise(int anom); } vadvise \
164 ovadvise_args int
165 73 AUE_MUNMAP NOPROTO { int munmap(void *addr, size_t len); }
166 74 AUE_MPROTECT NOPROTO { int mprotect(const void *addr, \
167 size_t len, int prot); }
168 75 AUE_MADVISE NOPROTO { int madvise(void *addr, size_t len, \
169 int behav); }
170 76 AUE_NULL OBSOL vhangup
171 77 AUE_NULL OBSOL vlimit
172 78 AUE_MINCORE NOPROTO { int mincore(const void *addr, size_t len, \
173 char *vec); }
174 79 AUE_GETGROUPS NOPROTO { int getgroups(u_int gidsetsize, \
175 gid_t *gidset); }
176 80 AUE_SETGROUPS NOPROTO { int setgroups(u_int gidsetsize, \
177 gid_t *gidset); }
178 81 AUE_GETPGRP NOPROTO { int getpgrp(void); }
179 82 AUE_SETPGRP NOPROTO { int setpgid(int pid, int pgid); }
180 83 AUE_SETITIMER STD { int freebsd32_setitimer(u_int which, \
181 struct itimerval32 *itv, \
182 struct itimerval32 *oitv); }
183 84 AUE_NULL OBSOL owait
184 ; XXX implement
185 85 AUE_SWAPON NOPROTO { int swapon(char *name); }
186 86 AUE_GETITIMER STD { int freebsd32_getitimer(u_int which, \
187 struct itimerval32 *itv); }
188 87 AUE_O_GETHOSTNAME OBSOL ogethostname
189 88 AUE_O_SETHOSTNAME OBSOL osethostname
190 89 AUE_GETDTABLESIZE NOPROTO { int getdtablesize(void); }
191 90 AUE_DUP2 NOPROTO { int dup2(u_int from, u_int to); }
192 91 AUE_NULL UNIMPL getdopt
193 92 AUE_FCNTL NOPROTO { int fcntl(int fd, int cmd, long arg); }
194 93 AUE_SELECT STD { int freebsd32_select(int nd, fd_set *in, \
195 fd_set *ou, fd_set *ex, \
196 struct timeval32 *tv); }
197 ; XXX need to override for big-endian - little-endian should work fine.
198 94 AUE_NULL UNIMPL setdopt
199 95 AUE_FSYNC NOPROTO { int fsync(int fd); }
200 96 AUE_SETPRIORITY NOPROTO { int setpriority(int which, int who, \
201 int prio); }
202 97 AUE_SOCKET NOPROTO { int socket(int domain, int type, \
203 int protocol); }
204 98 AUE_CONNECT NOPROTO { int connect(int s, caddr_t name, \
205 int namelen); }
206 99 AUE_NULL OBSOL oaccept
207 100 AUE_GETPRIORITY NOPROTO { int getpriority(int which, int who); }
208 101 AUE_NULL OBSOL osend
209 102 AUE_NULL OBSOL orecv
210 103 AUE_NULL OBSOL osigreturn
211 104 AUE_BIND NOPROTO { int bind(int s, caddr_t name, \
212 int namelen); }
213 105 AUE_SETSOCKOPT NOPROTO { int setsockopt(int s, int level, \
214 int name, caddr_t val, int valsize); }
215 106 AUE_LISTEN NOPROTO { int listen(int s, int backlog); }
216 107 AUE_NULL OBSOL vtimes
217 108 AUE_O_SIGVEC COMPAT { int freebsd32_sigvec(int signum, \
218 struct sigvec32 *nsv, \
219 struct sigvec32 *osv); }
220 109 AUE_O_SIGBLOCK COMPAT { int freebsd32_sigblock(int mask); }
221 110 AUE_O_SIGSETMASK COMPAT { int freebsd32_sigsetmask( int mask); }
222 111 AUE_SIGSUSPEND COMPAT { int freebsd32_sigsuspend( int mask); }
223 112 AUE_O_SIGSTACK COMPAT { int freebsd32_sigstack( \
224 struct sigstack32 *nss, \
225 struct sigstack32 *oss); }
226 113 AUE_NULL OBSOL orecvmsg
227 114 AUE_NULL OBSOL osendmsg
228 115 AUE_NULL OBSOL vtrace
229 116 AUE_GETTIMEOFDAY STD { int freebsd32_gettimeofday( \
230 struct timeval32 *tp, \
231 struct timezone *tzp); }
232 117 AUE_GETRUSAGE STD { int freebsd32_getrusage(int who, \
233 struct rusage32 *rusage); }
234 118 AUE_GETSOCKOPT NOPROTO { int getsockopt(int s, int level, \
235 int name, caddr_t val, int *avalsize); }
236 119 AUE_NULL UNIMPL resuba (BSD/OS 2.x)
237 120 AUE_READV STD { int freebsd32_readv(int fd, \
238 struct iovec32 *iovp, u_int iovcnt); }
239 121 AUE_WRITEV STD { int freebsd32_writev(int fd, \
240 struct iovec32 *iovp, u_int iovcnt); }
241 122 AUE_SETTIMEOFDAY STD { int freebsd32_settimeofday( \
242 struct timeval32 *tv, \
243 struct timezone *tzp); }
244 123 AUE_FCHOWN NOPROTO { int fchown(int fd, int uid, int gid); }
245 124 AUE_FCHMOD NOPROTO { int fchmod(int fd, int mode); }
246 125 AUE_RECVFROM OBSOL orecvfrom
247 126 AUE_SETREUID NOPROTO { int setreuid(int ruid, int euid); }
248 127 AUE_SETREGID NOPROTO { int setregid(int rgid, int egid); }
249 128 AUE_RENAME NOPROTO { int rename(char *from, char *to); }
250 129 AUE_TRUNCATE OBSOL otruncate
251 130 AUE_FTRUNCATE OBSOL ftruncate
252 131 AUE_FLOCK NOPROTO { int flock(int fd, int how); }
253 132 AUE_MKFIFO NOPROTO { int mkfifo(char *path, int mode); }
254 133 AUE_SENDTO NOPROTO { int sendto(int s, caddr_t buf, \
255 size_t len, int flags, caddr_t to, \
256 int tolen); }
257 134 AUE_SHUTDOWN NOPROTO { int shutdown(int s, int how); }
258 135 AUE_SOCKETPAIR NOPROTO { int socketpair(int domain, int type, \
259 int protocol, int *rsv); }
260 136 AUE_MKDIR NOPROTO { int mkdir(char *path, int mode); }
261 137 AUE_RMDIR NOPROTO { int rmdir(char *path); }
262 138 AUE_UTIMES STD { int freebsd32_utimes(char *path, \
263 struct timeval32 *tptr); }
264 139 AUE_NULL OBSOL 4.2 sigreturn
265 140 AUE_ADJTIME STD { int freebsd32_adjtime( \
266 struct timeval32 *delta, \
267 struct timeval32 *olddelta); }
268 141 AUE_GETPEERNAME OBSOL ogetpeername
269 142 AUE_SYSCTL OBSOL ogethostid
270 143 AUE_SYSCTL OBSOL sethostid
271 144 AUE_GETRLIMIT OBSOL getrlimit
272 145 AUE_SETRLIMIT OBSOL setrlimit
273 146 AUE_KILLPG OBSOL killpg
274 147 AUE_SETSID NOPROTO { int setsid(void); }
275 148 AUE_QUOTACTL NOPROTO { int quotactl(char *path, int cmd, int uid, \
276 caddr_t arg); }
277 149 AUE_O_QUOTA OBSOL oquota
278 150 AUE_GETSOCKNAME OBSOL ogetsockname
279
280 ; Syscalls 151-180 inclusive are reserved for vendor-specific
281 ; system calls. (This includes various calls added for compatibity
282 ; with other Unix variants.)
283 ; Some of these calls are now supported by BSD...
284 151 AUE_NULL UNIMPL sem_lock (BSD/OS 2.x)
285 152 AUE_NULL UNIMPL sem_wakeup (BSD/OS 2.x)
286 153 AUE_NULL UNIMPL asyncdaemon (BSD/OS 2.x)
287 ; 154 is initialised by the NLM code, if present.
288 154 AUE_NULL UNIMPL nlm_syscall
289 ; 155 is initialized by the NFS code, if present.
290 ; XXX this is a problem!!!
291 155 AUE_NFS_SVC UNIMPL nfssvc
292 156 AUE_GETDIRENTRIES OBSOL ogetdirentries
293 157 AUE_STATFS COMPAT4 { int freebsd32_statfs(char *path, \
294 struct statfs32 *buf); }
295 158 AUE_FSTATFS COMPAT4 { int freebsd32_fstatfs(int fd, \
296 struct statfs32 *buf); }
297 159 AUE_NULL UNIMPL nosys
298 160 AUE_LGETFH UNIMPL lgetfh
299 161 AUE_NFS_GETFH NOPROTO { int getfh(char *fname, \
300 struct fhandle *fhp); }
301 162 AUE_SYSCTL NOPROTO { int getdomainname(char *domainname, \
302 int len); }
303 163 AUE_SYSCTL NOPROTO { int setdomainname(char *domainname, \
304 int len); }
305 164 AUE_NULL NOPROTO { int uname(struct utsname *name); }
306 165 AUE_SYSARCH NOPROTO { int sysarch(int op, char *parms); }
307 166 AUE_RTPRIO NOPROTO { int rtprio(int function, pid_t pid, \
308 struct rtprio *rtp); }
309 167 AUE_NULL UNIMPL nosys
310 168 AUE_NULL UNIMPL nosys
311 169 AUE_SEMSYS STD { int freebsd32_semsys(int which, int a2, \
312 int a3, int a4, int a5); }
313 170 AUE_MSGSYS STD { int freebsd32_msgsys(int which, int a2, \
314 int a3, int a4, int a5, int a6); }
315 171 AUE_SHMSYS STD { int freebsd32_shmsys(uint32_t which, uint32_t a2, \
316 uint32_t a3, uint32_t a4); }
317 172 AUE_NULL UNIMPL nosys
318 173 AUE_PREAD COMPAT6 { ssize_t freebsd32_pread(int fd, void *buf, \
319 size_t nbyte, int pad, \
320 u_int32_t offsetlo, u_int32_t offsethi); }
321 ; XXX note - bigendian is different
322 174 AUE_PWRITE COMPAT6 { ssize_t freebsd32_pwrite(int fd, \
323 const void *buf, size_t nbyte, int pad, \
324 u_int32_t offsetlo, u_int32_t offsethi); }
325 ; XXX note - bigendian is different
326 175 AUE_NULL UNIMPL nosys
327 176 AUE_NTP_ADJTIME NOPROTO { int ntp_adjtime(struct timex *tp); }
328 177 AUE_NULL UNIMPL sfork (BSD/OS 2.x)
329 178 AUE_NULL UNIMPL getdescriptor (BSD/OS 2.x)
330 179 AUE_NULL UNIMPL setdescriptor (BSD/OS 2.x)
331 180 AUE_NULL UNIMPL nosys
332
333 ; Syscalls 181-199 are used by/reserved for BSD
334 181 AUE_SETGID NOPROTO { int setgid(gid_t gid); }
335 182 AUE_SETEGID NOPROTO { int setegid(gid_t egid); }
336 183 AUE_SETEUID NOPROTO { int seteuid(uid_t euid); }
337 184 AUE_NULL UNIMPL lfs_bmapv
338 185 AUE_NULL UNIMPL lfs_markv
339 186 AUE_NULL UNIMPL lfs_segclean
340 187 AUE_NULL UNIMPL lfs_segwait
341 188 AUE_STAT STD { int freebsd32_stat(char *path, \
342 struct stat32 *ub); }
343 189 AUE_FSTAT STD { int freebsd32_fstat(int fd, \
344 struct stat32 *ub); }
345 190 AUE_LSTAT STD { int freebsd32_lstat(char *path, \
346 struct stat32 *ub); }
347 191 AUE_PATHCONF NOPROTO { int pathconf(char *path, int name); }
348 192 AUE_FPATHCONF NOPROTO { int fpathconf(int fd, int name); }
349 193 AUE_NULL UNIMPL nosys
350 194 AUE_GETRLIMIT NOPROTO { int getrlimit(u_int which, \
351 struct rlimit *rlp); } getrlimit \
352 __getrlimit_args int
353 195 AUE_SETRLIMIT NOPROTO { int setrlimit(u_int which, \
354 struct rlimit *rlp); } setrlimit \
355 __setrlimit_args int
356 196 AUE_GETDIRENTRIES STD { int freebsd32_getdirentries(int fd, \
357 char *buf, u_int count, int32_t *basep); }
358 197 AUE_MMAP COMPAT6 { caddr_t freebsd32_mmap(caddr_t addr, \
359 size_t len, int prot, int flags, int fd, \
360 int pad, u_int32_t poslo, \
361 u_int32_t poshi); }
362 198 AUE_NULL NOPROTO { int nosys(void); } __syscall \
363 __syscall_args int
364 ; XXX note - bigendian is different
365 199 AUE_LSEEK COMPAT6 { off_t freebsd32_lseek(int fd, int pad, \
366 u_int32_t offsetlo, u_int32_t offsethi, \
367 int whence); }
368 ; XXX note - bigendian is different
369 200 AUE_TRUNCATE COMPAT6 { int freebsd32_truncate(char *path, \
370 int pad, u_int32_t lengthlo, \
371 u_int32_t lengthhi); }
372 ; XXX note - bigendian is different
373 201 AUE_FTRUNCATE COMPAT6 { int freebsd32_ftruncate(int fd, int pad, \
374 u_int32_t lengthlo, u_int32_t lengthhi); }
375 202 AUE_SYSCTL STD { int freebsd32_sysctl(int *name, \
376 u_int namelen, void *old, \
377 u_int32_t *oldlenp, void *new, \
378 u_int32_t newlen); }
379 203 AUE_MLOCK NOPROTO { int mlock(const void *addr, \
380 size_t len); }
381 204 AUE_MUNLOCK NOPROTO { int munlock(const void *addr, \
382 size_t len); }
383 205 AUE_UNDELETE NOPROTO { int undelete(char *path); }
384 206 AUE_FUTIMES STD { int freebsd32_futimes(int fd, \
385 struct timeval32 *tptr); }
386 207 AUE_GETPGID NOPROTO { int getpgid(pid_t pid); }
387 208 AUE_NULL UNIMPL newreboot (NetBSD)
388 209 AUE_POLL NOPROTO { int poll(struct pollfd *fds, u_int nfds, \
389 int timeout); }
390
391 ;
392 ; The following are reserved for loadable syscalls
393 ;
394 210 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
395 211 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
396 212 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
397 213 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
398 214 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
399 215 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
400 216 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
401 217 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
402 218 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
403 219 AUE_NULL NODEF lkmnosys lkmnosys nosys_args int
404
405 ;
406 ; The following were introduced with NetBSD/4.4Lite-2
407 ; They are initialized by thier respective modules/sysinits
408 ; XXX PROBLEM!!
409 220 AUE_SEMCTL STD { int freebsd7_freebsd32_semctl(int semid, \
410 int semnum, int cmd, union semun32 *arg); }
411 221 AUE_SEMGET NOPROTO { int semget(key_t key, int nsems, \
412 int semflg); }
413 222 AUE_SEMOP NOPROTO { int semop(int semid, struct sembuf *sops, \
414 u_int nsops); }
415 223 AUE_NULL UNIMPL semconfig
416 224 AUE_MSGCTL STD { int freebsd7_freebsd32_msgctl(int msqid, \
417 int cmd, struct msqid_ds32_old *buf); }
418 225 AUE_MSGGET NOPROTO { int msgget(key_t key, int msgflg); }
419 226 AUE_MSGSND STD { int freebsd32_msgsnd(int msqid, void *msgp, \
420 size_t msgsz, int msgflg); }
421 227 AUE_MSGRCV STD { int freebsd32_msgrcv(int msqid, void *msgp, \
422 size_t msgsz, long msgtyp, int msgflg); }
423 228 AUE_SHMAT NOPROTO { int shmat(int shmid, void *shmaddr, \
424 int shmflg); }
425 229 AUE_SHMCTL STD { int freebsd7_freebsd32_shmctl(int shmid, \
426 int cmd, struct shmid_ds32_old *buf); }
427 230 AUE_SHMDT NOPROTO { int shmdt(void *shmaddr); }
428 231 AUE_SHMGET NOPROTO { int shmget(key_t key, int size, \
429 int shmflg); }
430 ;
431 232 AUE_NULL STD { int freebsd32_clock_gettime(clockid_t clock_id, \
432 struct timespec32 *tp); }
433 233 AUE_CLOCK_SETTIME STD { int freebsd32_clock_settime(clockid_t clock_id, \
434 const struct timespec32 *tp); }
435 234 AUE_NULL STD { int freebsd32_clock_getres(clockid_t clock_id, \
436 struct timespec32 *tp); }
437 235 AUE_NULL UNIMPL timer_create
438 236 AUE_NULL UNIMPL timer_delete
439 237 AUE_NULL UNIMPL timer_settime
440 238 AUE_NULL UNIMPL timer_gettime
441 239 AUE_NULL UNIMPL timer_getoverrun
442 240 AUE_NULL STD { int freebsd32_nanosleep( \
443 const struct timespec32 *rqtp, \
444 struct timespec32 *rmtp); }
445 241 AUE_NULL UNIMPL nosys
446 242 AUE_NULL UNIMPL nosys
447 243 AUE_NULL UNIMPL nosys
448 244 AUE_NULL UNIMPL nosys
449 245 AUE_NULL UNIMPL nosys
450 246 AUE_NULL UNIMPL nosys
451 247 AUE_NULL UNIMPL nosys
452 248 AUE_NULL UNIMPL ntp_gettime
453 249 AUE_NULL UNIMPL nosys
454 ; syscall numbers initially used in OpenBSD
455 250 AUE_MINHERIT NOPROTO { int minherit(void *addr, size_t len, \
456 int inherit); }
457 251 AUE_RFORK NOPROTO { int rfork(int flags); }
458 252 AUE_POLL NOPROTO { int openbsd_poll(struct pollfd *fds, \
459 u_int nfds, int timeout); }
460 253 AUE_ISSETUGID NOPROTO { int issetugid(void); }
461 254 AUE_LCHOWN NOPROTO { int lchown(char *path, int uid, int gid); }
462 255 AUE_NULL NOSTD { int freebsd32_aio_read( \
463 struct aiocb32 *aiocbp); }
464 256 AUE_NULL NOSTD { int freebsd32_aio_write( \
465 struct aiocb32 *aiocbp); }
466 257 AUE_NULL NOSTD { int freebsd32_lio_listio(int mode, \
467 struct aiocb32 * const *acb_list, \
468 int nent, struct sigevent *sig); }
469 258 AUE_NULL UNIMPL nosys
470 259 AUE_NULL UNIMPL nosys
471 260 AUE_NULL UNIMPL nosys
472 261 AUE_NULL UNIMPL nosys
473 262 AUE_NULL UNIMPL nosys
474 263 AUE_NULL UNIMPL nosys
475 264 AUE_NULL UNIMPL nosys
476 265 AUE_NULL UNIMPL nosys
477 266 AUE_NULL UNIMPL nosys
478 267 AUE_NULL UNIMPL nosys
479 268 AUE_NULL UNIMPL nosys
480 269 AUE_NULL UNIMPL nosys
481 270 AUE_NULL UNIMPL nosys
482 271 AUE_NULL UNIMPL nosys
483 272 AUE_O_GETDENTS NOPROTO { int getdents(int fd, char *buf, \
484 size_t count); }
485 273 AUE_NULL UNIMPL nosys
486 274 AUE_LCHMOD NOPROTO { int lchmod(char *path, mode_t mode); }
487 275 AUE_LCHOWN NOPROTO { int lchown(char *path, uid_t uid, \
488 gid_t gid); } netbsd_lchown \
489 lchown_args int
490 276 AUE_LUTIMES STD { int freebsd32_lutimes(char *path, \
491 struct timeval32 *tptr); }
492 277 AUE_MSYNC NOPROTO { int msync(void *addr, size_t len, \
493 int flags); } netbsd_msync msync_args int
494 278 AUE_STAT NOPROTO { int nstat(char *path, struct nstat *ub); }
495 279 AUE_FSTAT NOPROTO { int nfstat(int fd, struct nstat *sb); }
496 280 AUE_LSTAT NOPROTO { int nlstat(char *path, struct nstat *ub); }
497 281 AUE_NULL UNIMPL nosys
498 282 AUE_NULL UNIMPL nosys
499 283 AUE_NULL UNIMPL nosys
500 284 AUE_NULL UNIMPL nosys
501 285 AUE_NULL UNIMPL nosys
502 286 AUE_NULL UNIMPL nosys
503 287 AUE_NULL UNIMPL nosys
504 288 AUE_NULL UNIMPL nosys
505 ; 289 and 290 from NetBSD (OpenBSD: 267 and 268)
506 289 AUE_PREADV STD { ssize_t freebsd32_preadv(int fd, \
507 struct iovec32 *iovp, \
508 u_int iovcnt, off_t offset); }
509 ; XXX note - bigendian is different
510 290 AUE_PWRITEV STD { ssize_t freebsd32_pwritev(int fd, \
511 struct iovec32 *iovp, \
512 u_int iovcnt, off_t offset); }
513 ; XXX note - bigendian is different
514 291 AUE_NULL UNIMPL nosys
515 292 AUE_NULL UNIMPL nosys
516 293 AUE_NULL UNIMPL nosys
517 294 AUE_NULL UNIMPL nosys
518 295 AUE_NULL UNIMPL nosys
519 296 AUE_NULL UNIMPL nosys
520 ; XXX 297 is 300 in NetBSD
521 297 AUE_FHSTATFS COMPAT4 { int freebsd32_fhstatfs( \
522 const struct fhandle *u_fhp, \
523 struct statfs32 *buf); }
524 298 AUE_FHOPEN NOPROTO { int fhopen(const struct fhandle *u_fhp, \
525 int flags); }
526 299 AUE_FHSTAT NOPROTO { int fhstat(const struct fhandle *u_fhp, \
527 struct stat *sb); }
528 ; syscall numbers for FreeBSD
529 300 AUE_NULL NOPROTO { int modnext(int modid); }
530 301 AUE_NULL STD { int freebsd32_modstat(int modid, \
531 struct module_stat32* stat); }
532 302 AUE_NULL NOPROTO { int modfnext(int modid); }
533 303 AUE_NULL NOPROTO { int modfind(const char *name); }
534 304 AUE_MODLOAD NOPROTO { int kldload(const char *file); }
535 305 AUE_MODUNLOAD NOPROTO { int kldunload(int fileid); }
536 306 AUE_NULL NOPROTO { int kldfind(const char *file); }
537 307 AUE_NULL NOPROTO { int kldnext(int fileid); }
538 308 AUE_NULL NOPROTO { int kldstat(int fileid, \
539 struct kld_file_stat* stat); }
540 309 AUE_NULL NOPROTO { int kldfirstmod(int fileid); }
541 310 AUE_GETSID NOPROTO { int getsid(pid_t pid); }
542 311 AUE_SETRESUID NOPROTO { int setresuid(uid_t ruid, uid_t euid, \
543 uid_t suid); }
544 312 AUE_SETRESGID NOPROTO { int setresgid(gid_t rgid, gid_t egid, \
545 gid_t sgid); }
546 313 AUE_NULL OBSOL signanosleep
547 314 AUE_NULL NOSTD { int freebsd32_aio_return( \
548 struct aiocb32 *aiocbp); }
549 315 AUE_NULL NOSTD { int freebsd32_aio_suspend( \
550 struct aiocb32 * const * aiocbp, int nent, \
551 const struct timespec32 *timeout); }
552 316 AUE_NULL NOSTD { int freebsd32_aio_cancel(int fd, \
553 struct aiocb32 *aiocbp); }
554 317 AUE_NULL NOSTD { int freebsd32_aio_error( \
555 struct aiocb32 *aiocbp); }
556 318 AUE_NULL NOSTD { int freebsd32_oaio_read( \
557 struct oaiocb32 *aiocbp); }
558 319 AUE_NULL NOSTD { int freebsd32_oaio_write( \
559 struct oaiocb32 *aiocbp); }
560 320 AUE_NULL NOSTD { int freebsd32_olio_listio(int mode, \
561 struct oaiocb32 * const *acb_list, \
562 int nent, struct osigevent32 *sig); }
563 321 AUE_NULL NOPROTO { int yield(void); }
564 322 AUE_NULL OBSOL thr_sleep
565 323 AUE_NULL OBSOL thr_wakeup
566 324 AUE_MLOCKALL NOPROTO { int mlockall(int how); }
567 325 AUE_MUNLOCKALL NOPROTO { int munlockall(void); }
568 326 AUE_GETCWD NOPROTO { int __getcwd(u_char *buf, u_int buflen); }
569
570 327 AUE_NULL NOPROTO { int sched_setparam (pid_t pid, \
571 const struct sched_param *param); }
572 328 AUE_NULL NOPROTO { int sched_getparam (pid_t pid, \
573 struct sched_param *param); }
574
575 329 AUE_NULL NOPROTO { int sched_setscheduler (pid_t pid, \
576 int policy, \
577 const struct sched_param *param); }
578 330 AUE_NULL NOPROTO { int sched_getscheduler (pid_t pid); }
579
580 331 AUE_NULL NOPROTO { int sched_yield (void); }
581 332 AUE_NULL NOPROTO { int sched_get_priority_max (int policy); }
582 333 AUE_NULL NOPROTO { int sched_get_priority_min (int policy); }
583 334 AUE_NULL NOPROTO { int sched_rr_get_interval (pid_t pid, \
584 struct timespec *interval); }
585 335 AUE_NULL NOPROTO { int utrace(const void *addr, size_t len); }
586 ; XXX note - bigendian is different
587 336 AUE_SENDFILE COMPAT4 { int freebsd32_sendfile(int fd, int s, \
588 u_int32_t offsetlo, u_int32_t offsethi, \
589 size_t nbytes, struct sf_hdtr32 *hdtr, \
590 off_t *sbytes, int flags); }
591 337 AUE_NULL NOPROTO { int kldsym(int fileid, int cmd, \
592 void *data); }
593 338 AUE_JAIL STD { int freebsd32_jail(struct jail32 *jail); }
594 339 AUE_NULL UNIMPL pioctl
595 340 AUE_SIGPROCMASK NOPROTO { int sigprocmask(int how, \
596 const sigset_t *set, sigset_t *oset); }
597 341 AUE_SIGSUSPEND NOPROTO { int sigsuspend(const sigset_t *sigmask); }
598 342 AUE_SIGACTION COMPAT4 { int freebsd32_sigaction(int sig, \
599 struct sigaction32 *act, \
600 struct sigaction32 *oact); }
601 343 AUE_SIGPENDING NOPROTO { int sigpending(sigset_t *set); }
602 344 AUE_SIGRETURN COMPAT4 { int freebsd32_sigreturn( \
603 const struct freebsd4_freebsd32_ucontext *sigcntxp); }
604 345 AUE_SIGWAIT STD { int freebsd32_sigtimedwait(const sigset_t *set, \
605 siginfo_t *info, \
606 const struct timespec *timeout); }
607 346 AUE_NULL STD { int freebsd32_sigwaitinfo(const sigset_t *set, \
608 siginfo_t *info); }
609 347 AUE_NULL NOPROTO { int __acl_get_file(const char *path, \
610 acl_type_t type, struct acl *aclp); }
611 348 AUE_NULL NOPROTO { int __acl_set_file(const char *path, \
612 acl_type_t type, struct acl *aclp); }
613 349 AUE_NULL NOPROTO { int __acl_get_fd(int filedes, \
614 acl_type_t type, struct acl *aclp); }
615 350 AUE_NULL NOPROTO { int __acl_set_fd(int filedes, \
616 acl_type_t type, struct acl *aclp); }
617 351 AUE_NULL NOPROTO { int __acl_delete_file(const char *path, \
618 acl_type_t type); }
619 352 AUE_NULL NOPROTO { int __acl_delete_fd(int filedes, \
620 acl_type_t type); }
621 353 AUE_NULL NOPROTO { int __acl_aclcheck_file(const char *path, \
622 acl_type_t type, struct acl *aclp); }
623 354 AUE_NULL NOPROTO { int __acl_aclcheck_fd(int filedes, \
624 acl_type_t type, struct acl *aclp); }
625 355 AUE_EXTATTRCTL NOPROTO { int extattrctl(const char *path, int cmd, \
626 const char *filename, int attrnamespace, \
627 const char *attrname); }
628 356 AUE_EXTATTR_SET_FILE NOPROTO { int extattr_set_file( \
629 const char *path, int attrnamespace, \
630 const char *attrname, void *data, \
631 size_t nbytes); }
632 357 AUE_EXTATTR_GET_FILE NOPROTO { ssize_t extattr_get_file( \
633 const char *path, int attrnamespace, \
634 const char *attrname, void *data, \
635 size_t nbytes); }
636 358 AUE_EXTATTR_DELETE_FILE NOPROTO { int extattr_delete_file( \
637 const char *path, int attrnamespace, \
638 const char *attrname); }
639 359 AUE_NULL NOSTD { int freebsd32_aio_waitcomplete( \
640 struct aiocb32 **aiocbp, \
641 struct timespec32 *timeout); }
642 360 AUE_GETRESUID NOPROTO { int getresuid(uid_t *ruid, uid_t *euid, \
643 uid_t *suid); }
644 361 AUE_GETRESGID NOPROTO { int getresgid(gid_t *rgid, gid_t *egid, \
645 gid_t *sgid); }
646 362 AUE_KQUEUE NOPROTO { int kqueue(void); }
647 363 AUE_NULL STD { int freebsd32_kevent(int fd, \
648 const struct kevent32 *changelist, \
649 int nchanges, \
650 struct kevent32 *eventlist, int nevents, \
651 const struct timespec32 *timeout); }
652 364 AUE_NULL UNIMPL __cap_get_proc
653 365 AUE_NULL UNIMPL __cap_set_proc
654 366 AUE_NULL UNIMPL __cap_get_fd
655 367 AUE_NULL UNIMPL __cap_get_file
656 368 AUE_NULL UNIMPL __cap_set_fd
657 369 AUE_NULL UNIMPL __cap_set_file
658 370 AUE_NULL UNIMPL nosys
659 371 AUE_EXTATTR_SET_FD NOPROTO { int extattr_set_fd(int fd, \
660 int attrnamespace, const char *attrname, \
661 void *data, size_t nbytes); }
662 372 AUE_EXTATTR_GET_FD NOPROTO { ssize_t extattr_get_fd(int fd, \
663 int attrnamespace, const char *attrname, \
664 void *data, size_t nbytes); }
665 373 AUE_EXTATTR_DELETE_FD NOPROTO { int extattr_delete_fd(int fd, \
666 int attrnamespace, \
667 const char *attrname); }
668 374 AUE_NULL NOPROTO { int __setugid(int flag); }
669 375 AUE_NULL UNIMPL nfsclnt
670 376 AUE_EACCESS NOPROTO { int eaccess(char *path, int flags); }
671 377 AUE_NULL UNIMPL afs_syscall
672 378 AUE_NMOUNT STD { int freebsd32_nmount(struct iovec32 *iovp, \
673 unsigned int iovcnt, int flags); }
674 379 AUE_NULL NOPROTO { int kse_exit(void); }
675 380 AUE_NULL NOPROTO { int kse_wakeup(struct kse_mailbox *mbx); }
676 381 AUE_NULL NOPROTO { int kse_create(struct kse_mailbox *mbx, \
677 int newgroup); }
678 382 AUE_NULL NOPROTO { int kse_thr_interrupt( \
679 struct kse_thr_mailbox *tmbx); }
680 383 AUE_NULL NOPROTO { int kse_release(void); }
681 384 AUE_NULL UNIMPL __mac_get_proc
682 385 AUE_NULL UNIMPL __mac_set_proc
683 386 AUE_NULL UNIMPL __mac_get_fd
684 387 AUE_NULL UNIMPL __mac_get_file
685 388 AUE_NULL UNIMPL __mac_set_fd
686 389 AUE_NULL UNIMPL __mac_set_file
687 390 AUE_NULL NOPROTO { int kenv(int what, const char *name, \
688 char *value, int len); }
689 391 AUE_LCHFLAGS NOPROTO { int lchflags(const char *path, int flags); }
690 392 AUE_NULL NOPROTO { int uuidgen(struct uuid *store, \
691 int count); }
692 393 AUE_SENDFILE STD { int freebsd32_sendfile(int fd, int s, \
693 u_int32_t offsetlo, u_int32_t offsethi, \
694 size_t nbytes, struct sf_hdtr32 *hdtr, \
695 off_t *sbytes, int flags); }
696 394 AUE_NULL UNIMPL mac_syscall
697 395 AUE_GETFSSTAT NOPROTO { int getfsstat(struct statfs *buf, \
698 long bufsize, int flags); }
699 396 AUE_STATFS NOPROTO { int statfs(char *path, \
700 struct statfs *buf); }
701 397 AUE_FSTATFS NOPROTO { int fstatfs(int fd, struct statfs *buf); }
702 398 AUE_FHSTATFS NOPROTO { int fhstatfs(const struct fhandle *u_fhp, \
703 struct statfs *buf); }
704 399 AUE_NULL UNIMPL nosys
705 ; XXX implement these?
706 400 AUE_NULL UNIMPL ksem_close
707 401 AUE_NULL UNIMPL ksem_post
708 402 AUE_NULL UNIMPL ksem_wait
709 403 AUE_NULL UNIMPL ksem_trywait
710 404 AUE_NULL UNIMPL ksem_init
711 405 AUE_NULL UNIMPL ksem_open
712 406 AUE_NULL UNIMPL ksem_unlink
713 407 AUE_NULL UNIMPL ksem_getvalue
714 408 AUE_NULL UNIMPL ksem_destroy
715 409 AUE_NULL UNIMPL __mac_get_pid
716 410 AUE_NULL UNIMPL __mac_get_link
717 411 AUE_NULL UNIMPL __mac_set_link
718 412 AUE_EXTATTR_SET_LINK NOPROTO { int extattr_set_link( \
719 const char *path, int attrnamespace, \
720 const char *attrname, void *data, \
721 size_t nbytes); }
722 413 AUE_EXTATTR_GET_LINK NOPROTO { ssize_t extattr_get_link( \
723 const char *path, int attrnamespace, \
724 const char *attrname, void *data, \
725 size_t nbytes); }
726 414 AUE_EXTATTR_DELETE_LINK NOPROTO { int extattr_delete_link( \
727 const char *path, int attrnamespace, \
728 const char *attrname); }
729 415 AUE_NULL UNIMPL __mac_execve
730 416 AUE_SIGACTION STD { int freebsd32_sigaction(int sig, \
731 struct sigaction32 *act, \
732 struct sigaction32 *oact); }
733 417 AUE_SIGRETURN STD { int freebsd32_sigreturn( \
734 const struct freebsd32_ucontext *sigcntxp); }
735 418 AUE_NULL UNIMPL __xstat
736 419 AUE_NULL UNIMPL __xfstat
737 420 AUE_NULL UNIMPL __xlstat
738 421 AUE_NULL STD { int freebsd32_getcontext( \
739 struct freebsd32_ucontext *ucp); }
740 422 AUE_NULL STD { int freebsd32_setcontext( \
741 const struct freebsd32_ucontext *ucp); }
742 423 AUE_NULL STD { int freebsd32_swapcontext( \
743 struct freebsd32_ucontext *oucp, \
744 const struct freebsd32_ucontext *ucp); }
745 424 AUE_SWAPOFF UNIMPL swapoff
746 425 AUE_NULL UNIMPL __acl_get_link
747 426 AUE_NULL UNIMPL __acl_set_link
748 427 AUE_NULL UNIMPL __acl_delete_link
749 428 AUE_NULL UNIMPL __acl_aclcheck_link
750 429 AUE_SIGWAIT NOPROTO { int sigwait(const sigset_t *set, \
751 int *sig); }
752 430 AUE_NULL UNIMPL thr_create;
753 431 AUE_NULL NOPROTO { void thr_exit(long *state); }
754 432 AUE_NULL NOPROTO { int thr_self(long *id); }
755 433 AUE_NULL NOPROTO { int thr_kill(long id, int sig); }
756 434 AUE_NULL STD { int freebsd32_umtx_lock(struct umtx *umtx); }
757 435 AUE_NULL STD { int freebsd32_umtx_unlock(struct umtx *umtx); }
758 436 AUE_NULL NOPROTO { int jail_attach(int jid); }
759 437 AUE_EXTATTR_LIST_FD NOPROTO { ssize_t extattr_list_fd(int fd, \
760 int attrnamespace, void *data, \
761 size_t nbytes); }
762 438 AUE_EXTATTR_LIST_FILE NOPROTO { ssize_t extattr_list_file( \
763 const char *path, int attrnamespace, \
764 void *data, size_t nbytes); }
765 439 AUE_EXTATTR_LIST_LINK NOPROTO { ssize_t extattr_list_link( \
766 const char *path, int attrnamespace, \
767 void *data, size_t nbytes); }
768 440 AUE_NULL UNIMPL kse_switchin
769 441 AUE_NULL UNIMPL ksem_timedwait
770 442 AUE_NULL STD { int freebsd32_thr_suspend( \
771 const struct timespec32 *timeout); }
772 443 AUE_NULL NOPROTO { int thr_wake(long id); }
773 444 AUE_MODUNLOAD NOPROTO { int kldunloadf(int fileid, int flags); }
774 445 AUE_AUDIT NOPROTO { int audit(const void *record, \
775 u_int length); }
776 446 AUE_AUDITON NOPROTO { int auditon(int cmd, void *data, \
777 u_int length); }
778 447 AUE_GETAUID NOPROTO { int getauid(uid_t *auid); }
779 448 AUE_SETAUID NOPROTO { int setauid(uid_t *auid); }
780 449 AUE_GETAUDIT NOPROTO { int getaudit(struct auditinfo *auditinfo); }
781 450 AUE_SETAUDIT NOPROTO { int setaudit(struct auditinfo *auditinfo); }
782 451 AUE_GETAUDIT_ADDR NOPROTO { int getaudit_addr( \
783 struct auditinfo_addr *auditinfo_addr, \
784 u_int length); }
785 452 AUE_SETAUDIT_ADDR NOPROTO { int setaudit_addr( \
786 struct auditinfo_addr *auditinfo_addr, \
787 u_int length); }
788 453 AUE_AUDITCTL NOPROTO { int auditctl(char *path); }
789 454 AUE_NULL STD { int freebsd32_umtx_op(void *obj, int op,\
790 u_long val, void *uaddr, \
791 void *uaddr2); }
792 455 AUE_NULL STD { int freebsd32_thr_new( \
793 struct thr_param32 *param, \
794 int param_size); }
795 456 AUE_NULL NOPROTO { int sigqueue(pid_t pid, int signum, \
796 void *value); }
797 457 AUE_NULL UNIMPL kmq_open
798 458 AUE_NULL UNIMPL kmq_setattr
799 459 AUE_NULL UNIMPL kmq_timedreceive
800 460 AUE_NULL UNIMPL kmq_timedsend
801 461 AUE_NULL UNIMPL kmq_notify
802 462 AUE_NULL UNIMPL kmq_unlink
803 463 AUE_NULL NOPROTO { int abort2(const char *why, int nargs, void **args); }
804 464 AUE_NULL NOPROTO { int thr_set_name(long id, const char *name); }
805 465 AUE_NULL NOSTD { int freebsd32_aio_fsync(int op, \
806 struct aiocb32 *aiocbp); }
807 466 AUE_RTPRIO NOPROTO { int rtprio_thread(int function, \
808 lwpid_t lwpid, struct rtprio *rtp); }
809 467 AUE_NULL UNIMPL nosys
810 468 AUE_NULL UNIMPL nosys
811 469 AUE_NULL UNIMPL __getpath_fromfd
812 470 AUE_NULL UNIMPL __getpath_fromaddr
813 471 AUE_NULL NOPROTO { int sctp_peeloff(int sd, uint32_t name); }
814 472 AUE_NULL NOPROTO { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
815 caddr_t to, __socklen_t tolen, \
816 struct sctp_sndrcvinfo *sinfo, int flags); }
817 473 AUE_NULL NOPROTO { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
818 caddr_t to, __socklen_t tolen, \
819 struct sctp_sndrcvinfo *sinfo, int flags); }
820 474 AUE_NULL NOPROTO { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
821 struct sockaddr * from, __socklen_t *fromlenaddr, \
822 struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
823 475 AUE_PREAD STD { ssize_t freebsd32_pread(int fd, \
824 void *buf,size_t nbyte, \
825 u_int32_t offsetlo, u_int32_t offsethi); }
826 476 AUE_PWRITE STD { ssize_t freebsd32_pwrite(int fd, \
827 const void *buf, size_t nbyte, \
828 u_int32_t offsetlo, u_int32_t offsethi); }
829 477 AUE_MMAP STD { caddr_t freebsd32_mmap(caddr_t addr, \
830 size_t len, int prot, int flags, int fd, \
831 u_int32_t poslo, u_int32_t poshi); }
832 478 AUE_LSEEK STD { off_t freebsd32_lseek(int fd, \
833 u_int32_t offsetlo, u_int32_t offsethi, \
834 int whence); }
835 479 AUE_TRUNCATE STD { int freebsd32_truncate(char *path, \
836 u_int32_t lengthlo, u_int32_t lengthhi); }
837 480 AUE_FTRUNCATE STD { int freebsd32_ftruncate(int fd, \
838 u_int32_t lengthlo, u_int32_t lengthhi); }
839 481 AUE_KILL NOPROTO { int thr_kill2(pid_t pid, long id, int sig); }
840 482 AUE_NULL UNIMPL shm_open
841 483 AUE_NULL UNIMPL shm_unlink
842 484 AUE_NULL NOPROTO { int cpuset(cpusetid_t *setid); }
843 485 AUE_NULL STD { int freebsd32_cpuset_setid(cpuwhich_t which, \
844 uint32_t idlo, uint32_t idhi, \
845 cpusetid_t setid); }
846 486 AUE_NULL STD { int freebsd32_cpuset_getid(cpulevel_t level, \
847 cpuwhich_t which, \
848 uint32_t idlo, uint32_t idhi, \
849 cpusetid_t *setid); }
850 487 AUE_NULL STD { int freebsd32_cpuset_getaffinity( \
851 cpulevel_t level, cpuwhich_t which, \
852 uint32_t idlo, uint32_t idhi, \
853 size_t cpusetsize, \
854 cpuset_t *mask); }
855 488 AUE_NULL STD { int freebsd32_cpuset_setaffinity( \
856 cpulevel_t level, cpuwhich_t which, \
857 uint32_t idlo, uint32_t idhi, \
858 size_t cpusetsize, \
859 const cpuset_t *mask); }
860 489 AUE_NULL UNIMPL faccessat
861 490 AUE_NULL UNIMPL fchmodat
862 491 AUE_NULL UNIMPL fchownat
863 492 AUE_NULL UNIMPL freebsd32_fexecve
864 493 AUE_NULL UNIMPL freebsd32_fstatat
865 494 AUE_NULL UNIMPL freebsd32_futimesat
866 495 AUE_NULL UNIMPL linkat
867 496 AUE_NULL UNIMPL mkdirat
868 497 AUE_NULL UNIMPL mkfifoat
869 498 AUE_NULL UNIMPL mknodat
870 499 AUE_NULL UNIMPL openat
871 500 AUE_NULL UNIMPL readlinkat
872 501 AUE_NULL UNIMPL renameat
873 502 AUE_NULL UNIMPL symlinkat
874 503 AUE_NULL UNIMPL unlinkat
875 504 AUE_NULL UNIMPL posix_openpt
876 505 AUE_NULL UNIMPL gssd_syscall
877 506 AUE_NULL UNIMPL freebsd32_jail_get
878 507 AUE_NULL UNIMPL freebsd32_jail_set
879 508 AUE_NULL UNIMPL jail_remove
880 509 AUE_CLOSEFROM NOPROTO { int closefrom(int lowfd); }
881 510 AUE_SEMCTL STD { int freebsd32_semctl(int semid, int semnum, \
882 int cmd, union semun32 *arg); }
883 511 AUE_MSGCTL STD { int freebsd32_msgctl(int msqid, int cmd, \
884 struct msqid_ds32 *buf); }
885 512 AUE_SHMCTL STD { int freebsd32_shmctl(int shmid, int cmd, \
886 struct shmid_ds32 *buf); }
Cache object: 302fcda486e963a96301d9e4baf17d74
|