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 ;       $OpenBSD: syscalls.master,v 1.239 2023/01/07 05:24:58 guenther Exp $
    2 ;       $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
    3 
    4 ;       @(#)syscalls.master     8.2 (Berkeley) 1/13/94
    5 
    6 ; OpenBSD system call name/number "master" file.
    7 ; (See syscalls.conf to see what it is processed into.)
    8 ;
    9 ; Fields: number type [type-dependent ...]
   10 ;       number  system call number, must be in order
   11 ;       type    one of the types described below, or one of the
   12 ;               compatibility options defined in syscalls.conf
   13 ;
   14 ; types:
   15 ;       INDIR   included, but don't define the syscall args structure,
   16 ;               and allow it to be "really" varargs
   17 ;       NOARGS  included, but don't define the syscall args structure
   18 ;       NODEF   included, but don't define the syscall number
   19 ;       NOLOCK  don't acquire the kernel lock when calling this syscall
   20 ;       OBSOL   obsolete, not included in system
   21 ;       STD     always included
   22 ;       UNIMPL  unimplemented, not included in system
   23 ;
   24 ; The compat options are defined in the syscalls.conf file, and the
   25 ; compat option name is prefixed to the syscall name.  Other than
   26 ; that, they're like NODEF (for 'compat' options), or STD (for
   27 ; 'libcompat' options).
   28 ;
   29 ; The type-dependent arguments are as follows:
   30 ; For STD, NODEF, NOARGS, and compat syscalls:
   31 ;       { pseudo-proto } [alias]
   32 ; For other syscalls:
   33 ;       [comment]
   34 ;
   35 ; #ifdef's, etc. may be included, and are copied to the output files.
   36 ; #include's are copied to the syscall switch definition file only.
   37 
   38 #include <sys/param.h>
   39 #include <sys/systm.h>
   40 #include <sys/signal.h>
   41 #include <sys/mount.h>
   42 #include <sys/syscallargs.h>
   43 #include <sys/poll.h>
   44 
   45 ; Reserved/unimplemented system calls in the range 0-150 inclusive
   46 ; are reserved for use in future Berkeley releases.
   47 ; Additional system calls implemented in vendor and other
   48 ; redistributions should be placed in the reserved range at the end
   49 ; of the current calls.
   50 
   51 0       INDIR           { int sys_syscall(int number, ...); }
   52 1       STD             { void sys_exit(int rval); }
   53 2       STD             { int sys_fork(void); }
   54 3       STD NOLOCK      { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
   55 4       STD NOLOCK      { ssize_t sys_write(int fd, const void *buf, \
   56                             size_t nbyte); }
   57 5       STD             { int sys_open(const char *path, \
   58                             int flags, ... mode_t mode); }
   59 6       STD NOLOCK      { int sys_close(int fd); }
   60 7       STD NOLOCK      { int sys_getentropy(void *buf, size_t nbyte); }
   61 8       STD             { int sys___tfork(const struct __tfork *param, \
   62                             size_t psize); }
   63 9       STD             { int sys_link(const char *path, const char *link); }
   64 10      STD             { int sys_unlink(const char *path); }
   65 11      STD             { pid_t sys_wait4(pid_t pid, int *status, \
   66                             int options, struct rusage *rusage); }
   67 12      STD             { int sys_chdir(const char *path); }
   68 13      STD             { int sys_fchdir(int fd); }
   69 14      STD             { int sys_mknod(const char *path, mode_t mode, \
   70                             dev_t dev); }
   71 15      STD             { int sys_chmod(const char *path, mode_t mode); }
   72 16      STD             { int sys_chown(const char *path, uid_t uid, \
   73                             gid_t gid); }
   74 17      STD             { int sys_obreak(char *nsize); } break
   75 18      STD NOLOCK      { int sys_getdtablecount(void); }
   76 19      STD             { int sys_getrusage(int who, \
   77                             struct rusage *rusage); }
   78 20      STD NOLOCK      { pid_t sys_getpid(void); }
   79 21      STD             { int sys_mount(const char *type, const char *path, \
   80                             int flags, void *data); }
   81 22      STD             { int sys_unmount(const char *path, int flags); }
   82 23      STD             { int sys_setuid(uid_t uid); }
   83 24      STD NOLOCK      { uid_t sys_getuid(void); }
   84 25      STD NOLOCK      { uid_t sys_geteuid(void); }
   85 #ifdef PTRACE
   86 26      STD             { int sys_ptrace(int req, pid_t pid, caddr_t addr, \
   87                             int data); }
   88 #else
   89 26      UNIMPL          ptrace
   90 #endif
   91 27      STD NOLOCK      { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
   92                             int flags); }
   93 28      STD NOLOCK      { ssize_t sys_sendmsg(int s, \
   94                             const struct msghdr *msg, int flags); }
   95 29      STD NOLOCK      { ssize_t sys_recvfrom(int s, void *buf, size_t len, \
   96                             int flags, struct sockaddr *from, \
   97                             socklen_t *fromlenaddr); }
   98 30      STD NOLOCK      { int sys_accept(int s, struct sockaddr *name, \
   99                             socklen_t *anamelen); }
  100 31      STD NOLOCK      { int sys_getpeername(int fdes, struct sockaddr *asa, \
  101                             socklen_t *alen); }
  102 32      STD NOLOCK      { int sys_getsockname(int fdes, struct sockaddr *asa, \
  103                             socklen_t *alen); }
  104 33      STD             { int sys_access(const char *path, int amode); }
  105 34      STD             { int sys_chflags(const char *path, u_int flags); }
  106 35      STD             { int sys_fchflags(int fd, u_int flags); }
  107 36      STD             { void sys_sync(void); }
  108 37      STD             { int sys_msyscall(void *addr, size_t len); }
  109 38      STD             { int sys_stat(const char *path, struct stat *ub); }
  110 39      STD NOLOCK      { pid_t sys_getppid(void); }
  111 40      STD             { int sys_lstat(const char *path, struct stat *ub); }
  112 41      STD NOLOCK      { int sys_dup(int fd); }
  113 42      STD             { int sys_fstatat(int fd, const char *path, \
  114                             struct stat *buf, int flag); }
  115 43      STD NOLOCK      { gid_t sys_getegid(void); }
  116 44      STD             { int sys_profil(caddr_t samples, size_t size, \
  117                             u_long offset, u_int scale); }
  118 #ifdef KTRACE
  119 45      STD             { int sys_ktrace(const char *fname, int ops, \
  120                             int facs, pid_t pid); }
  121 #else
  122 45      UNIMPL          ktrace
  123 #endif
  124 46      STD             { int sys_sigaction(int signum, \
  125                             const struct sigaction *nsa, \
  126                             struct sigaction *osa); }
  127 47      STD NOLOCK      { gid_t sys_getgid(void); }
  128 48      STD NOLOCK      { int sys_sigprocmask(int how, sigset_t mask); }
  129 49      STD NOLOCK      { void *sys_mmap(void *addr, size_t len, int prot, \
  130                             int flags, int fd, off_t pos); }
  131 50      STD             { int sys_setlogin(const char *namebuf); }
  132 #ifdef ACCOUNTING
  133 51      STD             { int sys_acct(const char *path); }
  134 #else
  135 51      UNIMPL          acct
  136 #endif
  137 52      STD             { int sys_sigpending(void); }
  138 53      STD             { int sys_fstat(int fd, struct stat *sb); }
  139 54      STD NOLOCK      { int sys_ioctl(int fd, \
  140                             u_long com, ... void *data); }
  141 55      STD             { int sys_reboot(int opt); }
  142 56      STD             { int sys_revoke(const char *path); }
  143 57      STD             { int sys_symlink(const char *path, \
  144                             const char *link); }
  145 58      STD             { ssize_t sys_readlink(const char *path, \
  146                             char *buf, size_t count); }
  147 59      STD             { int sys_execve(const char *path, \
  148                             char * const *argp, char * const *envp); }
  149 60      STD NOLOCK      { mode_t sys_umask(mode_t newmask); }
  150 61      STD             { int sys_chroot(const char *path); }
  151 62      STD             { int sys_getfsstat(struct statfs *buf, size_t bufsize, \
  152                             int flags); }
  153 63      STD             { int sys_statfs(const char *path, \
  154                             struct statfs *buf); }
  155 64      STD             { int sys_fstatfs(int fd, struct statfs *buf); }
  156 65      STD             { int sys_fhstatfs(const fhandle_t *fhp, \
  157                             struct statfs *buf); }
  158 66      STD             { int sys_vfork(void); }
  159 67      STD NOLOCK      { int sys_gettimeofday(struct timeval *tp, \
  160                             struct timezone *tzp); }
  161 68      STD NOLOCK      { int sys_settimeofday(const struct timeval *tv, \
  162                             const struct timezone *tzp); }
  163 69      STD NOLOCK      { int sys_setitimer(int which, \
  164                             const struct itimerval *itv, \
  165                             struct itimerval *oitv); }
  166 70      STD NOLOCK      { int sys_getitimer(int which, \
  167                             struct itimerval *itv); }
  168 71      STD             { int sys_select(int nd, fd_set *in, fd_set *ou, \
  169                             fd_set *ex, struct timeval *tv); }
  170 72      STD NOLOCK      { int sys_kevent(int fd, \
  171                             const struct kevent *changelist, int nchanges, \
  172                             struct kevent *eventlist, int nevents, \
  173                             const struct timespec *timeout); }
  174 73      STD NOLOCK      { int sys_munmap(void *addr, size_t len); }
  175 74      STD NOLOCK      { int sys_mprotect(void *addr, size_t len, \
  176                             int prot); }
  177 75      STD             { int sys_madvise(void *addr, size_t len, \
  178                             int behav); }
  179 76      STD             { int sys_utimes(const char *path, \
  180                             const struct timeval *tptr); }
  181 77      STD             { int sys_futimes(int fd, \
  182                             const struct timeval *tptr); }
  183 78      STD             { void *sys_mquery(void *addr, size_t len, int prot, \
  184                             int flags, int fd, off_t pos); }
  185 79      STD NOLOCK      { int sys_getgroups(int gidsetsize, \
  186                             gid_t *gidset); }
  187 80      STD             { int sys_setgroups(int gidsetsize, \
  188                             const gid_t *gidset); }
  189 81      STD             { int sys_getpgrp(void); }
  190 82      STD             { int sys_setpgid(pid_t pid, pid_t pgid); }
  191 83      STD NOLOCK      { int sys_futex(uint32_t *f, int op, int val, \
  192                             const struct timespec *timeout, uint32_t *g); }
  193 84      STD             { int sys_utimensat(int fd, const char *path, \
  194                             const struct timespec *times, int flag); }
  195 85      STD             { int sys_futimens(int fd, \
  196                             const struct timespec *times); }
  197 86      STD NOLOCK      { int sys_kbind(const struct __kbind *param, \
  198                             size_t psize, int64_t proc_cookie); }
  199 87      STD NOLOCK      { int sys_clock_gettime(clockid_t clock_id, \
  200                             struct timespec *tp); }
  201 88      STD NOLOCK      { int sys_clock_settime(clockid_t clock_id, \
  202                             const struct timespec *tp); }
  203 89      STD NOLOCK      { int sys_clock_getres(clockid_t clock_id, \
  204                             struct timespec *tp); }
  205 90      STD NOLOCK      { int sys_dup2(int from, int to); }
  206 91      STD NOLOCK      { int sys_nanosleep(const struct timespec *rqtp, \
  207                             struct timespec *rmtp); }
  208 92      STD NOLOCK      { int sys_fcntl(int fd, int cmd, ... void *arg); }
  209 93      STD NOLOCK      { int sys_accept4(int s, struct sockaddr *name, \
  210                             socklen_t *anamelen, int flags); }
  211 94      STD NOLOCK      { int sys___thrsleep(const volatile void *ident, \
  212                             clockid_t clock_id, const struct timespec *tp, \
  213                             void *lock, const int *abort); }
  214 95      STD             { int sys_fsync(int fd); }
  215 96      STD             { int sys_setpriority(int which, id_t who, int prio); }
  216 97      STD NOLOCK      { int sys_socket(int domain, int type, int protocol); }
  217 98      STD NOLOCK      { int sys_connect(int s, const struct sockaddr *name, \
  218                             socklen_t namelen); }
  219 99      STD             { int sys_getdents(int fd, void *buf, size_t buflen); }
  220 100     STD             { int sys_getpriority(int which, id_t who); }
  221 101     STD NOLOCK      { int sys_pipe2(int *fdp, int flags); }
  222 102     STD NOLOCK      { int sys_dup3(int from, int to, int flags); }
  223 103     STD             { int sys_sigreturn(struct sigcontext *sigcntxp); }
  224 104     STD             { int sys_bind(int s, const struct sockaddr *name, \
  225                             socklen_t namelen); }
  226 105     STD NOLOCK      { int sys_setsockopt(int s, int level, int name, \
  227                             const void *val, socklen_t valsize); }
  228 106     STD             { int sys_listen(int s, int backlog); }
  229 107     STD             { int sys_chflagsat(int fd, const char *path, \
  230                             u_int flags, int atflags); }
  231 108     STD NOLOCK      { int sys_pledge(const char *promises, \
  232                             const char *execpromises); }
  233 109     STD             { int sys_ppoll(struct pollfd *fds, \
  234                             u_int nfds, const struct timespec *ts, \
  235                             const sigset_t *mask); }
  236 110     STD             { int sys_pselect(int nd, fd_set *in, fd_set *ou, \
  237                             fd_set *ex, const struct timespec *ts, \
  238                             const sigset_t *mask); }
  239 111     STD             { int sys_sigsuspend(int mask); }
  240 112     STD NOLOCK      { int sys_sendsyslog(const char *buf, size_t nbyte, \
  241                             int flags); }
  242 113     UNIMPL          fktrace
  243 114     STD             { int sys_unveil(const char *path, \
  244                             const char *permissions); }
  245 115     STD             { int sys___realpath(const char *pathname, \
  246                             char *resolved); }
  247 116     STD NOLOCK      { int sys_recvmmsg(int s, struct mmsghdr *mmsg, \
  248                             unsigned int vlen, int flags, \
  249                             struct timespec *timeout); }
  250 117     STD NOLOCK      { int sys_sendmmsg(int s,  struct mmsghdr *mmsg,\
  251                             unsigned int vlen, int flags); }
  252 118     STD NOLOCK      { int sys_getsockopt(int s, int level, int name, \
  253                             void *val, socklen_t *avalsize); }
  254 119     STD             { int sys_thrkill(pid_t tid, int signum, void *tcb); }
  255 120     STD NOLOCK      { ssize_t sys_readv(int fd, \
  256                             const struct iovec *iovp, int iovcnt); }
  257 121     STD NOLOCK      { ssize_t sys_writev(int fd, \
  258                             const struct iovec *iovp, int iovcnt); }
  259 122     STD             { int sys_kill(int pid, int signum); }
  260 123     STD             { int sys_fchown(int fd, uid_t uid, gid_t gid); }
  261 124     STD             { int sys_fchmod(int fd, mode_t mode); }
  262 125     OBSOL           orecvfrom
  263 126     STD             { int sys_setreuid(uid_t ruid, uid_t euid); }
  264 127     STD             { int sys_setregid(gid_t rgid, gid_t egid); }
  265 128     STD             { int sys_rename(const char *from, const char *to); }
  266 129     OBSOL           otruncate
  267 130     OBSOL           oftruncate
  268 131     STD NOLOCK      { int sys_flock(int fd, int how); }
  269 132     STD             { int sys_mkfifo(const char *path, mode_t mode); }
  270 133     STD NOLOCK      { ssize_t sys_sendto(int s, const void *buf, \
  271                             size_t len, int flags, const struct sockaddr *to, \
  272                             socklen_t tolen); }
  273 134     STD             { int sys_shutdown(int s, int how); }
  274 135     STD NOLOCK      { int sys_socketpair(int domain, int type, \
  275                             int protocol, int *rsv); }
  276 136     STD             { int sys_mkdir(const char *path, mode_t mode); }
  277 137     STD             { int sys_rmdir(const char *path); }
  278 138     OBSOL           t32_utimes
  279 139     OBSOL           4.2 sigreturn
  280 140     STD NOLOCK      { int sys_adjtime(const struct timeval *delta, \
  281                             struct timeval *olddelta); }
  282 141     STD             { int sys_getlogin_r(char *namebuf, u_int namelen); }
  283 142     STD             { int sys_getthrname(pid_t tid, char *name, size_t len); }
  284 143     STD             { int sys_setthrname(pid_t tid, const char *name); }
  285 144     OBSOL           ogetrlimit
  286 145     OBSOL           osetrlimit
  287 146     OBSOL           okillpg
  288 147     STD             { int sys_setsid(void); }
  289 148     STD             { int sys_quotactl(const char *path, int cmd, \
  290                             int uid, char *arg); }
  291 149     OBSOL           oquota
  292 150     STD NOLOCK      { int sys_ypconnect(int type); }
  293 
  294 ; Syscalls 151-180 inclusive are reserved for vendor-specific
  295 ; system calls.  (This includes various calls added for compatibility
  296 ; with other Unix variants.)
  297 ; Some of these calls are now supported by BSD...
  298 151     UNIMPL
  299 152     UNIMPL
  300 153     UNIMPL
  301 154     UNIMPL
  302 #if defined(NFSCLIENT) || defined(NFSSERVER)
  303 155     STD             { int sys_nfssvc(int flag, void *argp); }
  304 #else
  305 155     UNIMPL
  306 #endif
  307 156     OBSOL           ogetdirentries
  308 157     OBSOL           statfs25
  309 158     OBSOL           fstatfs25
  310 159     STD             { int sys_mimmutable(void *addr, size_t len); }
  311 160     STD             { int sys_waitid(int idtype, id_t id, \
  312                             siginfo_t *info, int options); }
  313 161     STD             { int sys_getfh(const char *fname, fhandle_t *fhp); }
  314 162     OBSOL           ogetdomainname
  315 163     OBSOL           osetdomainname
  316 164     STD             { int sys___tmpfd(int flags); }
  317 165     STD             { int sys_sysarch(int op, void *parms); }
  318 166     STD NOLOCK      { off_t sys_lseek(int fd, off_t offset, int whence); }
  319 167     STD             { int sys_truncate(const char *path, off_t length); }
  320 168     STD             { int sys_ftruncate(int fd, off_t length); }
  321 169     STD NOLOCK      { ssize_t sys_pread(int fd, void *buf, \
  322                             size_t nbyte, off_t offset); }
  323 170     STD NOLOCK      { ssize_t sys_pwrite(int fd, const void *buf, \
  324                             size_t nbyte, off_t offset); }
  325 171     STD NOLOCK      { ssize_t sys_preadv(int fd, \
  326                             const struct iovec *iovp, int iovcnt, \
  327                             off_t offset); }
  328 172     STD NOLOCK      { ssize_t sys_pwritev(int fd, \
  329                             const struct iovec *iovp, int iovcnt, \
  330                             off_t offset); }
  331 173     STD NOLOCK      { ssize_t sys_pad_pread(int fd, void *buf, \
  332                           size_t nbyte, int pad, off_t offset); }
  333 174     STD NOLOCK      { ssize_t sys_pad_pwrite(int fd, const void *buf, \
  334                           size_t nbyte, int pad, off_t offset); }
  335 175     UNIMPL          ntp_gettime
  336 176     UNIMPL          ntp_adjtime
  337 177     UNIMPL
  338 178     UNIMPL
  339 179     UNIMPL
  340 180     UNIMPL
  341 
  342 ; Syscalls 181-199 are used by/reserved for BSD
  343 181     STD             { int sys_setgid(gid_t gid); }
  344 182     STD             { int sys_setegid(gid_t egid); }
  345 183     STD             { int sys_seteuid(uid_t euid); }
  346 184     OBSOL           lfs_bmapv
  347 185     OBSOL           lfs_markv
  348 186     OBSOL           lfs_segclean
  349 187     OBSOL           lfs_segwait
  350 188     OBSOL           stat35
  351 189     OBSOL           fstat35
  352 190     OBSOL           lstat35
  353 191     STD             { long sys_pathconf(const char *path, int name); }
  354 192     STD             { long sys_fpathconf(int fd, int name); }
  355 193     STD             { int sys_swapctl(int cmd, const void *arg, int misc); }
  356 194     STD NOLOCK      { int sys_getrlimit(int which, \
  357                             struct rlimit *rlp); }
  358 195     STD NOLOCK      { int sys_setrlimit(int which, \
  359                             const struct rlimit *rlp); }
  360 196     OBSOL           ogetdirentries48
  361 197     STD             { void *sys_pad_mmap(void *addr, size_t len, int prot, \
  362                             int flags, int fd, long pad, off_t pos); }
  363 198     INDIR           { quad_t sys___syscall(quad_t num, ...); }
  364 199     STD NOLOCK      { off_t sys_pad_lseek(int fd, int pad, off_t offset, \
  365                             int whence); }
  366 200     STD             { int sys_pad_truncate(const char *path, int pad, \
  367                             off_t length); }
  368 201     STD             { int sys_pad_ftruncate(int fd, int pad, off_t length); }
  369 202     STD             { int sys_sysctl(const int *name, u_int namelen, \
  370                             void *old, size_t *oldlenp, void *new, \
  371                             size_t newlen); }
  372 203     STD             { int sys_mlock(const void *addr, size_t len); }
  373 204     STD             { int sys_munlock(const void *addr, size_t len); }
  374 205     UNIMPL          sys_undelete
  375 206     OBSOL           t32_futimes
  376 207     STD             { pid_t sys_getpgid(pid_t pid); }
  377 208     OBSOL           nnpfspioctl
  378 209     STD             { int sys_utrace(const char *label, const void *addr, \
  379                             size_t len); }
  380 ;
  381 ; Syscalls 210-219 were reserved for dynamically loaded syscalls
  382 ;
  383 210     UNIMPL
  384 211     UNIMPL
  385 212     UNIMPL
  386 213     UNIMPL
  387 214     UNIMPL
  388 215     UNIMPL
  389 216     UNIMPL
  390 217     UNIMPL
  391 218     UNIMPL
  392 219     UNIMPL
  393 ; System calls 220-240 are reserved for use by OpenBSD
  394 #ifdef SYSVSEM
  395 220     UNIMPL
  396 221     STD             { int sys_semget(key_t key, int nsems, int semflg); }
  397 #else
  398 220     UNIMPL          semctl
  399 221     UNIMPL          semget
  400 #endif
  401 222     OBSOL           semop35
  402 223     OBSOL           semconfig35
  403 #ifdef SYSVMSG
  404 224     UNIMPL
  405 225     STD             { int sys_msgget(key_t key, int msgflg); }
  406 226     STD             { int sys_msgsnd(int msqid, const void *msgp, size_t msgsz, \
  407                             int msgflg); }
  408 227     STD             { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
  409                             long msgtyp, int msgflg); }
  410 #else
  411 224     UNIMPL          msgctl
  412 225     UNIMPL          msgget
  413 226     UNIMPL          msgsnd
  414 227     UNIMPL          msgrcv
  415 #endif
  416 #ifdef SYSVSHM
  417 228     STD             { void *sys_shmat(int shmid, const void *shmaddr, \
  418                             int shmflg); }
  419 229     UNIMPL
  420 230     STD             { int sys_shmdt(const void *shmaddr); }
  421 #else
  422 228     UNIMPL          shmat
  423 229     UNIMPL          shmctl
  424 230     UNIMPL          shmdt
  425 #endif
  426 231     OBSOL           shmget35
  427 232     OBSOL           t32_clock_gettime
  428 233     OBSOL           t32_clock_settime
  429 234     OBSOL           t32_clock_getres
  430 235     UNIMPL          timer_create
  431 236     UNIMPL          timer_delete
  432 237     UNIMPL          timer_settime
  433 238     UNIMPL          timer_gettime
  434 239     UNIMPL          timer_getoverrun
  435 ;
  436 ; System calls 240-249 are reserved for other IEEE Std1003.1b syscalls
  437 ;
  438 240     OBSOL           t32_nanosleep
  439 241     UNIMPL
  440 242     UNIMPL
  441 243     UNIMPL
  442 244     UNIMPL
  443 245     UNIMPL
  444 246     UNIMPL
  445 247     UNIMPL
  446 248     UNIMPL
  447 249     UNIMPL
  448 250     STD NOLOCK      { int sys_minherit(void *addr, size_t len, \
  449                             int inherit); }
  450 251     OBSOL           rfork
  451 252     STD             { int sys_poll(struct pollfd *fds, \
  452                             u_int nfds, int timeout); }
  453 253     STD NOLOCK      { int sys_issetugid(void); }
  454 254     STD             { int sys_lchown(const char *path, uid_t uid, gid_t gid); }
  455 255     STD             { pid_t sys_getsid(pid_t pid); }
  456 256     STD             { int sys_msync(void *addr, size_t len, int flags); }
  457 257     OBSOL           semctl35
  458 258     OBSOL           shmctl35
  459 259     OBSOL           msgctl35
  460 260     UNIMPL
  461 261     UNIMPL
  462 262     UNIMPL
  463 263     STD NOLOCK      { int sys_pipe(int *fdp); }
  464 264     STD             { int sys_fhopen(const fhandle_t *fhp, int flags); }
  465 265     UNIMPL
  466 266     UNIMPL
  467 267     STD NOLOCK      { ssize_t sys_pad_preadv(int fd, \
  468                           const struct iovec *iovp, int iovcnt, \
  469                           int pad, off_t offset); }
  470 268     STD NOLOCK      { ssize_t sys_pad_pwritev(int fd, \
  471                           const struct iovec *iovp, int iovcnt, \
  472                           int pad, off_t offset); }
  473 269     STD NOLOCK      { int sys_kqueue(void); }
  474 270     OBSOL           t32_kevent
  475 271     STD             { int sys_mlockall(int flags); }
  476 272     STD             { int sys_munlockall(void); }
  477 273     UNIMPL          sys_getpeereid
  478 274     UNIMPL          sys_extattrctl
  479 275     UNIMPL          sys_extattr_set_file
  480 276     UNIMPL          sys_extattr_get_file
  481 277     UNIMPL          sys_extattr_delete_file
  482 278     UNIMPL          sys_extattr_set_fd
  483 279     UNIMPL          sys_extattr_get_fd
  484 280     UNIMPL          sys_extattr_delete_fd
  485 281     STD NOLOCK      { int sys_getresuid(uid_t *ruid, uid_t *euid, \
  486                             uid_t *suid); }
  487 282     STD             { int sys_setresuid(uid_t ruid, uid_t euid, \
  488                             uid_t suid); }
  489 283     STD NOLOCK      { int sys_getresgid(gid_t *rgid, gid_t *egid, \
  490                             gid_t *sgid); }
  491 284     STD             { int sys_setresgid(gid_t rgid, gid_t egid, \
  492                             gid_t sgid); }
  493 285     OBSOL           sys_omquery
  494 286     STD             { void *sys_pad_mquery(void *addr, size_t len, \
  495                             int prot, int flags, int fd, long pad, \
  496                             off_t pos); }
  497 287     STD NOLOCK      { int sys_closefrom(int fd); }
  498 288     STD             { int sys_sigaltstack(const struct sigaltstack *nss, \
  499                             struct sigaltstack *oss); }
  500 #ifdef SYSVSHM
  501 289     STD             { int sys_shmget(key_t key, size_t size, int shmflg); }
  502 #else
  503 289     UNIMPL          shmget
  504 #endif
  505 #ifdef SYSVSEM
  506 290     STD             { int sys_semop(int semid, struct sembuf *sops, \
  507                             size_t nsops); }
  508 #else
  509 290    UNIMPL           semop
  510 #endif
  511 291     OBSOL           t32_stat
  512 292     OBSOL           t32_fstat
  513 293     OBSOL           t32_lstat
  514 294     STD             { int sys_fhstat(const fhandle_t *fhp, \
  515                             struct stat *sb); }
  516 #ifdef SYSVSEM
  517 295     STD             { int sys___semctl(int semid, int semnum, int cmd, \
  518                             union semun *arg); }
  519 #else
  520 295     UNIMPL
  521 #endif
  522 #ifdef SYSVSHM
  523 296     STD             { int sys_shmctl(int shmid, int cmd, \
  524                             struct shmid_ds *buf); }
  525 #else
  526 296     UNIMPL
  527 #endif
  528 #ifdef SYSVMSG
  529 297     STD             { int sys_msgctl(int msqid, int cmd, \
  530                             struct msqid_ds *buf); }
  531 #else
  532 297     UNIMPL
  533 #endif
  534 298     STD NOLOCK      { int sys_sched_yield(void); }
  535 299     STD NOLOCK      { pid_t sys_getthrid(void); }
  536 300     OBSOL           t32___thrsleep
  537 301     STD NOLOCK      { int sys___thrwakeup(const volatile void *ident, \
  538                             int n); }
  539 302     STD             { void sys___threxit(pid_t *notdead); }
  540 303     STD             { int sys___thrsigdivert(sigset_t sigmask, \
  541                             siginfo_t *info, const struct timespec *timeout); }
  542 304     STD             { int sys___getcwd(char *buf, size_t len); }
  543 305     STD NOLOCK      { int sys_adjfreq(const int64_t *freq, \
  544                             int64_t *oldfreq); }
  545 306     OBSOL           getfsstat53
  546 307     OBSOL           statfs53
  547 308     OBSOL           fstatfs53
  548 309     OBSOL           fhstatfs53
  549 310     STD NOLOCK      { int sys_setrtable(int rtableid); }
  550 311     STD NOLOCK      { int sys_getrtable(void); }
  551 312     OBSOL           t32_getdirentries
  552 313     STD             { int sys_faccessat(int fd, const char *path, \
  553                             int amode, int flag); }
  554 314     STD             { int sys_fchmodat(int fd, const char *path, \
  555                             mode_t mode, int flag); }
  556 315     STD             { int sys_fchownat(int fd, const char *path, \
  557                             uid_t uid, gid_t gid, int flag); }
  558 316     OBSOL           t32_fstatat
  559 317     STD             { int sys_linkat(int fd1, const char *path1, int fd2, \
  560                             const char *path2, int flag); }
  561 318     STD             { int sys_mkdirat(int fd, const char *path, \
  562                             mode_t mode); }
  563 319     STD             { int sys_mkfifoat(int fd, const char *path, \
  564                             mode_t mode); }
  565 320     STD             { int sys_mknodat(int fd, const char *path, \
  566                             mode_t mode, dev_t dev); }
  567 321     STD             { int sys_openat(int fd, const char *path, int flags, \
  568                             ... mode_t mode); }
  569 322     STD             { ssize_t sys_readlinkat(int fd, const char *path, \
  570                             char *buf, size_t count); }
  571 323     STD             { int sys_renameat(int fromfd, const char *from, \
  572                             int tofd, const char *to); }
  573 324     STD             { int sys_symlinkat(const char *path, int fd, \
  574                             const char *link); }
  575 325     STD             { int sys_unlinkat(int fd, const char *path, \
  576                             int flag); }
  577 326     OBSOL           t32_utimensat
  578 327     OBSOL           t32_futimens
  579 328     OBSOL           __tfork51
  580 329     STD NOLOCK      { void sys___set_tcb(void *tcb); }
  581 330     STD NOLOCK      { void *sys___get_tcb(void); }

Cache object: a3bdf1b2162301fc4bc4b39fe9703578


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