Commit | Line | Data |
---|---|---|
58721d38 | 1 | @(#)syscalls.master 7.2 (Berkeley) %G% |
970a71db KU |
2 | ; System call name/number master file (or rather, slave, from NEWS-OS). |
3 | ; Processed to created news_sysent.c, news_syscalls.c and news_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 nosys indir | |
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 | |
58721d38 | 36 | 8 STD 2 ocreat |
970a71db KU |
37 | 9 STD 2 link |
38 | 10 STD 1 unlink | |
39 | 11 OBSOL 2 execv | |
40 | 12 STD 1 chdir | |
58721d38 | 41 | 13 COMPAT 1 news_time |
970a71db KU |
42 | 14 STD 3 mknod |
43 | 15 STD 2 chmod | |
44 | 16 STD 3 chown | |
45 | 17 STD 1 obreak break | |
58721d38 | 46 | 18 OBSOL 3 stat |
970a71db KU |
47 | 19 STD 3 lseek |
48 | 20 STD 0 getpid | |
49 | 21 STD 4 mount | |
58721d38 | 50 | 22 OBSOL 1 umount |
970a71db KU |
51 | 23 STD 1 setuid |
52 | 24 STD 0 getuid | |
58721d38 | 53 | 25 OBSOL 1 stime |
970a71db | 54 | 26 STD 4 ptrace |
58721d38 KU |
55 | 27 OBSOL 1 alarm |
56 | 28 OBSOL 2 fstat | |
57 | 29 OBSOL 0 pause | |
58 | 30 OBSOL 2 utime | |
59 | 31 UNIMPL 0 nosys | |
60 | 32 UNIMPL 0 nosys | |
970a71db | 61 | 33 STD 2 saccess access |
58721d38 KU |
62 | 34 OBSOL 2 access |
63 | 35 OBSOL 1 ftime | |
970a71db KU |
64 | 36 STD 0 sync |
65 | 37 STD 2 kill | |
58721d38 KU |
66 | 38 STD 2 ostat |
67 | 39 OBSOL 2 setpgrp | |
68 | 40 STD 2 olstat | |
970a71db KU |
69 | 41 STD 2 dup |
70 | 42 STD 0 pipe | |
58721d38 | 71 | 43 OBSOL 1 times |
970a71db | 72 | 44 STD 4 profil |
58721d38 KU |
73 | 45 UNIMPL 0 nosys |
74 | 46 OBSOL 1 setgid | |
970a71db | 75 | 47 STD 0 getgid |
58721d38 KU |
76 | 48 OBSOL 2 ssig sig |
77 | 49 UNIMPL 0 nosys | |
78 | 50 UNIMPL 0 nosys | |
970a71db | 79 | 51 STD 1 sysacct acct |
58721d38 KU |
80 | 52 UNIMPL 0 nosys |
81 | 53 UNIMPL 0 nosys | |
970a71db KU |
82 | 54 STD 3 ioctl |
83 | 55 STD 1 reboot | |
58721d38 | 84 | 56 UNIMPL 0 nosys |
970a71db KU |
85 | 57 STD 2 symlink |
86 | 58 STD 3 readlink | |
87 | 59 STD 3 execve | |
88 | 60 STD 1 umask | |
89 | 61 STD 1 chroot | |
58721d38 KU |
90 | 62 STD 2 ofstat |
91 | 63 UNIMPL 0 nosys | |
92 | 64 STD 0 ogetpagesize | |
93 | 65 UNIMPL 5 news_mremap | |
970a71db KU |
94 | 66 STD 0 vfork |
95 | 67 OBSOL 0 vread | |
96 | 68 OBSOL 0 vwrite | |
97 | 69 STD 1 sbrk | |
98 | 70 STD 1 sstk | |
58721d38 | 99 | 71 UNIMPL 6 news_mmap |
970a71db KU |
100 | 72 STD 1 ovadvise vadvise |
101 | 73 STD 2 munmap | |
102 | 74 STD 3 mprotect | |
103 | 75 STD 3 madvise | |
104 | 76 OBSOL 0 vhangup | |
105 | 77 OBSOL 0 vlimit | |
106 | 78 STD 3 mincore | |
107 | 79 STD 2 getgroups | |
108 | 80 STD 2 setgroups | |
109 | 81 STD 0 getpgrp | |
110 | 82 STD 2 setpgid | |
111 | 83 STD 3 setitimer | |
58721d38 | 112 | 84 STD 3 owait |
970a71db KU |
113 | 85 STD 1 swapon |
114 | 86 STD 2 getitimer | |
58721d38 KU |
115 | 87 STD 2 ogethostname |
116 | 88 STD 2 osethostname | |
970a71db KU |
117 | 89 STD 0 getdtablesize |
118 | 90 STD 2 dup2 | |
119 | 91 UNIMPL 2 getdopt | |
120 | 92 STD 3 fcntl | |
121 | 93 STD 5 select | |
122 | 94 UNIMPL 2 setdopt | |
123 | 95 STD 1 fsync | |
124 | 96 STD 3 setpriority | |
125 | 97 STD 3 socket | |
126 | 98 STD 3 connect | |
58721d38 | 127 | 99 STD 3 oaccept |
970a71db | 128 | 100 STD 2 getpriority |
58721d38 KU |
129 | 101 STD 4 osend |
130 | 102 STD 4 orecv | |
970a71db KU |
131 | 103 STD 1 sigreturn |
132 | 104 STD 3 bind | |
133 | 105 STD 5 setsockopt | |
134 | 106 STD 2 listen | |
135 | 107 OBSOL 0 vtimes | |
58721d38 KU |
136 | 108 STD 3 osigvec |
137 | 109 STD 1 osigblock | |
138 | 110 STD 1 osigsetmask | |
970a71db | 139 | 111 STD 1 sigsuspend |
58721d38 KU |
140 | 112 STD 2 osigstack |
141 | 113 STD 3 orecvmsg | |
142 | 114 STD 3 osendmsg | |
970a71db KU |
143 | #ifdef TRACE |
144 | 115 STD 2 vtrace | |
145 | #else | |
146 | 115 OBSOL 2 vtrace | |
147 | #endif | |
148 | 116 STD 2 gettimeofday | |
149 | 117 STD 2 getrusage | |
150 | 118 STD 5 getsockopt | |
151 | 119 UNIMPL 0 nosys | |
152 | 120 STD 3 readv | |
153 | 121 STD 3 writev | |
154 | 122 STD 2 settimeofday | |
155 | 123 STD 3 fchown | |
156 | 124 STD 2 fchmod | |
58721d38 KU |
157 | 125 STD 6 orecvfrom |
158 | 126 STD 2 osetreuid | |
159 | 127 STD 2 osetregid | |
970a71db KU |
160 | 128 STD 2 rename |
161 | 129 STD 2 truncate | |
162 | 130 STD 2 ftruncate | |
163 | 131 STD 2 flock | |
58721d38 | 164 | 132 UNIMPL 0 nosys |
970a71db KU |
165 | 133 STD 6 sendto |
166 | 134 STD 2 shutdown | |
167 | 135 STD 5 socketpair | |
168 | 136 STD 2 mkdir | |
169 | 137 STD 1 rmdir | |
170 | 138 STD 2 utimes | |
171 | 139 OBSOL 0 4.2 sigreturn | |
172 | 140 STD 2 adjtime | |
58721d38 KU |
173 | 141 STD 3 ogetpeername |
174 | 142 STD 0 ogethostid | |
175 | 143 STD 1 osethostid | |
970a71db KU |
176 | 144 STD 2 getrlimit |
177 | 145 STD 2 setrlimit | |
58721d38 KU |
178 | 146 STD 2 okillpg |
179 | 147 UNIMPL 0 nosys | |
970a71db | 180 | 148 STD 4 quotactl |
58721d38 KU |
181 | 149 STD 4 oquota |
182 | 150 STD 3 ogetsockname | |
970a71db KU |
183 | |
184 | ; Syscalls 151-180 inclusive are reserved for vendor-specific | |
185 | ; system calls. (This includes various calls added for compatibity | |
186 | ; with other Unix variants.) | |
187 | ; Some of these calls are now supported by BSD... | |
188 | 151 STD 1 news_setenvp | |
189 | 152 STD 5 news_sysnews | |
190 | 153 UNIMPL 0 nosys | |
191 | 154 UNIMPL 0 nosys | |
192 | #ifdef NFS | |
193 | 155 STD 2 nfssvc | |
194 | #else | |
195 | 155 UNIMPL 0 nosys | |
196 | #endif | |
58721d38 | 197 | 156 STD 4 ogetdirentries |
970a71db KU |
198 | 157 STD 2 statfs |
199 | 158 STD 2 fstatfs | |
58721d38 KU |
200 | 159 UNIMPL 1 news_unmount |
201 | 160 UNIMPL 0 news_async_daemon | |
970a71db KU |
202 | #ifdef NFS |
203 | 161 STD 2 getfh | |
204 | #else | |
205 | 161 UNIMPL 0 nosys | |
206 | #endif | |
207 | 162 STD 2 sun_getdomainname | |
208 | 163 STD 2 sun_setdomainname | |
209 | 164 UNIMPL 0 nosys | |
210 | 165 UNIMPL 0 nosys | |
211 | 166 UNIMPL 0 nosys | |
212 | 167 UNIMPL 0 nosys | |
213 | 168 UNIMPL 0 nosys | |
214 | 169 UNIMPL 0 nosys | |
215 | 170 UNIMPL 0 nosys | |
216 | #ifdef SYSVSHM | |
217 | 171 STD 4 shmsys | |
218 | #else | |
219 | 171 UNIMPL 0 nosys | |
220 | #endif | |
221 | 172 UNIMPL 0 nosys | |
222 | 173 UNIMPL 0 nosys | |
223 | 174 STD 3 sun_getdents | |
224 | 175 UNIMPL 0 nosys | |
225 | 176 UNIMPL 0 nosys | |
226 | 177 UNIMPL 0 nosys | |
227 | 178 UNIMPL 0 nosys | |
228 | 179 UNIMPL 0 nosys |