|
|
1.1.1.3 ! root 1: syscalls.master,v 1.6 1993/06/07 19:52:42 cgd Exp ! 2: ; from: @(#)syscalls.master 7.26 (Berkeley) 3/25/91 1.1 root 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 1.1.1.3 ! root 8: ; type one of STD, OBSOL, UNIMPL, NODEF, COMPAT 1.1 root 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 1.1.1.3 ! root 19: ; NODEF do everything except include in syscall.h 1.1 root 20: ; UNIMPL not implemented, placeholder only 21: 22: ; #ifdef's, etc. may be included, and are copied to the output files. 23: 24: ; Reserved/unimplemented system calls in the range 0-150 inclusive 25: ; are reserved for use in future Berkeley releases. 26: ; Additional system calls implemented in vendor and other 27: ; redistributions should be placed in the reserved range at the end 28: ; of the current calls. 29: 30: 0 UNIMPL 0 indir or out-of-range 31: 1 STD 1 rexit exit 32: 2 STD 0 fork 33: 3 STD 3 read 34: 4 STD 3 write 35: 5 STD 3 open 36: 6 STD 1 close 37: 7 STD 4 wait4 38: 8 COMPAT 2 creat 39: 9 STD 2 link 40: 10 STD 1 unlink 41: 11 OBSOL 2 execv 42: 12 STD 1 chdir 43: 13 STD 1 fchdir 44: 14 STD 3 mknod 45: 15 STD 2 chmod 46: 16 STD 3 chown 47: 17 STD 1 obreak break 48: 18 STD 3 getfsstat 49: 19 STD 3 lseek 50: 20 STD 0 getpid 51: 21 STD 4 mount 52: 22 STD 2 unmount 53: 23 STD 1 setuid 54: 24 STD 0 getuid 55: 25 STD 0 geteuid 56: 26 STD 4 ptrace 57: 27 STD 3 recvmsg 58: 28 STD 3 sendmsg 59: 29 STD 6 recvfrom 60: 30 STD 3 accept 61: 31 STD 3 getpeername 62: 32 STD 3 getsockname 63: 33 STD 2 saccess access 64: 34 STD 2 chflags 65: 35 STD 2 fchflags 66: 36 STD 0 sync 67: 37 STD 2 kill 68: 38 STD 2 stat 69: 39 STD 0 getppid 70: 40 STD 2 lstat 71: 41 STD 2 dup 72: 42 STD 0 pipe 73: 43 STD 0 getegid 74: 44 STD 4 profil 75: #ifdef KTRACE 76: 45 STD 4 ktrace 77: #else 78: 45 UNIMPL 0 ktrace 79: #endif 80: 46 STD 3 sigaction 81: 47 STD 0 getgid 82: 48 STD 2 sigprocmask 83: 49 STD 2 getlogin 84: 50 STD 1 setlogin 85: 51 STD 1 sysacct acct 86: 52 STD 0 sigpending 87: #ifdef notyet 88: 53 STD 3 sigaltstack 89: #else 90: 53 UNIMPL 3 sigaltstack 91: #endif 92: 54 STD 3 ioctl 93: 55 STD 1 reboot 94: 56 STD 1 revoke 95: 57 STD 2 symlink 96: 58 STD 3 readlink 97: 59 STD 3 execve 98: 60 STD 1 umask 99: 61 STD 1 chroot 100: 62 STD 2 fstat 101: 63 STD 4 getkerninfo 102: 64 STD 0 getpagesize 103: 65 STD 2 msync 104: 66 STD 0 vfork 105: 67 OBSOL 0 vread 106: 68 OBSOL 0 vwrite 107: 69 STD 1 sbrk 108: 70 STD 1 sstk 109: 71 STD 6 smmap mmap 110: 72 STD 1 ovadvise vadvise 111: 73 STD 2 munmap 112: 74 STD 3 mprotect 113: 75 STD 3 madvise 114: 76 OBSOL 0 vhangup 115: 77 OBSOL 0 vlimit 116: 78 STD 3 mincore 117: 79 STD 2 getgroups 118: 80 STD 2 setgroups 1.1.1.3 ! root 119: 81 STD 0 getpgrp 1.1 root 120: 82 STD 2 setpgid 121: 83 STD 3 setitimer 122: 84 COMPAT 0 wait 123: 85 STD 1 swapon 124: 86 STD 2 getitimer 125: 87 STD 2 gethostname 126: 88 STD 2 sethostname 127: 89 STD 0 getdtablesize 128: 90 STD 2 dup2 129: 91 UNIMPL 2 getdopt 130: 92 STD 3 fcntl 131: 93 STD 5 select 132: 94 UNIMPL 2 setdopt 133: 95 STD 1 fsync 134: 96 STD 3 setpriority 135: 97 STD 3 socket 136: 98 STD 3 connect 137: 99 COMPAT 3 accept 138: 100 STD 2 getpriority 139: 101 COMPAT 4 send 140: 102 COMPAT 4 recv 141: 103 STD 1 sigreturn 142: 104 STD 3 bind 143: 105 STD 5 setsockopt 144: 106 STD 2 listen 145: 107 OBSOL 0 vtimes 146: 108 COMPAT 3 sigvec 147: 109 COMPAT 1 sigblock 148: 110 COMPAT 1 sigsetmask 149: 111 STD 1 sigsuspend 150: 112 STD 2 sigstack 151: 113 COMPAT 3 recvmsg 152: 114 COMPAT 3 sendmsg 153: #ifdef TRACE 154: 115 STD 2 vtrace 155: #else 156: 115 OBSOL 2 vtrace 157: #endif 158: 116 STD 2 gettimeofday 159: 117 STD 2 getrusage 160: 118 STD 5 getsockopt 161: #ifdef vax 162: 119 STD 1 resuba 163: #else 164: 119 UNIMPL 0 nosys 165: #endif 166: 120 STD 3 readv 167: 121 STD 3 writev 168: 122 STD 2 settimeofday 169: 123 STD 3 fchown 170: 124 STD 2 fchmod 171: 125 COMPAT 6 recvfrom 172: 126 LIBCOMPAT 2 setreuid 173: 127 LIBCOMPAT 2 setregid 174: 128 STD 2 rename 175: 129 STD 2 truncate 176: 130 STD 2 ftruncate 177: 131 STD 2 flock 178: 132 STD 2 mkfifo 179: 133 STD 6 sendto 180: 134 STD 2 shutdown 181: 135 STD 5 socketpair 182: 136 STD 2 mkdir 183: 137 STD 1 rmdir 184: 138 STD 2 utimes 185: 139 OBSOL 0 4.2 sigreturn 186: 140 STD 2 adjtime 187: 141 COMPAT 3 getpeername 188: 142 STD 0 gethostid 189: 143 STD 1 sethostid 190: 144 STD 2 getrlimit 191: 145 STD 2 setrlimit 192: 146 COMPAT 2 killpg 193: 147 STD 0 setsid 194: 148 STD 4 quotactl 195: 149 COMPAT 4 quota 196: 150 COMPAT 3 getsockname 197: 198: ; Syscalls 151-180 inclusive are reserved for vendor-specific 199: ; system calls. (This includes various calls added for compatibity 200: ; with other Unix variants.) 201: ; Some of these calls are now supported by BSD... 202: 151 UNIMPL 0 nosys 203: 152 UNIMPL 0 nosys 204: 153 UNIMPL 0 nosys 205: 154 UNIMPL 0 nosys 1.1.1.2 root 206: #ifdef NFSSERVER 1.1 root 207: 155 STD 5 nfssvc 208: #else 209: 155 UNIMPL 0 nosys 210: #endif 211: 156 STD 4 getdirentries 212: 157 STD 2 statfs 213: 158 STD 2 fstatfs 214: 159 UNIMPL 0 nosys 1.1.1.2 root 215: #ifdef NFSCLIENT 1.1 root 216: 160 STD 0 async_daemon 217: 161 STD 2 getfh 218: #else 219: 160 UNIMPL 0 nosys 220: 161 UNIMPL 0 nosys 221: #endif 1.1.1.2 root 222: 162 STD 2 getdomainname 223: 163 STD 2 setdomainname 1.1.1.3 ! root 224: 164 STD 1 uname 1.1 root 225: 165 UNIMPL 0 nosys 226: 166 UNIMPL 0 nosys 227: 167 UNIMPL 0 nosys 228: 168 UNIMPL 0 nosys 229: 169 UNIMPL 0 nosys 230: 170 UNIMPL 0 nosys 231: #ifdef SYSVSHM 232: 171 STD 4 shmsys 233: #else 234: 171 UNIMPL 0 nosys 235: #endif 236: 172 UNIMPL 0 nosys 237: 173 UNIMPL 0 nosys 238: 174 UNIMPL 0 nosys 239: 175 UNIMPL 0 nosys 240: 176 UNIMPL 0 nosys 241: 177 UNIMPL 0 nosys 242: 178 UNIMPL 0 nosys 243: 179 UNIMPL 0 nosys 244: 180 UNIMPL 0 nosys 245: 246: ; Syscalls 180-199 are used by/reserved for BSD 247: 181 STD 1 setgid 248: 182 STD 1 setegid 249: 183 STD 1 seteuid 250: 184 UNIMPL 0 nosys 251: 185 UNIMPL 0 nosys 252: 186 UNIMPL 0 nosys 253: 187 UNIMPL 0 nosys 254: 188 UNIMPL 0 nosys 255: 189 UNIMPL 0 nosys 256: 190 UNIMPL 0 nosys 1.1.1.3 ! root 257: 191 UNIMPL 0 nosys ! 258: 192 UNIMPL 0 nosys ! 259: 193 UNIMPL 0 nosys ! 260: 194 UNIMPL 0 nosys ! 261: 195 UNIMPL 0 nosys ! 262: 196 UNIMPL 0 nosys ! 263: 197 UNIMPL 0 nosys ! 264: 198 UNIMPL 0 nosys ! 265: 199 UNIMPL 0 nosys ! 266: ; ! 267: ; Syscalls 200-109 are reserved for dynamically loaded syscalls ! 268: ; ! 269: #ifdef LKM ! 270: 200 NODEF 0 lkmnosys ! 271: 201 NODEF 0 lkmnosys ! 272: 202 NODEF 0 lkmnosys ! 273: 203 NODEF 0 lkmnosys ! 274: 204 NODEF 0 lkmnosys ! 275: 205 NODEF 0 lkmnosys ! 276: 206 NODEF 0 lkmnosys ! 277: 207 NODEF 0 lkmnosys ! 278: 208 NODEF 0 lkmnosys ! 279: 209 NODEF 0 lkmnosys ! 280: #else /* !LKM */ ! 281: 200 UNIMPL 0 nosys ! 282: 201 UNIMPL 0 nosys ! 283: 202 UNIMPL 0 nosys ! 284: 203 UNIMPL 0 nosys ! 285: 204 UNIMPL 0 nosys ! 286: 205 UNIMPL 0 nosys ! 287: 206 UNIMPL 0 nosys ! 288: 207 UNIMPL 0 nosys ! 289: 208 UNIMPL 0 nosys ! 290: 209 UNIMPL 0 nosys ! 291: #endif /* !LKM */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.