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/i386/ibcs2/syscalls.master

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1  $FreeBSD: releng/7.4/sys/i386/ibcs2/syscalls.master 160798 2006-07-28 19:05:28Z jhb $
    2 
    3 ;       @(#)syscalls.master     8.1 (Berkeley) 7/19/93
    4 ; System call name/number master file (or rather, slave, from IBCS2).
    5 ; Processed to created ibcs2_sysent.c, ibcs2_syscalls.c and ibcs2_syscall.h.
    6 
    7 ; Columns: number audit type nargs name alt{name,tag,rtyp}/comments
    8 ;       number  system call number, must be in order
    9 ;       audit   the audit event associated with the system call
   10 ;               A value of AUE_NULL means no auditing, but it also means that
   11 ;               there is no audit event for the call at this time. For the
   12 ;               case where the event exists, but we don't want auditing, the
   13 ;               event should be #defined to AUE_NULL in audit_kevents.h.
   14 ;       type    one of STD, OBSOL, UNIMPL, COMPAT
   15 ;       name    psuedo-prototype of syscall routine
   16 ;               If one of the following alts is different, then all appear:
   17 ;       altname name of system call if different
   18 ;       alttag  name of args struct tag if different from [o]`name'"_args"
   19 ;       altrtyp return type if not int (bogus - syscalls always return int)
   20 ;               for UNIMPL/OBSOL, name continues with comments
   21 
   22 ; types:
   23 ;       STD     always included
   24 ;       COMPAT  included on COMPAT #ifdef
   25 ;       LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
   26 ;       OBSOL   obsolete, not included in system, only specifies name
   27 ;       UNIMPL  not implemented, placeholder only
   28 
   29 #include <sys/param.h>
   30 #include <sys/sysent.h>
   31 #include <sys/sysproto.h>
   32 #include <i386/ibcs2/ibcs2_types.h>
   33 #include <i386/ibcs2/ibcs2_signal.h>
   34 #include <i386/ibcs2/ibcs2_proto.h>
   35 
   36 ; #ifdef's, etc. may be included, and are copied to the output files.
   37 
   38 0       AUE_NULL        NOPROTO { int nosys(void); } syscall nosys_args int
   39 1       AUE_EXIT        NOPROTO { void sys_exit(int rval); } exit \
   40                                     sys_exit_args void
   41 2       AUE_FORK        NOPROTO { int fork(void); }
   42 3       AUE_NULL        STD     { int ibcs2_read(int fd, char *buf, \
   43                                     u_int nbytes); }
   44 4       AUE_NULL        NOPROTO { int write(int fd, char *buf, \
   45                                     u_int nbytes); }
   46 5       AUE_OPEN_RWTC   STD     { int ibcs2_open(char *path, int flags, \
   47                                     int mode); }
   48 6       AUE_CLOSE       NOPROTO { int close(int fd); }
   49 7       AUE_WAIT4       STD     { int ibcs2_wait(int a1, int a2, int a3); }
   50 8       AUE_CREAT       STD     { int ibcs2_creat(char *path, int mode); }
   51 9       AUE_LINK        NOPROTO { int link(char *path, char *link); }
   52 10      AUE_UNLINK      STD     { int ibcs2_unlink(char *path); }
   53 11      AUE_EXECVE      STD     { int ibcs2_execv(char *path, char **argp); }
   54 12      AUE_CHDIR       STD     { int ibcs2_chdir(char *path); }
   55 13      AUE_NULL        STD     { int ibcs2_time(ibcs2_time_t *tp); }
   56 14      AUE_MKNOD       STD     { int ibcs2_mknod(char* path, int mode, \
   57                                     int dev); }
   58 15      AUE_CHMOD       STD     { int ibcs2_chmod(char *path, int mode); }
   59 16      AUE_CHOWN       STD     { int ibcs2_chown(char *path, int uid, \
   60                                     int gid); }
   61 17      AUE_NULL        NOPROTO { int obreak(caddr_t nsize); }
   62 18      AUE_STAT        STD     { int ibcs2_stat(char* path, \
   63                                     struct ibcs2_stat *st); }
   64 19      AUE_LSEEK       STD     { long ibcs2_lseek(int fd, long offset, \
   65                                     int whence); }
   66 20      AUE_NULL        NOPROTO { pid_t getpid(void); }
   67 21      AUE_MOUNT       STD     { int ibcs2_mount(char *special, char *dir, \
   68                                     int flags, int fstype, char *data, \
   69                                     int len); }
   70 22      AUE_UMOUNT      STD     { int ibcs2_umount(char *name); }
   71 23      AUE_SETUID      STD     { int ibcs2_setuid(int uid); }
   72 24      AUE_GETUID      NOPROTO { uid_t getuid(void); }
   73 25      AUE_SETTIMEOFDAY        STD     { int ibcs2_stime(long *timep); }
   74 26      AUE_PTRACE      NOPROTO { int ptrace(int req, pid_t pid, \
   75                                     caddr_t addr, int data); }
   76 27      AUE_NULL        STD     { int ibcs2_alarm(unsigned sec); }
   77 28      AUE_FSTAT       STD     { int ibcs2_fstat(int fd, \
   78                                     struct ibcs2_stat *st); }
   79 29      AUE_NULL        STD     { int ibcs2_pause(void); }
   80 30      AUE_NULL        STD     { int ibcs2_utime(char *path, \
   81                                     struct ibcs2_utimbuf *buf); }
   82 31      AUE_NULL        STD     { int ibcs2_stty(int fd, \
   83                                     struct sgttyb *buf); }
   84 32      AUE_NULL        STD     { int ibcs2_gtty(int fd, \
   85                                     struct sgttyb *buf); }
   86 33      AUE_ACCESS      STD     { int ibcs2_access(char *path, int flags); }
   87 34      AUE_NICE        STD     { int ibcs2_nice(int incr); }
   88 35      AUE_STATFS      STD     { int ibcs2_statfs(char *path, \
   89                                     struct ibcs2_statfs *buf, int len, \
   90                                     int fstype); }
   91 36      AUE_NULL        NOPROTO { int sync(void); }
   92 37      AUE_KILL        STD     { int ibcs2_kill(int pid, int signo); }
   93 38      AUE_FSTATFS     STD     { int ibcs2_fstatfs(int fd, \
   94                                     struct ibcs2_statfs *buf, int len, \
   95                                     int fstype); }
   96 39      AUE_NULL        STD     { int ibcs2_pgrpsys(int type, caddr_t dummy, \
   97                                     int pid, int pgid); }
   98 40      AUE_NULL        STD     { int ibcs2_xenix(int a1, int a2, int a3, \
   99                                     int a4, int a5); }
  100 41      AUE_NULL        NOPROTO { int dup(u_int fd); }
  101 42      AUE_PIPE        NOPROTO { int pipe(void); }
  102 43      AUE_NULL        STD     { int ibcs2_times(struct tms *tp); }
  103 44      AUE_PROFILE     NOPROTO { int profil(caddr_t samples, u_int size, \
  104                                     u_int offset, u_int scale); }
  105 45      AUE_NULL        STD     { int ibcs2_plock(int cmd); }
  106 46      AUE_SETGID      STD     { int ibcs2_setgid(int gid); }
  107 47      AUE_GETGID      NOPROTO { gid_t getgid(void); }
  108 48      AUE_NULL        STD     { int ibcs2_sigsys(int sig, ibcs2_sig_t fp); }
  109 49      AUE_MSGSYS      STD     { int ibcs2_msgsys(int which, int a2, \
  110                                     int a3, int a4, int a5, int a6); }
  111 50      AUE_NULL        STD     { int ibcs2_sysi86(int cmd, int *arg); }
  112 51      AUE_NULL        UNIMPL  ibcs2_acct
  113 52      AUE_SHMSYS      STD     { int ibcs2_shmsys(int which, int a2, \
  114                                     int a3, int a4); }
  115 53      AUE_SEMSYS      STD     { int ibcs2_semsys(int which, int a2, \
  116                                     int a3, int a4, int a5); }
  117 54      AUE_IOCTL       STD     { int ibcs2_ioctl(int fd, int cmd, \
  118                                     caddr_t data); }
  119 55      AUE_NULL        STD     { int ibcs2_uadmin(int cmd, int func, \
  120                                     caddr_t data); }
  121 56      AUE_NULL        UNIMPL  nosys
  122 57      AUE_NULL        STD     { int ibcs2_utssys(int a1, int a2, \
  123                                     int flag); }
  124 58      AUE_FSYNC       NOPROTO { int fsync(int fd); }
  125 59      AUE_EXECVE      STD     { int ibcs2_execve(char *path, char **argp, \
  126                                     char **envp); }
  127 60      AUE_UMASK       NOPROTO { int umask(int newmask); }
  128 61      AUE_CHROOT      NOPROTO { int chroot(char *path); }
  129 62      AUE_FCNTL       STD     { int ibcs2_fcntl(int fd, int cmd, \
  130                                     char *arg); }
  131 63      AUE_NULL        STD     { long ibcs2_ulimit(int cmd, int newlimit); }
  132 64      AUE_NULL        UNIMPL  reserved for unix/pc
  133 65      AUE_NULL        UNIMPL  reserved for unix/pc
  134 66      AUE_NULL        UNIMPL  reserved for unix/pc
  135 67      AUE_NULL        UNIMPL  reserved for unix/pc
  136 68      AUE_NULL        UNIMPL  reserved for unix/pc
  137 69      AUE_NULL        UNIMPL  reserved for unix/pc
  138 70      AUE_NULL        OBSOL   rfs_advfs
  139 71      AUE_NULL        OBSOL   rfs_unadvfs
  140 72      AUE_NULL        OBSOL   rfs_rmount
  141 73      AUE_NULL        OBSOL   rfs_rumount
  142 74      AUE_NULL        OBSOL   rfs_rfstart
  143 75      AUE_NULL        OBSOL   rfs_sigret
  144 76      AUE_NULL        OBSOL   rfs_rdebug
  145 77      AUE_NULL        OBSOL   rfs_rfstop
  146 78      AUE_NULL        UNIMPL  rfs_rfsys
  147 79      AUE_RMDIR       STD     { int ibcs2_rmdir(char *path); }
  148 80      AUE_MKDIR       STD     { int ibcs2_mkdir(char *path, int mode); }
  149 81      AUE_GETDIRENTRIES       STD     { int ibcs2_getdents(int fd, char *buf, \
  150                                     int nbytes); }
  151 82      AUE_NULL        UNIMPL  nosys
  152 83      AUE_NULL        UNIMPL  nosys
  153 84      AUE_NULL        STD     { int ibcs2_sysfs(int cmd, caddr_t d1, \
  154                                     char *buf); }
  155 85      AUE_GETMSG      STD     { int ibcs2_getmsg(int fd, \
  156                                     struct ibcs2_stropts *ctl, \
  157                                     struct ibcs2_stropts *dat, int *flags); }
  158 86      AUE_PUTMSG      STD     { int ibcs2_putmsg(int fd, \
  159                                     struct ibcs2_stropts *ctl, \
  160                                     struct ibcs2_stropts *dat, int flags); }
  161 87      AUE_POLL        NOPROTO { int poll(struct pollfd *fds, u_int nfds, \
  162                                     int timeout); }
  163 88      AUE_NULL        UNIMPL  nosys
  164 89      AUE_NULL        STD     { int ibcs2_secure(int cmd, int a1, int a2, \
  165                                     int a3, int a4, int a5); }
  166 90      AUE_SYMLINK     STD     { int ibcs2_symlink(char *path, \
  167                                     char *link); }
  168 91      AUE_LSTAT       STD     { int ibcs2_lstat(char *path, \
  169                                     struct ibcs2_stat *st); }
  170 92      AUE_READLINK    STD     { int ibcs2_readlink(char *path, char *buf, \
  171                                     int count); }
  172 93      AUE_NULL        UNIMPL  nosys
  173 94      AUE_NULL        UNIMPL  nosys
  174 95      AUE_NULL        UNIMPL  nosys
  175 96      AUE_NULL        UNIMPL  nosys
  176 97      AUE_NULL        UNIMPL  nosys
  177 98      AUE_NULL        UNIMPL  nosys
  178 99      AUE_NULL        UNIMPL  nosys
  179 100     AUE_NULL        UNIMPL  nosys
  180 101     AUE_NULL        UNIMPL  nosys
  181 102     AUE_NULL        UNIMPL  nosys
  182 103     AUE_NULL        NOPROTO { int sigreturn( \
  183                                     struct sigcontext *sigcntxp); }
  184 104     AUE_NULL        UNIMPL  nosys
  185 105     AUE_NULL        STD     { int ibcs2_isc(void); }
  186 106     AUE_NULL        UNIMPL  nosys
  187 107     AUE_NULL        UNIMPL  nosys
  188 108     AUE_NULL        UNIMPL  nosys
  189 109     AUE_NULL        UNIMPL  nosys
  190 110     AUE_NULL        UNIMPL  nosys
  191 111     AUE_NULL        UNIMPL  nosys
  192 112     AUE_NULL        UNIMPL  nosys
  193 113     AUE_NULL        UNIMPL  nosys
  194 114     AUE_NULL        UNIMPL  nosys
  195 115     AUE_NULL        UNIMPL  nosys
  196 116     AUE_NULL        UNIMPL  nosys
  197 117     AUE_NULL        UNIMPL  nosys
  198 118     AUE_NULL        UNIMPL  nosys
  199 119     AUE_NULL        UNIMPL  nosys
  200 120     AUE_NULL        UNIMPL  nosys
  201 121     AUE_NULL        UNIMPL  nosys
  202 122     AUE_NULL        UNIMPL  nosys
  203 123     AUE_NULL        UNIMPL  nosys
  204 124     AUE_NULL        UNIMPL  nosys
  205 125     AUE_NULL        UNIMPL  nosys
  206 126     AUE_NULL        UNIMPL  nosys
  207 127     AUE_NULL        UNIMPL  nosys

Cache object: ddf1672ccbed3374c1d0242f94b2a4d5


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