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-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

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

Cache object: 6cf8f049777ba7dbc180a1779a2b1297


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