1 @(#)syscalls.master 7.1 (Berkeley) 03/10/93 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 280 UNIMPL 0 nosys indir 291 STD 1 rexit exit 302 STD 0 fork 313 STD 3 read 324 STD 3 write 335 STD 3 open 346 STD 1 close 357 STD 4 wait4 368 COMPAT 2 creat 379 STD 2 link 3810 STD 1 unlink 3911 OBSOL 2 execv 4012 STD 1 chdir 4113 STD 1 fchdir 4214 STD 3 mknod 4315 STD 2 chmod 4416 STD 3 chown 4517 STD 1 obreak break 4618 STD 3 getfsstat 4719 STD 3 lseek 4820 STD 0 getpid 4921 STD 4 mount 5022 STD 2 unmount 5123 STD 1 setuid 5224 STD 0 getuid 5325 STD 0 geteuid 5426 STD 4 ptrace 5527 STD 3 recvmsg 5628 STD 3 sendmsg 5729 STD 6 recvfrom 5830 STD 3 accept 5931 STD 3 getpeername 6032 STD 3 getsockname 6133 STD 2 saccess access 6234 STD 2 chflags 6335 STD 2 fchflags 6436 STD 0 sync 6537 STD 2 kill 6638 COMPAT 2 stat 6739 STD 0 getppid 6840 COMPAT 2 lstat 6941 STD 2 dup 7042 STD 0 pipe 7143 STD 0 getegid 7244 STD 4 profil 73#ifdef KTRACE 7445 STD 4 ktrace 75#else 7645 UNIMPL 0 ktrace 77#endif 7846 STD 3 sigaction 7947 STD 0 getgid 8048 STD 2 sigprocmask 8149 STD 2 getlogin 8250 STD 1 setlogin 8351 STD 1 sysacct acct 8452 STD 0 sigpending 8553 STD 2 sigaltstack 8654 STD 3 ioctl 8755 STD 1 reboot 8856 STD 1 revoke 8957 STD 2 symlink 9058 STD 3 readlink 9159 STD 3 execve 9260 STD 1 umask 9361 STD 1 chroot 9462 COMPAT 2 fstat 9563 STD 4 getkerninfo 9664 STD 0 getpagesize 9765 STD 2 msync 9866 STD 0 vfork 9967 OBSOL 0 vread 10068 OBSOL 0 vwrite 10169 STD 1 sbrk 10270 STD 1 sstk 10371 COMPAT 7 smmap mmap 10472 STD 1 ovadvise vadvise 10573 STD 2 munmap 10674 STD 3 mprotect 10775 STD 3 madvise 10876 OBSOL 0 vhangup 10977 OBSOL 0 vlimit 11078 STD 3 mincore 11179 STD 2 getgroups 11280 STD 2 setgroups 11381 STD 0 getpgrp 11482 STD 2 setpgid 11583 STD 3 setitimer 11684 COMPAT 0 wait 11785 STD 1 swapon 11886 STD 2 getitimer 11987 STD 2 gethostname 12088 STD 2 sethostname 12189 STD 0 getdtablesize 12290 STD 2 dup2 12391 UNIMPL 2 getdopt 12492 STD 3 fcntl 12593 STD 5 select 12694 UNIMPL 2 setdopt 12795 STD 1 fsync 12896 STD 3 setpriority 12997 STD 3 socket 13098 STD 3 connect 13199 COMPAT 3 accept 132100 STD 2 getpriority 133101 COMPAT 4 send 134102 COMPAT 4 recv 135103 STD 1 sigreturn 136104 STD 3 bind 137105 STD 5 setsockopt 138106 STD 2 listen 139107 OBSOL 0 vtimes 140108 COMPAT 3 sigvec 141109 COMPAT 1 sigblock 142110 COMPAT 1 sigsetmask 143111 STD 1 sigsuspend 144112 COMPAT 2 sigstack 145113 COMPAT 3 recvmsg 146114 COMPAT 3 sendmsg 147#ifdef TRACE 148115 STD 2 vtrace 149#else 150115 OBSOL 2 vtrace 151#endif 152116 STD 2 gettimeofday 153117 STD 2 getrusage 154118 STD 5 getsockopt 155119 UNIMPL 0 nosys 156120 STD 3 readv 157121 STD 3 writev 158122 STD 2 settimeofday 159123 STD 3 fchown 160124 STD 2 fchmod 161125 COMPAT 6 recvfrom 162126 COMPAT 2 setreuid 163127 COMPAT 2 setregid 164128 STD 2 rename 165129 STD 2 truncate 166130 STD 2 ftruncate 167131 STD 2 flock 168132 STD 2 mkfifo 169133 STD 6 sendto 170134 STD 2 shutdown 171135 STD 5 socketpair 172136 STD 2 mkdir 173137 STD 1 rmdir 174138 STD 2 utimes 175139 OBSOL 0 4.2 sigreturn 176140 STD 2 adjtime 177141 COMPAT 3 getpeername 178142 STD 0 gethostid 179143 STD 1 sethostid 180144 STD 2 getrlimit 181145 STD 2 setrlimit 182146 COMPAT 2 killpg 183147 STD 0 setsid 184148 STD 4 quotactl 185149 COMPAT 4 quota 186150 COMPAT 3 getsockname 187 188; Syscalls 151-180 inclusive are reserved for vendor-specific 189; system calls. (This includes various calls added for compatibity 190; with other Unix variants.) 191; Some of these calls are now supported by BSD... 192151 STD 1 news_setenvp 193152 STD 5 news_sysnews 194153 UNIMPL 0 nosys 195154 UNIMPL 0 nosys 196#ifdef NFS 197155 STD 2 nfssvc 198#else 199155 UNIMPL 0 nosys 200#endif 201156 COMPAT 4 getdirentries 202157 STD 2 statfs 203158 STD 2 fstatfs 204159 UNIMPL 0 nosys 205160 UNIMPL 0 nosys 206#ifdef NFS 207161 STD 2 getfh 208#else 209161 UNIMPL 0 nosys 210#endif 211162 STD 2 sun_getdomainname 212163 STD 2 sun_setdomainname 213164 UNIMPL 0 nosys 214165 UNIMPL 0 nosys 215166 UNIMPL 0 nosys 216167 UNIMPL 0 nosys 217168 UNIMPL 0 nosys 218169 UNIMPL 0 nosys 219170 UNIMPL 0 nosys 220#ifdef SYSVSHM 221171 STD 4 shmsys 222#else 223171 UNIMPL 0 nosys 224#endif 225172 UNIMPL 0 nosys 226173 UNIMPL 0 nosys 227174 STD 3 sun_getdents 228175 UNIMPL 0 nosys 229176 UNIMPL 0 nosys 230177 UNIMPL 0 nosys 231178 UNIMPL 0 nosys 232179 UNIMPL 0 nosys 233180 UNIMPL 0 nosys 234 235; Syscalls 180-199 are used by/reserved for BSD 236181 STD 1 setgid 237182 STD 1 setegid 238183 STD 1 seteuid 239184 UNIMPL 0 nosys 240185 UNIMPL 0 nosys 241186 UNIMPL 0 nosys 242187 UNIMPL 0 nosys 243188 STD 2 stat 244189 STD 2 fstat 245190 STD 2 lstat 246191 UNIMPL 0 nosys 247192 UNIMPL 0 nosys 248193 UNIMPL 0 nosys 249194 STD 2 __getrlimit 250195 STD 2 __setrlimit 251196 STD 4 getdirentries 252197 STD 8 smmap mmap 253198 STD 0 nosys __indir 254199 STD 5 __lseek 255200 STD 4 __truncate 256201 STD 4 __ftruncate 257202 UNIMPL 0 nosys 258203 UNIMPL 0 nosys 259204 UNIMPL 0 nosys 260205 UNIMPL 0 nosys 261206 UNIMPL 0 nosys 262207 UNIMPL 0 nosys 263208 UNIMPL 0 nosys 264209 UNIMPL 0 nosys 265210 UNIMPL 0 nosys 266