[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/compat/freebsd32/syscalls.master

Version: -  FREEBSD  -  FREEBSD7  -  FREEBSD71  -  FREEBSD70  -  FREEBSD6  -  FREEBSD64  -  FREEBSD63  -  FREEBSD62  -  FREEBSD61  -  FREEBSD60  -  FREEBSD5  -  FREEBSD55  -  FREEBSD54  -  FREEBSD53  -  FREEBSD52  -  FREEBSD51  -  FREEBSD50  -  FREEBSD4  -  FREEBSD3  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  OPENSOLARIS  -  minix-3-1-1  -  TRUSTEDBSD-SEBSD  -  FREEBSD-LIBC  -  FREEBSD7-LIBC  -  FREEBSD6-LIBC  -  GLIBC27 
SearchContext: -  none  -  excerpts  -  bigexcerpts 

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

Cache object: 32fd9143e99bb84a0f231e2d083f0aeb


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.