home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / os / bsdss4.tz / bsdss4 / bsdss / server / kern / syscalls.master < prev    next >
Encoding:
Text File  |  1992-05-25  |  7.5 KB  |  309 lines

  1. ; Mach Operating System
  2. ; Copyright (c) 1992 Carnegie Mellon University
  3. ; All Rights Reserved.
  4. ; Permission to use, copy, modify and distribute this software and its
  5. ; documentation is hereby granted, provided that both the copyright
  6. ; notice and this permission notice appear in all copies of the
  7. ; software, derivative works or modified versions, and any portions
  8. ; thereof, and that both notices appear in supporting documentation.
  9. ; CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
  10. ; CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
  11. ; ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  12. ; Carnegie Mellon requests users of this software to return to
  13. ;  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
  14. ;  School of Computer Science
  15. ;  Carnegie Mellon University
  16. ;  Pittsburgh PA 15213-3890
  17. ; any improvements or extensions that they make and grant Carnegie Mellon 
  18. ; the rights to redistribute these changes.
  19. ;
  20. ;
  21. ; HISTORY
  22. ; $Log:    syscalls.master,v $
  23. ; Revision 2.2  92/05/25  14:44:20  rwd
  24. ;         Added 201 sysctrace.
  25. ;     [92/05/25            rwd]
  26. ;         Added duplicate of getdirentries at 164 for compatibility with
  27. ;         MACH386.
  28. ;     [92/05/20            rwd]
  29. ; Revision 2.1  92/04/21  17:12:41  rwd
  30. ; BSDSS
  31. ;
  32. ;
  33. ;    @(#)syscalls.master    7.26 (Berkeley) 3/25/91
  34. ; System call name/number master file.
  35. ; Processed to creatd init_sysent.c, syscalls.c and syscall.h.
  36.  
  37. ; Columns: number type nargs name altname/comments
  38. ;    number    system call number, must be in order
  39. ;    type    one of STD, OBSOL, UNIMPL, COMPAT
  40. ;    nargs    number of arguments
  41. ;    name    name of syscall routine
  42. ;    altname    name of system call if different
  43. ;        for UNIMPL/OBSOL, name continues with comments
  44.  
  45. ; types:
  46. ;    STD    always included
  47. ;    COMPAT    included on COMPAT #ifdef
  48. ;    LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
  49. ;    OBSOL    obsolete, not included in system, only specifies name
  50. ;    UNIMPL    not implemented, placeholder only
  51.  
  52. ; #ifdef's, etc. may be included, and are copied to the output files.
  53.  
  54. ; Reserved/unimplemented system calls in the range 0-150 inclusive
  55. ; are reserved for use in future Berkeley releases.
  56. ; Additional system calls implemented in vendor and other
  57. ; redistributions should be placed in the reserved range at the end
  58. ; of the current calls.
  59.  
  60. 0    UNIMPL    SYSG 0 indir or out-of-range
  61. 1    STD    SYSG 1 rexit exit
  62. 2    STD    SYSR 0 fork
  63. 3    STD    SYSG 3 read
  64. 4    STD    SYSS 3 write
  65. 5    STD    SYSS 3 open
  66. 6    STD    SYSG 1 close
  67. 7    STD    SYSG 4 wait4
  68. 8    COMPAT    SYSS 2 creat
  69. 9    STD    SYSS 2 link
  70. 10    STD    SYSS 1 unlink
  71. 11    OBSOL    SYSR 2 execv
  72. 12    STD    SYSS 1 chdir
  73. 13    STD    SYSG 1 fchdir
  74. 14    STD    SYSS 3 mknod
  75. 15    STD    SYSS 2 chmod
  76. 16    STD    SYSS 3 chown
  77. 17    STD    SYSG 1 obreak break
  78. 18    STD    SYSG 3 getfsstat
  79. 19    STD    SYSG 3 lseek
  80. 20    STD    SYSG 0 getpid
  81. 21    STD    SYSG 4 mount
  82. 22    STD    SYSG 2 unmount
  83. 23    STD    SYSG 1 setuid
  84. 24    STD    SYSG 0 getuid
  85. 25    STD    SYSG 0 geteuid
  86. 26    STD    SYSG 4 ptrace
  87. 27    STD    SYSG 3 recvmsg
  88. 28    STD    SYSG 3 sendmsg
  89. 29    STD    SYSG 6 recvfrom
  90. 30    STD    SYSG 3 accept
  91. 31    STD    SYSG 3 getpeername
  92. 32    STD    SYSG 3 getsockname
  93. 33    STD    SYSS 2 saccess access
  94. 34    STD    SYSG 2 chflags
  95. 35    STD    SYSG 2 fchflags
  96. 36    STD    SYSG 0 sync
  97. 37    STD    SYSG 2 kill
  98. 38    STD    SYSS 2 stat
  99. 39    STD    SYSG 0 getppid
  100. 40    STD    SYSS 2 lstat
  101. 41    STD    SYSG 2 dup
  102. 42    STD    SYSG 0 pipe
  103. 43    STD    SYSG 0 getegid
  104. 44    STD    SYSG 4 profil
  105. #ifdef KTRACE
  106. 45    STD    SYSG 4 ktrace
  107. #else
  108. 45    UNIMPL    SYSG 0 ktrace
  109. #endif
  110. 46    STD    SYSG 3 sigaction
  111. 47    STD    SYSG 0 getgid
  112. 48    STD    SYSG 2 sigprocmask
  113. 49    STD    SYSG 2 getlogin
  114. 50    STD    SYSG 1 setlogin
  115. 51    STD    SYSS 1 sysacct acct
  116. 52    STD    SYSG 0 sigpending
  117. #ifdef notyet
  118. 53    STD    SYSG 3 sigaltstack
  119. #else
  120. 53    UNIMPL    SYSG 3 sigaltstack
  121. #endif
  122. 54    STD    SYSG 3 ioctl
  123. 55    STD    SYSG 1 reboot
  124. 56    STD    SYSG 1 revoke
  125. 57    STD    SYSS 2 symlink
  126. 58    STD    SYSS 3 readlink
  127. 59    STD    SYSR 3 execve
  128. 60    STD    SYSG 1 umask
  129. 61    STD    SYSS 1 chroot
  130. 62    STD    SYSG 2 fstat
  131. 63    STD    SYSG 4 getkerninfo
  132. 64    STD    SYSG 0 getpagesize
  133. 65    STD    SYSG 2 msync
  134. 66    STD    SYSR 0 vfork
  135. 67    OBSOL    SYSG 0 vread
  136. 68    OBSOL    SYSG 0 vwrite
  137. 69    STD    SYSG 1 sbrk
  138. 70    STD    SYSG 1 sstk
  139. 71    STD    SYSG 6 smmap mmap
  140. 72    STD    SYSG 1 ovadvise vadvise
  141. 73    STD    SYSG 2 munmap
  142. 74    STD    SYSG 3 mprotect
  143. 75    STD    SYSG 3 madvise
  144. 76    OBSOL    SYSG 0 vhangup
  145. 77    OBSOL    SYSG 0 vlimit
  146. 78    STD    SYSG 3 mincore
  147. 79    STD    SYSG 2 getgroups
  148. 80    STD    SYSS 2 setgroups
  149. 81    STD    SYSG 1 getpgrp
  150. 82    STD    SYSG 2 setpgid
  151. 83    STD    SYSS 3 setitimer
  152. 84    COMPAT    SYSR 0 wait
  153. 85    STD    SYSG 1 swapon
  154. 86    STD    SYSG 2 getitimer
  155. 87    STD    SYSG 2 gethostname
  156. 88    STD    SYSS 2 sethostname
  157. 89    STD    SYSG 0 getdtablesize
  158. 90    STD    SYSG 2 dup2
  159. 91    UNIMPL    SYSG 2 getdopt
  160. 92    STD    SYSG 3 fcntl
  161. 93    STD    SYSS 5 select
  162. 94    UNIMPL    SYSG 2 setdopt
  163. 95    STD    SYSG 1 fsync
  164. 96    STD    SYSG 3 setpriority
  165. 97    STD    SYSG 3 socket
  166. 98    STD    SYSS 3 connect
  167. 99    COMPAT    SYSS 3 accept
  168. 100    STD    SYSG 2 getpriority
  169. 101    COMPAT    SYSS 4 send
  170. 102    COMPAT    SYSG 4 recv
  171. 103    STD    SYSR 1 sigreturn
  172. 104    STD    SYSS 3 bind
  173. 105    STD    SYSS 5 setsockopt
  174. 106    STD    SYSG 2 listen
  175. 107    OBSOL    SYSG 0 vtimes
  176. 108    COMPAT    SYSS 3 sigvec
  177. 109    COMPAT    SYSG 1 sigblock
  178. 110    COMPAT    SYSG 1 sigsetmask
  179. 111    STD    SYSG 1 sigsuspend
  180. 112    STD    SYSS 2 sigstack
  181. 113    COMPAT    SYSG 3 recvmsg
  182. 114    COMPAT    SYSG 3 sendmsg
  183. #ifdef TRACE
  184. 115    STD    SYSG 2 vtrace
  185. #else
  186. 115    OBSOL    SYSG 2 vtrace
  187. #endif
  188. 116    STD    SYSG 2 gettimeofday
  189. 117    STD    SYSS 2 getrusage
  190. 118    STD    SYSS 5 getsockopt
  191. #ifdef vax
  192. 119    STD    SYSG 1 resuba
  193. #else
  194. 119    UNIMPL    SYSG 0 nosys
  195. #endif
  196. 120    STD    SYSS 3 readv
  197. 121    STD    SYSS 3 writev
  198. 122    STD    SYSS 2 settimeofday
  199. 123    STD    SYSG 3 fchown
  200. 124    STD    SYSG 2 fchmod
  201. 125    COMPAT    SYSS 6 recvfrom
  202. 126    LIBCOMPAT SYSG    2 setreuid
  203. 127    LIBCOMPAT SYSG    2 setregid
  204. 128    STD    SYSS 2 rename
  205. 129    STD    SYSS 2 truncate
  206. 130    STD    SYSG 2 ftruncate
  207. 131    STD    SYSG 2 flock
  208. 132    STD    SYSG 2 mkfifo
  209. 133    STD    SYSS 6 sendto
  210. 134    STD    SYSG 2 shutdown
  211. 135    STD    SYSG 5 socketpair
  212. 136    STD    SYSS 2 mkdir
  213. 137    STD    SYSS 1 rmdir
  214. 138    STD    SYSS 2 utimes
  215. 139    OBSOL    SYSG 0 4.2 sigreturn
  216. 140    STD    SYSS 2 adjtime
  217. 141    COMPAT    SYSS 3 getpeername
  218. 142    STD    SYSG 0 gethostid
  219. 143    STD    SYSG 1 sethostid
  220. 144    STD    SYSG 2 getrlimit
  221. 145    STD    SYSS 2 setrlimit
  222. 146    COMPAT    SYSG 2 killpg
  223. 147    STD    SYSG 0 setsid
  224. 148    STD    SYSG 4 quotactl
  225. 149    COMPAT    SYSG 4 quota
  226. 150    COMPAT    SYSS 3 getsockname
  227.  
  228. ; Syscalls 151-180 inclusive are reserved for vendor-specific
  229. ; system calls.  (This includes various calls added for compatibity
  230. ; with other Unix variants.)
  231. ; Some of these calls are now supported by BSD...
  232. 151    UNIMPL SYSG    0 nosys
  233. 152    UNIMPL SYSG    0 nosys
  234. 153    UNIMPL SYSG    0 nosys
  235. 154    UNIMPL SYSG    0 nosys
  236. #ifdef NFS
  237. 155    STD SYSG    5 nfssvc
  238. #else
  239. 155    UNIMPL SYSG    0 nosys
  240. #endif
  241. 156    STD SYSG    4 getdirentries
  242. 157    STD SYSG    2 statfs
  243. 158    STD SYSG    2 fstatfs
  244. 159    UNIMPL SYSG    0 nosys
  245. #ifdef NFS
  246. 160    STD SYSG    0 async_daemon
  247. 161    STD SYSG    2 getfh
  248. #else
  249. 160    UNIMPL SYSG    0 nosys
  250. 161    UNIMPL SYSG    0 nosys
  251. #endif
  252. 162    UNIMPL SYSG    0 nosys
  253. 163    UNIMPL SYSG    0 nosys
  254. ; this is for compatibility with mach386
  255. 164    STD SYSG    4 getdirentries
  256. 165    UNIMPL SYSG    0 nosys
  257. 166    UNIMPL SYSG    0 nosys
  258. 167    UNIMPL SYSG    0 nosys
  259. 168    UNIMPL SYSG    0 nosys
  260. 169    UNIMPL SYSG    0 nosys
  261. 170    UNIMPL SYSG    0 nosys
  262. #ifdef SYSVSHM
  263. 171    STD SYSG    4 shmsys
  264. #else
  265. 171    UNIMPL SYSG    0 nosys
  266. #endif
  267. 172    UNIMPL SYSG    0 nosys
  268. 173    UNIMPL SYSG    0 nosys
  269. 174    UNIMPL SYSG    0 nosys
  270. 175    UNIMPL SYSG    0 nosys
  271. 176    UNIMPL SYSG    0 nosys
  272. 177    UNIMPL SYSG    0 nosys
  273. 178    UNIMPL SYSG    0 nosys
  274. 179    UNIMPL SYSG    0 nosys
  275. 180    UNIMPL SYSG    0 nosys
  276.  
  277. ; Syscalls 180-199 are used by/reserved for BSD
  278. 181    STD SYSG    1 setgid
  279. 182    STD SYSG    1 setegid
  280. 183    STD SYSG    1 seteuid
  281. 184    UNIMPL SYSG    0 nosys
  282. 185    UNIMPL SYSG    0 nosys
  283. 186    UNIMPL SYSG    0 nosys
  284. 187    UNIMPL SYSG    0 nosys
  285. 188    UNIMPL SYSG    0 nosys
  286. 189    UNIMPL SYSG    0 nosys
  287. 190    UNIMPL SYSG    0 nosys
  288. 191    UNIMPL SYSG    0 nosys
  289. 192    UNIMPL SYSG    0 nosys
  290. 193    UNIMPL SYSG    0 nosys
  291. 194    UNIMPL SYSG    0 nosys
  292. 195    UNIMPL SYSG    0 nosys
  293. 196    UNIMPL SYSG    0 nosys
  294. 197    UNIMPL SYSG    0 nosys
  295. 198    UNIMPL SYSG    0 nosys
  296. 199    UNIMPL SYSG    0 nosys
  297.  
  298. 200    STD SYSS    5 table
  299. 201    STD SYSG    1 sysctrace
  300.