syscalls.master revision 1.5
1 $Id: syscalls.master,v 1.5 1993/05/20 02:55:11 cgd Exp $ 2; from: @(#)syscalls.master 7.26 (Berkeley) 3/25/91 3; System call name/number master file. 4; Processed to created init_sysent.c, syscalls.c and syscall.h. 5 6; Columns: number type nargs name altname/comments 7; number system call number, must be in order 8; type one of STD, OBSOL, UNIMPL, COMPAT 9; nargs number of arguments 10; name name of syscall routine 11; altname name of system call if different 12; for UNIMPL/OBSOL, name continues with comments 13 14; types: 15; STD always included 16; COMPAT included on COMPAT #ifdef 17; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h 18; OBSOL obsolete, not included in system, only specifies name 19; UNIMPL not implemented, placeholder only 20 21; #ifdef's, etc. may be included, and are copied to the output files. 22 23; Reserved/unimplemented system calls in the range 0-150 inclusive 24; are reserved for use in future Berkeley releases. 25; Additional system calls implemented in vendor and other 26; redistributions should be placed in the reserved range at the end 27; of the current calls. 28 290 UNIMPL 0 indir or out-of-range 301 STD 1 rexit exit 312 STD 0 fork 323 STD 3 read 334 STD 3 write 345 STD 3 open 356 STD 1 close 367 STD 4 wait4 378 COMPAT 2 creat 389 STD 2 link 3910 STD 1 unlink 4011 OBSOL 2 execv 4112 STD 1 chdir 4213 STD 1 fchdir 4314 STD 3 mknod 4415 STD 2 chmod 4516 STD 3 chown 4617 STD 1 obreak break 4718 STD 3 getfsstat 4819 STD 3 lseek 4920 STD 0 getpid 5021 STD 4 mount 5122 STD 2 unmount 5223 STD 1 setuid 5324 STD 0 getuid 5425 STD 0 geteuid 5526 STD 4 ptrace 5627 STD 3 recvmsg 5728 STD 3 sendmsg 5829 STD 6 recvfrom 5930 STD 3 accept 6031 STD 3 getpeername 6132 STD 3 getsockname 6233 STD 2 saccess access 6334 STD 2 chflags 6435 STD 2 fchflags 6536 STD 0 sync 6637 STD 2 kill 6738 STD 2 stat 6839 STD 0 getppid 6940 STD 2 lstat 7041 STD 2 dup 7142 STD 0 pipe 7243 STD 0 getegid 7344 STD 4 profil 74#ifdef KTRACE 7545 STD 4 ktrace 76#else 7745 UNIMPL 0 ktrace 78#endif 7946 STD 3 sigaction 8047 STD 0 getgid 8148 STD 2 sigprocmask 8249 STD 2 getlogin 8350 STD 1 setlogin 8451 STD 1 sysacct acct 8552 STD 0 sigpending 86#ifdef notyet 8753 STD 3 sigaltstack 88#else 8953 UNIMPL 3 sigaltstack 90#endif 9154 STD 3 ioctl 9255 STD 1 reboot 9356 STD 1 revoke 9457 STD 2 symlink 9558 STD 3 readlink 9659 STD 3 execve 9760 STD 1 umask 9861 STD 1 chroot 9962 STD 2 fstat 10063 STD 4 getkerninfo 10164 STD 0 getpagesize 10265 STD 2 msync 10366 STD 0 vfork 10467 OBSOL 0 vread 10568 OBSOL 0 vwrite 10669 STD 1 sbrk 10770 STD 1 sstk 10871 STD 6 smmap mmap 10972 STD 1 ovadvise vadvise 11073 STD 2 munmap 11174 STD 3 mprotect 11275 STD 3 madvise 11376 OBSOL 0 vhangup 11477 OBSOL 0 vlimit 11578 STD 3 mincore 11679 STD 2 getgroups 11780 STD 2 setgroups 11881 STD 0 getpgrp 11982 STD 2 setpgid 12083 STD 3 setitimer 12184 COMPAT 0 wait 12285 STD 1 swapon 12386 STD 2 getitimer 12487 STD 2 gethostname 12588 STD 2 sethostname 12689 STD 0 getdtablesize 12790 STD 2 dup2 12891 UNIMPL 2 getdopt 12992 STD 3 fcntl 13093 STD 5 select 13194 UNIMPL 2 setdopt 13295 STD 1 fsync 13396 STD 3 setpriority 13497 STD 3 socket 13598 STD 3 connect 13699 COMPAT 3 accept 137100 STD 2 getpriority 138101 COMPAT 4 send 139102 COMPAT 4 recv 140103 STD 1 sigreturn 141104 STD 3 bind 142105 STD 5 setsockopt 143106 STD 2 listen 144107 OBSOL 0 vtimes 145108 COMPAT 3 sigvec 146109 COMPAT 1 sigblock 147110 COMPAT 1 sigsetmask 148111 STD 1 sigsuspend 149112 STD 2 sigstack 150113 COMPAT 3 recvmsg 151114 COMPAT 3 sendmsg 152#ifdef TRACE 153115 STD 2 vtrace 154#else 155115 OBSOL 2 vtrace 156#endif 157116 STD 2 gettimeofday 158117 STD 2 getrusage 159118 STD 5 getsockopt 160#ifdef vax 161119 STD 1 resuba 162#else 163119 UNIMPL 0 nosys 164#endif 165120 STD 3 readv 166121 STD 3 writev 167122 STD 2 settimeofday 168123 STD 3 fchown 169124 STD 2 fchmod 170125 COMPAT 6 recvfrom 171126 LIBCOMPAT 2 setreuid 172127 LIBCOMPAT 2 setregid 173128 STD 2 rename 174129 STD 2 truncate 175130 STD 2 ftruncate 176131 STD 2 flock 177132 STD 2 mkfifo 178133 STD 6 sendto 179134 STD 2 shutdown 180135 STD 5 socketpair 181136 STD 2 mkdir 182137 STD 1 rmdir 183138 STD 2 utimes 184139 OBSOL 0 4.2 sigreturn 185140 STD 2 adjtime 186141 COMPAT 3 getpeername 187142 STD 0 gethostid 188143 STD 1 sethostid 189144 STD 2 getrlimit 190145 STD 2 setrlimit 191146 COMPAT 2 killpg 192147 STD 0 setsid 193148 STD 4 quotactl 194149 COMPAT 4 quota 195150 COMPAT 3 getsockname 196 197; Syscalls 151-180 inclusive are reserved for vendor-specific 198; system calls. (This includes various calls added for compatibity 199; with other Unix variants.) 200; Some of these calls are now supported by BSD... 201151 UNIMPL 0 nosys 202152 UNIMPL 0 nosys 203153 UNIMPL 0 nosys 204154 UNIMPL 0 nosys 205#ifdef NFSSERVER 206155 STD 5 nfssvc 207#else 208155 UNIMPL 0 nosys 209#endif 210156 STD 4 getdirentries 211157 STD 2 statfs 212158 STD 2 fstatfs 213159 UNIMPL 0 nosys 214#ifdef NFSCLIENT 215160 STD 0 async_daemon 216161 STD 2 getfh 217#else 218160 UNIMPL 0 nosys 219161 UNIMPL 0 nosys 220#endif 221162 STD 2 getdomainname 222163 STD 2 setdomainname 223164 STD 1 uname 224165 UNIMPL 0 nosys 225166 UNIMPL 0 nosys 226167 UNIMPL 0 nosys 227168 UNIMPL 0 nosys 228169 UNIMPL 0 nosys 229170 UNIMPL 0 nosys 230#ifdef SYSVSHM 231171 STD 4 shmsys 232#else 233171 UNIMPL 0 nosys 234#endif 235172 UNIMPL 0 nosys 236173 UNIMPL 0 nosys 237174 UNIMPL 0 nosys 238175 UNIMPL 0 nosys 239176 UNIMPL 0 nosys 240177 UNIMPL 0 nosys 241178 UNIMPL 0 nosys 242179 UNIMPL 0 nosys 243180 UNIMPL 0 nosys 244 245; Syscalls 180-199 are used by/reserved for BSD 246181 STD 1 setgid 247182 STD 1 setegid 248183 STD 1 seteuid 249184 UNIMPL 0 nosys 250185 UNIMPL 0 nosys 251186 UNIMPL 0 nosys 252187 UNIMPL 0 nosys 253188 UNIMPL 0 nosys 254189 UNIMPL 0 nosys 255190 UNIMPL 0 nosys 256