The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ 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  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  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  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1  $FreeBSD: stable/12/sys/compat/freebsd32/syscalls.master 368540 2020-12-11 00:37:51Z kib $
    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 ;               COMPAT7, COMPAT11, 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    pseudo-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 COMPAT_FREEBSD4 #ifdef (FreeBSD 4 compat)
   30 ;       COMPAT6 included on COMPAT_FREEBSD6 #ifdef (FreeBSD 6 compat)
   31 ;       COMPAT7 included on COMPAT_FREEBSD7 #ifdef (FreeBSD 7 compat)
   32 ;       COMPAT10 included on COMPAT_FREEBSD10 #ifdef (FreeBSD 10 compat)
   33 ;       COMPAT11 included on COMPAT_FREEBSD11 #ifdef (FreeBSD 11 compat)
   34 ;       OBSOL   obsolete, not included in system, only specifies name
   35 ;       UNIMPL  not implemented, placeholder only
   36 ;       NOSTD   implemented but as a lkm that can be statically
   37 ;               compiled in; sysent entry will be filled with lkmressys
   38 ;               so the SYSCALL_MODULE macro works
   39 ;       NOARGS  same as STD except do not create structure in sys/sysproto.h
   40 ;       NODEF   same as STD except only have the entry in the syscall table
   41 ;               added.  Meaning - do not create structure or function
   42 ;               prototype in sys/sysproto.h
   43 ;       NOPROTO same as STD except do not create structure or
   44 ;               function prototype in sys/sysproto.h.  Does add a
   45 ;               definition to syscall.h besides adding a sysent.
   46 
   47 ; #ifdef's, etc. may be included, and are copied to the output files.
   48 
   49 #include <sys/param.h>
   50 #include <sys/sysent.h>
   51 #include <sys/sysproto.h>
   52 #include <sys/mount.h>
   53 #include <sys/socket.h>
   54 #include <compat/freebsd32/freebsd32.h>
   55 #include <compat/freebsd32/freebsd32_proto.h>
   56 
   57 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
   58 #define PAD64_REQUIRED
   59 #endif
   60 
   61 ; Reserved/unimplemented system calls in the range 0-150 inclusive
   62 ; are reserved for use in future Berkeley releases.
   63 ; Additional system calls implemented in vendor and other
   64 ; redistributions should be placed in the reserved range at the end
   65 ; of the current calls.
   66 
   67 0       AUE_NULL        NOPROTO { int nosys(void); } syscall nosys_args int
   68 1       AUE_EXIT        NOPROTO { void sys_exit(int rval); } exit \
   69                                     sys_exit_args void
   70 2       AUE_FORK        NOPROTO { int fork(void); }
   71 3       AUE_READ        NOPROTO { ssize_t read(int fd, void *buf, \
   72                                     size_t nbyte); }
   73 4       AUE_WRITE       NOPROTO { ssize_t write(int fd, const void *buf, \
   74                                     size_t nbyte); }
   75 5       AUE_OPEN_RWTC   NOPROTO { int open(char *path, int flags, \
   76                                     int mode); }
   77 6       AUE_CLOSE       NOPROTO { int close(int fd); }
   78 7       AUE_WAIT4       STD     { int freebsd32_wait4(int pid, int *status, \
   79                                     int options, struct rusage32 *rusage); }
   80 8       AUE_CREAT       OBSOL   old creat
   81 9       AUE_LINK        NOPROTO { int link(char *path, char *link); }
   82 10      AUE_UNLINK      NOPROTO { int unlink(char *path); }
   83 11      AUE_NULL        OBSOL   execv
   84 12      AUE_CHDIR       NOPROTO { int chdir(char *path); }
   85 13      AUE_FCHDIR      NOPROTO { int fchdir(int fd); }
   86 14      AUE_MKNOD       COMPAT11|NOPROTO { int mknod(char *path, \
   87                                     int mode, uint32_t dev); }
   88 15      AUE_CHMOD       NOPROTO { int chmod(char *path, int mode); }
   89 16      AUE_CHOWN       NOPROTO { int chown(char *path, int uid, int gid); }
   90 17      AUE_NULL        NOPROTO { caddr_t break(char *nsize); }
   91 18      AUE_GETFSSTAT   COMPAT4 { int freebsd32_getfsstat( \
   92                                     struct statfs32 *buf, long bufsize, \
   93                                     int mode); }
   94 19      AUE_LSEEK       COMPAT  { int freebsd32_lseek(int fd, int offset, \
   95                                     int whence); }
   96 20      AUE_GETPID      NOPROTO { pid_t getpid(void); }
   97 21      AUE_MOUNT       NOPROTO { int mount(char *type, char *path, \
   98                                     int flags, caddr_t data); }
   99 22      AUE_UMOUNT      NOPROTO { int unmount(char *path, int flags); }
  100 23      AUE_SETUID      NOPROTO { int setuid(uid_t uid); }
  101 24      AUE_GETUID      NOPROTO { uid_t getuid(void); }
  102 25      AUE_GETEUID     NOPROTO { uid_t geteuid(void); }
  103 26      AUE_PTRACE      NOPROTO { int ptrace(int req, pid_t pid, \
  104                                     caddr_t addr, int data); }
  105 27      AUE_RECVMSG     STD     { int freebsd32_recvmsg(int s, struct msghdr32 *msg, \
  106                                     int flags); }
  107 28      AUE_SENDMSG     STD     { int freebsd32_sendmsg(int s, struct msghdr32 *msg, \
  108                                     int flags); }
  109 29      AUE_RECVFROM    STD     { int freebsd32_recvfrom(int s, uint32_t buf, \
  110                                     uint32_t len, int flags, uint32_t from, \
  111                                     uint32_t fromlenaddr); }
  112 30      AUE_ACCEPT      NOPROTO { int accept(int s, caddr_t name, \
  113                                     int *anamelen); }
  114 31      AUE_GETPEERNAME NOPROTO { int getpeername(int fdes, caddr_t asa, \
  115                                     int *alen); }
  116 32      AUE_GETSOCKNAME NOPROTO { int getsockname(int fdes, caddr_t asa, \
  117                                     int *alen); }
  118 33      AUE_ACCESS      NOPROTO { int access(char *path, int amode); }
  119 34      AUE_CHFLAGS     NOPROTO { int chflags(const char *path, u_long flags); }
  120 35      AUE_FCHFLAGS    NOPROTO { int fchflags(int fd, u_long flags); }
  121 36      AUE_SYNC        NOPROTO { int sync(void); }
  122 37      AUE_KILL        NOPROTO { int kill(int pid, int signum); }
  123 38      AUE_STAT        COMPAT  { int freebsd32_stat(char *path, \
  124                                     struct ostat32 *ub); }
  125 39      AUE_GETPPID     NOPROTO { pid_t getppid(void); }
  126 40      AUE_LSTAT       COMPAT  { int freebsd32_lstat(char *path, \
  127                                     struct ostat *ub); }
  128 41      AUE_DUP         NOPROTO { int dup(u_int fd); }
  129 42      AUE_PIPE        COMPAT10        { int freebsd32_pipe(void); }
  130 43      AUE_GETEGID     NOPROTO { gid_t getegid(void); }
  131 44      AUE_PROFILE     NOPROTO { int profil(caddr_t samples, size_t size, \
  132                                     size_t offset, u_int scale); }
  133 45      AUE_KTRACE      NOPROTO { int ktrace(const char *fname, int ops, \
  134                                     int facs, int pid); }
  135 46      AUE_SIGACTION   COMPAT  { int freebsd32_sigaction( int signum, \
  136                                    struct osigaction32 *nsa, \
  137                                    struct osigaction32 *osa); }
  138 47      AUE_GETGID      NOPROTO { gid_t getgid(void); }
  139 48      AUE_SIGPROCMASK COMPAT  { int freebsd32_sigprocmask(int how, \
  140                                    osigset_t mask); }
  141 49      AUE_GETLOGIN    NOPROTO { int getlogin(char *namebuf, \
  142                                     u_int namelen); }
  143 50      AUE_SETLOGIN    NOPROTO { int setlogin(char *namebuf); }
  144 51      AUE_ACCT        NOPROTO { int acct(char *path); }
  145 52      AUE_SIGPENDING  COMPAT  { int freebsd32_sigpending(void); }
  146 53      AUE_SIGALTSTACK STD     { int freebsd32_sigaltstack( \
  147                                     struct sigaltstack32 *ss, \
  148                                     struct sigaltstack32 *oss); }
  149 54      AUE_IOCTL       STD     { int freebsd32_ioctl(int fd, uint32_t com, \
  150                                     struct md_ioctl32 *data); }
  151 55      AUE_REBOOT      NOPROTO { int reboot(int opt); }
  152 56      AUE_REVOKE      NOPROTO { int revoke(char *path); }
  153 57      AUE_SYMLINK     NOPROTO { int symlink(char *path, char *link); }
  154 58      AUE_READLINK    NOPROTO { ssize_t readlink(char *path, char *buf, \
  155                                     size_t count); }
  156 59      AUE_EXECVE      STD     { int freebsd32_execve(char *fname, \
  157                                     uint32_t *argv, uint32_t *envv); }
  158 60      AUE_UMASK       NOPROTO { int umask(int newmask); }
  159 61      AUE_CHROOT      NOPROTO { int chroot(char *path); }
  160 62      AUE_FSTAT       COMPAT  { int freebsd32_fstat(int fd, \
  161                                     struct ostat32 *ub); }
  162 63      AUE_NULL        OBSOL   ogetkerninfo
  163 64      AUE_NULL        COMPAT  { int freebsd32_getpagesize( \
  164                                     int32_t dummy); }
  165 65      AUE_MSYNC       NOPROTO { int msync(void *addr, size_t len, \
  166                                     int flags); }
  167 66      AUE_VFORK       NOPROTO { int vfork(void); }
  168 67      AUE_NULL        OBSOL   vread
  169 68      AUE_NULL        OBSOL   vwrite
  170 69      AUE_SBRK        NOPROTO { int sbrk(int incr); }
  171 70      AUE_SSTK        NOPROTO { int sstk(int incr); }
  172 71      AUE_MMAP        COMPAT|NOPROTO  { int mmap(void *addr, int len, \
  173                                     int prot, int flags, int fd, int pos); }
  174 72      AUE_O_VADVISE   COMPAT11|NOPROTO        { int vadvise(int anom); }
  175 73      AUE_MUNMAP      NOPROTO { int munmap(void *addr, size_t len); }
  176 74      AUE_MPROTECT    STD     { int freebsd32_mprotect(void *addr, \
  177                                     size_t len, int prot); }
  178 75      AUE_MADVISE     NOPROTO { int madvise(void *addr, size_t len, \
  179                                     int behav); }
  180 76      AUE_NULL        OBSOL   vhangup
  181 77      AUE_NULL        OBSOL   vlimit
  182 78      AUE_MINCORE     NOPROTO { int mincore(const void *addr, size_t len, \
  183                                     char *vec); }
  184 79      AUE_GETGROUPS   NOPROTO { int getgroups(u_int gidsetsize, \
  185                                     gid_t *gidset); }
  186 80      AUE_SETGROUPS   NOPROTO { int setgroups(u_int gidsetsize, \
  187                                     gid_t *gidset); }
  188 81      AUE_GETPGRP     NOPROTO { int getpgrp(void); }
  189 82      AUE_SETPGRP     NOPROTO { int setpgid(int pid, int pgid); }
  190 83      AUE_SETITIMER   STD     { int freebsd32_setitimer(u_int which, \
  191                                     struct itimerval32 *itv, \
  192                                     struct itimerval32 *oitv); }
  193 84      AUE_NULL        OBSOL   owait
  194 ; XXX implement
  195 85      AUE_SWAPON      NOPROTO { int swapon(char *name); }
  196 86      AUE_GETITIMER   STD     { int freebsd32_getitimer(u_int which, \
  197                                     struct itimerval32 *itv); }
  198 87      AUE_O_GETHOSTNAME       OBSOL   ogethostname
  199 88      AUE_O_SETHOSTNAME       OBSOL   osethostname
  200 89      AUE_GETDTABLESIZE       NOPROTO { int getdtablesize(void); }
  201 90      AUE_DUP2        NOPROTO { int dup2(u_int from, u_int to); }
  202 91      AUE_NULL        UNIMPL  getdopt
  203 92      AUE_FCNTL       STD     { int freebsd32_fcntl(int fd, int cmd, \
  204                                     int arg); }
  205 93      AUE_SELECT      STD     { int freebsd32_select(int nd, fd_set *in, \
  206                                     fd_set *ou, fd_set *ex, \
  207                                     struct timeval32 *tv); }
  208 94      AUE_NULL        UNIMPL  setdopt
  209 95      AUE_FSYNC       NOPROTO { int fsync(int fd); }
  210 96      AUE_SETPRIORITY NOPROTO { int setpriority(int which, int who, \
  211                                     int prio); }
  212 97      AUE_SOCKET      NOPROTO { int socket(int domain, int type, \
  213                                     int protocol); }
  214 98      AUE_CONNECT     NOPROTO { int connect(int s, caddr_t name, \
  215                                     int namelen); }
  216 99      AUE_NULL        OBSOL   oaccept
  217 100     AUE_GETPRIORITY NOPROTO { int getpriority(int which, int who); }
  218 101     AUE_NULL        OBSOL   osend
  219 102     AUE_NULL        OBSOL   orecv
  220 103     AUE_SIGRETURN   COMPAT  { int freebsd32_sigreturn( \
  221                                     struct ia32_sigcontext3 *sigcntxp); }
  222 104     AUE_BIND        NOPROTO { int bind(int s, caddr_t name, \
  223                                     int namelen); }
  224 105     AUE_SETSOCKOPT  NOPROTO { int setsockopt(int s, int level, \
  225                                     int name, caddr_t val, int valsize); }
  226 106     AUE_LISTEN      NOPROTO { int listen(int s, int backlog); }
  227 107     AUE_NULL        OBSOL   vtimes
  228 108     AUE_O_SIGVEC    COMPAT  { int freebsd32_sigvec(int signum, \
  229                                      struct sigvec32 *nsv, \
  230                                      struct sigvec32 *osv); }
  231 109     AUE_O_SIGBLOCK  COMPAT  { int freebsd32_sigblock(int mask); }
  232 110     AUE_O_SIGSETMASK        COMPAT  { int freebsd32_sigsetmask( int mask); }
  233 111     AUE_SIGSUSPEND  COMPAT  { int freebsd32_sigsuspend( int mask); }
  234 112     AUE_O_SIGSTACK  COMPAT  { int freebsd32_sigstack( \
  235                                      struct sigstack32 *nss, \
  236                                      struct sigstack32 *oss); }
  237 113     AUE_NULL        OBSOL   orecvmsg
  238 114     AUE_NULL        OBSOL   osendmsg
  239 115     AUE_NULL        OBSOL   vtrace
  240 116     AUE_GETTIMEOFDAY        STD     { int freebsd32_gettimeofday( \
  241                                     struct timeval32 *tp, \
  242                                     struct timezone *tzp); }
  243 117     AUE_GETRUSAGE   STD     { int freebsd32_getrusage(int who, \
  244                                     struct rusage32 *rusage); }
  245 118     AUE_GETSOCKOPT  NOPROTO { int getsockopt(int s, int level, \
  246                                     int name, caddr_t val, int *avalsize); }
  247 119     AUE_NULL        UNIMPL  resuba (BSD/OS 2.x)
  248 120     AUE_READV       STD     { int freebsd32_readv(int fd, \
  249                                     struct iovec32 *iovp, u_int iovcnt); }
  250 121     AUE_WRITEV      STD     { int freebsd32_writev(int fd, \
  251                                     struct iovec32 *iovp, u_int iovcnt); }
  252 122     AUE_SETTIMEOFDAY        STD     { int freebsd32_settimeofday( \
  253                                     struct timeval32 *tv, \
  254                                     struct timezone *tzp); }
  255 123     AUE_FCHOWN      NOPROTO { int fchown(int fd, int uid, int gid); }
  256 124     AUE_FCHMOD      NOPROTO { int fchmod(int fd, int mode); }
  257 125     AUE_RECVFROM    OBSOL   orecvfrom
  258 126     AUE_SETREUID    NOPROTO { int setreuid(int ruid, int euid); }
  259 127     AUE_SETREGID    NOPROTO { int setregid(int rgid, int egid); }
  260 128     AUE_RENAME      NOPROTO { int rename(char *from, char *to); }
  261 129     AUE_TRUNCATE    COMPAT|NOPROTO  { int truncate(char *path, \
  262                                             int length); }
  263 130     AUE_FTRUNCATE   COMPAT|NOPROTO  { int ftruncate(int fd, int length); }
  264 131     AUE_FLOCK       NOPROTO { int flock(int fd, int how); }
  265 132     AUE_MKFIFO      NOPROTO { int mkfifo(char *path, int mode); }
  266 133     AUE_SENDTO      NOPROTO { int sendto(int s, caddr_t buf, \
  267                                     size_t len, int flags, caddr_t to, \
  268                                     int tolen); }
  269 134     AUE_SHUTDOWN    NOPROTO { int shutdown(int s, int how); }
  270 135     AUE_SOCKETPAIR  NOPROTO { int socketpair(int domain, int type, \
  271                                     int protocol, int *rsv); }
  272 136     AUE_MKDIR       NOPROTO { int mkdir(char *path, int mode); }
  273 137     AUE_RMDIR       NOPROTO { int rmdir(char *path); }
  274 138     AUE_UTIMES      STD     { int freebsd32_utimes(char *path, \
  275                                     struct timeval32 *tptr); }
  276 139     AUE_NULL        OBSOL   4.2 sigreturn
  277 140     AUE_ADJTIME     STD     { int freebsd32_adjtime( \
  278                                     struct timeval32 *delta, \
  279                                     struct timeval32 *olddelta); }
  280 141     AUE_GETPEERNAME OBSOL   ogetpeername
  281 142     AUE_SYSCTL      OBSOL   ogethostid
  282 143     AUE_SYSCTL      OBSOL   sethostid
  283 144     AUE_GETRLIMIT   OBSOL   getrlimit
  284 145     AUE_SETRLIMIT   OBSOL   setrlimit
  285 146     AUE_KILLPG      OBSOL   killpg
  286 147     AUE_SETSID      NOPROTO { int setsid(void); }
  287 148     AUE_QUOTACTL    NOPROTO { int quotactl(char *path, int cmd, int uid, \
  288                                     caddr_t arg); }
  289 149     AUE_O_QUOTA     OBSOL oquota
  290 150     AUE_GETSOCKNAME OBSOL ogetsockname
  291 
  292 ; Syscalls 151-180 inclusive are reserved for vendor-specific
  293 ; system calls.  (This includes various calls added for compatibity
  294 ; with other Unix variants.)
  295 ; Some of these calls are now supported by BSD...
  296 151     AUE_NULL        UNIMPL  sem_lock (BSD/OS 2.x)
  297 152     AUE_NULL        UNIMPL  sem_wakeup (BSD/OS 2.x)
  298 153     AUE_NULL        UNIMPL  asyncdaemon (BSD/OS 2.x)
  299 ; 154 is initialised by the NLM code, if present.
  300 154     AUE_NULL        UNIMPL  nlm_syscall
  301 ; 155 is initialized by the NFS code, if present.
  302 ; XXX this is a problem!!!
  303 155     AUE_NFS_SVC     UNIMPL  nfssvc
  304 156     AUE_GETDIRENTRIES COMPAT { int freebsd32_getdirentries(int fd, \
  305                                     char *buf, u_int count, uint32_t *basep); }
  306 157     AUE_STATFS      COMPAT4 { int freebsd32_statfs(char *path, \
  307                                     struct statfs32 *buf); }
  308 158     AUE_FSTATFS     COMPAT4 { int freebsd32_fstatfs(int fd, \
  309                                     struct statfs32 *buf); }
  310 159     AUE_NULL        UNIMPL  nosys
  311 160     AUE_LGETFH      UNIMPL  lgetfh
  312 161     AUE_NFS_GETFH   NOPROTO { int getfh(char *fname, \
  313                                     struct fhandle *fhp); }
  314 162     AUE_SYSCTL      OBSOL   getdomainname
  315 163     AUE_SYSCTL      OBSOL   setdomainname
  316 164     AUE_NULL        OBSOL   uname
  317 165     AUE_SYSARCH     STD     { int freebsd32_sysarch(int op, char *parms); }
  318 166     AUE_RTPRIO      NOPROTO { int rtprio(int function, pid_t pid, \
  319                                     struct rtprio *rtp); }
  320 167     AUE_NULL        UNIMPL  nosys
  321 168     AUE_NULL        UNIMPL  nosys
  322 169     AUE_SEMSYS      NOSTD   { int freebsd32_semsys(int which, int a2, \
  323                                     int a3, int a4, int a5); }
  324 170     AUE_MSGSYS      NOSTD   { int freebsd32_msgsys(int which, int a2, \
  325                                     int a3, int a4, int a5, int a6); }
  326 171     AUE_SHMSYS      NOSTD   { int freebsd32_shmsys(uint32_t which, uint32_t a2, \
  327                                     uint32_t a3, uint32_t a4); }
  328 172     AUE_NULL        UNIMPL  nosys
  329 173     AUE_PREAD       COMPAT6 { ssize_t freebsd32_pread(int fd, void *buf, \
  330                                     size_t nbyte, int pad, \
  331                                     uint32_t offset1, uint32_t offset2); }
  332 174     AUE_PWRITE      COMPAT6 { ssize_t freebsd32_pwrite(int fd, \
  333                                     const void *buf, size_t nbyte, int pad, \
  334                                     uint32_t offset1, uint32_t offset2); }
  335 175     AUE_NULL        UNIMPL  nosys
  336 176     AUE_NTP_ADJTIME STD     { int freebsd32_ntp_adjtime( \
  337                                     struct timex32 *tp); }
  338 177     AUE_NULL        UNIMPL  sfork (BSD/OS 2.x)
  339 178     AUE_NULL        UNIMPL  getdescriptor (BSD/OS 2.x)
  340 179     AUE_NULL        UNIMPL  setdescriptor (BSD/OS 2.x)
  341 180     AUE_NULL        UNIMPL  nosys
  342 
  343 ; Syscalls 181-199 are used by/reserved for BSD
  344 181     AUE_SETGID      NOPROTO { int setgid(gid_t gid); }
  345 182     AUE_SETEGID     NOPROTO { int setegid(gid_t egid); }
  346 183     AUE_SETEUID     NOPROTO { int seteuid(uid_t euid); }
  347 184     AUE_NULL        OBSOL   lfs_bmapv
  348 185     AUE_NULL        OBSOL   lfs_markv
  349 186     AUE_NULL        OBSOL   lfs_segclean
  350 187     AUE_NULL        OBSOL   lfs_segwait
  351 188     AUE_STAT        COMPAT11 { int freebsd32_stat(char *path, \
  352                                     struct freebsd11_stat32 *ub); }
  353 189     AUE_FSTAT       COMPAT11 { int freebsd32_fstat(int fd, \
  354                                     struct freebsd11_stat32 *ub); }
  355 190     AUE_LSTAT       COMPAT11 { int freebsd32_lstat(char *path, \
  356                                     struct freebsd11_stat32 *ub); }
  357 191     AUE_PATHCONF    NOPROTO { int pathconf(char *path, int name); }
  358 192     AUE_FPATHCONF   NOPROTO { int fpathconf(int fd, int name); }
  359 193     AUE_NULL        UNIMPL  nosys
  360 194     AUE_GETRLIMIT   NOPROTO { int getrlimit(u_int which, \
  361                                     struct rlimit *rlp); } getrlimit \
  362                                     __getrlimit_args int
  363 195     AUE_SETRLIMIT   NOPROTO { int setrlimit(u_int which, \
  364                                     struct rlimit *rlp); } setrlimit \
  365                                     __setrlimit_args int
  366 196     AUE_GETDIRENTRIES COMPAT11 { int freebsd32_getdirentries(int fd, \
  367                                     char *buf, u_int count, int32_t *basep); }
  368 197     AUE_MMAP        COMPAT6 { caddr_t freebsd32_mmap(caddr_t addr, \
  369                                     size_t len, int prot, int flags, int fd, \
  370                                     int pad, uint32_t pos1, uint32_t pos2); }
  371 198     AUE_NULL        NOPROTO { int nosys(void); } __syscall \
  372                                     __syscall_args int
  373 199     AUE_LSEEK       COMPAT6 { off_t freebsd32_lseek(int fd, int pad, \
  374                                     uint32_t offset1, uint32_t offset2, \
  375                                     int whence); }
  376 200     AUE_TRUNCATE    COMPAT6 { int freebsd32_truncate(char *path, \
  377                                     int pad, uint32_t length1, \
  378                                     uint32_t length2); }
  379 201     AUE_FTRUNCATE   COMPAT6 { int freebsd32_ftruncate(int fd, int pad, \
  380                                     uint32_t length1, uint32_t length2); }
  381 202     AUE_SYSCTL      STD     { int freebsd32___sysctl(int *name, \
  382                                     u_int namelen, void *old, \
  383                                     uint32_t *oldlenp, void *new, \
  384                                     uint32_t newlen); }
  385 203     AUE_MLOCK       NOPROTO { int mlock(const void *addr, \
  386                                     size_t len); }
  387 204     AUE_MUNLOCK     NOPROTO { int munlock(const void *addr, \
  388                                     size_t len); }
  389 205     AUE_UNDELETE    NOPROTO { int undelete(char *path); }
  390 206     AUE_FUTIMES     STD     { int freebsd32_futimes(int fd, \
  391                                     struct timeval32 *tptr); }
  392 207     AUE_GETPGID     NOPROTO { int getpgid(pid_t pid); }
  393 208     AUE_NULL        UNIMPL  nosys
  394 209     AUE_POLL        NOPROTO { int poll(struct pollfd *fds, u_int nfds, \
  395                                     int timeout); }
  396 
  397 ;
  398 ; The following are reserved for loadable syscalls
  399 ;
  400 210     AUE_NULL        NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
  401 211     AUE_NULL        NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
  402 212     AUE_NULL        NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
  403 213     AUE_NULL        NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
  404 214     AUE_NULL        NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
  405 215     AUE_NULL        NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
  406 216     AUE_NULL        NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
  407 217     AUE_NULL        NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
  408 218     AUE_NULL        NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
  409 219     AUE_NULL        NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
  410 
  411 220     AUE_SEMCTL      COMPAT7|NOSTD   { int freebsd32_semctl( \
  412                                     int semid, int semnum, \
  413                                     int cmd, union semun32 *arg); }
  414 221     AUE_SEMGET      NOSTD|NOPROTO   { int semget(key_t key, int nsems, \
  415                                     int semflg); }
  416 222     AUE_SEMOP       NOSTD|NOPROTO   { int semop(int semid, \
  417                                     struct sembuf *sops, u_int nsops); }
  418 223     AUE_NULL        OBSOL   semconfig
  419 224     AUE_MSGCTL      COMPAT7|NOSTD   { int freebsd32_msgctl( \
  420                                     int msqid, int cmd, \
  421                                     struct msqid_ds32_old *buf); }
  422 225     AUE_MSGGET      NOSTD|NOPROTO   { int msgget(key_t key, int msgflg); }
  423 226     AUE_MSGSND      NOSTD   { int freebsd32_msgsnd(int msqid, void *msgp, \
  424                                     size_t msgsz, int msgflg); }
  425 227     AUE_MSGRCV      NOSTD   { int freebsd32_msgrcv(int msqid, void *msgp, \
  426                                     size_t msgsz, long msgtyp, int msgflg); }
  427 228     AUE_SHMAT       NOSTD|NOPROTO   { int shmat(int shmid, void *shmaddr, \
  428                                     int shmflg); }
  429 229     AUE_SHMCTL      COMPAT7|NOSTD   { int freebsd32_shmctl( \
  430                                     int shmid, int cmd, \
  431                                     struct shmid_ds32_old *buf); }
  432 230     AUE_SHMDT       NOSTD|NOPROTO   { int shmdt(void *shmaddr); }
  433 231     AUE_SHMGET      NOSTD|NOPROTO   { int shmget(key_t key, int size, \
  434                                     int shmflg); }
  435 ;
  436 232     AUE_NULL        STD     { int freebsd32_clock_gettime(clockid_t clock_id, \
  437                                     struct timespec32 *tp); }
  438 233     AUE_CLOCK_SETTIME       STD     { int freebsd32_clock_settime(clockid_t clock_id, \
  439                                     const struct timespec32 *tp); }
  440 234     AUE_NULL        STD     { int freebsd32_clock_getres(clockid_t clock_id, \
  441                                     struct timespec32 *tp); }
  442 235     AUE_NULL        STD     { int freebsd32_ktimer_create(\
  443                                     clockid_t clock_id, \
  444                                     struct sigevent32 *evp, int *timerid); }
  445 236     AUE_NULL        NOPROTO { int ktimer_delete(int timerid); }
  446 237     AUE_NULL        STD     { int freebsd32_ktimer_settime(int timerid,\
  447                                     int flags, \
  448                                     const struct itimerspec32 *value, \
  449                                     struct itimerspec32 *ovalue); }
  450 238     AUE_NULL        STD     { int freebsd32_ktimer_gettime(int timerid,\
  451                                     struct itimerspec32 *value); }
  452 239     AUE_NULL        NOPROTO { int ktimer_getoverrun(int timerid); }
  453 240     AUE_NULL        STD     { int freebsd32_nanosleep( \
  454                                     const struct timespec32 *rqtp, \
  455                                     struct timespec32 *rmtp); }
  456 241     AUE_NULL        NOPROTO { int ffclock_getcounter(ffcounter *ffcount); }
  457 242     AUE_NULL        NOPROTO { int ffclock_setestimate( \
  458                                     struct ffclock_estimate *cest); }
  459 243     AUE_NULL        NOPROTO { int ffclock_getestimate( \
  460                                     struct ffclock_estimate *cest); }
  461 244     AUE_NULL        STD     { int freebsd32_clock_nanosleep( \
  462                                     clockid_t clock_id, int flags, \
  463                                     const struct timespec32 *rqtp, \
  464                                     struct timespec32 *rmtp); }
  465 245     AUE_NULL        UNIMPL  nosys
  466 246     AUE_NULL        UNIMPL  nosys
  467 247     AUE_NULL        STD     { int freebsd32_clock_getcpuclockid2(\
  468                                     uint32_t id1, uint32_t id2,\
  469                                     int which, clockid_t *clock_id); }
  470 248     AUE_NULL        UNIMPL  ntp_gettime
  471 249     AUE_NULL        UNIMPL  nosys
  472 250     AUE_MINHERIT    NOPROTO { int minherit(void *addr, size_t len, \
  473                                     int inherit); }
  474 251     AUE_RFORK       NOPROTO { int rfork(int flags); }
  475 252     AUE_POLL        OBSOL   openbsd_poll
  476 253     AUE_ISSETUGID   NOPROTO { int issetugid(void); }
  477 254     AUE_LCHOWN      NOPROTO { int lchown(char *path, int uid, int gid); }
  478 255     AUE_AIO_READ    STD     { int freebsd32_aio_read( \
  479                                     struct aiocb32 *aiocbp); }
  480 256     AUE_AIO_WRITE   STD     { int freebsd32_aio_write( \
  481                                     struct aiocb32 *aiocbp); }
  482 257     AUE_LIO_LISTIO  STD     { int freebsd32_lio_listio(int mode, \
  483                                     struct aiocb32 * const *acb_list, \
  484                                     int nent, struct sigevent32 *sig); }
  485 258     AUE_NULL        UNIMPL  nosys
  486 259     AUE_NULL        UNIMPL  nosys
  487 260     AUE_NULL        UNIMPL  nosys
  488 261     AUE_NULL        UNIMPL  nosys
  489 262     AUE_NULL        UNIMPL  nosys
  490 263     AUE_NULL        UNIMPL  nosys
  491 264     AUE_NULL        UNIMPL  nosys
  492 265     AUE_NULL        UNIMPL  nosys
  493 266     AUE_NULL        UNIMPL  nosys
  494 267     AUE_NULL        UNIMPL  nosys
  495 268     AUE_NULL        UNIMPL  nosys
  496 269     AUE_NULL        UNIMPL  nosys
  497 270     AUE_NULL        UNIMPL  nosys
  498 271     AUE_NULL        UNIMPL  nosys
  499 272     AUE_O_GETDENTS  COMPAT11 { int freebsd32_getdents(int fd, char *buf, \
  500                                     int count); }
  501 273     AUE_NULL        UNIMPL  nosys
  502 274     AUE_LCHMOD      NOPROTO { int lchmod(char *path, mode_t mode); }
  503 275     AUE_NULL        OBSOL   netbsd_lchown
  504 276     AUE_LUTIMES     STD     { int freebsd32_lutimes(char *path, \
  505                                     struct timeval32 *tptr); }
  506 277     AUE_NULL        OBSOL   netbsd_msync
  507 278     AUE_STAT  COMPAT11|NOPROTO { int nstat(char *path, struct nstat *ub); }
  508 279     AUE_FSTAT COMPAT11|NOPROTO { int nfstat(int fd, struct nstat *sb); }
  509 280     AUE_LSTAT COMPAT11|NOPROTO { int nlstat(char *path, struct nstat *ub); }
  510 281     AUE_NULL        UNIMPL  nosys
  511 282     AUE_NULL        UNIMPL  nosys
  512 283     AUE_NULL        UNIMPL  nosys
  513 284     AUE_NULL        UNIMPL  nosys
  514 285     AUE_NULL        UNIMPL  nosys
  515 286     AUE_NULL        UNIMPL  nosys
  516 287     AUE_NULL        UNIMPL  nosys
  517 288     AUE_NULL        UNIMPL  nosys
  518 289     AUE_PREADV      STD     { ssize_t freebsd32_preadv(int fd, \
  519                                         struct iovec32 *iovp, \
  520                                         u_int iovcnt, \
  521                                         uint32_t offset1, uint32_t offset2); }
  522 290     AUE_PWRITEV     STD     { ssize_t freebsd32_pwritev(int fd, \
  523                                         struct iovec32 *iovp, \
  524                                         u_int iovcnt, \
  525                                         uint32_t offset1, uint32_t offset2); }
  526 291     AUE_NULL        UNIMPL  nosys
  527 292     AUE_NULL        UNIMPL  nosys
  528 293     AUE_NULL        UNIMPL  nosys
  529 294     AUE_NULL        UNIMPL  nosys
  530 295     AUE_NULL        UNIMPL  nosys
  531 296     AUE_NULL        UNIMPL  nosys
  532 297     AUE_FHSTATFS    COMPAT4 { int freebsd32_fhstatfs( \
  533                                     const struct fhandle *u_fhp, \
  534                                     struct statfs32 *buf); }
  535 298     AUE_FHOPEN      NOPROTO { int fhopen(const struct fhandle *u_fhp, \
  536                                     int flags); }
  537 299     AUE_FHSTAT      COMPAT11 { int freebsd32_fhstat( \
  538                                     const struct fhandle *u_fhp, \
  539                                     struct freebsd11_stat32 *sb); }
  540 ; syscall numbers for FreeBSD
  541 300     AUE_NULL        NOPROTO { int modnext(int modid); }
  542 301     AUE_NULL        STD     { int freebsd32_modstat(int modid, \
  543                                     struct module_stat32* stat); }
  544 302     AUE_NULL        NOPROTO { int modfnext(int modid); }
  545 303     AUE_NULL        NOPROTO { int modfind(const char *name); }
  546 304     AUE_MODLOAD     NOPROTO { int kldload(const char *file); }
  547 305     AUE_MODUNLOAD   NOPROTO { int kldunload(int fileid); }
  548 306     AUE_NULL        NOPROTO { int kldfind(const char *file); }
  549 307     AUE_NULL        NOPROTO { int kldnext(int fileid); }
  550 308     AUE_NULL        STD     { int freebsd32_kldstat(int fileid, \
  551                                     struct kld32_file_stat* stat); }
  552 309     AUE_NULL        NOPROTO { int kldfirstmod(int fileid); }
  553 310     AUE_GETSID      NOPROTO { int getsid(pid_t pid); }
  554 311     AUE_SETRESUID   NOPROTO { int setresuid(uid_t ruid, uid_t euid, \
  555                                     uid_t suid); }
  556 312     AUE_SETRESGID   NOPROTO { int setresgid(gid_t rgid, gid_t egid, \
  557                                     gid_t sgid); }
  558 313     AUE_NULL        OBSOL   signanosleep
  559 314     AUE_AIO_RETURN  STD     { int freebsd32_aio_return( \
  560                                     struct aiocb32 *aiocbp); }
  561 315     AUE_AIO_SUSPEND STD     { int freebsd32_aio_suspend( \
  562                                     struct aiocb32 * const * aiocbp, int nent, \
  563                                     const struct timespec32 *timeout); }
  564 316     AUE_AIO_CANCEL  NOPROTO { int aio_cancel(int fd, \
  565                                     struct aiocb *aiocbp); }
  566 317     AUE_AIO_ERROR   STD     { int freebsd32_aio_error( \
  567                                     struct aiocb32 *aiocbp); }
  568 318     AUE_AIO_READ    COMPAT6 { int freebsd32_aio_read( \
  569                                     struct oaiocb32 *aiocbp); }
  570 319     AUE_AIO_WRITE   COMPAT6 { int freebsd32_aio_write( \
  571                                     struct oaiocb32 *aiocbp); }
  572 320     AUE_LIO_LISTIO  COMPAT6 { int freebsd32_lio_listio(int mode, \
  573                                     struct oaiocb32 * const *acb_list, \
  574                                     int nent, struct osigevent32 *sig); }
  575 321     AUE_NULL        NOPROTO { int yield(void); }
  576 322     AUE_NULL        OBSOL   thr_sleep
  577 323     AUE_NULL        OBSOL   thr_wakeup
  578 324     AUE_MLOCKALL    NOPROTO { int mlockall(int how); }
  579 325     AUE_MUNLOCKALL  NOPROTO { int munlockall(void); }
  580 326     AUE_GETCWD      NOPROTO { int __getcwd(char *buf, size_t buflen); }
  581 
  582 327     AUE_NULL        NOPROTO { int sched_setparam (pid_t pid, \
  583                                     const struct sched_param *param); }
  584 328     AUE_NULL        NOPROTO { int sched_getparam (pid_t pid, \
  585                                     struct sched_param *param); }
  586 
  587 329     AUE_NULL        NOPROTO { int sched_setscheduler (pid_t pid, \
  588                                     int policy, \
  589                                     const struct sched_param *param); }
  590 330     AUE_NULL        NOPROTO { int sched_getscheduler (pid_t pid); }
  591 
  592 331     AUE_NULL        NOPROTO { int sched_yield (void); }
  593 332     AUE_NULL        NOPROTO { int sched_get_priority_max (int policy); }
  594 333     AUE_NULL        NOPROTO { int sched_get_priority_min (int policy); }
  595 334     AUE_NULL        STD     { int freebsd32_sched_rr_get_interval ( \
  596                                     pid_t pid, \
  597                                     struct timespec32 *interval); }
  598 335     AUE_NULL        NOPROTO { int utrace(const void *addr, size_t len); }
  599 336     AUE_SENDFILE    COMPAT4 { int freebsd32_sendfile(int fd, int s, \
  600                                     uint32_t offset1, uint32_t offset2, \
  601                                     size_t nbytes, struct sf_hdtr32 *hdtr, \
  602                                     off_t *sbytes, int flags); }
  603 337     AUE_NULL        NOPROTO { int kldsym(int fileid, int cmd, \
  604                                     void *data); }
  605 338     AUE_JAIL        STD     { int freebsd32_jail(struct jail32 *jail); }
  606 339     AUE_NULL        UNIMPL  pioctl
  607 340     AUE_SIGPROCMASK NOPROTO { int sigprocmask(int how, \
  608                                     const sigset_t *set, sigset_t *oset); }
  609 341     AUE_SIGSUSPEND  NOPROTO { int sigsuspend(const sigset_t *sigmask); }
  610 342     AUE_SIGACTION   COMPAT4 { int freebsd32_sigaction(int sig, \
  611                                     struct sigaction32 *act, \
  612                                     struct sigaction32 *oact); }
  613 343     AUE_SIGPENDING  NOPROTO { int sigpending(sigset_t *set); }
  614 344     AUE_SIGRETURN   COMPAT4 { int freebsd32_sigreturn( \
  615                     const struct freebsd4_freebsd32_ucontext *sigcntxp); }
  616 345     AUE_SIGWAIT     STD     { int freebsd32_sigtimedwait(const sigset_t *set, \
  617                                     siginfo_t *info, \
  618                                     const struct timespec *timeout); }
  619 346     AUE_NULL        STD     { int freebsd32_sigwaitinfo(const sigset_t *set, \
  620                                     siginfo_t *info); }
  621 347     AUE_ACL_GET_FILE        NOPROTO { int __acl_get_file(const char *path, \
  622                                     acl_type_t type, struct acl *aclp); }
  623 348     AUE_ACL_SET_FILE        NOPROTO { int __acl_set_file(const char *path, \
  624                                     acl_type_t type, struct acl *aclp); }
  625 349     AUE_ACL_GET_FD  NOPROTO { int __acl_get_fd(int filedes, \
  626                                     acl_type_t type, struct acl *aclp); }
  627 350     AUE_ACL_SET_FD  NOPROTO { int __acl_set_fd(int filedes, \
  628                                     acl_type_t type, struct acl *aclp); }
  629 351     AUE_ACL_DELETE_FILE     NOPROTO { int __acl_delete_file(const char *path, \
  630                                     acl_type_t type); }
  631 352     AUE_ACL_DELETE_FD       NOPROTO { int __acl_delete_fd(int filedes, \
  632                                     acl_type_t type); }
  633 353     AUE_ACL_CHECK_FILE      NOPROTO { int __acl_aclcheck_file(const char *path, \
  634                                     acl_type_t type, struct acl *aclp); }
  635 354     AUE_ACL_CHECK_FD        NOPROTO { int __acl_aclcheck_fd(int filedes, \
  636                                     acl_type_t type, struct acl *aclp); }
  637 355     AUE_EXTATTRCTL  NOPROTO { int extattrctl(const char *path, int cmd, \
  638                                     const char *filename, int attrnamespace, \
  639                                     const char *attrname); }
  640 356     AUE_EXTATTR_SET_FILE    NOPROTO { ssize_t extattr_set_file( \
  641                                     const char *path, int attrnamespace, \
  642                                     const char *attrname, void *data, \
  643                                     size_t nbytes); }
  644 357     AUE_EXTATTR_GET_FILE    NOPROTO { ssize_t extattr_get_file( \
  645                                     const char *path, int attrnamespace, \
  646                                     const char *attrname, void *data, \
  647                                     size_t nbytes); }
  648 358     AUE_EXTATTR_DELETE_FILE NOPROTO { int extattr_delete_file( \
  649                                     const char *path, int attrnamespace, \
  650                                     const char *attrname); }
  651 359     AUE_AIO_WAITCOMPLETE    STD     { int freebsd32_aio_waitcomplete( \
  652                                     struct aiocb32 **aiocbp, \
  653                                     struct timespec32 *timeout); }
  654 360     AUE_GETRESUID   NOPROTO { int getresuid(uid_t *ruid, uid_t *euid, \
  655                                     uid_t *suid); }
  656 361     AUE_GETRESGID   NOPROTO { int getresgid(gid_t *rgid, gid_t *egid, \
  657                                     gid_t *sgid); }
  658 362     AUE_KQUEUE      NOPROTO { int kqueue(void); }
  659 363     AUE_KEVENT      COMPAT11 { int freebsd32_kevent(int fd, \
  660                                     const struct kevent32_freebsd11 * \
  661                                     changelist, \
  662                                     int nchanges, \
  663                                     struct kevent32_freebsd11 *eventlist, \
  664                                     int nevents, \
  665                                     const struct timespec32 *timeout); }
  666 364     AUE_NULL        OBSOL   __cap_get_proc
  667 365     AUE_NULL        OBSOL   __cap_set_proc
  668 366     AUE_NULL        OBSOL   __cap_get_fd
  669 367     AUE_NULL        OBSOL   __cap_get_file
  670 368     AUE_NULL        OBSOL   __cap_set_fd
  671 369     AUE_NULL        OBSOL   __cap_set_file
  672 370     AUE_NULL        UNIMPL  nosys
  673 371     AUE_EXTATTR_SET_FD      NOPROTO { ssize_t extattr_set_fd(int fd, \
  674                                     int attrnamespace, const char *attrname, \
  675                                     void *data, size_t nbytes); }
  676 372     AUE_EXTATTR_GET_FD      NOPROTO { ssize_t extattr_get_fd(int fd, \
  677                                     int attrnamespace, const char *attrname, \
  678                                     void *data, size_t nbytes); }
  679 373     AUE_EXTATTR_DELETE_FD   NOPROTO { int extattr_delete_fd(int fd, \
  680                                     int attrnamespace, \
  681                                     const char *attrname); }
  682 374     AUE_SETUGID     NOPROTO { int __setugid(int flag); }
  683 375     AUE_NULL        OBSOL   nfsclnt
  684 376     AUE_EACCESS     NOPROTO { int eaccess(char *path, int amode); }
  685 377     AUE_NULL        UNIMPL  afs_syscall
  686 378     AUE_NMOUNT      STD     { int freebsd32_nmount(struct iovec32 *iovp, \
  687                                     unsigned int iovcnt, int flags); }
  688 379     AUE_NULL        OBSOL   kse_exit
  689 380     AUE_NULL        OBSOL   kse_wakeup
  690 381     AUE_NULL        OBSOL   kse_create
  691 382     AUE_NULL        OBSOL   kse_thr_interrupt
  692 383     AUE_NULL        OBSOL   kse_release
  693 384     AUE_NULL        UNIMPL  __mac_get_proc
  694 385     AUE_NULL        UNIMPL  __mac_set_proc
  695 386     AUE_NULL        UNIMPL  __mac_get_fd
  696 387     AUE_NULL        UNIMPL  __mac_get_file
  697 388     AUE_NULL        UNIMPL  __mac_set_fd
  698 389     AUE_NULL        UNIMPL  __mac_set_file
  699 390     AUE_NULL        NOPROTO { int kenv(int what, const char *name, \
  700                                     char *value, int len); }
  701 391     AUE_LCHFLAGS    NOPROTO { int lchflags(const char *path, \
  702                                     u_long flags); }
  703 392     AUE_NULL        NOPROTO { int uuidgen(struct uuid *store, \
  704                                     int count); }
  705 393     AUE_SENDFILE    STD     { int freebsd32_sendfile(int fd, int s, \
  706                                     uint32_t offset1, uint32_t offset2, \
  707                                     size_t nbytes, struct sf_hdtr32 *hdtr, \
  708                                     off_t *sbytes, int flags); }
  709 394     AUE_NULL        UNIMPL  mac_syscall
  710 395     AUE_GETFSSTAT   COMPAT11|NOPROTO        { int getfsstat( \
  711                                     struct freebsd11_statfs *buf, \
  712                                     long bufsize, int mode); }
  713 396     AUE_STATFS      COMPAT11|NOPROTO        { int statfs(char *path, \
  714                                     struct statfs *buf); }
  715 397     AUE_FSTATFS     COMPAT11|NOPROTO        { int fstatfs(int fd, \
  716                                     struct freebsd11_statfs *buf); }
  717 398     AUE_FHSTATFS    COMPAT11|NOPROTO        { int fhstatfs( \
  718                                     const struct fhandle *u_fhp, \
  719                                     struct freebsd11_statfs *buf); }
  720 399     AUE_NULL        UNIMPL  nosys
  721 400     AUE_SEMCLOSE    NOSTD|NOPROTO   { int ksem_close(semid_t id); }
  722 401     AUE_SEMPOST     NOSTD|NOPROTO   { int ksem_post(semid_t id); }
  723 402     AUE_SEMWAIT     NOSTD|NOPROTO   { int ksem_wait(semid_t id); }
  724 403     AUE_SEMTRYWAIT  NOSTD|NOPROTO   { int ksem_trywait(semid_t id); }
  725 404     AUE_SEMINIT     NOSTD   { int freebsd32_ksem_init(semid_t *idp, \
  726                                     unsigned int value); }
  727 405     AUE_SEMOPEN     NOSTD   { int freebsd32_ksem_open(semid_t *idp, \
  728                                     const char *name, int oflag, \
  729                                     mode_t mode, unsigned int value); }
  730 406     AUE_SEMUNLINK   NOSTD|NOPROTO   { int ksem_unlink(const char *name); }
  731 407     AUE_SEMGETVALUE NOSTD|NOPROTO   { int ksem_getvalue(semid_t id, \
  732                                     int *val); }
  733 408     AUE_SEMDESTROY  NOSTD|NOPROTO   { int ksem_destroy(semid_t id); }
  734 409     AUE_NULL        UNIMPL  __mac_get_pid
  735 410     AUE_NULL        UNIMPL  __mac_get_link
  736 411     AUE_NULL        UNIMPL  __mac_set_link
  737 412     AUE_EXTATTR_SET_LINK    NOPROTO { ssize_t extattr_set_link( \
  738                                     const char *path, int attrnamespace, \
  739                                     const char *attrname, void *data, \
  740                                     size_t nbytes); }
  741 413     AUE_EXTATTR_GET_LINK    NOPROTO { ssize_t extattr_get_link( \
  742                                     const char *path, int attrnamespace, \
  743                                     const char *attrname, void *data, \
  744                                     size_t nbytes); }
  745 414     AUE_EXTATTR_DELETE_LINK NOPROTO { int extattr_delete_link( \
  746                                     const char *path, int attrnamespace, \
  747                                     const char *attrname); }
  748 415     AUE_NULL        UNIMPL  __mac_execve
  749 416     AUE_SIGACTION   STD     { int freebsd32_sigaction(int sig, \
  750                                     struct sigaction32 *act, \
  751                                     struct sigaction32 *oact); }
  752 417     AUE_SIGRETURN   STD     { int freebsd32_sigreturn( \
  753                     const struct freebsd32_ucontext *sigcntxp); }
  754 418     AUE_NULL        UNIMPL  __xstat
  755 419     AUE_NULL        UNIMPL  __xfstat
  756 420     AUE_NULL        UNIMPL  __xlstat
  757 421     AUE_NULL        STD     { int freebsd32_getcontext( \
  758                                     struct freebsd32_ucontext *ucp); }
  759 422     AUE_NULL        STD     { int freebsd32_setcontext( \
  760                                     const struct freebsd32_ucontext *ucp); }
  761 423     AUE_NULL        STD     { int freebsd32_swapcontext( \
  762                                     struct freebsd32_ucontext *oucp, \
  763                                     const struct freebsd32_ucontext *ucp); }
  764 424     AUE_SWAPOFF     UNIMPL  swapoff
  765 425     AUE_ACL_GET_LINK        NOPROTO { int __acl_get_link(const char *path, \
  766                                     acl_type_t type, struct acl *aclp); }
  767 426     AUE_ACL_SET_LINK        NOPROTO { int __acl_set_link(const char *path, \
  768                                     acl_type_t type, struct acl *aclp); }
  769 427     AUE_ACL_DELETE_LINK     NOPROTO { int __acl_delete_link(const char *path, \
  770                                     acl_type_t type); }
  771 428     AUE_ACL_CHECK_LINK      NOPROTO { int __acl_aclcheck_link(const char *path, \
  772                                     acl_type_t type, struct acl *aclp); }
  773 429     AUE_SIGWAIT     NOPROTO { int sigwait(const sigset_t *set, \
  774                                     int *sig); }
  775 430     AUE_THR_CREATE  UNIMPL  thr_create;
  776 431     AUE_THR_EXIT    NOPROTO { void thr_exit(long *state); }
  777 432     AUE_NULL        NOPROTO { int thr_self(long *id); }
  778 433     AUE_THR_KILL    NOPROTO { int thr_kill(long id, int sig); }
  779 434     AUE_NULL        UNIMPL  nosys
  780 435     AUE_NULL        UNIMPL  nosys
  781 436     AUE_JAIL_ATTACH NOPROTO { int jail_attach(int jid); }
  782 437     AUE_EXTATTR_LIST_FD     NOPROTO { ssize_t extattr_list_fd(int fd, \
  783                                     int attrnamespace, void *data, \
  784                                     size_t nbytes); }
  785 438     AUE_EXTATTR_LIST_FILE   NOPROTO { ssize_t extattr_list_file( \
  786                                     const char *path, int attrnamespace, \
  787                                     void *data, size_t nbytes); }
  788 439     AUE_EXTATTR_LIST_LINK   NOPROTO { ssize_t extattr_list_link( \
  789                                     const char *path, int attrnamespace, \
  790                                     void *data, size_t nbytes); }
  791 440     AUE_NULL        OBSOL   kse_switchin
  792 441     AUE_SEMWAIT     NOSTD   { int freebsd32_ksem_timedwait(semid_t id, \
  793                                     const struct timespec32 *abstime); }
  794 442     AUE_NULL        STD     { int freebsd32_thr_suspend( \
  795                                     const struct timespec32 *timeout); }
  796 443     AUE_NULL        NOPROTO { int thr_wake(long id); }
  797 444     AUE_MODUNLOAD   NOPROTO { int kldunloadf(int fileid, int flags); }
  798 445     AUE_AUDIT       NOPROTO { int audit(const void *record, \
  799                                     u_int length); }
  800 446     AUE_AUDITON     NOPROTO { int auditon(int cmd, void *data, \
  801                                     u_int length); }
  802 447     AUE_GETAUID     NOPROTO { int getauid(uid_t *auid); }
  803 448     AUE_SETAUID     NOPROTO { int setauid(uid_t *auid); }
  804 449     AUE_GETAUDIT    NOPROTO { int getaudit(struct auditinfo *auditinfo); }
  805 450     AUE_SETAUDIT    NOPROTO { int setaudit(struct auditinfo *auditinfo); }
  806 451     AUE_GETAUDIT_ADDR       NOPROTO { int getaudit_addr( \
  807                                     struct auditinfo_addr *auditinfo_addr, \
  808                                     u_int length); }
  809 452     AUE_SETAUDIT_ADDR       NOPROTO { int setaudit_addr( \
  810                                     struct auditinfo_addr *auditinfo_addr, \
  811                                     u_int length); }
  812 453     AUE_AUDITCTL    NOPROTO { int auditctl(char *path); }
  813 454     AUE_NULL        STD     { int freebsd32__umtx_op(void *obj, int op,\
  814                                     u_long val, void *uaddr, \
  815                                     void *uaddr2); }
  816 455     AUE_THR_NEW     STD     { int freebsd32_thr_new(        \
  817                                     struct thr_param32 *param,  \
  818                                     int param_size); }
  819 456     AUE_NULL        STD     { int freebsd32_sigqueue(pid_t pid, \
  820                                     int signum, int value); }
  821 457     AUE_MQ_OPEN     NOSTD   { int freebsd32_kmq_open( \
  822                                     const char *path, int flags, mode_t mode, \
  823                                     const struct mq_attr32 *attr); }
  824 458     AUE_MQ_SETATTR  NOSTD   { int freebsd32_kmq_setattr(int mqd, \
  825                                     const struct mq_attr32 *attr,       \
  826                                     struct mq_attr32 *oattr); }
  827 459     AUE_MQ_TIMEDRECEIVE     NOSTD   { int freebsd32_kmq_timedreceive(int mqd, \
  828                                     char *msg_ptr, size_t msg_len,      \
  829                                     unsigned *msg_prio,                 \
  830                                     const struct timespec32 *abs_timeout); }
  831 460     AUE_MQ_TIMEDSEND        NOSTD   { int freebsd32_kmq_timedsend(int mqd,  \
  832                                     const char *msg_ptr, size_t msg_len,\
  833                                     unsigned msg_prio,                  \
  834                                     const struct timespec32 *abs_timeout);}
  835 461     AUE_MQ_NOTIFY   NOSTD   { int freebsd32_kmq_notify(int mqd,     \
  836                                     const struct sigevent32 *sigev); }
  837 462     AUE_MQ_UNLINK   NOPROTO|NOSTD   { int kmq_unlink(const char *path); }
  838 463     AUE_NULL        NOPROTO { int abort2(const char *why, int nargs, void **args); }
  839 464     AUE_NULL        NOPROTO { int thr_set_name(long id, const char *name); }
  840 465     AUE_AIO_FSYNC   STD     { int freebsd32_aio_fsync(int op, \
  841                                     struct aiocb32 *aiocbp); }
  842 466     AUE_RTPRIO      NOPROTO { int rtprio_thread(int function, \
  843                                     lwpid_t lwpid, struct rtprio *rtp); }
  844 467     AUE_NULL        UNIMPL  nosys
  845 468     AUE_NULL        UNIMPL  nosys
  846 469     AUE_NULL        UNIMPL  __getpath_fromfd
  847 470     AUE_NULL        UNIMPL  __getpath_fromaddr
  848 471     AUE_SCTP_PEELOFF        NOPROTO|NOSTD   { int sctp_peeloff(int sd, uint32_t name); }
  849 472     AUE_SCTP_GENERIC_SENDMSG        NOPROTO|NOSTD   { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
  850                                     caddr_t to, __socklen_t tolen, \
  851                                     struct sctp_sndrcvinfo *sinfo, int flags); }
  852 473     AUE_SCTP_GENERIC_SENDMSG_IOV    NOPROTO|NOSTD   { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
  853                                     caddr_t to, __socklen_t tolen, \
  854                                     struct sctp_sndrcvinfo *sinfo, int flags); }
  855 474     AUE_SCTP_GENERIC_RECVMSG        NOPROTO|NOSTD   { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
  856                                     struct sockaddr * from, __socklen_t *fromlenaddr, \
  857                                     struct sctp_sndrcvinfo *sinfo, int *msg_flags); }
  858 #ifdef PAD64_REQUIRED
  859 475     AUE_PREAD       STD     { ssize_t freebsd32_pread(int fd, \
  860                                     void *buf,size_t nbyte, \
  861                                     int pad, \
  862                                     uint32_t offset1, uint32_t offset2); }
  863 476     AUE_PWRITE      STD     { ssize_t freebsd32_pwrite(int fd, \
  864                                     const void *buf, size_t nbyte, \
  865                                     int pad, \
  866                                     uint32_t offset1, uint32_t offset2); }
  867 477     AUE_MMAP        STD     { caddr_t freebsd32_mmap(caddr_t addr, \
  868                                     size_t len, int prot, int flags, int fd, \
  869                                     int pad, \
  870                                     uint32_t pos1, uint32_t pos2); }
  871 478     AUE_LSEEK       STD     { off_t freebsd32_lseek(int fd, \
  872                                     int pad, \
  873                                     uint32_t offset1, uint32_t offset2, \
  874                                     int whence); }
  875 479     AUE_TRUNCATE    STD     { int freebsd32_truncate(char *path, \
  876                                     int pad, \
  877                                     uint32_t length1, uint32_t length2); }
  878 480     AUE_FTRUNCATE   STD     { int freebsd32_ftruncate(int fd, \
  879                                     int pad, \
  880                                     uint32_t length1, uint32_t length2); }
  881 #else
  882 475     AUE_PREAD       STD     { ssize_t freebsd32_pread(int fd, \
  883                                     void *buf,size_t nbyte, \
  884                                     uint32_t offset1, uint32_t offset2); }
  885 476     AUE_PWRITE      STD     { ssize_t freebsd32_pwrite(int fd, \
  886                                     const void *buf, size_t nbyte, \
  887                                     uint32_t offset1, uint32_t offset2); }
  888 477     AUE_MMAP        STD     { caddr_t freebsd32_mmap(caddr_t addr, \
  889                                     size_t len, int prot, int flags, int fd, \
  890                                     uint32_t pos1, uint32_t pos2); }
  891 478     AUE_LSEEK       STD     { off_t freebsd32_lseek(int fd, \
  892                                     uint32_t offset1, uint32_t offset2, \
  893                                     int whence); }
  894 479     AUE_TRUNCATE    STD     { int freebsd32_truncate(char *path, \
  895                                     uint32_t length1, uint32_t length2); }
  896 480     AUE_FTRUNCATE   STD     { int freebsd32_ftruncate(int fd, \
  897                                     uint32_t length1, uint32_t length2); }
  898 #endif
  899 481     AUE_THR_KILL2   NOPROTO { int thr_kill2(pid_t pid, long id, int sig); }
  900 482     AUE_SHMOPEN     NOPROTO { int shm_open(const char *path, int flags, \
  901                                     mode_t mode); }
  902 483     AUE_SHMUNLINK   NOPROTO { int shm_unlink(const char *path); }
  903 484     AUE_NULL        NOPROTO { int cpuset(cpusetid_t *setid); }
  904 #ifdef PAD64_REQUIRED
  905 485     AUE_NULL        STD     { int freebsd32_cpuset_setid(cpuwhich_t which, \
  906                                     int pad, \
  907                                     uint32_t id1, uint32_t id2, \
  908                                     cpusetid_t setid); }
  909 #else
  910 485     AUE_NULL        STD     { int freebsd32_cpuset_setid(cpuwhich_t which, \
  911                                     uint32_t id1, uint32_t id2, \
  912                                     cpusetid_t setid); }
  913 #endif
  914 486     AUE_NULL        STD     { int freebsd32_cpuset_getid(cpulevel_t level, \
  915                                     cpuwhich_t which, \
  916                                     uint32_t id1, uint32_t id2, \
  917                                     cpusetid_t *setid); }
  918 487     AUE_NULL        STD     { int freebsd32_cpuset_getaffinity( \
  919                                     cpulevel_t level, cpuwhich_t which, \
  920                                     uint32_t id1, uint32_t id2, \
  921                                     size_t cpusetsize, \
  922                                     cpuset_t *mask); }
  923 488     AUE_NULL        STD     { int freebsd32_cpuset_setaffinity( \
  924                                     cpulevel_t level, cpuwhich_t which, \
  925                                     uint32_t id1, uint32_t id2, \
  926                                     size_t cpusetsize, \
  927                                     const cpuset_t *mask); }
  928 489     AUE_FACCESSAT   NOPROTO { int faccessat(int fd, char *path, int amode, \
  929                                     int flag); }
  930 490     AUE_FCHMODAT    NOPROTO { int fchmodat(int fd, const char *path, \
  931                                     mode_t mode, int flag); }
  932 491     AUE_FCHOWNAT    NOPROTO { int fchownat(int fd, char *path, uid_t uid, \
  933                                     gid_t gid, int flag); }
  934 492     AUE_FEXECVE     STD     { int freebsd32_fexecve(int fd, \
  935                                     uint32_t *argv, uint32_t *envv); }
  936 493     AUE_FSTATAT     COMPAT11 { int freebsd32_fstatat(int fd, \
  937                                     char *path, struct freebsd11_stat32 *buf, \
  938                                     int flag); }
  939 494     AUE_FUTIMESAT   STD     { int freebsd32_futimesat(int fd, char *path, \
  940                                     struct timeval *times); }
  941 495     AUE_LINKAT      NOPROTO { int linkat(int fd1, char *path1, int fd2, \
  942                                     char *path2, int flag); }
  943 496     AUE_MKDIRAT     NOPROTO { int mkdirat(int fd, char *path, \
  944                                     mode_t mode); }
  945 497     AUE_MKFIFOAT    NOPROTO { int mkfifoat(int fd, char *path, \
  946                                     mode_t mode); }
  947 498     AUE_MKNODAT     COMPAT11|NOPROTO { int mknodat(int fd, char *path, \
  948                                     mode_t mode, uint32_t dev); }
  949 499     AUE_OPENAT_RWTC NOPROTO { int openat(int fd, char *path, int flag, \
  950                                     mode_t mode); }
  951 500     AUE_READLINKAT  NOPROTO { ssize_t readlinkat(int fd, char *path, char *buf, \
  952                                     size_t bufsize); }
  953 501     AUE_RENAMEAT    NOPROTO { int renameat(int oldfd, char *old, int newfd, \
  954                                     const char *new); }
  955 502     AUE_SYMLINKAT   NOPROTO { int symlinkat(char *path1, int fd, \
  956                                     char *path2); }
  957 503     AUE_UNLINKAT    NOPROTO { int unlinkat(int fd, char *path, \
  958                                     int flag); }
  959 504     AUE_POSIX_OPENPT        NOPROTO { int posix_openpt(int flags); }
  960 ; 505 is initialised by the kgssapi code, if present.
  961 505     AUE_NULL        UNIMPL  gssd_syscall
  962 506     AUE_JAIL_GET    STD     { int freebsd32_jail_get(struct iovec32 *iovp, \
  963                                     unsigned int iovcnt, int flags); }
  964 507     AUE_JAIL_SET    STD     { int freebsd32_jail_set(struct iovec32 *iovp, \
  965                                     unsigned int iovcnt, int flags); }
  966 508     AUE_JAIL_REMOVE NOPROTO { int jail_remove(int jid); }
  967 509     AUE_CLOSEFROM   NOPROTO { int closefrom(int lowfd); }
  968 510     AUE_SEMCTL      NOSTD { int freebsd32_semctl(int semid, int semnum, \
  969                                     int cmd, union semun32 *arg); }
  970 511     AUE_MSGCTL      NOSTD   { int freebsd32_msgctl(int msqid, int cmd, \
  971                                     struct msqid_ds32 *buf); }
  972 512     AUE_SHMCTL      NOSTD   { int freebsd32_shmctl(int shmid, int cmd, \
  973                                     struct shmid_ds32 *buf); }
  974 513     AUE_LPATHCONF   NOPROTO { int lpathconf(char *path, int name); }
  975 514     AUE_NULL        OBSOL   cap_new
  976 515     AUE_CAP_RIGHTS_GET      NOPROTO { int __cap_rights_get(int version, \
  977                                     int fd, cap_rights_t *rightsp); }
  978 516     AUE_CAP_ENTER   NOPROTO { int cap_enter(void); }
  979 517     AUE_CAP_GETMODE NOPROTO { int cap_getmode(u_int *modep); }
  980 518     AUE_PDFORK      NOPROTO { int pdfork(int *fdp, int flags); }
  981 519     AUE_PDKILL      NOPROTO { int pdkill(int fd, int signum); }
  982 520     AUE_PDGETPID    NOPROTO { int pdgetpid(int fd, pid_t *pidp); }
  983 521     AUE_PDWAIT      UNIMPL  pdwait4
  984 522     AUE_SELECT      STD     { int freebsd32_pselect(int nd, fd_set *in, \
  985                                     fd_set *ou, fd_set *ex, \
  986                                     const struct timespec32 *ts, \
  987                                     const sigset_t *sm); }
  988 523     AUE_GETLOGINCLASS       NOPROTO { int getloginclass(char *namebuf, \
  989                                     size_t namelen); }
  990 524     AUE_SETLOGINCLASS       NOPROTO { int setloginclass(const char *namebuf); }
  991 525     AUE_NULL        NOPROTO { int rctl_get_racct(const void *inbufp, \
  992                                     size_t inbuflen, void *outbufp, \
  993                                     size_t outbuflen); }
  994 526     AUE_NULL        NOPROTO { int rctl_get_rules(const void *inbufp, \
  995                                     size_t inbuflen, void *outbufp, \
  996                                     size_t outbuflen); }
  997 527     AUE_NULL        NOPROTO { int rctl_get_limits(const void *inbufp, \
  998                                     size_t inbuflen, void *outbufp, \
  999                                     size_t outbuflen); }
 1000 528     AUE_NULL        NOPROTO { int rctl_add_rule(const void *inbufp, \
 1001                                     size_t inbuflen, void *outbufp, \
 1002                                     size_t outbuflen); }
 1003 529     AUE_NULL        NOPROTO { int rctl_remove_rule(const void *inbufp, \
 1004                                     size_t inbuflen, void *outbufp, \
 1005                                     size_t outbuflen); }
 1006 #ifdef PAD64_REQUIRED
 1007 530     AUE_POSIX_FALLOCATE     STD     { int freebsd32_posix_fallocate(int fd, \
 1008                                     int pad, \
 1009                                     uint32_t offset1, uint32_t offset2,\
 1010                                     uint32_t len1, uint32_t len2); }
 1011 531     AUE_POSIX_FADVISE       STD     { int freebsd32_posix_fadvise(int fd, \
 1012                                     int pad, \
 1013                                     uint32_t offset1, uint32_t offset2,\
 1014                                     uint32_t len1, uint32_t len2, \
 1015                                     int advice); }
 1016 532     AUE_WAIT6       STD     { int freebsd32_wait6(int idtype, int pad, \
 1017                                     uint32_t id1, uint32_t id2, \
 1018                                     int *status, int options, \
 1019                                     struct wrusage32 *wrusage, \
 1020                                     siginfo_t *info); }
 1021 #else
 1022 530     AUE_POSIX_FALLOCATE     STD     { int freebsd32_posix_fallocate(int fd,\
 1023                                     uint32_t offset1, uint32_t offset2,\
 1024                                     uint32_t len1, uint32_t len2); }
 1025 531     AUE_POSIX_FADVISE       STD     { int freebsd32_posix_fadvise(int fd, \
 1026                                     uint32_t offset1, uint32_t offset2,\
 1027                                     uint32_t len1, uint32_t len2, \
 1028                                     int advice); }
 1029 532     AUE_WAIT6       STD     { int freebsd32_wait6(int idtype, \
 1030                                     uint32_t id1, uint32_t id2, \
 1031                                     int *status, int options, \
 1032                                     struct wrusage32 *wrusage, \
 1033                                     siginfo_t *info); }
 1034 #endif
 1035 533     AUE_CAP_RIGHTS_LIMIT    NOPROTO { \
 1036                                     int cap_rights_limit(int fd, \
 1037                                     cap_rights_t *rightsp); }
 1038 534     AUE_CAP_IOCTLS_LIMIT    STD     { \
 1039                                     int freebsd32_cap_ioctls_limit(int fd, \
 1040                                     const uint32_t *cmds, size_t ncmds); }
 1041 535     AUE_CAP_IOCTLS_GET      STD     { \
 1042                                     ssize_t freebsd32_cap_ioctls_get(int fd, \
 1043                                     uint32_t *cmds, size_t maxcmds); }
 1044 536     AUE_CAP_FCNTLS_LIMIT    NOPROTO { int cap_fcntls_limit(int fd, \
 1045                                     uint32_t fcntlrights); }
 1046 537     AUE_CAP_FCNTLS_GET      NOPROTO { int cap_fcntls_get(int fd, \
 1047                                     uint32_t *fcntlrightsp); }
 1048 538     AUE_BINDAT      NOPROTO { int bindat(int fd, int s, caddr_t name, \
 1049                                     int namelen); }
 1050 539     AUE_CONNECTAT   NOPROTO { int connectat(int fd, int s, caddr_t name, \
 1051                                     int namelen); }
 1052 540     AUE_CHFLAGSAT   NOPROTO { int chflagsat(int fd, const char *path, \
 1053                                     u_long flags, int atflag); }
 1054 541     AUE_ACCEPT      NOPROTO { int accept4(int s, \
 1055                                     struct sockaddr * __restrict name, \
 1056                                     __socklen_t * __restrict anamelen, \
 1057                                     int flags); }
 1058 542     AUE_PIPE        NOPROTO { int pipe2(int *fildes, int flags); }
 1059 543     AUE_AIO_MLOCK   STD     { int freebsd32_aio_mlock( \
 1060                                     struct aiocb32 *aiocbp); }
 1061 #ifdef PAD64_REQUIRED
 1062 544     AUE_PROCCTL     STD     { int freebsd32_procctl(int idtype, int pad, \
 1063                                     uint32_t id1, uint32_t id2, int com, \
 1064                                     void *data); }
 1065 #else
 1066 544     AUE_PROCCTL     STD     { int freebsd32_procctl(int idtype, \
 1067                                     uint32_t id1, uint32_t id2, int com, \
 1068                                     void *data); }
 1069 #endif
 1070 545     AUE_POLL        STD     { int freebsd32_ppoll(struct pollfd *fds, \
 1071                                     u_int nfds, const struct timespec32 *ts, \
 1072                                     const sigset_t *set); }
 1073 546     AUE_FUTIMES     STD     { int freebsd32_futimens(int fd, \
 1074                                     struct timespec *times); }
 1075 547     AUE_FUTIMESAT   STD     { int freebsd32_utimensat(int fd, \
 1076                                     char *path, \
 1077                                     struct timespec *times, int flag); }
 1078 548     AUE_NULL        OBSOL   numa_getaffinity
 1079 549     AUE_NULL        OBSOL   numa_setaffinity
 1080 550     AUE_FSYNC       NOPROTO { int fdatasync(int fd); }
 1081 551     AUE_FSTAT       STD     { int freebsd32_fstat(int fd, \
 1082                                     struct stat32 *ub); }
 1083 552     AUE_FSTATAT     STD     { int freebsd32_fstatat(int fd, \
 1084                                     char *path, struct stat32 *buf, \
 1085                                     int flag); }
 1086 553     AUE_FHSTAT      STD     { int freebsd32_fhstat( \
 1087                                     const struct fhandle *u_fhp, \
 1088                                     struct stat32 *sb); }
 1089 554     AUE_GETDIRENTRIES NOPROTO       { ssize_t getdirentries( \
 1090                                     int fd, char *buf, size_t count, \
 1091                                     off_t *basep); }
 1092 555     AUE_STATFS      NOPROTO { int statfs(char *path, \
 1093                                     struct statfs32 *buf); }
 1094 556     AUE_FSTATFS     NOPROTO { int fstatfs(int fd, struct statfs32 *buf); }
 1095 557     AUE_GETFSSTAT   NOPROTO { int getfsstat(struct statfs32 *buf, \
 1096                                     long bufsize, int mode); }
 1097 558     AUE_FHSTATFS    NOPROTO { int fhstatfs(const struct fhandle *u_fhp, \
 1098                                     struct statfs32 *buf); }
 1099 #ifdef PAD64_REQUIRED
 1100 559     AUE_MKNODAT     STD     { int freebsd32_mknodat(int fd, \
 1101                                     char *path, mode_t mode, \
 1102                                     int pad, uint32_t dev1, uint32_t dev2); }
 1103 #else
 1104 559     AUE_MKNODAT     STD     { int freebsd32_mknodat(int fd, \
 1105                                     char *path, mode_t mode, \
 1106                                     uint32_t dev1, uint32_t dev2); }
 1107 #endif
 1108 560     AUE_KEVENT      STD     { int freebsd32_kevent(int fd, \
 1109                                     const struct kevent32 *changelist, \
 1110                                     int nchanges, \
 1111                                     struct kevent32 *eventlist, \
 1112                                     int nevents, \
 1113                                     const struct timespec32 *timeout); }
 1114 561     AUE_NULL        STD     { int freebsd32_cpuset_getdomain(cpulevel_t level, \
 1115                                     cpuwhich_t which, uint32_t id1, uint32_t id2, \
 1116                                     size_t domainsetsize, domainset_t *mask, \
 1117                                     int *policy); }
 1118 562     AUE_NULL        STD     { int freebsd32_cpuset_setdomain(cpulevel_t level, \
 1119                                     cpuwhich_t which, uint32_t id1, uint32_t id2, \
 1120                                     size_t domainsetsize, domainset_t *mask, \
 1121                                     int policy); }
 1122 563     AUE_NULL        NOPROTO { int getrandom(void *buf, size_t buflen, \
 1123                                     unsigned int flags); }
 1124 564     AUE_NULL        NOPROTO { int getfhat( int fd, char *path, \
 1125                                     struct fhandle *fhp, int flags); }
 1126 565     AUE_NULL        NOPROTO { int fhlink( struct fhandle *fhp, const char *to ); }
 1127 566     AUE_NULL        NOPROTO { int fhlinkat( struct fhandle *fhp, int tofd, \
 1128                                     const char *to); }
 1129 567     AUE_NULL        NOPROTO { int fhreadlink( struct fhandle *fhp, char *buf, \
 1130                                     size_t bufsize); }
 1131 568     AUE_NULL        UNIMPL  funlinkat
 1132 569     AUE_NULL        UNIMPL  copy_file_range
 1133 570     AUE_SYSCTL      STD     { int freebsd32___sysctlbyname(const char *name, \
 1134                                     size_t namelen, void *old, uint32_t *oldlenp, \
 1135                                     void *new, size_t newlen); }
 1136 571     AUE_NULL        UNIMPL  shm_open2
 1137 572     AUE_NULL        UNIMPL  shm_rename
 1138 573     AUE_NULL        UNIMPL  sigfastblock
 1139 574     AUE_NULL        UNIMPL  __realpathat
 1140 575     AUE_CLOSERANGE  NOPROTO { int close_range(u_int lowfd, u_int highfd, \
 1141                                     int flags); }
 1142 
 1143 ; vim: syntax=off

Cache object: 42c609dddfcc7e41c9b5fb01d461adcb


[ 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.