Annotation of Net2/kern/syscalls.master, revision 1.1

1.1     ! root        1:        @(#)syscalls.master     7.26 (Berkeley) 3/25/91
        !             2: ; System call name/number master file.
        !             3: ; Processed to created init_sysent.c, syscalls.c and syscall.h.
        !             4: 
        !             5: ; Columns: number type nargs name altname/comments
        !             6: ;      number  system call number, must be in order
        !             7: ;      type    one of STD, OBSOL, UNIMPL, COMPAT
        !             8: ;      nargs   number of arguments
        !             9: ;      name    name of syscall routine
        !            10: ;      altname name of system call if different
        !            11: ;              for UNIMPL/OBSOL, name continues with comments
        !            12: 
        !            13: ; types:
        !            14: ;      STD     always included
        !            15: ;      COMPAT  included on COMPAT #ifdef
        !            16: ;      LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
        !            17: ;      OBSOL   obsolete, not included in system, only specifies name
        !            18: ;      UNIMPL  not implemented, placeholder only
        !            19: 
        !            20: ; #ifdef's, etc. may be included, and are copied to the output files.
        !            21: 
        !            22: ; Reserved/unimplemented system calls in the range 0-150 inclusive
        !            23: ; are reserved for use in future Berkeley releases.
        !            24: ; Additional system calls implemented in vendor and other
        !            25: ; redistributions should be placed in the reserved range at the end
        !            26: ; of the current calls.
        !            27: 
        !            28: 0      UNIMPL  0 indir or out-of-range
        !            29: 1      STD     1 rexit exit
        !            30: 2      STD     0 fork
        !            31: 3      STD     3 read
        !            32: 4      STD     3 write
        !            33: 5      STD     3 open
        !            34: 6      STD     1 close
        !            35: 7      STD     4 wait4
        !            36: 8      COMPAT  2 creat
        !            37: 9      STD     2 link
        !            38: 10     STD     1 unlink
        !            39: 11     OBSOL   2 execv
        !            40: 12     STD     1 chdir
        !            41: 13     STD     1 fchdir
        !            42: 14     STD     3 mknod
        !            43: 15     STD     2 chmod
        !            44: 16     STD     3 chown
        !            45: 17     STD     1 obreak break
        !            46: 18     STD     3 getfsstat
        !            47: 19     STD     3 lseek
        !            48: 20     STD     0 getpid
        !            49: 21     STD     4 mount
        !            50: 22     STD     2 unmount
        !            51: 23     STD     1 setuid
        !            52: 24     STD     0 getuid
        !            53: 25     STD     0 geteuid
        !            54: 26     STD     4 ptrace
        !            55: 27     STD     3 recvmsg
        !            56: 28     STD     3 sendmsg
        !            57: 29     STD     6 recvfrom
        !            58: 30     STD     3 accept
        !            59: 31     STD     3 getpeername
        !            60: 32     STD     3 getsockname
        !            61: 33     STD     2 saccess access
        !            62: 34     STD     2 chflags
        !            63: 35     STD     2 fchflags
        !            64: 36     STD     0 sync
        !            65: 37     STD     2 kill
        !            66: 38     STD     2 stat
        !            67: 39     STD     0 getppid
        !            68: 40     STD     2 lstat
        !            69: 41     STD     2 dup
        !            70: 42     STD     0 pipe
        !            71: 43     STD     0 getegid
        !            72: 44     STD     4 profil
        !            73: #ifdef KTRACE
        !            74: 45     STD     4 ktrace
        !            75: #else
        !            76: 45     UNIMPL  0 ktrace
        !            77: #endif
        !            78: 46     STD     3 sigaction
        !            79: 47     STD     0 getgid
        !            80: 48     STD     2 sigprocmask
        !            81: 49     STD     2 getlogin
        !            82: 50     STD     1 setlogin
        !            83: 51     STD     1 sysacct acct
        !            84: 52     STD     0 sigpending
        !            85: #ifdef notyet
        !            86: 53     STD     3 sigaltstack
        !            87: #else
        !            88: 53     UNIMPL  3 sigaltstack
        !            89: #endif
        !            90: 54     STD     3 ioctl
        !            91: 55     STD     1 reboot
        !            92: 56     STD     1 revoke
        !            93: 57     STD     2 symlink
        !            94: 58     STD     3 readlink
        !            95: 59     STD     3 execve
        !            96: 60     STD     1 umask
        !            97: 61     STD     1 chroot
        !            98: 62     STD     2 fstat
        !            99: 63     STD     4 getkerninfo
        !           100: 64     STD     0 getpagesize
        !           101: 65     STD     2 msync
        !           102: 66     STD     0 vfork
        !           103: 67     OBSOL   0 vread
        !           104: 68     OBSOL   0 vwrite
        !           105: 69     STD     1 sbrk
        !           106: 70     STD     1 sstk
        !           107: 71     STD     6 smmap mmap
        !           108: 72     STD     1 ovadvise vadvise
        !           109: 73     STD     2 munmap
        !           110: 74     STD     3 mprotect
        !           111: 75     STD     3 madvise
        !           112: 76     OBSOL   0 vhangup
        !           113: 77     OBSOL   0 vlimit
        !           114: 78     STD     3 mincore
        !           115: 79     STD     2 getgroups
        !           116: 80     STD     2 setgroups
        !           117: 81     STD     1 getpgrp
        !           118: 82     STD     2 setpgid
        !           119: 83     STD     3 setitimer
        !           120: 84     COMPAT  0 wait
        !           121: 85     STD     1 swapon
        !           122: 86     STD     2 getitimer
        !           123: 87     STD     2 gethostname
        !           124: 88     STD     2 sethostname
        !           125: 89     STD     0 getdtablesize
        !           126: 90     STD     2 dup2
        !           127: 91     UNIMPL  2 getdopt
        !           128: 92     STD     3 fcntl
        !           129: 93     STD     5 select
        !           130: 94     UNIMPL  2 setdopt
        !           131: 95     STD     1 fsync
        !           132: 96     STD     3 setpriority
        !           133: 97     STD     3 socket
        !           134: 98     STD     3 connect
        !           135: 99     COMPAT  3 accept
        !           136: 100    STD     2 getpriority
        !           137: 101    COMPAT  4 send
        !           138: 102    COMPAT  4 recv
        !           139: 103    STD     1 sigreturn
        !           140: 104    STD     3 bind
        !           141: 105    STD     5 setsockopt
        !           142: 106    STD     2 listen
        !           143: 107    OBSOL   0 vtimes
        !           144: 108    COMPAT  3 sigvec
        !           145: 109    COMPAT  1 sigblock
        !           146: 110    COMPAT  1 sigsetmask
        !           147: 111    STD     1 sigsuspend
        !           148: 112    STD     2 sigstack
        !           149: 113    COMPAT  3 recvmsg
        !           150: 114    COMPAT  3 sendmsg
        !           151: #ifdef TRACE
        !           152: 115    STD     2 vtrace
        !           153: #else
        !           154: 115    OBSOL   2 vtrace
        !           155: #endif
        !           156: 116    STD     2 gettimeofday
        !           157: 117    STD     2 getrusage
        !           158: 118    STD     5 getsockopt
        !           159: #ifdef vax
        !           160: 119    STD     1 resuba
        !           161: #else
        !           162: 119    UNIMPL  0 nosys
        !           163: #endif
        !           164: 120    STD     3 readv
        !           165: 121    STD     3 writev
        !           166: 122    STD     2 settimeofday
        !           167: 123    STD     3 fchown
        !           168: 124    STD     2 fchmod
        !           169: 125    COMPAT  6 recvfrom
        !           170: 126    LIBCOMPAT       2 setreuid
        !           171: 127    LIBCOMPAT       2 setregid
        !           172: 128    STD     2 rename
        !           173: 129    STD     2 truncate
        !           174: 130    STD     2 ftruncate
        !           175: 131    STD     2 flock
        !           176: 132    STD     2 mkfifo
        !           177: 133    STD     6 sendto
        !           178: 134    STD     2 shutdown
        !           179: 135    STD     5 socketpair
        !           180: 136    STD     2 mkdir
        !           181: 137    STD     1 rmdir
        !           182: 138    STD     2 utimes
        !           183: 139    OBSOL   0 4.2 sigreturn
        !           184: 140    STD     2 adjtime
        !           185: 141    COMPAT  3 getpeername
        !           186: 142    STD     0 gethostid
        !           187: 143    STD     1 sethostid
        !           188: 144    STD     2 getrlimit
        !           189: 145    STD     2 setrlimit
        !           190: 146    COMPAT  2 killpg
        !           191: 147    STD     0 setsid
        !           192: 148    STD     4 quotactl
        !           193: 149    COMPAT  4 quota
        !           194: 150    COMPAT  3 getsockname
        !           195: 
        !           196: ; Syscalls 151-180 inclusive are reserved for vendor-specific
        !           197: ; system calls.  (This includes various calls added for compatibity
        !           198: ; with other Unix variants.)
        !           199: ; Some of these calls are now supported by BSD...
        !           200: 151    UNIMPL  0 nosys
        !           201: 152    UNIMPL  0 nosys
        !           202: 153    UNIMPL  0 nosys
        !           203: 154    UNIMPL  0 nosys
        !           204: #ifdef NFS
        !           205: 155    STD     5 nfssvc
        !           206: #else
        !           207: 155    UNIMPL  0 nosys
        !           208: #endif
        !           209: 156    STD     4 getdirentries
        !           210: 157    STD     2 statfs
        !           211: 158    STD     2 fstatfs
        !           212: 159    UNIMPL  0 nosys
        !           213: #ifdef NFS
        !           214: 160    STD     0 async_daemon
        !           215: 161    STD     2 getfh
        !           216: #else
        !           217: 160    UNIMPL  0 nosys
        !           218: 161    UNIMPL  0 nosys
        !           219: #endif
        !           220: 162    UNIMPL  0 nosys
        !           221: 163    UNIMPL  0 nosys
        !           222: 164    UNIMPL  0 nosys
        !           223: 165    UNIMPL  0 nosys
        !           224: 166    UNIMPL  0 nosys
        !           225: 167    UNIMPL  0 nosys
        !           226: 168    UNIMPL  0 nosys
        !           227: 169    UNIMPL  0 nosys
        !           228: 170    UNIMPL  0 nosys
        !           229: #ifdef SYSVSHM
        !           230: 171    STD     4 shmsys
        !           231: #else
        !           232: 171    UNIMPL  0 nosys
        !           233: #endif
        !           234: 172    UNIMPL  0 nosys
        !           235: 173    UNIMPL  0 nosys
        !           236: 174    UNIMPL  0 nosys
        !           237: 175    UNIMPL  0 nosys
        !           238: 176    UNIMPL  0 nosys
        !           239: 177    UNIMPL  0 nosys
        !           240: 178    UNIMPL  0 nosys
        !           241: 179    UNIMPL  0 nosys
        !           242: 180    UNIMPL  0 nosys
        !           243: 
        !           244: ; Syscalls 180-199 are used by/reserved for BSD
        !           245: 181    STD     1 setgid
        !           246: 182    STD     1 setegid
        !           247: 183    STD     1 seteuid
        !           248: 184    UNIMPL  0 nosys
        !           249: 185    UNIMPL  0 nosys
        !           250: 186    UNIMPL  0 nosys
        !           251: 187    UNIMPL  0 nosys
        !           252: 188    UNIMPL  0 nosys
        !           253: 189    UNIMPL  0 nosys
        !           254: 190    UNIMPL  0 nosys

unix.superglobalmegacorp.com