blkflush is no longer used;
[unix-history] / usr / src / sys / kern / syscalls.master
CommitLineData
7baee3e0 1 @(#)syscalls.master 7.11 (Berkeley) %G%
1c7df810
MK
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; OBSOL obsolete, not included in system, only specifies name
17; UNIMPL not implemented, placeholder only
18
19; #ifdef's, etc. may be included, and are copied to the output files.
20
21; Reserved/unimplemented system calls in the range 0-150 inclusive
22; are reserved for use in future Berkeley releases.
23; Additional system calls implemented in vendor and other
24; redistributions should be placed in the reserved range at the end
25; of the current calls.
26
270 UNIMPL 0 indir or out-of-range
281 STD 1 rexit exit
292 STD 0 fork
303 STD 3 read
314 STD 3 write
325 STD 3 open
336 STD 1 close
347 STD 4 wait4
358 STD 2 creat
369 STD 2 link
3710 STD 1 unlink
3811 STD 2 execv
3912 STD 1 chdir
6ef647f0 4013 STD 1 fchdir
1c7df810
MK
4114 STD 3 mknod
4215 STD 2 chmod
4316 STD 3 chown
4417 STD 1 obreak
a18f0a91 4518 STD 2 getfsstat
1c7df810
MK
4619 STD 3 lseek
4720 STD 0 getpid
eae0b4b4
KM
4821 STD 4 mount
4922 STD 2 unmount
1c7df810
MK
5023 OBSOL 0 setuid
5124 STD 0 getuid
5225 OBSOL 0 stime
5326 STD 4 ptrace
5427 STD 3 recvmsg
5528 STD 3 sendmsg
5629 STD 6 recvfrom
5730 STD 3 accept
5831 STD 3 getpeername
5932 STD 3 getsockname
6033 STD 2 saccess access
6ef647f0
KM
6134 STD 2 chflags
6235 STD 2 fchflags
1c7df810
MK
6336 STD 0 sync
6437 STD 2 kill
6538 STD 2 stat
6639 OBSOL 0 setpgrp
6740 STD 2 lstat
6841 STD 2 dup
6942 STD 0 pipe
7043 OBSOL 0 times
7144 STD 4 profil
72#ifdef KTRACE
7345 STD 4 ktrace
74#else
7545 UNIMPL 0 nosys
76#endif
356b430b 7746 STD 3 sigaction
1c7df810 7847 STD 0 getgid
356b430b 7948 STD 2 sigprocmask
d41db73f
MK
8049 STD 2 getlogin
8150 STD 2 setlogin
1c7df810 8251 STD 1 sysacct acct
356b430b
MK
8352 STD 0 sigpending
84#ifdef notyet
8553 STD 3 sigaltstack
86#else
8753 UNIMPL 3 sigaltstack
88#endif
1c7df810
MK
8954 STD 3 ioctl
9055 STD 1 reboot
0d808a81 9156 STD 1 revoke
1c7df810
MK
9257 STD 2 symlink
9358 STD 3 readlink
9459 STD 3 execve
9560 STD 1 umask
9661 STD 1 chroot
9762 STD 2 fstat
9863 UNIMPL 0 nosys
9964 STD 0 getpagesize
10065 STD 2 msync
10166 STD 0 vfork
10267 OBSOL 0 vread
10368 OBSOL 0 vwrite
10469 STD 1 sbrk
10570 STD 1 sstk
10671 STD 6 smmap mmap
10772 STD 1 ovadvise
10873 STD 2 munmap
10974 STD 3 mprotect
11075 STD 3 madvise
0d808a81 11176 COMPAT 0 vhangup
1c7df810
MK
11277 OBSOL 0 vlimit
11378 STD 3 mincore
11479 STD 2 getgroups
11580 STD 2 setgroups
11681 STD 1 getpgrp
11782 STD 2 setpgrp
11883 STD 3 setitimer
11984 COMPAT 0 wait
12085 STD 1 swapon
12186 STD 2 getitimer
12287 STD 2 gethostname
12388 STD 2 sethostname
12489 STD 0 getdtablesize
12590 STD 2 dup2
12691 UNIMPL 2 getdopt
12792 STD 3 fcntl
12893 STD 5 select
12994 UNIMPL 2 setdopt
13095 STD 1 fsync
13196 STD 3 setpriority
13297 STD 3 socket
13398 STD 3 connect
13499 COMPAT 3 accept
135100 STD 2 getpriority
136101 COMPAT 4 send
137102 COMPAT 4 recv
138103 STD 1 sigreturn
139104 STD 3 bind
140105 STD 5 setsockopt
141106 STD 2 listen
142107 OBSOL 0 vtimes
356b430b
MK
143108 COMPAT 3 sigvec
144109 COMPAT 1 sigblock
145110 COMPAT 1 sigsetmask
146111 STD 1 sigsuspend
1c7df810
MK
147112 STD 2 sigstack
148113 COMPAT 3 recvmsg
149114 COMPAT 3 sendmsg
150#ifdef TRACE
151115 STD 2 vtrace
152#else
153115 OBSOL 2 vtrace
154#endif
155116 STD 2 gettimeofday
156117 STD 2 getrusage
157118 STD 5 getsockopt
158#ifdef vax
159119 STD 1 resuba
160#else
161119 UNIMPL 0 nosys
162#endif
163120 STD 3 readv
164121 STD 3 writev
165122 STD 2 settimeofday
166123 STD 3 fchown
167124 STD 2 fchmod
168125 COMPAT 6 recvfrom
169126 STD 2 setreuid
170127 STD 2 setregid
171128 STD 2 rename
172129 STD 2 truncate
173130 STD 2 ftruncate
174131 STD 2 flock
175132 UNIMPL 0 nosys
176133 STD 6 sendto
177134 STD 2 shutdown
178135 STD 5 socketpair
179136 STD 2 mkdir
180137 STD 1 rmdir
181138 STD 2 utimes
182139 OBSOL 0 4.2 sigreturn
183140 STD 2 adjtime
184141 COMPAT 3 getpeername
185142 STD 0 gethostid
186143 STD 1 sethostid
187144 STD 2 getrlimit
188145 STD 2 setrlimit
356b430b 189146 COMPAT 2 killpg
1c7df810
MK
190147 STD 0 setsid
191148 STD 2 setquota
192149 STD 4 qquota quota
193150 COMPAT 3 getsockname
cc7d9ee1
KM
194
195; Syscalls 151-180 inclusive are reserved for vendor-specific
196; system calls. (This includes various calls added for compatibity
197; with other Unix variants.)
198151 UNIMPL 0 nosys
199152 UNIMPL 0 nosys
eae0b4b4
KM
200153 UNIMPL 0 nosys
201154 UNIMPL 0 nosys
cc7d9ee1 202#ifdef NFS
7baee3e0 203155 STD 3 nfssvc
cc7d9ee1 204#else
eae0b4b4 205155 UNIMPL 0 nosys
cc7d9ee1 206#endif
eae0b4b4
KM
207156 STD 4 getdirentries
208157 STD 2 statfs
209158 STD 2 fstatfs
cc7d9ee1 210159 UNIMPL 0 nosys
cc7d9ee1 211#ifdef NFS
bffdb50f 212160 STD 0 async_daemon
cc7d9ee1
KM
213161 STD 2 getfh
214#else
bffdb50f 215160 UNIMPL 0 nosys
cc7d9ee1
KM
216161 UNIMPL 0 nosys
217#endif
218162 UNIMPL 0 nosys
219163 UNIMPL 0 nosys
220164 UNIMPL 0 nosys
221165 UNIMPL 0 nosys
222#ifdef NFS
223166 STD 3 exportfs
224#else
225166 UNIMPL 0 nosys
226#endif