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


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/compat/osf1/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         $NetBSD: syscalls.master,v 1.45 2007/03/04 06:01:28 christos Exp $
    2 
    3 ;       @(#)syscalls.master     8.1 (Berkeley) 7/19/93
    4 
    5 ; NetBSD COMPAT_OSF1 system call name/number "master" file.
    6 ; (See syscalls.conf to see what it is processed into.)
    7 ;
    8 ; Fields: number type [type-dependent ...]
    9 ;       number  system call number, must be in order
   10 ;       type    one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
   11 ;               the compatibility options defined in syscalls.conf.
   12 ;
   13 ; types:
   14 ;       STD     always included
   15 ;       OBSOL   obsolete, not included in system
   16 ;       UNIMPL  unimplemented, not included in system
   17 ;       NODEF   included, but don't define the syscall number
   18 ;       NOARGS  included, but don't define the syscall args structure
   19 ;
   20 ; The compat options are defined in the syscalls.conf file, and the
   21 ; compat option name is prefixed to the syscall name.  Other than
   22 ; that, they're like NODEF (for 'compat' options), or STD (for
   23 ; 'libcompat' options).
   24 ;
   25 ; The type-dependent arguments are as follows:
   26 ; For STD, NODEF, NOARGS, and compat syscalls:
   27 ;       { pseudo-proto } [alias]
   28 ; For other syscalls:
   29 ;       [comment]
   30 ;
   31 ; #ifdef's, etc. may be included, and are copied to the output files.
   32 ; #include's are copied to the syscall names and switch definition files only.
   33 
   34 #if defined(_KERNEL_OPT)
   35 #include "opt_compat_43.h"
   36 #endif
   37 
   38 #include <sys/param.h>
   39 #include <sys/systm.h>
   40 #include <sys/signal.h>
   41 #include <sys/mount.h>
   42 #include <sys/poll.h>
   43 #include <sys/syscallargs.h>
   44 
   45 #include <compat/osf1/osf1.h>
   46 #include <compat/osf1/osf1_syscallargs.h>
   47 
   48 %%
   49 
   50 0       NOARGS          { int sys_nosys(void); } syscall
   51 1       NOARGS          { int sys_exit(int rval); }
   52 2       NOARGS          { int sys_fork(void); }
   53 3       NOARGS          { int sys_read(int fd, char *buf, u_int nbyte); }
   54 4       NOARGS          { int sys_write(int fd, const char *buf, \
   55                             u_int nbyte); }
   56 5       UNIMPL          old open
   57 6       NOARGS          { int sys_close(int fd); }
   58 7       STD             { int osf1_sys_wait4(int pid, int *status, \
   59                             int options, struct osf1_rusage *rusage); }
   60 8       UNIMPL          old creat
   61 9       NOARGS          { int sys_link(const char *path, const char *link); }
   62 10      NOARGS          { int sys_unlink(const char *path); }
   63 11      UNIMPL          execv
   64 12      NOARGS          { int sys_chdir(const char *path); }
   65 13      NOARGS          { int sys_fchdir(int fd); }
   66 14      STD             { int osf1_sys_mknod(const char *path, int mode, \
   67                             int dev); }
   68 15      NOARGS          { int sys_chmod(const char *path, int mode); }
   69 16      NOARGS          { int sys___posix_chown(const char *path, int uid, \
   70                             int gid); }
   71 17      NOARGS          { int sys_obreak(char *nsize); }
   72 18      STD             { int osf1_sys_getfsstat(struct osf1_statfs *buf, \
   73                             long bufsize, int flags); }
   74 19      STD             { off_t osf1_sys_lseek(int fd, off_t offset, \
   75                             int whence); }
   76 20      NOARGS          { pid_t sys_getpid_with_ppid(void); }
   77 21      STD             { int osf1_sys_mount(int type, const char *path, \
   78                             int flags, void *data); }
   79 22      STD             { int osf1_sys_unmount(const char *path, int flags); }
   80 23      STD             { int osf1_sys_setuid(uid_t uid); }
   81 24      NOARGS          { uid_t sys_getuid_with_euid(void); }
   82 25      UNIMPL          exec_with_loader
   83 26      UNIMPL          ptrace
   84 27      STD             { int osf1_sys_recvmsg_xopen(int s, \
   85                             struct osf1_msghdr_xopen *msg, int flags); }
   86 28      STD             { int osf1_sys_sendmsg_xopen(int s, \
   87                             const struct osf1_msghdr_xopen *msg, int flags); }
   88 29      UNIMPL          recvfrom
   89 30      UNIMPL          accept
   90 31      UNIMPL          getpeername
   91 32      UNIMPL          getsockname
   92 33      STD             { int osf1_sys_access(const char *path, int flags); }
   93 34      UNIMPL          chflags
   94 35      UNIMPL          fchflags
   95 36      NOARGS          { int sys_sync(void); }
   96 37      NOARGS          { int sys_kill(int pid, int signum); }
   97 38      UNIMPL          old stat
   98 39      NOARGS          { int sys_setpgid(int pid, int pgid); }
   99 40      UNIMPL          old lstat
  100 41      NOARGS          { int sys_dup(u_int fd); }
  101 42      NOARGS          { int sys_pipe(void); }
  102 43      STD             { int osf1_sys_set_program_attributes( \
  103                           void *taddr, unsigned long tsize, \
  104                           void *daddr, unsigned long dsize); }
  105 44      UNIMPL          profil
  106 45      STD             { int osf1_sys_open(const char *path, int flags, \
  107                             int mode); }
  108 46      OBSOL           sigaction
  109 47      NOARGS          { gid_t sys_getgid_with_egid(void); }
  110 ; XXX
  111 48      NOARGS          { int compat_13_sys_sigprocmask(int how, \
  112                             sigset13_t mask); }
  113 49      NOARGS          { int sys___getlogin(char *namebuf, u_int namelen); }
  114 50      NOARGS          { int sys___setlogin(const char *namebuf); }
  115 51      NOARGS          { int sys_acct(const char *path); }
  116 52      UNIMPL          sigpending
  117 53      STD             { int osf1_sys_classcntl(int opcode, int arg1, \
  118                             int arg2, int arg3); }
  119 54      STD             { int osf1_sys_ioctl(int fd, int com, void *data); }
  120 55      STD             { int osf1_sys_reboot(int opt); }
  121 56      NOARGS          { int sys_revoke(const char *path); }
  122 57      NOARGS          { int sys_symlink(const char *path, \
  123                             const char *link); }
  124 58      NOARGS          { int sys_readlink(const char *path, char *buf, \
  125                             int count); }
  126 59      STD             { int osf1_sys_execve(const char *path, \
  127                             char * const *argp, char * const *envp); }
  128 60      NOARGS          { int sys_umask(int newmask); }
  129 61      NOARGS          { int sys_chroot(const char *path); }
  130 62      UNIMPL          old fstat
  131 63      NOARGS          { int sys_getpgrp(void); }
  132 64      NOARGS          { int compat_43_sys_getpagesize(void); }
  133 65      UNIMPL          mremap
  134 66      NOARGS          { int sys_vfork(void); }
  135 67      STD             { int osf1_sys_stat(const char *path, \
  136                             struct osf1_stat *ub); }
  137 68      STD             { int osf1_sys_lstat(const char *path, \
  138                             struct osf1_stat *ub); }
  139 69      UNIMPL          sbrk
  140 70      UNIMPL          sstk
  141 71      STD             { void *osf1_sys_mmap(void *addr, size_t len, \
  142                             int prot, int flags, int fd, off_t pos); }
  143 72      UNIMPL          ovadvise
  144 73      NOARGS          { int sys_munmap(void *addr, size_t len); }
  145 74      STD             { int osf1_sys_mprotect(void *addr, size_t len, \
  146                             int prot); }
  147 75      STD             { int osf1_sys_madvise(void *addr, size_t len, \
  148                             int behav); }
  149 76      UNIMPL          old vhangup
  150 77      UNIMPL          kmodcall
  151 78      UNIMPL          mincore
  152 79      NOARGS          { int sys_getgroups(u_int gidsetsize, gid_t *gidset); }
  153 80      NOARGS          { int sys_setgroups(u_int gidsetsize, gid_t *gidset); }
  154 81      UNIMPL          old getpgrp
  155 ; OSF/1 setpgrp(); identical in function to setpgid().  XXX
  156 82      NOARGS          { int sys_setpgid(int pid, int pgid); } setpgrp
  157 83      STD             { int osf1_sys_setitimer(u_int which, \
  158                             struct osf1_itimerval *itv, \
  159                             struct osf1_itimerval *oitv); }
  160 84      UNIMPL          old wait
  161 85      UNIMPL          table
  162 86      STD             { int osf1_sys_getitimer(u_int which, struct osf1_itimerval *itv); }
  163 87      NOARGS          { int compat_43_sys_gethostname(char *hostname, \
  164                             u_int len); }
  165 88      NOARGS          { int compat_43_sys_sethostname(const char *hostname, \
  166                             u_int len); }
  167 89      NOARGS          { int compat_43_sys_getdtablesize(void); }
  168 90      NOARGS          { int sys_dup2(u_int from, u_int to); }
  169 91      STD             { int osf1_sys_fstat(int fd, void *sb); }
  170 92      STD             { int osf1_sys_fcntl(int fd, int cmd, void *arg); }
  171 93      STD             { int osf1_sys_select(u_int nd, fd_set *in, \
  172                             fd_set *ou, fd_set *ex, struct osf1_timeval *tv); }
  173 ; maybe XXX
  174 94      NOARGS          { int sys_poll(struct pollfd *fds, u_int nfds, \
  175                             int timeout); }
  176 95      NOARGS          { int sys_fsync(int fd); }
  177 96      NOARGS          { int sys_setpriority(int which, int who, int prio); }
  178 97      STD             { int osf1_sys_socket(int domain, int type, \
  179                             int protocol); }
  180 98      NOARGS          { int sys_connect(int s, void *name, int namelen); }
  181 99      NOARGS          { int compat_43_sys_accept(int s, void *name, \
  182                             int *anamelen); }
  183 100     NOARGS          { int sys_getpriority(int which, int who); }
  184 101     NOARGS          { int compat_43_sys_send(int s, void *buf, int len, \
  185                             int flags); }
  186 102     NOARGS          { int compat_43_sys_recv(int s, void *buf, int len, \
  187                             int flags); }
  188 103     NOARGS          { int compat_13_sys_sigreturn(\
  189                             struct sigcontext13 *sigcntxp); }
  190 104     NOARGS          { int sys_bind(int s, void *name, int namelen); }
  191 105     NOARGS          { int sys_setsockopt(int s, int level, int name, \
  192                             void *val, int valsize); }
  193 106     NOARGS          { int sys_listen(int s, int backlog); }
  194 107     UNIMPL          plock
  195 108     UNIMPL          old sigvec
  196 109     UNIMPL          old sigblock
  197 110     UNIMPL          old sigsetmask
  198 111     NOARGS          { int compat_13_sys_sigsuspend(int mask); }
  199 112     NOARGS          { int compat_43_sys_sigstack(struct sigstack *nss, \
  200                             struct sigstack *oss); }
  201 113     UNIMPL          old recvmsg
  202 114     UNIMPL          old sendmsg
  203 115     OBSOL           vtrace
  204 116     STD             { int osf1_sys_gettimeofday(struct osf1_timeval *tp, \
  205                             struct osf1_timezone *tzp); }
  206 117     STD             { int osf1_sys_getrusage(int who, \
  207                             struct osf1_rusage *rusage); }
  208 ; XXX
  209 118     NOARGS          { int sys_getsockopt(int s, int level, int name, \
  210                             void *val, int *avalsize); }
  211 119     UNIMPL
  212 120     STD             { int osf1_sys_readv(int fd, \
  213                             struct osf1_iovec *iovp, u_int iovcnt); }
  214 121     STD             { int osf1_sys_writev(int fd, \
  215                             struct osf1_iovec *iovp, u_int iovcnt); }
  216 122     STD             { int osf1_sys_settimeofday(struct osf1_timeval *tv, \
  217                             struct osf1_timezone *tzp); }
  218 123     NOARGS          { int sys___posix_fchown(int fd, int uid, int gid); }
  219 124     NOARGS          { int sys_fchmod(int fd, int mode); }
  220 125     NOARGS          { int compat_43_sys_recvfrom(int s, void *buf, \
  221                             size_t len, int flags, void *from, \
  222                             int *fromlenaddr); }
  223 126     NOARGS          { int sys_setreuid(uid_t ruid, uid_t euid); }
  224 127     NOARGS          { int sys_setregid(gid_t rgid, gid_t egid); }
  225 128     NOARGS          { int sys___posix_rename(const char *from, \
  226                             const char *to); }
  227 129     STD             { int osf1_sys_truncate(const char *path, \
  228                             off_t length); }
  229 130     STD             { int osf1_sys_ftruncate(int fd, off_t length); }
  230 131     NOARGS          { int sys_flock(int fd, int operation); }
  231 132     STD             { int osf1_sys_setgid(gid_t gid); }
  232 133     STD             { int osf1_sys_sendto(int s, void *buf, size_t len, \
  233                             int flags, struct sockaddr *to, int tolen); }
  234 134     NOARGS          { int sys_shutdown(int s, int how); }
  235 135     STD             { int osf1_sys_socketpair(int domain, int type, \
  236                             int protocol, int *rsv); }
  237 136     NOARGS          { int sys_mkdir(const char *path, int mode); }
  238 137     NOARGS          { int sys_rmdir(const char *path); }
  239 138     STD             { int osf1_sys_utimes(const char *path, \
  240                             const struct osf1_timeval *tptr); }
  241 139     OBSOL           4.2 sigreturn
  242 140     UNIMPL          adjtime
  243 141     NOARGS          { int compat_43_sys_getpeername(int fdes, \
  244                             void *asa, int *alen); }
  245 142     NOARGS          { int32_t compat_43_sys_gethostid(void); }
  246 143     NOARGS          { int compat_43_sys_sethostid(int32_t hostid); }
  247 ; XXX
  248 144     STD             { int osf1_sys_getrlimit(u_int which, \
  249                             struct rlimit *rlp); }
  250 ; XXX
  251 145     STD             { int osf1_sys_setrlimit(u_int which, \
  252                             struct rlimit *rlp); }
  253 146     UNIMPL          old killpg
  254 147     NOARGS          { int sys_setsid(void); }
  255 148     UNIMPL          quotactl
  256 149     NOARGS          { int compat_43_sys_quota(void); }
  257 150     NOARGS          { int compat_43_sys_getsockname(int fdec, \
  258                             void *asa, int *alen); }
  259 151     UNIMPL          pread
  260 152     UNIMPL          pwrite
  261 153     UNIMPL          pid_block
  262 154     UNIMPL          pid_unblock
  263 155     UNIMPL          signal_urti
  264 156     STD             { int osf1_sys_sigaction(int signum, \
  265                             struct osf1_sigaction *nsa, \
  266                             struct osf1_sigaction *osa); }
  267 157     UNIMPL          sigwaitprim
  268 158     UNIMPL          nfssvc
  269 159     NOARGS          { int compat_43_sys_getdirentries(int fd, char *buf, \
  270                             u_int count, long *basep); }
  271 160     STD             { int osf1_sys_statfs(const char *path, \
  272                             struct osf1_statfs *buf, int len); }
  273 161     STD             { int osf1_sys_fstatfs(int fd, \
  274                             struct osf1_statfs *buf, int len); }
  275 162     UNIMPL
  276 163     UNIMPL          async_daemon
  277 164     UNIMPL          getfh
  278 165     NOARGS          { int compat_09_sys_getdomainname(char *domainname, \
  279                             int len); }
  280 166     NOARGS          { int compat_09_sys_setdomainname(char *domainname, \
  281                             int len); }
  282 167     UNIMPL
  283 168     UNIMPL
  284 169     UNIMPL          exportfs
  285 170     UNIMPL
  286 171     UNIMPL
  287 172     UNIMPL          alt msgctl
  288 173     UNIMPL          alt msgget
  289 174     UNIMPL          alt msgrcv
  290 175     UNIMPL          alt msgsnd
  291 176     UNIMPL          alt semctl
  292 177     UNIMPL          alt semget
  293 178     UNIMPL          alt semop
  294 179     UNIMPL          alt uname
  295 180     UNIMPL
  296 181     UNIMPL          alt plock
  297 182     UNIMPL          lockf
  298 183     UNIMPL
  299 184     UNIMPL          getmnt
  300 185     UNIMPL
  301 186     UNIMPL          unmount
  302 187     UNIMPL          alt sigpending
  303 188     UNIMPL          alt setsid
  304 189     UNIMPL
  305 190     UNIMPL
  306 191     UNIMPL
  307 192     UNIMPL
  308 193     UNIMPL
  309 194     UNIMPL
  310 195     UNIMPL
  311 196     UNIMPL
  312 197     UNIMPL
  313 198     UNIMPL
  314 199     UNIMPL          swapon
  315 200     UNIMPL          msgctl
  316 201     UNIMPL          msgget
  317 202     UNIMPL          msgrcv
  318 203     UNIMPL          msgsnd
  319 204     UNIMPL          semctl
  320 205     UNIMPL          semget
  321 206     UNIMPL          semop
  322 207     STD             { int osf1_sys_uname(struct osf1_uname *name); }
  323 208     NOARGS          { int sys___posix_lchown(const char *path, int uid, \
  324                             int gid); }
  325 209     STD             { void *osf1_sys_shmat(int shmid, \
  326                             const void *shmaddr, int shmflg); }
  327 210     STD             { int osf1_sys_shmctl(int shmid, int cmd, \
  328                             struct osf1_shmid_ds *buf); }
  329 211     STD             { int osf1_sys_shmdt(const void *shmaddr); }
  330 212     STD             { int osf1_sys_shmget(osf1_key_t key, size_t size, \
  331                             int flags); }
  332 213     UNIMPL          mvalid
  333 214     UNIMPL          getaddressconf
  334 215     UNIMPL          msleep
  335 216     UNIMPL          mwakeup
  336 217     UNIMPL          msync
  337 218     UNIMPL          signal
  338 219     UNIMPL          utc gettime
  339 220     UNIMPL          utc adjtime
  340 221     UNIMPL
  341 222     UNIMPL          security
  342 223     UNIMPL          kloadcall
  343 224     STD             { int osf1_sys_stat2(const char *path, \
  344                             struct osf1_stat2 *ub); }
  345 225     STD             { int osf1_sys_lstat2(const char *path, \
  346                             struct osf1_stat2 *ub); }
  347 226     STD             { int osf1_sys_fstat2(int fd, \
  348                             struct osf1_stat2 *sb); }
  349 227     UNIMPL          statfs2
  350 228     UNIMPL          fstatfs2
  351 229     UNIMPL          getfsstat2
  352 230     UNIMPL
  353 231     UNIMPL
  354 232     UNIMPL
  355 233     UNIMPL          getpgid
  356 234     NOARGS          { pid_t sys_getsid(pid_t pid); }
  357 235     STD             { int osf1_sys_sigaltstack( \
  358                             struct osf1_sigaltstack *nss, \
  359                             struct osf1_sigaltstack *oss); }
  360 236     UNIMPL          waitid
  361 237     UNIMPL          priocntlset
  362 238     UNIMPL          sigsendset
  363 239     UNIMPL          set_speculative
  364 240     UNIMPL          msfs_syscall
  365 241     STD             { int osf1_sys_sysinfo(int cmd, char *buf, long len); }
  366 242     UNIMPL          uadmin
  367 243     UNIMPL          fuser
  368 244     UNIMPL          proplist_syscall
  369 245     UNIMPL          ntp_adjtime
  370 246     UNIMPL          ntp_gettime
  371 247     STD             { long osf1_sys_pathconf(const char *path, int name); }
  372 248     STD             { long osf1_sys_fpathconf(int fd, int name); }
  373 249     UNIMPL
  374 250     UNIMPL          uswitch
  375 251     STD             { int osf1_sys_usleep_thread( \
  376                             struct osf1_timeval *sleep, \
  377                             struct osf1_timeval *slept); }
  378 252     UNIMPL          audcntl
  379 253     UNIMPL          audgen
  380 254     UNIMPL          sysfs
  381 255     UNIMPL          subsys_info
  382 256     STD             { int osf1_sys_getsysinfo(u_long op, void *buffer, \
  383                             u_long nbytes, void *arg, u_long flag); }
  384 257     STD             { int osf1_sys_setsysinfo(u_long op, void *buffer, \
  385                             u_long nbytes, void *arg, u_long flag); }
  386 258     UNIMPL          afs_syscall
  387 259     UNIMPL          swapctl
  388 260     UNIMPL          memcntl
  389 261     UNIMPL          fdatasync
  390 262     UNIMPL          oflock
  391 263     UNIMPL          _F64_readv
  392 264     UNIMPL          _F64_writev
  393 265     UNIMPL          cdslxlate
  394 266     UNIMPL          sendfile

Cache object: ffec9cefcc01a6502a4d0b283e2316a2


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