1 /* 2 * System call names. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * created from Id: syscalls.master,v 1.43 1997/09/14 16:51:14 phk Exp 6 */ 7 8 char *syscallnames[] = { 9 "syscall", /* 0 = syscall */ 10 "exit", /* 1 = exit */ 11 "fork", /* 2 = fork */ 12 "read", /* 3 = read */ 13 "write", /* 4 = write */ 14 "open", /* 5 = open */ 15 "close", /* 6 = close */ 16 "wait4", /* 7 = wait4 */ 17 "old.creat", /* 8 = old creat */ 18 "link", /* 9 = link */ 19 "unlink", /* 10 = unlink */ 20 "obs_execv", /* 11 = obsolete execv */ 21 "chdir", /* 12 = chdir */ 22 "fchdir", /* 13 = fchdir */ 23 "mknod", /* 14 = mknod */ 24 "chmod", /* 15 = chmod */ 25 "chown", /* 16 = chown */ 26 "break", /* 17 = break */ 27 "getfsstat", /* 18 = getfsstat */ 28 "old.lseek", /* 19 = old lseek */ 29 "getpid", /* 20 = getpid */ 30 "mount", /* 21 = mount */ 31 "unmount", /* 22 = unmount */ 32 "setuid", /* 23 = setuid */ 33 "getuid", /* 24 = getuid */ 34 "geteuid", /* 25 = geteuid */ 35 "ptrace", /* 26 = ptrace */ 36 "recvmsg", /* 27 = recvmsg */ 37 "sendmsg", /* 28 = sendmsg */ 38 "recvfrom", /* 29 = recvfrom */ 39 "accept", /* 30 = accept */ 40 "getpeername", /* 31 = getpeername */ 41 "getsockname", /* 32 = getsockname */ 42 "access", /* 33 = access */ 43 "chflags", /* 34 = chflags */ 44 "fchflags", /* 35 = fchflags */ 45 "sync", /* 36 = sync */ 46 "kill", /* 37 = kill */ 47 "old.stat", /* 38 = old stat */ 48 "getppid", /* 39 = getppid */ 49 "old.lstat", /* 40 = old lstat */ 50 "dup", /* 41 = dup */ 51 "pipe", /* 42 = pipe */ 52 "getegid", /* 43 = getegid */ 53 "profil", /* 44 = profil */ 54 "ktrace", /* 45 = ktrace */ 55 "sigaction", /* 46 = sigaction */ 56 "getgid", /* 47 = getgid */ 57 "sigprocmask", /* 48 = sigprocmask */ 58 "getlogin", /* 49 = getlogin */ 59 "setlogin", /* 50 = setlogin */ 60 "acct", /* 51 = acct */ 61 "sigpending", /* 52 = sigpending */ 62 "sigaltstack", /* 53 = sigaltstack */ 63 "ioctl", /* 54 = ioctl */ 64 "reboot", /* 55 = reboot */ 65 "revoke", /* 56 = revoke */ 66 "symlink", /* 57 = symlink */ 67 "readlink", /* 58 = readlink */ 68 "execve", /* 59 = execve */ 69 "umask", /* 60 = umask */ 70 "chroot", /* 61 = chroot */ 71 "old.fstat", /* 62 = old fstat */ 72 "old.getkerninfo", /* 63 = old getkerninfo */ 73 "old.getpagesize", /* 64 = old getpagesize */ 74 "msync", /* 65 = msync */ 75 "vfork", /* 66 = vfork */ 76 "obs_vread", /* 67 = obsolete vread */ 77 "obs_vwrite", /* 68 = obsolete vwrite */ 78 "sbrk", /* 69 = sbrk */ 79 "sstk", /* 70 = sstk */ 80 "old.mmap", /* 71 = old mmap */ 81 "vadvise", /* 72 = vadvise */ 82 "munmap", /* 73 = munmap */ 83 "mprotect", /* 74 = mprotect */ 84 "madvise", /* 75 = madvise */ 85 "obs_vhangup", /* 76 = obsolete vhangup */ 86 "obs_vlimit", /* 77 = obsolete vlimit */ 87 "mincore", /* 78 = mincore */ 88 "getgroups", /* 79 = getgroups */ 89 "setgroups", /* 80 = setgroups */ 90 "getpgrp", /* 81 = getpgrp */ 91 "setpgid", /* 82 = setpgid */ 92 "setitimer", /* 83 = setitimer */ 93 "old.wait", /* 84 = old wait */ 94 "swapon", /* 85 = swapon */ 95 "getitimer", /* 86 = getitimer */ 96 "old.gethostname", /* 87 = old gethostname */ 97 "old.sethostname", /* 88 = old sethostname */ 98 "getdtablesize", /* 89 = getdtablesize */ 99 "dup2", /* 90 = dup2 */ 100 "#91", /* 91 = getdopt */ 101 "fcntl", /* 92 = fcntl */ 102 "select", /* 93 = select */ 103 "#94", /* 94 = setdopt */ 104 "fsync", /* 95 = fsync */ 105 "setpriority", /* 96 = setpriority */ 106 "socket", /* 97 = socket */ 107 "connect", /* 98 = connect */ 108 "old.accept", /* 99 = old accept */ 109 "getpriority", /* 100 = getpriority */ 110 "old.send", /* 101 = old send */ 111 "old.recv", /* 102 = old recv */ 112 "sigreturn", /* 103 = sigreturn */ 113 "bind", /* 104 = bind */ 114 "setsockopt", /* 105 = setsockopt */ 115 "listen", /* 106 = listen */ 116 "obs_vtimes", /* 107 = obsolete vtimes */ 117 "old.sigvec", /* 108 = old sigvec */ 118 "old.sigblock", /* 109 = old sigblock */ 119 "old.sigsetmask", /* 110 = old sigsetmask */ 120 "sigsuspend", /* 111 = sigsuspend */ 121 "old.sigstack", /* 112 = old sigstack */ 122 "old.recvmsg", /* 113 = old recvmsg */ 123 "old.sendmsg", /* 114 = old sendmsg */ 124 "obs_vtrace", /* 115 = obsolete vtrace */ 125 "gettimeofday", /* 116 = gettimeofday */ 126 "getrusage", /* 117 = getrusage */ 127 "getsockopt", /* 118 = getsockopt */ 128 "#119", /* 119 = resuba */ 129 "readv", /* 120 = readv */ 130 "writev", /* 121 = writev */ 131 "settimeofday", /* 122 = settimeofday */ 132 "fchown", /* 123 = fchown */ 133 "fchmod", /* 124 = fchmod */ 134 "old.recvfrom", /* 125 = old recvfrom */ 135 "setreuid", /* 126 = setreuid */ 136 "setregid", /* 127 = setregid */ 137 "rename", /* 128 = rename */ 138 "old.truncate", /* 129 = old truncate */ 139 "old.ftruncate", /* 130 = old ftruncate */ 140 "flock", /* 131 = flock */ 141 "mkfifo", /* 132 = mkfifo */ 142 "sendto", /* 133 = sendto */ 143 "shutdown", /* 134 = shutdown */ 144 "socketpair", /* 135 = socketpair */ 145 "mkdir", /* 136 = mkdir */ 146 "rmdir", /* 137 = rmdir */ 147 "utimes", /* 138 = utimes */ 148 "obs_4.2", /* 139 = obsolete 4.2 sigreturn */ 149 "adjtime", /* 140 = adjtime */ 150 "old.getpeername", /* 141 = old getpeername */ 151 "old.gethostid", /* 142 = old gethostid */ 152 "old.sethostid", /* 143 = old sethostid */ 153 "old.getrlimit", /* 144 = old getrlimit */ 154 "old.setrlimit", /* 145 = old setrlimit */ 155 "old.killpg", /* 146 = old killpg */ 156 "setsid", /* 147 = setsid */ 157 "quotactl", /* 148 = quotactl */ 158 "old.quota", /* 149 = old quota */ 159 "old.getsockname", /* 150 = old getsockname */ 160 "#151", /* 151 = sem_lock */ 161 "#152", /* 152 = sem_wakeup */ 162 "#153", /* 153 = asyncdaemon */ 163 "#154", /* 154 = nosys */ 164 #ifdef NFS 165 "nfssvc", /* 155 = nfssvc */ 166 #else 167 "#155", /* 155 = nosys */ 168 #endif 169 "old.getdirentries", /* 156 = old getdirentries */ 170 "statfs", /* 157 = statfs */ 171 "fstatfs", /* 158 = fstatfs */ 172 "#159", /* 159 = nosys */ 173 "#160", /* 160 = nosys */ 174 #if defined(NFS) && !defined (NFS_NOSERVER) 175 "getfh", /* 161 = getfh */ 176 #else 177 "#161", /* 161 = nosys */ 178 #endif 179 "getdomainname", /* 162 = getdomainname */ 180 "setdomainname", /* 163 = setdomainname */ 181 "uname", /* 164 = uname */ 182 "sysarch", /* 165 = sysarch */ 183 "rtprio", /* 166 = rtprio */ 184 "#167", /* 167 = nosys */ 185 "#168", /* 168 = nosys */ 186 "semsys", /* 169 = semsys */ 187 "msgsys", /* 170 = msgsys */ 188 "shmsys", /* 171 = shmsys */ 189 "#172", /* 172 = nosys */ 190 "#173", /* 173 = nosys */ 191 "#174", /* 174 = nosys */ 192 "#175", /* 175 = nosys */ 193 "ntp_adjtime", /* 176 = ntp_adjtime */ 194 "#177", /* 177 = sfork */ 195 "#178", /* 178 = getdescriptor */ 196 "#179", /* 179 = setdescriptor */ 197 "#180", /* 180 = nosys */ 198 "setgid", /* 181 = setgid */ 199 "setegid", /* 182 = setegid */ 200 "seteuid", /* 183 = seteuid */ 201 #ifdef LFS 202 "lfs_bmapv", /* 184 = lfs_bmapv */ 203 "lfs_markv", /* 185 = lfs_markv */ 204 "lfs_segclean", /* 186 = lfs_segclean */ 205 "lfs_segwait", /* 187 = lfs_segwait */ 206 #else 207 "#184", /* 184 = nosys */ 208 "#185", /* 185 = nosys */ 209 "#186", /* 186 = nosys */ 210 "#187", /* 187 = nosys */ 211 #endif 212 "stat", /* 188 = stat */ 213 "fstat", /* 189 = fstat */ 214 "lstat", /* 190 = lstat */ 215 "pathconf", /* 191 = pathconf */ 216 "fpathconf", /* 192 = fpathconf */ 217 "#193", /* 193 = nosys */ 218 "getrlimit", /* 194 = getrlimit */ 219 "setrlimit", /* 195 = setrlimit */ 220 "getdirentries", /* 196 = getdirentries */ 221 "mmap", /* 197 = mmap */ 222 "__syscall", /* 198 = __syscall */ 223 "lseek", /* 199 = lseek */ 224 "truncate", /* 200 = truncate */ 225 "ftruncate", /* 201 = ftruncate */ 226 "__sysctl", /* 202 = __sysctl */ 227 "mlock", /* 203 = mlock */ 228 "munlock", /* 204 = munlock */ 229 "utrace", /* 205 = utrace */ 230 "undelete", /* 206 = undelete */ 231 "getpgid", /* 207 = getpgid */ 232 "#208", /* 208 = newreboot */ 233 "poll", /* 209 = poll */ 234 "lkmnosys", /* 210 = lkmnosys */ 235 "lkmnosys", /* 211 = lkmnosys */ 236 "lkmnosys", /* 212 = lkmnosys */ 237 "lkmnosys", /* 213 = lkmnosys */ 238 "lkmnosys", /* 214 = lkmnosys */ 239 "lkmnosys", /* 215 = lkmnosys */ 240 "lkmnosys", /* 216 = lkmnosys */ 241 "lkmnosys", /* 217 = lkmnosys */ 242 "lkmnosys", /* 218 = lkmnosys */ 243 "lkmnosys", /* 219 = lkmnosys */ 244 "__semctl", /* 220 = __semctl */ 245 "semget", /* 221 = semget */ 246 "semop", /* 222 = semop */ 247 "semconfig", /* 223 = semconfig */ 248 "msgctl", /* 224 = msgctl */ 249 "msgget", /* 225 = msgget */ 250 "msgsnd", /* 226 = msgsnd */ 251 "msgrcv", /* 227 = msgrcv */ 252 "shmat", /* 228 = shmat */ 253 "shmctl", /* 229 = shmctl */ 254 "shmdt", /* 230 = shmdt */ 255 "shmget", /* 231 = shmget */ 256 "clock_gettime", /* 232 = clock_gettime */ 257 "clock_settime", /* 233 = clock_settime */ 258 "clock_getres", /* 234 = clock_getres */ 259 "#235", /* 235 = timer_create */ 260 "#236", /* 236 = timer_delete */ 261 "#237", /* 237 = timer_settime */ 262 "#238", /* 238 = timer_gettime */ 263 "#239", /* 239 = timer_getoverrun */ 264 "nanosleep", /* 240 = nanosleep */ 265 "#241", /* 241 = nosys */ 266 "#242", /* 242 = nosys */ 267 "#243", /* 243 = nosys */ 268 "#244", /* 244 = nosys */ 269 "#245", /* 245 = nosys */ 270 "#246", /* 246 = nosys */ 271 "#247", /* 247 = nosys */ 272 "#248", /* 248 = nosys */ 273 "#249", /* 249 = nosys */ 274 "minherit", /* 250 = minherit */ 275 "rfork", /* 251 = rfork */ 276 "openbsd_poll", /* 252 = openbsd_poll */ 277 "issetugid", /* 253 = issetugid */ 278 "lchown", /* 254 = lchown */ 279 "#255", /* 255 = nosys */ 280 "#256", /* 256 = nosys */ 281 "#257", /* 257 = nosys */ 282 "#258", /* 258 = nosys */ 283 "#259", /* 259 = nosys */ 284 "#260", /* 260 = nosys */ 285 "#261", /* 261 = nosys */ 286 "#262", /* 262 = nosys */ 287 "#263", /* 263 = nosys */ 288 "#264", /* 264 = nosys */ 289 "#265", /* 265 = nosys */ 290 "#266", /* 266 = nosys */ 291 "#267", /* 267 = nosys */ 292 "#268", /* 268 = nosys */ 293 "#269", /* 269 = nosys */ 294 "#270", /* 270 = nosys */ 295 "#271", /* 271 = nosys */ 296 "#272", /* 272 = nosys */ 297 "#273", /* 273 = nosys */ 298 "#274", /* 274 = nosys */ 299 "#275", /* 275 = nosys */ 300 "#276", /* 276 = nosys */ 301 "#277", /* 277 = nosys */ 302 "#278", /* 278 = nosys */ 303 "#279", /* 279 = nosys */ 304 "#280", /* 280 = nosys */ 305 "#281", /* 281 = nosys */ 306 "#282", /* 282 = nosys */ 307 "#283", /* 283 = nosys */ 308 "#284", /* 284 = nosys */ 309 "#285", /* 285 = nosys */ 310 "#286", /* 286 = nosys */ 311 "#287", /* 287 = nosys */ 312 "#288", /* 288 = nosys */ 313 "#289", /* 289 = nosys */ 314 "#290", /* 290 = nosys */ 315 "#291", /* 291 = nosys */ 316 "#292", /* 292 = nosys */ 317 "#293", /* 293 = nosys */ 318 "#294", /* 294 = nosys */ 319 "#295", /* 295 = nosys */ 320 "#296", /* 296 = nosys */ 321 "#297", /* 297 = nosys */ 322 "#298", /* 298 = nosys */ 323 "#299", /* 299 = nosys */ 324 "modnext", /* 300 = modnext */ 325 "modstat", /* 301 = modstat */ 326 "modfnext", /* 302 = modfnext */ 327 "modfind", /* 303 = modfind */ 328 "kldload", /* 304 = kldload */ 329 "kldunload", /* 305 = kldunload */ 330 "kldfind", /* 306 = kldfind */ 331 "kldnext", /* 307 = kldnext */ 332 "kldstat", /* 308 = kldstat */ 333 "kldfirstmod", /* 309 = kldfirstmod */ 334 "getsid", /* 310 = getsid */ 335 "#311", /* 311 = setresuid */ 336 "#312", /* 312 = setresgid */ 337 "signanosleep", /* 313 = signanosleep */ 338 "aio_return", /* 314 = aio_return */ 339 "aio_suspend", /* 315 = aio_suspend */ 340 "aio_cancel", /* 316 = aio_cancel */ 341 "aio_error", /* 317 = aio_error */ 342 "aio_read", /* 318 = aio_read */ 343 "aio_write", /* 319 = aio_write */ 344 "lio_listio", /* 320 = lio_listio */ 345 "yield", /* 321 = yield */ 346 "thr_sleep", /* 322 = thr_sleep */ 347 "thr_wakeup", /* 323 = thr_wakeup */ 348 "mlockall", /* 324 = mlockall */ 349 "munlockall", /* 325 = munlockall */ 350 "__getcwd", /* 326 = __getcwd */ 351 }; 352