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  -  FREEBSD11  -  FREEBSD10  -  FREEBSD9  -  FREEBSD92  -  FREEBSD91  -  FREEBSD90  -  FREEBSD8  -  FREEBSD82  -  FREEBSD81  -  FREEBSD80  -  FREEBSD7  -  FREEBSD74  -  FREEBSD73  -  FREEBSD72  -  FREEBSD71  -  FREEBSD70  -  FREEBSD6  -  FREEBSD64  -  FREEBSD63  -  FREEBSD62  -  FREEBSD61  -  FREEBSD60  -  FREEBSD5  -  FREEBSD55  -  FREEBSD54  -  FREEBSD53  -  FREEBSD52  -  FREEBSD51  -  FREEBSD50  -  FREEBSD4  -  FREEBSD3  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1  $FreeBSD: src/sys/kern/syscalls.master,v 1.29.2.5 2000/05/01 11:22:17 peter Exp $
    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 type nargs namespc name alt{name,tag,rtyp}/comments
    8 ;       number  system call number, must be in order
    9 ;       type    one of STD, OBSOL, UNIMPL, COMPAT
   10 ;       namespc one of POSIX, BSD, NOHIDE
   11 ;       name    psuedo-prototype of syscall routine
   12 ;               If one of the following alts is different, then all appear:
   13 ;       altname name of system call if different
   14 ;       alttag  name of args struct tag if different from [o]`name'"_args"
   15 ;       altrtyp return type if not int (bogus - syscalls always return int)
   16 ;               for UNIMPL/OBSOL, name continues with comments
   17 
   18 ; types:
   19 ;       STD     always included
   20 ;       COMPAT  included on COMPAT #ifdef
   21 ;       LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
   22 ;       OBSOL   obsolete, not included in system, only specifies name
   23 ;       UNIMPL  not implemented, placeholder only
   24 
   25 ; #ifdef's, etc. may be included, and are copied to the output files.
   26 
   27 #include <sys/types.h>
   28 #include <sys/param.h>
   29 #include <sys/mount.h>
   30 #include <sys/sysent.h>
   31 #include <sys/sysproto.h>
   32 
   33 ; Reserved/unimplemented system calls in the range 0-150 inclusive
   34 ; are reserved for use in future Berkeley releases.
   35 ; Additional system calls implemented in vendor and other
   36 ; redistributions should be placed in the reserved range at the end
   37 ; of the current calls.
   38 
   39 0       STD     NOHIDE  { int nosys(void); } syscall nosys_args int
   40 1       STD     NOHIDE  { void exit(int rval); } exit rexit_args void
   41 2       STD     POSIX   { int fork(void); }
   42 3       STD     POSIX   { int read(int fd, char *buf, u_int nbyte); }
   43 4       STD     POSIX   { int write(int fd, char *buf, u_int nbyte); }
   44 5       STD     POSIX   { int open(char *path, int flags, int mode); }
   45 ; XXX should be         { int open(const char *path, int flags, ...); }
   46 ; but we're not ready for `const' or varargs.
   47 ; XXX man page says `mode_t mode'.
   48 6       STD     POSIX   { int close(int fd); }
   49 7       STD     BSD     { int wait4(int pid, int *status, int options, \
   50                             struct rusage *rusage); } wait4 wait_args int
   51 8       COMPAT  BSD     { int creat(char *path, int mode); }
   52 9       STD     POSIX   { int link(char *path, char *link); }
   53 10      STD     POSIX   { int unlink(char *path); }
   54 11      OBSOL   NOHIDE  execv
   55 12      STD     POSIX   { int chdir(char *path); }
   56 13      STD     BSD     { int fchdir(int fd); }
   57 14      STD     POSIX   { int mknod(char *path, int mode, int dev); }
   58 15      STD     POSIX   { int chmod(char *path, int mode); }
   59 16      STD     POSIX   { int chown(char *path, int uid, int gid); }
   60 17      STD     BSD     { int obreak(char *nsize); } break obreak_args int
   61 18      STD     BSD     { int getfsstat(struct statfs *buf, long bufsize, \
   62                             int flags); }
   63 19      COMPAT  POSIX   { long lseek(int fd, long offset, int whence); }
   64 20      STD     POSIX   { pid_t getpid(void); }
   65 21      STD     BSD     { int mount(int type, char *path, int flags, \
   66                             caddr_t data); }
   67 ; XXX 4.4lite2 uses `char *type' but we're not ready for that.
   68 ; XXX `path' should have type `const char *' but we're not ready for that.
   69 22      STD     BSD     { int unmount(char *path, int flags); }
   70 23      STD     POSIX   { int setuid(uid_t uid); }
   71 24      STD     POSIX   { uid_t getuid(void); }
   72 25      STD     POSIX   { uid_t geteuid(void); }
   73 26      STD     BSD     { int ptrace(int req, pid_t pid, caddr_t addr, \
   74                             int data); }
   75 27      STD     BSD     { int recvmsg(int s, struct msghdr *msg, int flags); }
   76 28      STD     BSD     { int sendmsg(int s, caddr_t msg, int flags); }
   77 29      STD     BSD     { int recvfrom(int s, caddr_t buf, size_t len, \
   78                             int flags, caddr_t from, int *fromlenaddr); }
   79 30      STD     BSD     { int accept(int s, caddr_t name, int *anamelen); }
   80 31      STD     BSD     { int getpeername(int fdes, caddr_t asa, int *alen); }
   81 32      STD     BSD     { int getsockname(int fdes, caddr_t asa, int *alen); }
   82 33      STD     POSIX   { int access(char *path, int flags); }
   83 34      STD     BSD     { int chflags(char *path, int flags); }
   84 35      STD     BSD     { int fchflags(int fd, int flags); }
   85 36      STD     BSD     { int sync(void); }
   86 37      STD     POSIX   { int kill(int pid, int signum); }
   87 38      COMPAT  POSIX   { int stat(char *path, struct ostat *ub); }
   88 39      STD     POSIX   { pid_t getppid(void); }
   89 40      COMPAT  POSIX   { int lstat(char *path, struct ostat *ub); }
   90 41      STD     POSIX   { int dup(u_int fd); }
   91 42      STD     POSIX   { int pipe(void); }
   92 43      STD     POSIX   { gid_t getegid(void); }
   93 44      STD     BSD     { int profil(caddr_t samples, u_int size, \
   94                             u_int offset, u_int scale); }
   95 45      STD     BSD     { int ktrace(char *fname, int ops, int facs, \
   96                             int pid); }
   97 46      STD     POSIX   { int sigaction(int signum, struct sigaction *nsa, \
   98                             struct sigaction *osa); }
   99 47      STD     POSIX   { gid_t getgid(void); }
  100 48      STD     POSIX   { int sigprocmask(int how, sigset_t mask); }
  101 49      STD     BSD     { int getlogin(char *namebuf, u_int namelen); }
  102 50      STD     BSD     { int setlogin(char *namebuf); }
  103 51      STD     BSD     { int acct(char *path); }
  104 52      STD     POSIX   { int sigpending(void); }
  105 53      STD     BSD     { int sigaltstack(struct sigaltstack *nss, \
  106                             struct sigaltstack *oss); }
  107 54      STD     POSIX   { int ioctl(int fd, u_long com, caddr_t data); }
  108 55      STD     BSD     { int reboot(int opt); }
  109 56      STD     POSIX   { int revoke(char *path); }
  110 57      STD     POSIX   { int symlink(char *path, char *link); }
  111 58      STD     POSIX   { int readlink(char *path, char *buf, int count); }
  112 59      STD     POSIX   { int execve(char *fname, char **argv, char **envv); }
  113 60      STD     POSIX   { int umask(int newmask); } umask umask_args mode_t
  114 61      STD     BSD     { int chroot(char *path); }
  115 62      COMPAT  POSIX   { int fstat(int fd, struct ostat *sb); }
  116 63      COMPAT  BSD     { int getkerninfo(int op, char *where, int *size, \
  117                             int arg); } getkerninfo getkerninfo_args int
  118 64      COMPAT  BSD     { int getpagesize(void); } \
  119                             getpagesize getpagesize_args int
  120 65      STD     BSD     { int msync(caddr_t addr, size_t len, int flags); }
  121 66      STD     BSD     { int vfork(void); }
  122 67      OBSOL   NOHIDE  vread
  123 68      OBSOL   NOHIDE  vwrite
  124 69      STD     BSD     { int sbrk(int incr); }
  125 70      STD     BSD     { int sstk(int incr); }
  126 71      COMPAT  BSD     { int mmap(caddr_t addr, int len, int prot, \
  127                             int flags, int fd, long pos); }
  128 72      STD     BSD     { int ovadvise(int anom); } vadvise ovadvise_args int
  129 73      STD     BSD     { int munmap(caddr_t addr, size_t len); }
  130 74      STD     BSD     { int mprotect(caddr_t addr, size_t len, int prot); }
  131 75      STD     BSD     { int madvise(caddr_t addr, size_t len, int behav); }
  132 76      OBSOL   NOHIDE  vhangup
  133 77      OBSOL   NOHIDE  vlimit
  134 78      STD     BSD     { int mincore(caddr_t addr, size_t len, char *vec); }
  135 79      STD     POSIX   { int getgroups(u_int gidsetsize, gid_t *gidset); }
  136 80      STD     POSIX   { int setgroups(u_int gidsetsize, gid_t *gidset); }
  137 81      STD     POSIX   { int getpgrp(void); }
  138 82      STD     POSIX   { int setpgid(int pid, int pgid); }
  139 83      STD     BSD     { int setitimer(u_int which, struct itimerval *itv, \
  140                             struct itimerval *oitv); }
  141 84      COMPAT  BSD     { int wait(void); }
  142 85      STD     BSD     { int swapon(char *name); }
  143 86      STD     BSD     { int getitimer(u_int which, struct itimerval *itv); }
  144 87      COMPAT  BSD     { int gethostname(char *hostname, u_int len); } \
  145                             gethostname gethostname_args int
  146 88      COMPAT  BSD     { int sethostname(char *hostname, u_int len); } \
  147                             sethostname sethostname_args int
  148 89      STD     BSD     { int getdtablesize(void); }
  149 90      STD     POSIX   { int dup2(u_int from, u_int to); }
  150 91      UNIMPL  BSD     getdopt
  151 92      STD     POSIX   { int fcntl(int fd, int cmd, int arg); }
  152 ; XXX should be         { int fcntl(int fd, int cmd, ...); }
  153 ; but we're not ready for varargs.
  154 ; XXX man page says `int arg' too.
  155 93      STD     BSD     { int select(int nd, fd_set *in, fd_set *ou, \
  156                             fd_set *ex, struct timeval *tv); }
  157 94      UNIMPL  BSD     setdopt
  158 95      STD     POSIX   { int fsync(int fd); }
  159 96      STD     BSD     { int setpriority(int which, int who, int prio); }
  160 97      STD     BSD     { int socket(int domain, int type, int protocol); }
  161 98      STD     BSD     { int connect(int s, caddr_t name, int namelen); }
  162 99      CPT_NOA BSD     { int accept(int s, caddr_t name, int *anamelen); } \
  163                             accept accept_args int
  164 100     STD     BSD     { int getpriority(int which, int who); }
  165 101     COMPAT  BSD     { int send(int s, caddr_t buf, int len, int flags); }
  166 102     COMPAT  BSD     { int recv(int s, caddr_t buf, int len, int flags); }
  167 103     STD     BSD     { int sigreturn(struct sigcontext *sigcntxp); }
  168 104     STD     BSD     { int bind(int s, caddr_t name, int namelen); }
  169 105     STD     BSD     { int setsockopt(int s, int level, int name, \
  170                             caddr_t val, int valsize); }
  171 106     STD     BSD     { int listen(int s, int backlog); }
  172 107     OBSOL   NOHIDE  vtimes
  173 108     COMPAT  BSD     { int sigvec(int signum, struct sigvec *nsv, \
  174                             struct sigvec *osv); }
  175 109     COMPAT  BSD     { int sigblock(int mask); }
  176 110     COMPAT  BSD     { int sigsetmask(int mask); }
  177 111     STD     POSIX   { int sigsuspend(int mask); }
  178 112     COMPAT  BSD     { int sigstack(struct sigstack *nss, \
  179                             struct sigstack *oss); }
  180 113     COMPAT  BSD     { int recvmsg(int s, struct omsghdr *msg, int flags); }
  181 114     COMPAT  BSD     { int sendmsg(int s, caddr_t msg, int flags); }
  182 115     OBSOL   NOHIDE  vtrace
  183 116     STD     BSD     { int gettimeofday(struct timeval *tp, \
  184                             struct timezone *tzp); }
  185 117     STD     BSD     { int getrusage(int who, struct rusage *rusage); }
  186 118     STD     BSD     { int getsockopt(int s, int level, int name, \
  187                             caddr_t val, int *avalsize); }
  188 119     UNIMPL  NOHIDE  resuba (BSD/OS 2.x)
  189 120     STD     BSD     { int readv(int fd, struct iovec *iovp, u_int iovcnt); }
  190 121     STD     BSD     { int writev(int fd, struct iovec *iovp, \
  191                             u_int iovcnt); }
  192 122     STD     BSD     { int settimeofday(struct timeval *tv, \
  193                             struct timezone *tzp); }
  194 123     STD     BSD     { int fchown(int fd, int uid, int gid); }
  195 124     STD     BSD     { int fchmod(int fd, int mode); }
  196 125     CPT_NOA BSD     { int recvfrom(int s, caddr_t buf, size_t len, \
  197                             int flags, caddr_t from, int *fromlenaddr); } \
  198                             recvfrom recvfrom_args int
  199 126     STD     BSD     { int setreuid(int ruid, int euid); }
  200 127     STD     BSD     { int setregid(int rgid, int egid); }
  201 128     STD     POSIX   { int rename(char *from, char *to); }
  202 129     COMPAT  BSD     { int truncate(char *path, long length); }
  203 130     COMPAT  BSD     { int ftruncate(int fd, long length); }
  204 131     STD     BSD     { int flock(int fd, int how); }
  205 132     STD     POSIX   { int mkfifo(char *path, int mode); }
  206 133     STD     BSD     { int sendto(int s, caddr_t buf, size_t len, \
  207                             int flags, caddr_t to, int tolen); }
  208 134     STD     BSD     { int shutdown(int s, int how); }
  209 135     STD     BSD     { int socketpair(int domain, int type, int protocol, \
  210                             int *rsv); }
  211 136     STD     POSIX   { int mkdir(char *path, int mode); }
  212 137     STD     POSIX   { int rmdir(char *path); }
  213 138     STD     BSD     { int utimes(char *path, struct timeval *tptr); }
  214 139     OBSOL   NOHIDE  4.2 sigreturn
  215 140     STD     BSD     { int adjtime(struct timeval *delta, \
  216                             struct timeval *olddelta); }
  217 141     COMPAT  BSD     { int getpeername(int fdes, caddr_t asa, int *alen); }
  218 142     COMPAT  BSD     { long gethostid(void); }
  219 143     COMPAT  BSD     { int sethostid(long hostid); }
  220 144     COMPAT  BSD     { int getrlimit(u_int which, struct ogetrlimit *rlp); }
  221 145     COMPAT  BSD     { int setrlimit(u_int which, struct ogetrlimit *rlp); }
  222 146     COMPAT  BSD     { int killpg(int pgid, int signum); }
  223 147     STD     POSIX   { int setsid(void); }
  224 148     STD     BSD     { int quotactl(char *path, int cmd, int uid, \
  225                             caddr_t arg); }
  226 149     COMPAT  BSD     { int quota(void); }
  227 150     CPT_NOA BSD     { int getsockname(int fdec, caddr_t asa, int *alen); }\
  228                             getsockname getsockname_args int
  229 
  230 ; Syscalls 151-180 inclusive are reserved for vendor-specific
  231 ; system calls.  (This includes various calls added for compatibity
  232 ; with other Unix variants.)
  233 ; Some of these calls are now supported by BSD...
  234 151     UNIMPL  NOHIDE  sem_lock (BSD/OS 2.x)
  235 152     UNIMPL  NOHIDE  sem_wakeup (BSD/OS 2.x)
  236 153     UNIMPL  NOHIDE  asyncdaemon (BSD/OS 2.x)
  237 154     UNIMPL  NOHIDE  nosys
  238 #ifdef NFS
  239 155     STD     BSD     { int nfssvc(int flag, caddr_t argp); }
  240 #else
  241 155     UNIMPL  BSD     nosys
  242 #endif
  243 156     COMPAT  BSD     { int getdirentries(int fd, char *buf, u_int count, \
  244                             long *basep); }
  245 157     STD     BSD     { int statfs(char *path, struct statfs *buf); }
  246 158     STD     BSD     { int fstatfs(int fd, struct statfs *buf); }
  247 159     UNIMPL  NOHIDE  nosys
  248 160     UNIMPL  NOHIDE  nosys
  249 #if defined(NFS) && !defined (NFS_NOSERVER)
  250 161     STD     BSD     { int getfh(char *fname, fhandle_t *fhp); }
  251 #else
  252 161     UNIMPL  BSD     nosys
  253 #endif
  254 162     STD     BSD     { int getdomainname(char *domainname, int len); }
  255 163     STD     BSD     { int setdomainname(char *domainname, int len); }
  256 164     STD     BSD     { int uname(struct utsname *name); }
  257 165     STD     BSD     { int sysarch(int op, char *parms); }
  258 166     STD     BSD     { int rtprio(int function, pid_t pid, \
  259                             struct rtprio *rtp); }
  260 167     UNIMPL  NOHIDE  nosys
  261 168     UNIMPL  NOHIDE  nosys
  262 169     STD     BSD     { int semsys(int which, int a2, int a3, int a4, \
  263                             int a5); }
  264 ; XXX should be         { int semsys(int which, ...); }
  265 170     STD     BSD     { int msgsys(int which, int a2, int a3, int a4, \
  266                             int a5, int a6); }
  267 ; XXX should be         { int msgsys(int which, ...); }
  268 171     STD     BSD     { int shmsys(int which, int a2, int a3, int a4); }
  269 ; XXX should be         { int shmsys(int which, ...); }
  270 172     UNIMPL  NOHIDE  nosys
  271 173     UNIMPL  NOHIDE  nosys
  272 174     UNIMPL  NOHIDE  nosys
  273 175     UNIMPL  NOHIDE  nosys
  274 176     STD     BSD     { int ntp_adjtime(struct timex *tp); }
  275 177     UNIMPL  NOHIDE  sfork (BSD/OS 2.x)
  276 178     UNIMPL  NOHIDE  getdescriptor (BSD/OS 2.x)
  277 179     UNIMPL  NOHIDE  setdescriptor (BSD/OS 2.x)
  278 180     UNIMPL  NOHIDE  nosys
  279 
  280 ; Syscalls 180-199 are used by/reserved for BSD
  281 181     STD     POSIX   { int setgid(gid_t gid); }
  282 182     STD     BSD     { int setegid(gid_t egid); }
  283 183     STD     BSD     { int seteuid(uid_t euid); }
  284 #ifdef LFS
  285 184     STD     BSD     { int lfs_bmapv(fsid_t *fsidp, \
  286                             struct block_info *blkiov, int blkcnt); }
  287 185     STD     BSD     { int lfs_markv(fsid_t *fsidp, \
  288                             struct block_info *blkiov, int blkcnt); }
  289 186     STD     BSD     { int lfs_segclean(fsid_t *fsidp, u_long segment); }
  290 187     STD     BSD     { int lfs_segwait(fsid_t *fsidp, struct timeval *tv); }
  291 #else
  292 184     UNIMPL  BSD     nosys
  293 185     UNIMPL  BSD     nosys
  294 186     UNIMPL  BSD     nosys
  295 187     UNIMPL  BSD     nosys
  296 #endif
  297 188     STD     POSIX   { int stat(char *path, struct stat *ub); }
  298 189     STD     POSIX   { int fstat(int fd, struct stat *sb); }
  299 190     STD     POSIX   { int lstat(char *path, struct stat *ub); }
  300 191     STD     POSIX   { int pathconf(char *path, int name); }
  301 192     STD     POSIX   { int fpathconf(int fd, int name); }
  302 193     UNIMPL  NOHIDE  nosys
  303 194     STD     BSD     { int getrlimit(u_int which, \
  304                             struct orlimit *rlp); } \
  305                             getrlimit __getrlimit_args int
  306 195     STD     BSD     { int setrlimit(u_int which, \
  307                             struct orlimit *rlp); } \
  308                             setrlimit __setrlimit_args int
  309 196     STD     BSD     { int getdirentries(int fd, char *buf, u_int count, \
  310                             long *basep); }
  311 197     STD     BSD     { caddr_t mmap(caddr_t addr, size_t len, int prot, \
  312                             int flags, int fd, long pad, off_t pos); }
  313 198     STD     NOHIDE  { int nosys(void); } __syscall __syscall_args int
  314 199     STD     POSIX   { off_t lseek(int fd, int pad, off_t offset, \
  315                             int whence); }
  316 200     STD     BSD     { int truncate(char *path, int pad, off_t length); }
  317 201     STD     BSD     { int ftruncate(int fd, int pad, off_t length); }
  318 202     STD     BSD     { int __sysctl(int *name, u_int namelen, void *old, \
  319                             size_t *oldlenp, void *new, size_t newlen); } \
  320                             __sysctl sysctl_args int
  321 ; properly, __sysctl should be a NOHIDE, but making an exception
  322 ; here allows to avoid one in libc/sys/Makefile.inc.
  323 203     STD     BSD     { int mlock(caddr_t addr, size_t len); }
  324 204     STD     BSD     { int munlock(caddr_t addr, size_t len); }
  325 ; problem here. Lite2/NetBSD/OpenBSD have 205 as undelete
  326 205     STD     BSD     { int utrace(caddr_t addr, size_t len); }
  327 ; problem here. NetBSD/OpenBSD have syscall 206 as futimes()
  328 206     UNIMPL  NOHIDE  undelete
  329 207     UNIMPL  NOHIDE  getpgid
  330 208     UNIMPL  NOHIDE  newreboot (NetBSD)
  331 ; problem. NetBSD and OpenBSD have a different syscall number for poll()
  332 209     UNIMPL  NOHIDE  poll2
  333 
  334 ;
  335 ; The following are reserved for loadable syscalls
  336 ;
  337 210     NODEF   NOHIDE  lkmnosys lkmnosys nosys_args int
  338 211     NODEF   NOHIDE  lkmnosys lkmnosys nosys_args int
  339 212     NODEF   NOHIDE  lkmnosys lkmnosys nosys_args int
  340 213     NODEF   NOHIDE  lkmnosys lkmnosys nosys_args int
  341 214     NODEF   NOHIDE  lkmnosys lkmnosys nosys_args int
  342 215     NODEF   NOHIDE  lkmnosys lkmnosys nosys_args int
  343 216     NODEF   NOHIDE  lkmnosys lkmnosys nosys_args int
  344 217     NODEF   NOHIDE  lkmnosys lkmnosys nosys_args int
  345 218     NODEF   NOHIDE  lkmnosys lkmnosys nosys_args int
  346 219     NODEF   NOHIDE  lkmnosys lkmnosys nosys_args int
  347 
  348 ;
  349 ; The following were introduced with NetBSD/4.4Lite-2
  350 ;
  351 220     STD     BSD     { int __semctl(int semid, int semnum, int cmd, \
  352                             union semun *arg); }
  353 221     STD     BSD     { int semget(key_t key, int nsems, int semflg); }
  354 222     STD     BSD     { int semop(int semid, struct sembuf *sops, \
  355                             u_int nsops); }
  356 223     UNIMPL  NOHIDE  semconfig
  357 224     STD     BSD     { int msgctl(int msqid, int cmd, \
  358                             struct msqid_ds *buf); }
  359 225     STD     BSD     { int msgget(key_t key, int msgflg); }
  360 226     STD     BSD     { int msgsnd(int msqid, void *msgp, size_t msgsz, \
  361                             int msgflg); }
  362 227     STD     BSD     { int msgrcv(int msqid, void *msgp, size_t msgsz, \
  363                             long msgtyp, int msgflg); }
  364 228     STD     BSD     { int shmat(int shmid, void *shmaddr, int shmflg); }
  365 229     STD     BSD     { int shmctl(int shmid, int cmd, \
  366                             struct shmid_ds *buf); }
  367 230     STD     BSD     { int shmdt(void *shmaddr); }
  368 231     STD     BSD     { int shmget(key_t key, int size, int shmflg); }
  369 ;
  370 232     UNIMPL  NOHIDE  clock_gettime
  371 233     UNIMPL  NOHIDE  clock_settime
  372 234     UNIMPL  NOHIDE  clock_getres
  373 235     UNIMPL  NOHIDE  timer_create
  374 236     UNIMPL  NOHIDE  timer_delete
  375 237     UNIMPL  NOHIDE  timer_settime
  376 238     UNIMPL  NOHIDE  timer_gettime
  377 239     UNIMPL  NOHIDE  timer_getoverrun
  378 240     UNIMPL  NOHIDE  nanosleep
  379 241     UNIMPL  NOHIDE  nosys
  380 242     UNIMPL  NOHIDE  nosys
  381 243     UNIMPL  NOHIDE  nosys
  382 244     UNIMPL  NOHIDE  nosys
  383 245     UNIMPL  NOHIDE  nosys
  384 246     UNIMPL  NOHIDE  nosys
  385 247     UNIMPL  NOHIDE  nosys
  386 248     UNIMPL  NOHIDE  nosys
  387 249     UNIMPL  NOHIDE  nosys
  388 ; syscall numbers initially used in OpenBSD
  389 250     STD     BSD     { int minherit(caddr_t addr, size_t len, int inherit); }
  390 251     STD     BSD     { int rfork(int flags); }
  391 252     UNIMPL  NOHIDE  poll (OpenBSD syscall number)
  392 253     STD     BSD     { int issetugid(void); }
  393 254     STD     BSD     { int lchown(char *path, int uid, int gid); }
  394 255     UNIMPL  NOHIDE  nosys
  395 256     UNIMPL  NOHIDE  nosys
  396 257     UNIMPL  NOHIDE  nosys
  397 258     UNIMPL  NOHIDE  nosys
  398 259     UNIMPL  NOHIDE  nosys
  399 260     UNIMPL  NOHIDE  nosys
  400 261     UNIMPL  NOHIDE  nosys
  401 262     UNIMPL  NOHIDE  nosys
  402 263     UNIMPL  NOHIDE  nosys
  403 264     UNIMPL  NOHIDE  nosys
  404 265     UNIMPL  NOHIDE  nosys
  405 266     UNIMPL  NOHIDE  nosys
  406 267     UNIMPL  NOHIDE  nosys
  407 268     UNIMPL  NOHIDE  nosys
  408 269     UNIMPL  NOHIDE  nosys
  409 270     UNIMPL  NOHIDE  nosys
  410 271     UNIMPL  NOHIDE  nosys
  411 272     UNIMPL  NOHIDE  nosys
  412 273     UNIMPL  NOHIDE  nosys
  413 274     UNIMPL  NOHIDE  nosys
  414 275     UNIMPL  NOHIDE  nosys
  415 276     UNIMPL  NOHIDE  nosys
  416 277     UNIMPL  NOHIDE  nosys
  417 278     UNIMPL  NOHIDE  nosys
  418 279     UNIMPL  NOHIDE  nosys
  419 280     UNIMPL  NOHIDE  nosys
  420 281     UNIMPL  NOHIDE  nosys
  421 282     UNIMPL  NOHIDE  nosys
  422 283     UNIMPL  NOHIDE  nosys
  423 284     UNIMPL  NOHIDE  nosys
  424 285     UNIMPL  NOHIDE  nosys
  425 286     UNIMPL  NOHIDE  nosys
  426 287     UNIMPL  NOHIDE  nosys
  427 288     UNIMPL  NOHIDE  nosys
  428 289     UNIMPL  NOHIDE  nosys
  429 290     UNIMPL  NOHIDE  nosys
  430 291     UNIMPL  NOHIDE  nosys
  431 292     UNIMPL  NOHIDE  nosys
  432 293     UNIMPL  NOHIDE  nosys
  433 294     UNIMPL  NOHIDE  nosys
  434 295     UNIMPL  NOHIDE  nosys
  435 296     UNIMPL  NOHIDE  nosys
  436 297     UNIMPL  NOHIDE  nosys
  437 298     UNIMPL  NOHIDE  nosys
  438 299     UNIMPL  NOHIDE  nosys
  439 ; syscall numbers for FreeBSD
  440 300     UNIMPL  NOHIDE  modnext
  441 301     UNIMPL  NOHIDE  modstat
  442 302     UNIMPL  NOHIDE  modfnext
  443 303     UNIMPL  NOHIDE  modfind
  444 304     UNIMPL  NOHIDE  kldload
  445 305     UNIMPL  NOHIDE  kldunload
  446 306     UNIMPL  NOHIDE  kldfind
  447 307     UNIMPL  NOHIDE  kldnext
  448 308     UNIMPL  NOHIDE  kldstat
  449 309     UNIMPL  NOHIDE  kldfirstmod
  450 310     UNIMPL  NOHIDE  getsid
  451 311     UNIMPL  NOHIDE  setresuid
  452 312     UNIMPL  NOHIDE  setresgid
  453 313     UNIMPL  NOHIDE  signanosleep
  454 314     UNIMPL  NOHIDE  aio_return
  455 315     UNIMPL  NOHIDE  aio_suspend
  456 316     UNIMPL  NOHIDE  aio_cancel
  457 317     UNIMPL  NOHIDE  aio_error
  458 318     UNIMPL  NOHIDE  aio_read
  459 319     UNIMPL  NOHIDE  aio_write
  460 320     UNIMPL  NOHIDE  lio_listio
  461 321     UNIMPL  NOHIDE  yield
  462 322     UNIMPL  NOHIDE  thr_sleep
  463 323     UNIMPL  NOHIDE  thr_wakeup
  464 324     UNIMPL  NOHIDE  mlockall
  465 325     UNIMPL  NOHIDE  munlockall

Cache object: 3d42cb089e00e669d2fea33883dae637


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