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-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  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: releng/6.4/sys/i386/ibcs2/syscalls.master 148190 2005-07-20 17:42:15Z 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 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        MNOPROTO        { int nosys(void); } syscall nosys_args int
   39 1       AUE_NULL        MNOPROTO { void sys_exit(int rval); } exit \
   40                                     sys_exit_args void
   41 2       AUE_NULL        MNOPROTO { int fork(void); }
   42 3       AUE_NULL        STD     { int ibcs2_read(int fd, char *buf, \
   43                                     u_int nbytes); }
   44 4       AUE_NULL        MNOPROTO { int write(int fd, char *buf, \
   45                                     u_int nbytes); }
   46 5       AUE_NULL        MSTD    { int ibcs2_open(char *path, int flags, \
   47                                     int mode); }
   48 6       AUE_NULL        MNOPROTO { int close(int fd); }
   49 7       AUE_NULL        MSTD    { int ibcs2_wait(int a1, int a2, int a3); }
   50 8       AUE_NULL        MSTD    { int ibcs2_creat(char *path, int mode); }
   51 9       AUE_NULL        MNOPROTO        { int link(char *path, char *link); }
   52 10      AUE_NULL        MSTD    { int ibcs2_unlink(char *path); }
   53 11      AUE_NULL        MSTD    { int ibcs2_execv(char *path, char **argp); }
   54 12      AUE_NULL        MSTD    { int ibcs2_chdir(char *path); }
   55 13      AUE_NULL        MSTD    { int ibcs2_time(ibcs2_time_t *tp); }
   56 14      AUE_NULL        MSTD    { int ibcs2_mknod(char* path, int mode, \
   57                                     int dev); }
   58 15      AUE_NULL        MSTD    { int ibcs2_chmod(char *path, int mode); }
   59 16      AUE_NULL        MSTD    { int ibcs2_chown(char *path, int uid, \
   60                                     int gid); }
   61 17      AUE_NULL        MNOPROTO        { int obreak(caddr_t nsize); }
   62 18      AUE_NULL        MSTD    { int ibcs2_stat(char* path, \
   63                                     struct ibcs2_stat *st); }
   64 19      AUE_NULL        MSTD    { long ibcs2_lseek(int fd, long offset, \
   65                                     int whence); }
   66 20      AUE_NULL        MNOPROTO { pid_t getpid(void); }
   67 21      AUE_NULL        STD     { int ibcs2_mount(char *special, char *dir, \
   68                                     int flags, int fstype, char *data, \
   69                                     int len); }
   70 22      AUE_NULL        STD     { int ibcs2_umount(char *name); }
   71 23      AUE_NULL        MSTD    { int ibcs2_setuid(int uid); }
   72 24      AUE_NULL        MNOPROTO { uid_t getuid(void); }
   73 25      AUE_NULL        MSTD    { int ibcs2_stime(long *timep); }
   74 26      AUE_NULL        MNOPROTO { int ptrace(int req, pid_t pid, \
   75                                     caddr_t addr, int data); }
   76 27      AUE_NULL        MSTD    { int ibcs2_alarm(unsigned sec); }
   77 28      AUE_NULL        MSTD    { int ibcs2_fstat(int fd, \
   78                                     struct ibcs2_stat *st); }
   79 29      AUE_NULL        MSTD    { int ibcs2_pause(void); }
   80 30      AUE_NULL        MSTD    { int ibcs2_utime(char *path, \
   81                                     struct ibcs2_utimbuf *buf); }
   82 31      AUE_NULL        MSTD    { int ibcs2_stty(int fd, \
   83                                     struct sgttyb *buf); }
   84 32      AUE_NULL        MSTD    { int ibcs2_gtty(int fd, \
   85                                     struct sgttyb *buf); }
   86 33      AUE_NULL        MSTD    { int ibcs2_access(char *path, int flags); }
   87 34      AUE_NULL        MSTD    { int ibcs2_nice(int incr); }
   88 35      AUE_NULL        MSTD    { int ibcs2_statfs(char *path, \
   89                                     struct ibcs2_statfs *buf, int len, \
   90                                     int fstype); }
   91 36      AUE_NULL        MNOPROTO        { int sync(void); }
   92 37      AUE_NULL        MSTD    { int ibcs2_kill(int pid, int signo); }
   93 38      AUE_NULL        MSTD    { int ibcs2_fstatfs(int fd, \
   94                                     struct ibcs2_statfs *buf, int len, \
   95                                     int fstype); }
   96 39      AUE_NULL        MSTD    { int ibcs2_pgrpsys(int type, caddr_t dummy, \
   97                                     int pid, int pgid); }
   98 40      AUE_NULL        MSTD    { int ibcs2_xenix(int a1, int a2, int a3, \
   99                                     int a4, int a5); }
  100 41      AUE_NULL        MNOPROTO { int dup(u_int fd); }
  101 42      AUE_NULL        MNOPROTO { int pipe(void); }
  102 43      AUE_NULL        MSTD    { int ibcs2_times(struct tms *tp); }
  103 44      AUE_NULL        MNOPROTO { int profil(caddr_t samples, u_int size, \
  104                                     u_int offset, u_int scale); }
  105 45      AUE_NULL        MSTD    { int ibcs2_plock(int cmd); }
  106 46      AUE_NULL        MSTD    { int ibcs2_setgid(int gid); }
  107 47      AUE_NULL        MNOPROTO { gid_t getgid(void); }
  108 48      AUE_NULL        MSTD    { int ibcs2_sigsys(int sig, ibcs2_sig_t fp); }
  109 49      AUE_NULL        STD     { int ibcs2_msgsys(int which, int a2, \
  110                                     int a3, int a4, int a5, int a6); }
  111 50      AUE_NULL        MSTD    { int ibcs2_sysi86(int cmd, int *arg); }
  112 51      AUE_NULL        UNIMPL  ibcs2_acct
  113 52      AUE_NULL        STD     { int ibcs2_shmsys(int which, int a2, \
  114                                     int a3, int a4); }
  115 53      AUE_NULL        STD     { int ibcs2_semsys(int which, int a2, \
  116                                     int a3, int a4, int a5); }
  117 54      AUE_NULL        STD     { int ibcs2_ioctl(int fd, int cmd, \
  118                                     caddr_t data); }
  119 55      AUE_NULL        MSTD    { int ibcs2_uadmin(int cmd, int func, \
  120                                     caddr_t data); }
  121 56      AUE_NULL        UNIMPL  nosys
  122 57      AUE_NULL        MSTD    { int ibcs2_utssys(int a1, int a2, \
  123                                     int flag); }
  124 58      AUE_NULL        MNOPROTO { int fsync(int fd); }
  125 59      AUE_NULL        MSTD    { int ibcs2_execve(char *path, char **argp, \
  126                                     char **envp); }
  127 60      AUE_NULL        MNOPROTO { int umask(int newmask); }
  128 61      AUE_NULL        MNOPROTO        { int chroot(char *path); }
  129 62      AUE_NULL        MSTD    { int ibcs2_fcntl(int fd, int cmd, \
  130                                     char *arg); }
  131 63      AUE_NULL        MSTD    { 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_NULL        MSTD    { int ibcs2_rmdir(char *path); }
  148 80      AUE_NULL        MSTD    { int ibcs2_mkdir(char *path, int mode); }
  149 81      AUE_NULL        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        MSTD    { int ibcs2_sysfs(int cmd, caddr_t d1, \
  154                                     char *buf); }
  155 85      AUE_NULL        MSTD    { int ibcs2_getmsg(int fd, \
  156                                     struct ibcs2_stropts *ctl, \
  157                                     struct ibcs2_stropts *dat, int *flags); }
  158 86      AUE_NULL        MSTD    { int ibcs2_putmsg(int fd, \
  159                                     struct ibcs2_stropts *ctl, \
  160                                     struct ibcs2_stropts *dat, int flags); }
  161 87      AUE_NULL        STD     { int ibcs2_poll(struct ibcs2_poll *fds, \
  162                                     long nfds, int timeout); }
  163 88      AUE_NULL        UNIMPL  nosys
  164 89      AUE_NULL        MSTD    { int ibcs2_secure(int cmd, int a1, int a2, \
  165                                     int a3, int a4, int a5); }
  166 90      AUE_NULL        MSTD    { int ibcs2_symlink(char *path, \
  167                                     char *link); }
  168 91      AUE_NULL        MSTD    { int ibcs2_lstat(char *path, \
  169                                     struct ibcs2_stat *st); }
  170 92      AUE_NULL        MSTD    { 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        MNOPROTO { int sigreturn( \
  183                                     struct sigcontext *sigcntxp); }
  184 104     AUE_NULL        UNIMPL  nosys
  185 105     AUE_NULL        MSTD    { 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: 6f37d19a561dc13bbe0d7634f9247db3


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