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/kern/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: releng/6.0/sys/kern/syscalls.master 147831 2005-07-08 15:01:13Z jhb $
    2 ;       from: @(#)syscalls.master       8.2 (Berkeley) 1/13/94
    3 ;
    4 ; System call name/number master file.
    5 ; Processed to created init_sysent.c, syscalls.c and syscall.h.
    6 
    7 ; Columns: number [M]type nargs name alt{name,tag,rtyp}/comments
    8 ;       number  system call number, must be in order
    9 ;       audit   the audit event associated with the system call
   10 ;               A value of AUE_NULL means no auditing, but it also means that
   11 ;               there is no audit event for the call at this time. For the
   12 ;               case where the event exists, but we don't want auditing, the
   13 ;               event should be #defined to AUE_NULL in audit_kevents.h.
   14 ;       type    one of [M]STD, [M]OBSOL, [M]UNIMPL, [M]COMPAT, [M]CPT_NOA,
   15 ;               [M]LIBCOMPAT, [M]NODEF, [M]NOARGS, [M]NOPROTO, [M]NOIMPL,
   16 ;               [M]NOSTD, [M]COMPAT4
   17 ;       name    psuedo-prototype of syscall routine
   18 ;               If one of the following alts is different, then all appear:
   19 ;       altname name of system call if different
   20 ;       alttag  name of args struct tag if different from [o]`name'"_args"
   21 ;       altrtyp return type if not int (bogus - syscalls always return int)
   22 ;               for UNIMPL/OBSOL, name continues with comments
   23 
   24 ; types:
   25 ;       [M]     e.g. like MSTD -- means the system call is MP-safe.  If no
   26 ;               M prefix is used, the syscall wrapper will obtain the Giant
   27 ;               lock for the syscall.
   28 ;       STD     always included
   29 ;       COMPAT  included on COMPAT #ifdef
   30 ;       COMPAT4 included on COMPAT4 #ifdef (FreeBSD 4 compat)
   31 ;       LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
   32 ;       OBSOL   obsolete, not included in system, only specifies name
   33 ;       UNIMPL  not implemented, placeholder only
   34 ;       NOSTD   implemented but as a lkm that can be statically
   35 ;                       compiled in sysent entry will be filled with lkmsys
   36 ;                       so the SYSCALL_MODULE macro works
   37 ;
   38 ; Please copy any additions and changes to the following compatability tables:
   39 ; sys/compat/freebsd32/syscalls.master
   40 
   41 ; #ifdef's, etc. may be included, and are copied to the output files.
   42 
   43 #include <sys/param.h>
   44 #include <sys/sysent.h>
   45 #include <sys/sysproto.h>
   46 
   47 ; Reserved/unimplemented system calls in the range 0-150 inclusive
   48 ; are reserved for use in future Berkeley releases.
   49 ; Additional system calls implemented in vendor and other
   50 ; redistributions should be placed in the reserved range at the end
   51 ; of the current calls.
   52 
   53 0       AUE_NULL        MSTD    { int nosys(void); } syscall nosys_args int
   54 1       AUE_NULL        MSTD    { void sys_exit(int rval); } exit \
   55                                     sys_exit_args void
   56 2       AUE_NULL        MSTD    { int fork(void); }
   57 3       AUE_NULL        MSTD    { ssize_t read(int fd, void *buf, \
   58                                     size_t nbyte); }
   59 4       AUE_NULL        MSTD    { ssize_t write(int fd, const void *buf, \
   60                                     size_t nbyte); }
   61 5       AUE_NULL        MSTD    { int open(char *path, int flags, int mode); }
   62 ; XXX should be         { int open(const char *path, int flags, ...); }
   63 ; but we're not ready for `const' or varargs.
   64 ; XXX man page says `mode_t mode'.
   65 6       AUE_NULL        MSTD    { int close(int fd); }
   66 7       AUE_NULL        MSTD    { int wait4(int pid, int *status, \
   67                                     int options, struct rusage *rusage); } \
   68                                     wait4 wait_args int
   69 8       AUE_NULL        MCOMPAT { int creat(char *path, int mode); }
   70 9       AUE_NULL        MSTD    { int link(char *path, char *link); }
   71 10      AUE_NULL        MSTD    { int unlink(char *path); }
   72 11      AUE_NULL        OBSOL   execv
   73 12      AUE_NULL        MSTD    { int chdir(char *path); }
   74 13      AUE_NULL        MSTD    { int fchdir(int fd); }
   75 14      AUE_NULL        MSTD    { int mknod(char *path, int mode, int dev); }
   76 15      AUE_NULL        MSTD    { int chmod(char *path, int mode); }
   77 16      AUE_NULL        MSTD    { int chown(char *path, int uid, int gid); }
   78 17      AUE_NULL        MSTD    { int obreak(char *nsize); } break \
   79                                     obreak_args int
   80 18      AUE_NULL        MCOMPAT4        { int getfsstat(struct ostatfs *buf, \
   81                                     long bufsize, int flags); }
   82 19      AUE_NULL        MCOMPAT { long lseek(int fd, long offset, \
   83                                     int whence); }
   84 20      AUE_NULL        MSTD    { pid_t getpid(void); }
   85 21      AUE_NULL        STD     { int mount(char *type, char *path, \
   86                                     int flags, caddr_t data); }
   87 ; XXX `path' should have type `const char *' but we're not ready for that.
   88 22      AUE_NULL        STD     { int unmount(char *path, int flags); }
   89 23      AUE_NULL        MSTD    { int setuid(uid_t uid); }
   90 24      AUE_NULL        MSTD    { uid_t getuid(void); }
   91 25      AUE_NULL        MSTD    { uid_t geteuid(void); }
   92 26      AUE_NULL        MSTD    { int ptrace(int req, pid_t pid, \
   93                                     caddr_t addr, int data); }
   94 27      AUE_NULL        MSTD    { int recvmsg(int s, struct msghdr *msg, \
   95                                     int flags); }
   96 28      AUE_NULL        MSTD    { int sendmsg(int s, struct msghdr *msg, \
   97                                     int flags); }
   98 29      AUE_NULL        MSTD    { int recvfrom(int s, caddr_t buf, \
   99                                     size_t len, int flags, \
  100                                     struct sockaddr * __restrict from, \
  101                                     __socklen_t * __restrict fromlenaddr); }
  102 30      AUE_NULL        MSTD    { int accept(int s, \
  103                                     struct sockaddr * __restrict name, \
  104                                     __socklen_t * __restrict anamelen); }
  105 31      AUE_NULL        MSTD    { int getpeername(int fdes, \
  106                                     struct sockaddr * __restrict asa, \
  107                                     __socklen_t * __restrict alen); }
  108 32      AUE_NULL        MSTD    { int getsockname(int fdes, \
  109                                     struct sockaddr * __restrict asa, \
  110                                     __socklen_t * __restrict alen); }
  111 33      AUE_NULL        MSTD    { int access(char *path, int flags); }
  112 34      AUE_NULL        MSTD    { int chflags(char *path, int flags); }
  113 35      AUE_NULL        MSTD    { int fchflags(int fd, int flags); }
  114 36      AUE_NULL        MSTD    { int sync(void); }
  115 37      AUE_NULL        MSTD    { int kill(int pid, int signum); }
  116 38      AUE_NULL        MCOMPAT { int stat(char *path, struct ostat *ub); }
  117 39      AUE_NULL        MSTD    { pid_t getppid(void); }
  118 40      AUE_NULL        MCOMPAT { int lstat(char *path, struct ostat *ub); }
  119 41      AUE_NULL        MSTD    { int dup(u_int fd); }
  120 42      AUE_NULL        MSTD    { int pipe(void); }
  121 43      AUE_NULL        MSTD    { gid_t getegid(void); }
  122 44      AUE_NULL        MSTD    { int profil(caddr_t samples, size_t size, \
  123                                     size_t offset, u_int scale); }
  124 45      AUE_NULL        MSTD    { int ktrace(const char *fname, int ops, \
  125                                     int facs, int pid); }
  126 46      AUE_NULL        MCOMPAT { int sigaction(int signum, \
  127                                     struct osigaction *nsa, \
  128                                     struct osigaction *osa); }
  129 47      AUE_NULL        MSTD    { gid_t getgid(void); }
  130 48      AUE_NULL        MCOMPAT { int sigprocmask(int how, osigset_t mask); }
  131 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
  132 ; us the mask, not a pointer to it, and we return the old mask as the
  133 ; (int) return value.
  134 49      AUE_NULL        MSTD    { int getlogin(char *namebuf, u_int \
  135                                     namelen); }
  136 50      AUE_NULL        MSTD    { int setlogin(char *namebuf); }
  137 51      AUE_NULL        MSTD    { int acct(char *path); }
  138 52      AUE_NULL        MCOMPAT { int sigpending(void); }
  139 53      AUE_NULL        MSTD    { int sigaltstack(stack_t *ss, \
  140                                     stack_t *oss); }
  141 54      AUE_NULL        MSTD    { int ioctl(int fd, u_long com, \
  142                                     caddr_t data); }
  143 55      AUE_NULL        MSTD    { int reboot(int opt); }
  144 56      AUE_NULL        MSTD    { int revoke(char *path); }
  145 57      AUE_NULL        MSTD    { int symlink(char *path, char *link); }
  146 58      AUE_NULL        MSTD    { int readlink(char *path, char *buf, \
  147                                     int count); }
  148 59      AUE_NULL        MSTD    { int execve(char *fname, char **argv, \
  149                                     char **envv); }
  150 60      AUE_NULL        MSTD    { int umask(int newmask); } umask umask_args \
  151                                     int
  152 61      AUE_NULL        MSTD    { int chroot(char *path); }
  153 62      AUE_NULL        MCOMPAT { int fstat(int fd, struct ostat *sb); }
  154 63      AUE_NULL        MCOMPAT { int getkerninfo(int op, char *where, \
  155                                     size_t *size, int arg); } getkerninfo \
  156                                     getkerninfo_args int
  157 64      AUE_NULL        MCOMPAT { int getpagesize(void); } getpagesize \
  158                                     getpagesize_args int
  159 65      AUE_NULL        MSTD    { int msync(void *addr, size_t len, \
  160                                     int flags); }
  161 66      AUE_NULL        MSTD    { int vfork(void); }
  162 67      AUE_NULL        OBSOL   vread
  163 68      AUE_NULL        OBSOL   vwrite
  164 69      AUE_NULL        MSTD    { int sbrk(int incr); }
  165 70      AUE_NULL        MSTD    { int sstk(int incr); }
  166 71      AUE_NULL        MCOMPAT { int mmap(void *addr, int len, int prot, \
  167                                     int flags, int fd, long pos); }
  168 72      AUE_NULL        MSTD    { int ovadvise(int anom); } vadvise \
  169                                     ovadvise_args int
  170 73      AUE_NULL        MSTD    { int munmap(void *addr, size_t len); }
  171 74      AUE_NULL        MSTD    { int mprotect(const void *addr, size_t len, \
  172                                     int prot); }
  173 75      AUE_NULL        MSTD    { int madvise(void *addr, size_t len, \
  174                                     int behav); }
  175 76      AUE_NULL        OBSOL   vhangup
  176 77      AUE_NULL        OBSOL   vlimit
  177 78      AUE_NULL        MSTD    { int mincore(const void *addr, size_t len, \
  178                                     char *vec); }
  179 79      AUE_NULL        MSTD    { int getgroups(u_int gidsetsize, \
  180                                     gid_t *gidset); }
  181 80      AUE_NULL        MSTD    { int setgroups(u_int gidsetsize, \
  182                                     gid_t *gidset); }
  183 81      AUE_NULL        MSTD    { int getpgrp(void); }
  184 82      AUE_NULL        MSTD    { int setpgid(int pid, int pgid); }
  185 83      AUE_NULL        MSTD    { int setitimer(u_int which, struct \
  186                                     itimerval *itv, struct itimerval *oitv); }
  187 84      AUE_NULL        MCOMPAT { int wait(void); }
  188 85      AUE_NULL        MSTD    { int swapon(char *name); }
  189 86      AUE_NULL        MSTD    { int getitimer(u_int which, \
  190                                     struct itimerval *itv); }
  191 87      AUE_NULL        MCOMPAT { int gethostname(char *hostname, \
  192                                     u_int len); } gethostname \
  193                                     gethostname_args int
  194 88      AUE_NULL        MCOMPAT { int sethostname(char *hostname, \
  195                                     u_int len); } sethostname \
  196                                     sethostname_args int
  197 89      AUE_NULL        MSTD    { int getdtablesize(void); }
  198 90      AUE_NULL        MSTD    { int dup2(u_int from, u_int to); }
  199 91      AUE_NULL        UNIMPL  getdopt
  200 92      AUE_NULL        MSTD    { int fcntl(int fd, int cmd, long arg); }
  201 ; XXX should be { int fcntl(int fd, int cmd, ...); }
  202 ; but we're not ready for varargs.
  203 93      AUE_NULL        MSTD    { int select(int nd, fd_set *in, fd_set *ou, \
  204                                     fd_set *ex, struct timeval *tv); }
  205 94      AUE_NULL        UNIMPL  setdopt
  206 95      AUE_NULL        MSTD    { int fsync(int fd); }
  207 96      AUE_NULL        MSTD    { int setpriority(int which, int who, \
  208                                     int prio); }
  209 97      AUE_NULL        MSTD    { int socket(int domain, int type, \
  210                                     int protocol); }
  211 98      AUE_NULL        MSTD    { int connect(int s, caddr_t name, \
  212                                     int namelen); }
  213 99      AUE_NULL        MCPT_NOA { int accept(int s, caddr_t name, \
  214                                     int *anamelen); } accept accept_args int
  215 100     AUE_NULL        MSTD    { int getpriority(int which, int who); }
  216 101     AUE_NULL        MCOMPAT { int send(int s, caddr_t buf, int len, \
  217                                     int flags); }
  218 102     AUE_NULL        MCOMPAT { int recv(int s, caddr_t buf, int len, \
  219                                     int flags); }
  220 103     AUE_NULL        MCOMPAT { int sigreturn( \
  221                                     struct osigcontext *sigcntxp); }
  222 104     AUE_NULL        MSTD    { int bind(int s, caddr_t name, \
  223                                     int namelen); }
  224 105     AUE_NULL        MSTD    { int setsockopt(int s, int level, int name, \
  225                                     caddr_t val, int valsize); }
  226 106     AUE_NULL        MSTD    { int listen(int s, int backlog); }
  227 107     AUE_NULL        OBSOL   vtimes
  228 108     AUE_NULL        MCOMPAT { int sigvec(int signum, struct sigvec *nsv, \
  229                                     struct sigvec *osv); }
  230 109     AUE_NULL        MCOMPAT { int sigblock(int mask); }
  231 110     AUE_NULL        MCOMPAT { int sigsetmask(int mask); }
  232 111     AUE_NULL        MCOMPAT { int sigsuspend(osigset_t mask); }
  233 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
  234 ; us the mask, not a pointer to it.
  235 112     AUE_NULL        MCOMPAT { int sigstack(struct sigstack *nss, \
  236                                     struct sigstack *oss); }
  237 113     AUE_NULL        MCOMPAT { int recvmsg(int s, struct omsghdr *msg, \
  238                                     int flags); }
  239 114     AUE_NULL        MCOMPAT { int sendmsg(int s, caddr_t msg, \
  240                                     int flags); }
  241 115     AUE_NULL        OBSOL   vtrace
  242 116     AUE_NULL        MSTD    { int gettimeofday(struct timeval *tp, \
  243                                     struct timezone *tzp); }
  244 117     AUE_NULL        MSTD    { int getrusage(int who, \
  245                                     struct rusage *rusage); }
  246 118     AUE_NULL        MSTD    { int getsockopt(int s, int level, int name, \
  247                                     caddr_t val, int *avalsize); }
  248 119     AUE_NULL        UNIMPL  resuba (BSD/OS 2.x)
  249 120     AUE_NULL        MSTD    { int readv(int fd, struct iovec *iovp, \
  250                                     u_int iovcnt); }
  251 121     AUE_NULL        MSTD    { int writev(int fd, struct iovec *iovp, \
  252                                     u_int iovcnt); }
  253 122     AUE_NULL        MSTD    { int settimeofday(struct timeval *tv, \
  254                                     struct timezone *tzp); }
  255 123     AUE_NULL        MSTD    { int fchown(int fd, int uid, int gid); }
  256 124     AUE_NULL        MSTD    { int fchmod(int fd, int mode); }
  257 125     AUE_NULL        MCPT_NOA { int recvfrom(int s, caddr_t buf, \
  258                                     size_t len, int flags, caddr_t from, int \
  259                                     *fromlenaddr); } recvfrom recvfrom_args \
  260                                     int
  261 126     AUE_NULL        MSTD    { int setreuid(int ruid, int euid); }
  262 127     AUE_NULL        MSTD    { int setregid(int rgid, int egid); }
  263 128     AUE_NULL        MSTD    { int rename(char *from, char *to); }
  264 129     AUE_NULL        MCOMPAT { int truncate(char *path, long length); }
  265 130     AUE_NULL        MCOMPAT { int ftruncate(int fd, long length); }
  266 131     AUE_NULL        MSTD    { int flock(int fd, int how); }
  267 132     AUE_NULL        MSTD    { int mkfifo(char *path, int mode); }
  268 133     AUE_NULL        MSTD    { int sendto(int s, caddr_t buf, size_t len, \
  269                                     int flags, caddr_t to, int tolen); }
  270 134     AUE_NULL        MSTD    { int shutdown(int s, int how); }
  271 135     AUE_NULL        MSTD    { int socketpair(int domain, int type, \
  272                                     int protocol, int *rsv); }
  273 136     AUE_NULL        MSTD    { int mkdir(char *path, int mode); }
  274 137     AUE_NULL        MSTD    { int rmdir(char *path); }
  275 138     AUE_NULL        MSTD    { int utimes(char *path, \
  276                                     struct timeval *tptr); }
  277 139     AUE_NULL        OBSOL   4.2 sigreturn
  278 140     AUE_NULL        MSTD    { int adjtime(struct timeval *delta, \
  279                                     struct timeval *olddelta); }
  280 141     AUE_NULL        MCOMPAT { int getpeername(int fdes, caddr_t asa, \
  281                                     int *alen); }
  282 142     AUE_NULL        MCOMPAT { long gethostid(void); }
  283 143     AUE_NULL        MCOMPAT { int sethostid(long hostid); }
  284 144     AUE_NULL        MCOMPAT { int getrlimit(u_int which, struct \
  285                                     orlimit *rlp); }
  286 145     AUE_NULL        MCOMPAT { int setrlimit(u_int which, \
  287                                     struct orlimit *rlp); }
  288 146     AUE_NULL        MCOMPAT { int killpg(int pgid, int signum); }
  289 147     AUE_NULL        MSTD    { int setsid(void); }
  290 148     AUE_NULL        MSTD    { int quotactl(char *path, int cmd, int uid, \
  291                                     caddr_t arg); }
  292 149     AUE_NULL        MCOMPAT { int quota(void); }
  293 150     AUE_NULL        MCPT_NOA        { int getsockname(int fdec, \
  294                                     caddr_t asa, int *alen); } getsockname \
  295                                     getsockname_args int
  296 
  297 ; Syscalls 151-180 inclusive are reserved for vendor-specific
  298 ; system calls.  (This includes various calls added for compatibity
  299 ; with other Unix variants.)
  300 ; Some of these calls are now supported by BSD...
  301 151     AUE_NULL        UNIMPL  sem_lock (BSD/OS 2.x)
  302 152     AUE_NULL        UNIMPL  sem_wakeup (BSD/OS 2.x)
  303 153     AUE_NULL        UNIMPL  asyncdaemon (BSD/OS 2.x)
  304 154     AUE_NULL        UNIMPL  nosys
  305 ; 155 is initialized by the NFS code, if present.
  306 155     AUE_NULL        MNOIMPL { int nfssvc(int flag, caddr_t argp); }
  307 156     AUE_NULL        COMPAT  { int getdirentries(int fd, char *buf, \
  308                                     u_int count, long *basep); }
  309 157     AUE_NULL        MCOMPAT4        { int statfs(char *path, \
  310                                     struct ostatfs *buf); }
  311 158     AUE_NULL        MCOMPAT4        { int fstatfs(int fd, \
  312                                     struct ostatfs *buf); }
  313 159     AUE_NULL        UNIMPL  nosys
  314 160     AUE_NULL        MSTD    { int lgetfh(char *fname, \
  315                                     struct fhandle *fhp); }
  316 161     AUE_NULL        MSTD    { int getfh(char *fname, \
  317                                     struct fhandle *fhp); }
  318 162     AUE_NULL        MSTD    { int getdomainname(char *domainname, \
  319                                     int len); }
  320 163     AUE_NULL        MSTD    { int setdomainname(char *domainname, \
  321                                     int len); }
  322 164     AUE_NULL        MSTD    { int uname(struct utsname *name); }
  323 165     AUE_NULL        MSTD    { int sysarch(int op, char *parms); }
  324 166     AUE_NULL        MSTD    { int rtprio(int function, pid_t pid, \
  325                                     struct rtprio *rtp); }
  326 167     AUE_NULL        UNIMPL  nosys
  327 168     AUE_NULL        UNIMPL  nosys
  328 ; 169 is initialized by the SYSVSEM code if present or loaded
  329 169     AUE_NULL        MNOSTD  { int semsys(int which, int a2, int a3, \
  330                                     int a4, int a5); }
  331 ; 169 is initialized by the SYSVMSG code if present or loaded
  332 ; XXX should be { int semsys(int which, ...); }
  333 170     AUE_NULL        MNOSTD  { int msgsys(int which, int a2, int a3, \
  334                                     int a4, int a5, int a6); }
  335 ; 169 is initialized by the SYSVSHM code if present or loaded
  336 ; XXX should be { int msgsys(int which, ...); }
  337 171     AUE_NULL        MNOSTD  { int shmsys(int which, int a2, int a3, \
  338                                     int a4); }
  339 ; XXX should be { int shmsys(int which, ...); }
  340 172     AUE_NULL        UNIMPL  nosys
  341 173     AUE_NULL        MSTD    { ssize_t pread(int fd, void *buf, \
  342                                     size_t nbyte, int pad, off_t offset); }
  343 174     AUE_NULL        MSTD    { ssize_t pwrite(int fd, const void *buf, \
  344                                     size_t nbyte, int pad, off_t offset); }
  345 175     AUE_NULL        UNIMPL  nosys
  346 176     AUE_NULL        MSTD    { int ntp_adjtime(struct timex *tp); }
  347 177     AUE_NULL        UNIMPL  sfork (BSD/OS 2.x)
  348 178     AUE_NULL        UNIMPL  getdescriptor (BSD/OS 2.x)
  349 179     AUE_NULL        UNIMPL  setdescriptor (BSD/OS 2.x)
  350 180     AUE_NULL        UNIMPL  nosys
  351 
  352 ; Syscalls 181-199 are used by/reserved for BSD
  353 181     AUE_NULL        MSTD    { int setgid(gid_t gid); }
  354 182     AUE_NULL        MSTD    { int setegid(gid_t egid); }
  355 183     AUE_NULL        MSTD    { int seteuid(uid_t euid); }
  356 184     AUE_NULL        UNIMPL  lfs_bmapv
  357 185     AUE_NULL        UNIMPL  lfs_markv
  358 186     AUE_NULL        UNIMPL  lfs_segclean
  359 187     AUE_NULL        UNIMPL  lfs_segwait
  360 188     AUE_NULL        MSTD    { int stat(char *path, struct stat *ub); }
  361 189     AUE_NULL        MSTD    { int fstat(int fd, struct stat *sb); }
  362 190     AUE_NULL        MSTD    { int lstat(char *path, struct stat *ub); }
  363 191     AUE_NULL        MSTD    { int pathconf(char *path, int name); }
  364 192     AUE_NULL        MSTD    { int fpathconf(int fd, int name); }
  365 193     AUE_NULL        UNIMPL  nosys
  366 194     AUE_NULL        MSTD    { int getrlimit(u_int which, \
  367                                     struct rlimit *rlp); } getrlimit \
  368                                     __getrlimit_args int
  369 195     AUE_NULL        MSTD    { int setrlimit(u_int which, \
  370                                     struct rlimit *rlp); } setrlimit \
  371                                     __setrlimit_args int
  372 196     AUE_NULL        MSTD    { int getdirentries(int fd, char *buf, \
  373                                     u_int count, long *basep); }
  374 197     AUE_NULL        MSTD    { caddr_t mmap(caddr_t addr, size_t len, \
  375                                     int prot, int flags, int fd, int pad, \
  376                                     off_t pos); }
  377 198     AUE_NULL        MSTD    { int nosys(void); } __syscall \
  378                                     __syscall_args int
  379 199     AUE_NULL        MSTD    { off_t lseek(int fd, int pad, off_t offset, \
  380                                     int whence); }
  381 200     AUE_NULL        MSTD    { int truncate(char *path, int pad, \
  382                                     off_t length); }
  383 201     AUE_NULL        MSTD    { int ftruncate(int fd, int pad, \
  384                                     off_t length); }
  385 202     AUE_NULL        MSTD    { int __sysctl(int *name, u_int namelen, \
  386                                     void *old, size_t *oldlenp, void *new, \
  387                                     size_t newlen); } __sysctl sysctl_args int
  388 203     AUE_NULL        MSTD    { int mlock(const void *addr, size_t len); }
  389 204     AUE_NULL        MSTD    { int munlock(const void *addr, size_t len); }
  390 205     AUE_NULL        MSTD    { int undelete(char *path); }
  391 206     AUE_NULL        MSTD    { int futimes(int fd, struct timeval *tptr); }
  392 207     AUE_NULL        MSTD    { int getpgid(pid_t pid); }
  393 208     AUE_NULL        UNIMPL  newreboot (NetBSD)
  394 209     AUE_NULL        MSTD    { 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   lkmnosys lkmnosys nosys_args int
  401 211     AUE_NULL        NODEF   lkmnosys lkmnosys nosys_args int
  402 212     AUE_NULL        NODEF   lkmnosys lkmnosys nosys_args int
  403 213     AUE_NULL        NODEF   lkmnosys lkmnosys nosys_args int
  404 214     AUE_NULL        NODEF   lkmnosys lkmnosys nosys_args int
  405 215     AUE_NULL        NODEF   lkmnosys lkmnosys nosys_args int
  406 216     AUE_NULL        NODEF   lkmnosys lkmnosys nosys_args int
  407 217     AUE_NULL        NODEF   lkmnosys lkmnosys nosys_args int
  408 218     AUE_NULL        NODEF   lkmnosys lkmnosys nosys_args int
  409 219     AUE_NULL        NODEF   lkmnosys lkmnosys nosys_args int
  410 
  411 ;
  412 ; The following were introduced with NetBSD/4.4Lite-2
  413 ; They are initialized by their respective modules/sysinits
  414 220     AUE_NULL        MNOSTD  { int __semctl(int semid, int semnum, \
  415                                     int cmd, union semun *arg); }
  416 221     AUE_NULL        MNOSTD  { int semget(key_t key, int nsems, \
  417                                     int semflg); }
  418 222     AUE_NULL        MNOSTD  { int semop(int semid, struct sembuf *sops, \
  419                                     size_t nsops); }
  420 223     AUE_NULL        UNIMPL  semconfig
  421 224     AUE_NULL        MNOSTD  { int msgctl(int msqid, int cmd, \
  422                                     struct msqid_ds *buf); }
  423 225     AUE_NULL        MNOSTD  { int msgget(key_t key, int msgflg); }
  424 226     AUE_NULL        MNOSTD  { int msgsnd(int msqid, const void *msgp, \
  425                                     size_t msgsz, int msgflg); }
  426 227     AUE_NULL        MNOSTD  { int msgrcv(int msqid, void *msgp, \
  427                                     size_t msgsz, long msgtyp, int msgflg); }
  428 228     AUE_NULL        MNOSTD  { int shmat(int shmid, const void *shmaddr, \
  429                                     int shmflg); }
  430 229     AUE_NULL        MNOSTD  { int shmctl(int shmid, int cmd, \
  431                                     struct shmid_ds *buf); }
  432 230     AUE_NULL        MNOSTD  { int shmdt(const void *shmaddr); }
  433 231     AUE_NULL        MNOSTD  { int shmget(key_t key, size_t size, \
  434                                     int shmflg); }
  435 ;
  436 232     AUE_NULL        MSTD    { int clock_gettime(clockid_t clock_id, \
  437                                     struct timespec *tp); }
  438 233     AUE_NULL        MSTD    { int clock_settime(clockid_t clock_id, \
  439                                     const struct timespec *tp); }
  440 234     AUE_NULL        MSTD    { int clock_getres(clockid_t clock_id, \
  441                                     struct timespec *tp); }
  442 235     AUE_NULL        UNIMPL  timer_create
  443 236     AUE_NULL        UNIMPL  timer_delete
  444 237     AUE_NULL        UNIMPL  timer_settime
  445 238     AUE_NULL        UNIMPL  timer_gettime
  446 239     AUE_NULL        UNIMPL  timer_getoverrun
  447 240     AUE_NULL        MSTD    { int nanosleep(const struct timespec *rqtp, \
  448                                     struct timespec *rmtp); }
  449 241     AUE_NULL        UNIMPL  nosys
  450 242     AUE_NULL        UNIMPL  nosys
  451 243     AUE_NULL        UNIMPL  nosys
  452 244     AUE_NULL        UNIMPL  nosys
  453 245     AUE_NULL        UNIMPL  nosys
  454 246     AUE_NULL        UNIMPL  nosys
  455 247     AUE_NULL        UNIMPL  nosys
  456 248     AUE_NULL        MSTD    { int ntp_gettime(struct ntptimeval *ntvp); }
  457 249     AUE_NULL        UNIMPL  nosys
  458 ; syscall numbers initially used in OpenBSD
  459 250     AUE_NULL        MSTD    { int minherit(void *addr, size_t len, \
  460                                     int inherit); }
  461 251     AUE_NULL        MSTD    { int rfork(int flags); }
  462 252     AUE_NULL        MSTD    { int openbsd_poll(struct pollfd *fds, \
  463                                     u_int nfds, int timeout); }
  464 253     AUE_NULL        MSTD    { int issetugid(void); }
  465 254     AUE_NULL        MSTD    { int lchown(char *path, int uid, int gid); }
  466 255     AUE_NULL        UNIMPL  nosys
  467 256     AUE_NULL        UNIMPL  nosys
  468 257     AUE_NULL        UNIMPL  nosys
  469 258     AUE_NULL        UNIMPL  nosys
  470 259     AUE_NULL        UNIMPL  nosys
  471 260     AUE_NULL        UNIMPL  nosys
  472 261     AUE_NULL        UNIMPL  nosys
  473 262     AUE_NULL        UNIMPL  nosys
  474 263     AUE_NULL        UNIMPL  nosys
  475 264     AUE_NULL        UNIMPL  nosys
  476 265     AUE_NULL        UNIMPL  nosys
  477 266     AUE_NULL        UNIMPL  nosys
  478 267     AUE_NULL        UNIMPL  nosys
  479 268     AUE_NULL        UNIMPL  nosys
  480 269     AUE_NULL        UNIMPL  nosys
  481 270     AUE_NULL        UNIMPL  nosys
  482 271     AUE_NULL        UNIMPL  nosys
  483 272     AUE_NULL        MSTD    { int getdents(int fd, char *buf, \
  484                                     size_t count); }
  485 273     AUE_NULL        UNIMPL  nosys
  486 274     AUE_NULL        MSTD    { int lchmod(char *path, mode_t mode); }
  487 275     AUE_NULL        MNOPROTO { int lchown(char *path, uid_t uid, \
  488                                     gid_t gid); } netbsd_lchown lchown_args \
  489                                     int
  490 276     AUE_NULL        MSTD    { int lutimes(char *path, \
  491                                     struct timeval *tptr); }
  492 277     AUE_NULL        MNOPROTO        { int msync(void *addr, size_t len, \
  493                                     int flags); } netbsd_msync msync_args int
  494 278     AUE_NULL        MSTD    { int nstat(char *path, struct nstat *ub); }
  495 279     AUE_NULL        MSTD    { int nfstat(int fd, struct nstat *sb); }
  496 280     AUE_NULL        MSTD    { int nlstat(char *path, struct nstat *ub); }
  497 281     AUE_NULL        UNIMPL  nosys
  498 282     AUE_NULL        UNIMPL  nosys
  499 283     AUE_NULL        UNIMPL  nosys
  500 284     AUE_NULL        UNIMPL  nosys
  501 285     AUE_NULL        UNIMPL  nosys
  502 286     AUE_NULL        UNIMPL  nosys
  503 287     AUE_NULL        UNIMPL  nosys
  504 288     AUE_NULL        UNIMPL  nosys
  505 ; 289 and 290 from NetBSD (OpenBSD: 267 and 268)
  506 289     AUE_NULL        MSTD    { ssize_t preadv(int fd, struct iovec *iovp, \
  507                                         u_int iovcnt, off_t offset); }
  508 290     AUE_NULL        MSTD    { ssize_t pwritev(int fd, struct iovec *iovp, \
  509                                         u_int iovcnt, off_t offset); }
  510 291     AUE_NULL        UNIMPL  nosys
  511 292     AUE_NULL        UNIMPL  nosys
  512 293     AUE_NULL        UNIMPL  nosys
  513 294     AUE_NULL        UNIMPL  nosys
  514 295     AUE_NULL        UNIMPL  nosys
  515 296     AUE_NULL        UNIMPL  nosys
  516 ; XXX 297 is 300 in NetBSD 
  517 297     AUE_NULL        MCOMPAT4        { int fhstatfs( \
  518                                     const struct fhandle *u_fhp, \
  519                                     struct ostatfs *buf); }
  520 298     AUE_NULL        MSTD    { int fhopen(const struct fhandle *u_fhp, \
  521                                     int flags); }
  522 299     AUE_NULL        MSTD    { int fhstat(const struct fhandle *u_fhp, \
  523                                     struct stat *sb); }
  524 ; syscall numbers for FreeBSD
  525 300     AUE_NULL        MSTD    { int modnext(int modid); }
  526 301     AUE_NULL        MSTD    { int modstat(int modid, \
  527                                     struct module_stat *stat); }
  528 302     AUE_NULL        MSTD    { int modfnext(int modid); }
  529 303     AUE_NULL        MSTD    { int modfind(const char *name); }
  530 304     AUE_NULL        MSTD    { int kldload(const char *file); }
  531 305     AUE_NULL        MSTD    { int kldunload(int fileid); }
  532 306     AUE_NULL        MSTD    { int kldfind(const char *file); }
  533 307     AUE_NULL        MSTD    { int kldnext(int fileid); }
  534 308     AUE_NULL        MSTD    { int kldstat(int fileid, struct \
  535                                     kld_file_stat* stat); }
  536 309     AUE_NULL        MSTD    { int kldfirstmod(int fileid); }
  537 310     AUE_NULL        MSTD    { int getsid(pid_t pid); }
  538 311     AUE_NULL        MSTD    { int setresuid(uid_t ruid, uid_t euid, \
  539                                     uid_t suid); }
  540 312     AUE_NULL        MSTD    { int setresgid(gid_t rgid, gid_t egid, \
  541                                     gid_t sgid); }
  542 313     AUE_NULL        OBSOL   signanosleep
  543 314     AUE_NULL        NOSTD   { int aio_return(struct aiocb *aiocbp); }
  544 315     AUE_NULL        NOSTD   { int aio_suspend( \
  545                                     struct aiocb * const * aiocbp, int nent, \
  546                                     const struct timespec *timeout); }
  547 316     AUE_NULL        NOSTD   { int aio_cancel(int fd, \
  548                                     struct aiocb *aiocbp); }
  549 317     AUE_NULL        NOSTD   { int aio_error(struct aiocb *aiocbp); }
  550 318     AUE_NULL        NOSTD   { int aio_read(struct aiocb *aiocbp); }
  551 319     AUE_NULL        NOSTD   { int aio_write(struct aiocb *aiocbp); }
  552 320     AUE_NULL        NOSTD   { int lio_listio(int mode, \
  553                                     struct aiocb * const *acb_list, \
  554                                     int nent, struct sigevent *sig); }
  555 321     AUE_NULL        MSTD    { int yield(void); }
  556 322     AUE_NULL        OBSOL   thr_sleep
  557 323     AUE_NULL        OBSOL   thr_wakeup
  558 324     AUE_NULL        MSTD    { int mlockall(int how); }
  559 325     AUE_NULL        MSTD    { int munlockall(void); }
  560 326     AUE_NULL        MSTD    { int __getcwd(u_char *buf, u_int buflen); }
  561 
  562 327     AUE_NULL        MSTD    { int sched_setparam (pid_t pid, \
  563                                     const struct sched_param *param); }
  564 328     AUE_NULL        MSTD    { int sched_getparam (pid_t pid, struct \
  565                                     sched_param *param); }
  566 
  567 329     AUE_NULL        MSTD    { int sched_setscheduler (pid_t pid, int \
  568                                     policy, const struct sched_param \
  569                                     *param); }
  570 330     AUE_NULL        MSTD    { int sched_getscheduler (pid_t pid); }
  571 
  572 331     AUE_NULL        MSTD    { int sched_yield (void); }
  573 332     AUE_NULL        MSTD    { int sched_get_priority_max (int policy); }
  574 333     AUE_NULL        MSTD    { int sched_get_priority_min (int policy); }
  575 334     AUE_NULL        MSTD    { int sched_rr_get_interval (pid_t pid, \
  576                                     struct timespec *interval); }
  577 335     AUE_NULL        MSTD    { int utrace(const void *addr, size_t len); }
  578 336     AUE_NULL        MCOMPAT4        { int sendfile(int fd, int s, \
  579                                     off_t offset, size_t nbytes, \
  580                                     struct sf_hdtr *hdtr, off_t *sbytes, \
  581                                     int flags); }
  582 337     AUE_NULL        MSTD    { int kldsym(int fileid, int cmd, \
  583                                     void *data); }
  584 338     AUE_NULL        MSTD    { int jail(struct jail *jail); }
  585 339     AUE_NULL        UNIMPL  pioctl
  586 340     AUE_NULL        MSTD    { int sigprocmask(int how, \
  587                                     const sigset_t *set, sigset_t *oset); }
  588 341     AUE_NULL        MSTD    { int sigsuspend(const sigset_t *sigmask); }
  589 342     AUE_NULL        MCOMPAT4        { int sigaction(int sig, const \
  590                                     struct sigaction *act, \
  591                                     struct sigaction *oact); }
  592 343     AUE_NULL        MSTD    { int sigpending(sigset_t *set); }
  593 344     AUE_NULL        MCOMPAT4        { int sigreturn( \
  594                                     const struct ucontext4 *sigcntxp); }
  595 345     AUE_NULL        MSTD    { int sigtimedwait(const sigset_t *set, \
  596                                     siginfo_t *info, \
  597                                     const struct timespec *timeout); }
  598 346     AUE_NULL        MSTD    { int sigwaitinfo(const sigset_t *set, \
  599                                     siginfo_t *info); }
  600 347     AUE_NULL        MSTD    { int __acl_get_file(const char *path, \
  601                                     acl_type_t type, struct acl *aclp); }
  602 348     AUE_NULL        MSTD    { int __acl_set_file(const char *path, \
  603                                     acl_type_t type, struct acl *aclp); }
  604 349     AUE_NULL        MSTD    { int __acl_get_fd(int filedes, \
  605                                     acl_type_t type, struct acl *aclp); }
  606 350     AUE_NULL        MSTD    { int __acl_set_fd(int filedes, \
  607                                     acl_type_t type, struct acl *aclp); }
  608 351     AUE_NULL        MSTD    { int __acl_delete_file(const char *path, \
  609                                     acl_type_t type); }
  610 352     AUE_NULL        MSTD    { int __acl_delete_fd(int filedes, \
  611                                     acl_type_t type); }
  612 353     AUE_NULL        MSTD    { int __acl_aclcheck_file(const char *path, \
  613                                     acl_type_t type, struct acl *aclp); }
  614 354     AUE_NULL        MSTD    { int __acl_aclcheck_fd(int filedes, \
  615                                     acl_type_t type, struct acl *aclp); }
  616 355     AUE_NULL        STD     { int extattrctl(const char *path, int cmd, \
  617                                     const char *filename, int attrnamespace, \
  618                                     const char *attrname); }
  619 356     AUE_NULL        STD     { int extattr_set_file(const char *path, \
  620                                     int attrnamespace, const char *attrname, \
  621                                     void *data, size_t nbytes); }
  622 357     AUE_NULL        STD     { ssize_t extattr_get_file(const char *path, \
  623                                     int attrnamespace, const char *attrname, \
  624                                     void *data, size_t nbytes); }
  625 358     AUE_NULL        STD     { int extattr_delete_file(const char *path, \
  626                                     int attrnamespace, \
  627                                     const char *attrname); }
  628 359     AUE_NULL        NOSTD   { int aio_waitcomplete( \
  629                                     struct aiocb **aiocbp, \
  630                                     struct timespec *timeout); }
  631 360     AUE_NULL        MSTD    { int getresuid(uid_t *ruid, uid_t *euid, \
  632                                     uid_t *suid); }
  633 361     AUE_NULL        MSTD    { int getresgid(gid_t *rgid, gid_t *egid, \
  634                                     gid_t *sgid); }
  635 362     AUE_NULL        MSTD    { int kqueue(void); }
  636 363     AUE_NULL        MSTD    { int kevent(int fd, \
  637                                     struct kevent *changelist, int nchanges, \
  638                                     struct kevent *eventlist, int nevents, \
  639                                     const struct timespec *timeout); }
  640 364     AUE_NULL        UNIMPL  __cap_get_proc
  641 365     AUE_NULL        UNIMPL  __cap_set_proc
  642 366     AUE_NULL        UNIMPL  __cap_get_fd
  643 367     AUE_NULL        UNIMPL  __cap_get_file
  644 368     AUE_NULL        UNIMPL  __cap_set_fd
  645 369     AUE_NULL        UNIMPL  __cap_set_file
  646 370     AUE_NULL        NODEF   lkmressys lkmressys nosys_args int
  647 371     AUE_NULL        STD     { int extattr_set_fd(int fd, \
  648                                     int attrnamespace, const char *attrname, \
  649                                     void *data, size_t nbytes); }
  650 372     AUE_NULL        STD     { ssize_t extattr_get_fd(int fd, \
  651                                     int attrnamespace, const char *attrname, \
  652                                     void *data, size_t nbytes); }
  653 373     AUE_NULL        STD     { int extattr_delete_fd(int fd, \
  654                                     int attrnamespace, \
  655                                     const char *attrname); }
  656 374     AUE_NULL        MSTD    { int __setugid(int flag); }
  657 375     AUE_NULL        NOIMPL  { int nfsclnt(int flag, caddr_t argp); }
  658 376     AUE_NULL        MSTD    { int eaccess(char *path, int flags); }
  659 377     AUE_NULL        UNIMPL  afs_syscall
  660 378     AUE_NULL        STD     { int nmount(struct iovec *iovp, \
  661                                     unsigned int iovcnt, int flags); }
  662 379     AUE_NULL        MSTD    { int kse_exit(void); }
  663 380     AUE_NULL        MSTD    { int kse_wakeup(struct kse_mailbox *mbx); }
  664 381     AUE_NULL        MSTD    { int kse_create(struct kse_mailbox *mbx, \
  665                                     int newgroup); }
  666 382     AUE_NULL        MSTD    { int kse_thr_interrupt( \
  667                                     struct kse_thr_mailbox *tmbx, int cmd, \
  668                                     long data); }
  669 383     AUE_NULL        MSTD    { int kse_release(struct timespec *timeout); }
  670 384     AUE_NULL        MSTD    { int __mac_get_proc(struct mac *mac_p); }
  671 385     AUE_NULL        MSTD    { int __mac_set_proc(struct mac *mac_p); }
  672 386     AUE_NULL        MSTD    { int __mac_get_fd(int fd, \
  673                                     struct mac *mac_p); }
  674 387     AUE_NULL        MSTD    { int __mac_get_file(const char *path_p, \
  675                                     struct mac *mac_p); }
  676 388     AUE_NULL        MSTD    { int __mac_set_fd(int fd, \
  677                                     struct mac *mac_p); }
  678 389     AUE_NULL        MSTD    { int __mac_set_file(const char *path_p, \
  679                                     struct mac *mac_p); }
  680 390     AUE_NULL        MSTD    { int kenv(int what, const char *name, \
  681                                     char *value, int len); }
  682 391     AUE_NULL        MSTD    { int lchflags(const char *path, int flags); }
  683 392     AUE_NULL        MSTD    { int uuidgen(struct uuid *store, \
  684                                     int count); }
  685 393     AUE_NULL        MSTD    { int sendfile(int fd, int s, off_t offset, \
  686                                     size_t nbytes, struct sf_hdtr *hdtr, \
  687                                     off_t *sbytes, int flags); }
  688 394     AUE_NULL        MSTD    { int mac_syscall(const char *policy, \
  689                                     int call, void *arg); }
  690 395     AUE_NULL        MSTD    { int getfsstat(struct statfs *buf, \
  691                                     long bufsize, int flags); }
  692 396     AUE_NULL        MSTD    { int statfs(char *path, \
  693                                     struct statfs *buf); }
  694 397     AUE_NULL        MSTD    { int fstatfs(int fd, struct statfs *buf); }
  695 398     AUE_NULL        MSTD    { int fhstatfs(const struct fhandle *u_fhp, \
  696                                     struct statfs *buf); }
  697 399     AUE_NULL        UNIMPL  nosys
  698 400     AUE_NULL        MNOSTD  { int ksem_close(semid_t id); }
  699 401     AUE_NULL        MNOSTD  { int ksem_post(semid_t id); }
  700 402     AUE_NULL        MNOSTD  { int ksem_wait(semid_t id); }
  701 403     AUE_NULL        MNOSTD  { int ksem_trywait(semid_t id); }
  702 404     AUE_NULL        MNOSTD  { int ksem_init(semid_t *idp, \
  703                                     unsigned int value); }
  704 405     AUE_NULL        MNOSTD  { int ksem_open(semid_t *idp, \
  705                                     const char *name, int oflag, \
  706                                     mode_t mode, unsigned int value); }
  707 406     AUE_NULL        MNOSTD  { int ksem_unlink(const char *name); }
  708 407     AUE_NULL        MNOSTD  { int ksem_getvalue(semid_t id, int *val); }
  709 408     AUE_NULL        MNOSTD  { int ksem_destroy(semid_t id); }
  710 409     AUE_NULL        MSTD    { int __mac_get_pid(pid_t pid, \
  711                                     struct mac *mac_p); }
  712 410     AUE_NULL        MSTD    { int __mac_get_link(const char *path_p, \
  713                                     struct mac *mac_p); }
  714 411     AUE_NULL        MSTD    { int __mac_set_link(const char *path_p, \
  715                                     struct mac *mac_p); }
  716 412     AUE_NULL        STD     { int extattr_set_link(const char *path, \
  717                                     int attrnamespace, const char *attrname, \
  718                                     void *data, size_t nbytes); }
  719 413     AUE_NULL        STD     { ssize_t extattr_get_link(const char *path, \
  720                                     int attrnamespace, const char *attrname, \
  721                                     void *data, size_t nbytes); }
  722 414     AUE_NULL        STD     { int extattr_delete_link(const char *path, \
  723                                     int attrnamespace, \
  724                                     const char *attrname); }
  725 415     AUE_NULL        MSTD    { int __mac_execve(char *fname, char **argv, \
  726                                     char **envv, struct mac *mac_p); }
  727 416     AUE_NULL        MSTD    { int sigaction(int sig, \
  728                                     const struct sigaction *act, \
  729                                     struct sigaction *oact); }
  730 417     AUE_NULL        MSTD    { int sigreturn( \
  731                                     const struct __ucontext *sigcntxp); }
  732 418     AUE_NULL        UNIMPL  __xstat
  733 419     AUE_NULL        UNIMPL  __xfstat
  734 420     AUE_NULL        UNIMPL  __xlstat
  735 421     AUE_NULL        MSTD    { int getcontext(struct __ucontext *ucp); }
  736 422     AUE_NULL        MSTD    { int setcontext( \
  737                                     const struct __ucontext *ucp); }
  738 423     AUE_NULL        MSTD    { int swapcontext(struct __ucontext *oucp, \
  739                                     const struct __ucontext *ucp); }
  740 424     AUE_NULL        MSTD    { int swapoff(const char *name); }
  741 425     AUE_NULL        MSTD    { int __acl_get_link(const char *path, \
  742                                     acl_type_t type, struct acl *aclp); }
  743 426     AUE_NULL        MSTD    { int __acl_set_link(const char *path, \
  744                                     acl_type_t type, struct acl *aclp); }
  745 427     AUE_NULL        MSTD    { int __acl_delete_link(const char *path, \
  746                                     acl_type_t type); }
  747 428     AUE_NULL        MSTD    { int __acl_aclcheck_link(const char *path, \
  748                                     acl_type_t type, struct acl *aclp); }
  749 429     AUE_NULL        MSTD    { int sigwait(const sigset_t *set, \
  750                                     int *sig); }
  751 430     AUE_NULL        MSTD    { int thr_create(ucontext_t *ctx, long *id, \
  752                                     int flags); }
  753 431     AUE_NULL        MSTD    { void thr_exit(long *state); }
  754 432     AUE_NULL        MSTD    { int thr_self(long *id); }
  755 433     AUE_NULL        MSTD    { int thr_kill(long id, int sig); }
  756 434     AUE_NULL        MSTD    { int _umtx_lock(struct umtx *umtx); }
  757 435     AUE_NULL        MSTD    { int _umtx_unlock(struct umtx *umtx); }
  758 436     AUE_NULL        MSTD    { int jail_attach(int jid); }
  759 437     AUE_NULL        STD     { ssize_t extattr_list_fd(int fd, \
  760                                     int attrnamespace, void *data, \
  761                                     size_t nbytes); }
  762 438     AUE_NULL        STD     { ssize_t extattr_list_file( \
  763                                     const char *path, int attrnamespace, \
  764                                     void *data, size_t nbytes); }
  765 439     AUE_NULL        STD     { ssize_t extattr_list_link( \
  766                                     const char *path, int attrnamespace, \
  767                                     void *data, size_t nbytes); }
  768 440     AUE_NULL        MSTD    { int kse_switchin( \
  769                                     struct kse_thr_mailbox *tmbx, \
  770                                     int flags); }
  771 441     AUE_NULL        MNOSTD  { int ksem_timedwait(semid_t id, \
  772                                     struct timespec *abstime); }
  773 442     AUE_NULL        MSTD    { int thr_suspend( \
  774                                     const struct timespec *timeout); }
  775 443     AUE_NULL        MSTD    { int thr_wake(long id); }
  776 444     AUE_NULL        MSTD    { int kldunloadf(int fileid, int flags); }
  777 445     AUE_NULL        MNOSTD  { int audit(const void *record, \
  778                                     u_int length); }
  779 446     AUE_NULL        MNOSTD  { int auditon(int cmd, void *data, \
  780                                     u_int length); }
  781 447     AUE_NULL        MNOSTD  { int getauid(uid_t *auid); }
  782 448     AUE_NULL        MNOSTD  { int setauid(uid_t *auid); }
  783 449     AUE_NULL        MNOSTD  { int getaudit(struct auditinfo *auditinfo); }
  784 450     AUE_NULL        MNOSTD  { int setaudit(struct auditinfo *auditinfo); }
  785 451     AUE_NULL        MNOSTD  { int getaudit_addr( \
  786                                     struct auditinfo_addr *auditinfo_addr, \
  787                                     u_int length); }
  788 452     AUE_NULL        MNOSTD  { int setaudit_addr( \
  789                                     struct auditinfo_addr *auditinfo_addr, \
  790                                     u_int length); }
  791 453     AUE_NULL        MNOSTD  { int auditctl(int cmd, char *path); }
  792 454     AUE_NULL        MSTD    { int _umtx_op(struct umtx *umtx, int op, \
  793                                     long id, void *uaddr, void *uaddr2); }
  794 455     AUE_NULL        MSTD    { int thr_new(struct thr_param *param, \
  795                                     int param_size); }
  796 
  797 ; Please copy any additions and changes to the following compatability tables:
  798 ; sys/compat/freebsd32/syscalls.master

Cache object: 2aeb270c78c7b9c40753c0a18c6395e3


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