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/ultrix/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.46 2008/06/19 12:28:12 hans Exp $
    2 
    3 ;       @(#)syscalls.master     8.1 (Berkeley) 7/19/93
    4 
    5 ; NetBSD COMPAT_ULTRIX 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_nfsserver.h"
   36 #include "fs_nfs.h"
   37 #endif
   38 
   39 #include <sys/param.h>
   40 #include <sys/systm.h>
   41 #include <sys/signal.h>
   42 #include <sys/mount.h>
   43 #include <sys/sched.h>
   44 #include <sys/syscallargs.h>
   45 #include <compat/ultrix/ultrix_syscallargs.h>
   46 
   47 %%
   48 
   49 0       NOARGS          { int sys_nosys(void); } syscall
   50 1       NOARGS          { int sys_exit(int rval); }
   51 2       NOARGS          { int sys_fork(void); }
   52 3       NOARGS          { int sys_read(int fd, char *buf, u_int nbyte); }
   53 4       NOARGS          { int sys_write(int fd, char *buf, u_int nbyte); }
   54 5       STD             { int ultrix_sys_open(const char *path, int flags, \
   55                             int mode); }
   56 6       NOARGS          { int sys_close(int fd); }
   57 7       NOARGS          { int compat_43_sys_wait(void); } owait
   58 8       STD             { int ultrix_sys_creat(const char *path, int mode); }
   59 9       NOARGS          { int sys_link(char *path, char *link); }
   60 10      NOARGS          { int sys_unlink(char *path); }
   61 11      STD             { int ultrix_sys_execv(const char *path, char **argp); }
   62 12      NOARGS          { int sys_chdir(char *path); }
   63 13      OBSOL           time
   64 14      STD             { int ultrix_sys_mknod(const char *path, int mode, \
   65                             int dev); }
   66 15      NOARGS          { int sys_chmod(char *path, int mode); }
   67 16      NOARGS          { int sys___posix_chown(char *path, int uid, int gid); }
   68 17      NOARGS          { int sys_obreak(char *nsize); } break
   69 18      OBSOL           stat
   70 19      NOARGS          { long compat_43_sys_lseek(int fd, long offset, \
   71                             int whence); }
   72 20      NOARGS          { pid_t sys_getpid(void); }
   73 21      STD             { int ultrix_sys_mount(char *special, char *dir, \
   74                              int rdonly, int type, void *data); }
   75 22      OBSOL           sysV_unmount
   76 23      NOARGS          { int sys_setuid(uid_t uid); }
   77 24      NOARGS          { uid_t sys_getuid(void); }
   78 25      OBSOL           v7 stime
   79 26      OBSOL           v7 ptrace
   80 27      OBSOL           v7 alarm
   81 28      OBSOL           v7 fstat
   82 29      OBSOL           v7 pause
   83 30      OBSOL           v7 utime
   84 31      OBSOL           v7 stty
   85 32      OBSOL           v7 gtty
   86 33      STD             { int ultrix_sys_access(const char *path, int flags); }
   87 34      OBSOL           v7 nice
   88 35      OBSOL           v7 ftime
   89 36      NOARGS          { int sys_sync(void); }
   90 37      NOARGS          { int sys_kill(int pid, int signum); }
   91 38      STD             { int ultrix_sys_stat(const char *path, \
   92                             struct stat43 *ub); } stat43
   93 39      OBSOL           v7 setpgrp
   94 40      STD             { int ultrix_sys_lstat(const char *path, \
   95                             struct stat43 *ub); } lstat43
   96 41      NOARGS          { int sys_dup(u_int fd); }
   97 42      NOARGS          { int sys_pipe(void); }
   98 43      OBSOL           v7 times
   99 44      NOARGS          { int sys_profil(void *samples, u_int size, \
  100                             u_int offset, u_int scale); }
  101 45      UNIMPL
  102 46      OBSOL           v7 setgid
  103 47      NOARGS          { gid_t sys_getgid(void); }
  104 48      UNIMPL          ssig
  105 49      UNIMPL          reserved for USG
  106 50      UNIMPL          reserved for USG
  107 51      NOARGS          { int sys_acct(char *path); }
  108 52      UNIMPL
  109 53      UNIMPL          syslock
  110 54      STD             { int ultrix_sys_ioctl(int fd, u_long com, void *data); }
  111 55      NOARGS          { int sys_reboot(int opt); }
  112 56      UNIMPL          v7 mpxchan
  113 57      NOARGS          { int sys_symlink(char *path, char *link); }
  114 58      NOARGS          { int sys_readlink(char *path, char *buf, int count); }
  115 59      STD             { int ultrix_sys_execve(const char *path, char **argp, \
  116                             char **envp); }
  117 60      NOARGS          { int sys_umask(int newmask); }
  118 61      NOARGS          { int sys_chroot(char *path); }
  119 62      NOARGS          { int compat_43_sys_fstat(int fd, struct stat43 *sb); }
  120 63      UNIMPL
  121 64      NOARGS          { int compat_43_sys_getpagesize(void); }
  122 65      UNIMPL          mremap
  123 66      NOARGS          { int sys_vfork(void); }
  124 67      OBSOL           vread
  125 68      OBSOL           vwrite
  126 69      NOARGS          { int sys_sbrk(intptr_t incr); }
  127 70      NOARGS          { int sys_sstk(int incr); }
  128 71      STD             { int ultrix_sys_mmap(void *addr, size_t len, \
  129                             int prot, u_int flags, int fd, long pos); }
  130 72      NOARGS          { int sys_ovadvise(int anom); } vadvise
  131 73      NOARGS          { int sys_munmap(void *addr, size_t len); }
  132 74      NOARGS          { int sys_mprotect(void *addr, size_t len, \
  133                             int prot); }
  134 75      NOARGS          { int sys_madvise(void *addr, size_t len, \
  135                             int behav); }
  136 76      STD             { int ultrix_sys_vhangup(void); }
  137 77      UNIMPL          old vlimit
  138 78      NOARGS          { int sys_mincore(void *addr, int len, char *vec); }
  139 79      NOARGS          { int sys_getgroups(u_int gidsetsize, gid_t *gidset); }
  140 80      NOARGS          { int sys_setgroups(u_int gidsetsize, gid_t *gidset); }
  141 81      NOARGS          { int sys_getpgrp(void); }
  142 82      STD             { int ultrix_sys_setpgrp(int pid, int pgid); }
  143 83      NOARGS          { int sys_setitimer(u_int which, \
  144                             struct itimerval *itv, struct itimerval *oitv); }
  145 84      STD             { int ultrix_sys_wait3(int *status, int options, \
  146                             struct rusage *rusage);}
  147 85      NOARGS          { int compat_12_sys_swapon(char *name); }
  148 86      NOARGS          { int sys_getitimer(u_int which, \
  149                             struct itimerval *itv); }
  150 87      NOARGS          { int compat_43_sys_gethostname(char *hostname, \
  151                             u_int len); }
  152 88      NOARGS          { int compat_43_sys_sethostname(char *hostname, \
  153                             u_int len); }
  154 89      NOARGS          { int compat_43_sys_getdtablesize(void); }
  155 90      NOARGS          { int sys_dup2(u_int from, u_int to); }
  156 91      UNIMPL          getdopt
  157 92      STD             { int ultrix_sys_fcntl(int fd, int cmd, void *arg); }
  158 93      STD             { int ultrix_sys_select(u_int nd, fd_set *in, fd_set *ou, \
  159                             fd_set *ex, struct timeval *tv); }
  160 94      UNIMPL          setdopt
  161 95      NOARGS          { int sys_fsync(int fd); }
  162 96      NOARGS          { int sys_setpriority(int which, int who, int prio); }
  163 97      NOARGS          { int compat_30_sys_socket(int domain, int type, int protocol); }
  164 98      NOARGS          { int sys_connect(int s, void *name, int namelen); }
  165 99      NOARGS          { int compat_43_sys_accept(int s, void *name, \
  166                             int *anamelen); }
  167 100     NOARGS          { int sys_getpriority(int which, int who); }
  168 101     NOARGS          { int compat_43_sys_send(int s, void *buf, int len, \
  169                             int flags); }
  170 102     NOARGS          { int compat_43_sys_recv(int s, void *buf, int len, \
  171                             int flags); }
  172 103     STD                     { int ultrix_sys_sigreturn(struct sigcontext * \
  173                                                         sigcntxp); }
  174 104     NOARGS          { int sys_bind(int s, void *name, int namelen); }
  175 105     STD             { int ultrix_sys_setsockopt(int s, int level, \
  176                             int name, void *val, int valsize); }
  177 106     NOARGS          { int sys_listen(int s, int backlog); }
  178 107     UNIMPL          vtimes
  179 108     STD             { int ultrix_sys_sigvec(int signum, \
  180                             struct sigvec *nsv, struct sigvec *osv); }
  181 109     NOARGS          { int compat_43_sys_sigblock(int mask); }
  182 110     NOARGS          { int compat_43_sys_sigsetmask(int mask); }
  183 111     STD                     { int ultrix_sys_sigsuspend(int mask); }
  184 112     NOARGS          { int compat_43_sys_sigstack(struct sigstack *nss, \
  185                             struct sigstack *oss); }
  186 113     NOARGS          { int compat_43_sys_recvmsg(int s, \
  187                             struct omsghdr *msg, int flags); }
  188 114     NOARGS          { int compat_43_sys_sendmsg(int s, void *msg, \
  189                             int flags); }
  190 115     OBSOL           vtrace
  191 116     NOARGS          { int sys_gettimeofday(struct timeval *tp, \
  192                             struct timezone *tzp); }
  193 117     NOARGS          { int sys_getrusage(int who, struct rusage *rusage); }
  194 118     NOARGS          { int sys_getsockopt(int s, int level, int name, \
  195                             void *val, int *avalsize); }
  196 119     UNIMPL          resuba
  197 120     NOARGS          { int sys_readv(int fd, struct iovec *iovp, \
  198                             u_int iovcnt); }
  199 121     NOARGS          { int sys_writev(int fd, struct iovec *iovp, \
  200                             u_int iovcnt); }
  201 122     NOARGS          { int sys_settimeofday(struct timeval *tv, \
  202                             struct timezone *tzp); }
  203 123     NOARGS          { int sys___posix_fchown(int fd, int uid, int gid); }
  204 124     NOARGS          { int sys_fchmod(int fd, int mode); }
  205 125     NOARGS          { int compat_43_sys_recvfrom(int s, void *buf, \
  206                             size_t len, int flags, void *from, \
  207                             int *fromlenaddr); }
  208 126     NOARGS          { int sys_setreuid(int ruid, int euid); }
  209 127     NOARGS          { int sys_setregid(int rgid, int egid); }
  210 128     NOARGS          { int sys_rename(char *from, char *to); }
  211 129     NOARGS          { int compat_43_sys_truncate(char *path, long length); }
  212 130     NOARGS          { int compat_43_sys_ftruncate(int fd, long length); }
  213 131     NOARGS          { int sys_flock(int fd, int how); }
  214 132     UNIMPL
  215 133     NOARGS          { int sys_sendto(int s, void *buf, size_t len, \
  216                             int flags, void *to, int tolen); }
  217 134     NOARGS          { int sys_shutdown(int s, int how); }
  218 135     NOARGS          { int sys_socketpair(int domain, int type, \
  219                             int protocol, int *rsv); }
  220 136     NOARGS          { int sys_mkdir(char *path, int mode); }
  221 137     NOARGS          { int sys_rmdir(char *path); }
  222 138     NOARGS          { int sys_utimes(char *path, struct timeval *tptr); }
  223 139     STD             { int ultrix_sys_sigcleanup(struct sigcontext *sigcntxp); }
  224 140     NOARGS          { int sys_adjtime(struct timeval *delta, \
  225                             struct timeval *olddelta); }
  226 141     NOARGS          { int compat_43_sys_getpeername(int fdes, void *asa, \
  227                             int *alen); }
  228 142     NOARGS          { int compat_43_sys_gethostid(void); }
  229 143     UNIMPL          old sethostid
  230 144     NOARGS          { int compat_43_sys_getrlimit(u_int which, \
  231                             struct orlimit *rlp); }
  232 145     NOARGS          { int compat_43_sys_setrlimit(u_int which, \
  233                             struct orlimit *rlp); }
  234 146     NOARGS          { int compat_43_sys_killpg(int pgid, int signum); }
  235 147     UNIMPL
  236 148     UNIMPL          setquota
  237 149     UNIMPL          quota /* needs to be nullop to boot on Ultrix root partition*/
  238 150     NOARGS          { int compat_43_sys_getsockname(int fdes, void *asa, \
  239                             int *alen); }
  240 151     UNIMPL          sysmips /* 4 args */
  241 #ifdef __mips
  242 152     STD             { int ultrix_sys_cacheflush(char *addr, int nbytes, \
  243                             int whichcache); }
  244 153     STD     { int ultrix_sys_cachectl(char *addr, int nbytes, int cacheop); }
  245 #else   /* !mips */
  246 152     UNIMPL
  247 153     UNIMPL
  248 #endif  /* !mips */
  249 154     UNIMPL
  250 155     UNIMPL          atomic_op
  251 156     UNIMPL
  252 157     UNIMPL
  253 #ifdef NFSSERVER
  254 158     STD             { int ultrix_sys_nfssvc(int fd); }
  255 #else
  256 158     UNIMPL
  257 #endif
  258 159     NOARGS          { int compat_43_sys_getdirentries(int fd, char *buf, \
  259                             u_int count, long *basep); }
  260 160     STD             { int ultrix_sys_statfs(const char *path, \
  261                             struct ultrix_statfs *buf); }
  262 161     STD             { int ultrix_sys_fstatfs(int fd, \
  263                             struct ultrix_statfs *buf); }
  264 162     UNIMPL          umount
  265 #ifdef NFS
  266 163     NOARGS          { int async_daemon(void); }
  267 164     NOARGS          { int compat_30_sys_getfh(char *fname, fhandle_t *fhp); }
  268 #else
  269 163     UNIMPL          async_daemon
  270 164     UNIMPL          getfh
  271 #endif
  272 165     NOARGS          { int compat_09_sys_getdomainname(char *domainname, \
  273                             int len); }
  274 166     NOARGS          { int compat_09_sys_setdomainname(char *domainname, \
  275                             int len); }
  276 167     UNIMPL
  277 168     STD             { int ultrix_sys_quotactl(int cmd, char *special, \
  278                             int uid, void *addr); }
  279 169     STD             { int ultrix_sys_exportfs(char *path, char *ex); }
  280 170     UNIMPL          { int ultrix_sys_mount(char *special, char *dir, \
  281                              int rdonly, int type, void *data); }
  282 171     UNIMPL  4 hdwconf
  283 172     UNIMPL          msgctl
  284 173     UNIMPL          msgget
  285 174     UNIMPL          msgrcv
  286 175     UNIMPL          msgsnd
  287 176     UNIMPL          semctl
  288 177     UNIMPL          semget
  289 178     UNIMPL          semop
  290 179     STD             { int ultrix_sys_uname(struct ultrix_utsname *name); }
  291 180     STD             { int ultrix_sys_shmsys(u_int shmop, \
  292                                                 u_int a2, u_int a3, u_int a4); }
  293 181     UNIMPL  0 plock
  294 182     UNIMPL  0 lockf
  295 183     STD             { int ultrix_sys_ustat(int dev, \
  296                             struct ultrix_ustat *buf); }
  297 184     STD             { int ultrix_sys_getmnt(int *start, \
  298                                 struct ultrix_fs_data *buf, \
  299                                 int bufsize, int mode, char *path); }
  300 185     UNIMPL          notdef
  301 186     UNIMPL          notdef
  302 187     STD             { int ultrix_sys_sigpending(int *mask); }
  303 188     NOARGS          { int sys_setsid(void); }
  304 189     STD             { int ultrix_sys_waitpid(int pid, int *status, \
  305                             int options); }
  306 190     UNIMPL
  307 191     UNIMPL
  308 192     UNIMPL
  309 193     UNIMPL
  310 194     UNIMPL
  311 195     UNIMPL
  312 196     UNIMPL
  313 197     UNIMPL
  314 198     UNIMPL
  315 199     UNIMPL
  316 200     UNIMPL
  317 201     UNIMPL
  318 202     UNIMPL
  319 203     UNIMPL
  320 204     UNIMPL
  321 205     UNIMPL
  322 206     UNIMPL
  323 207     UNIMPL
  324 208     UNIMPL
  325 209     UNIMPL
  326 210     UNIMPL
  327 211     UNIMPL
  328 212     UNIMPL
  329 213     UNIMPL
  330 214     UNIMPL
  331 215     UNIMPL
  332 216     UNIMPL
  333 217     UNIMPL
  334 218     UNIMPL
  335 219     UNIMPL
  336 220     UNIMPL
  337 221     UNIMPL
  338 222     UNIMPL
  339 223     UNIMPL
  340 224     UNIMPL
  341 225     UNIMPL
  342 226     UNIMPL
  343 227     UNIMPL
  344 228     UNIMPL
  345 229     UNIMPL
  346 230     UNIMPL
  347 231     UNIMPL
  348 232     UNIMPL
  349 233     UNIMPL  1 utc_gettime
  350 234     UNIMPL  2 utc_adjtime
  351 235     UNIMPL
  352 236     UNIMPL
  353 237     UNIMPL
  354 238     UNIMPL
  355 239     UNIMPL
  356 240     UNIMPL
  357 241     UNIMPL
  358 242     UNIMPL
  359 243     UNIMPL
  360 244     UNIMPL
  361 245     UNIMPL
  362 246     UNIMPL
  363 247     UNIMPL
  364 248     UNIMPL
  365 249     UNIMPL
  366 250     UNIMPL
  367 251     UNIMPL
  368 252     UNIMPL          audctl /*Make no-op for installation on Ultrix rootpartition?*/
  369 253     UNIMPL          audgen /*Make no-op for installation on Ultrix rootpartition?*/
  370 254     UNIMPL          startcpu
  371 255     UNIMPL          stopcpu
  372 256     STD             { int ultrix_sys_getsysinfo(unsigned op, char *buffer, \
  373                             unsigned nbytes, int *start, char *arg); }
  374 257     STD             { int ultrix_sys_setsysinfo(unsigned op, char *buffer, \
  375                             unsigned nbytes, unsigned arg, unsigned flag); }
  376 

Cache object: a7215510d5d1e2ed6f0278555dd50043


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