NetBSD/sys/compat/ultrix/ultrix_syscalls.c

542 lines
14 KiB
C

/* $NetBSD: ultrix_syscalls.c,v 1.62 2013/11/07 19:39:58 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.52 2013/11/07 19:37:19 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.62 2013/11/07 19:39:58 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/sched.h>
#include <sys/syscallargs.h>
#include <compat/ultrix/ultrix_syscallargs.h>
#endif /* _KERNEL_OPT */
const char *const ultrix_syscallnames[] = {
/* 0 */ "syscall",
/* 1 */ "exit",
/* 2 */ "fork",
/* 3 */ "read",
/* 4 */ "write",
/* 5 */ "open",
/* 6 */ "close",
/* 7 */ "owait",
/* 8 */ "creat",
/* 9 */ "link",
/* 10 */ "unlink",
/* 11 */ "execv",
/* 12 */ "chdir",
/* 13 */ "#13 (obsolete time)",
/* 14 */ "mknod",
/* 15 */ "chmod",
/* 16 */ "__posix_chown",
/* 17 */ "break",
/* 18 */ "#18 (obsolete stat)",
/* 19 */ "lseek",
/* 20 */ "getpid",
/* 21 */ "mount",
/* 22 */ "#22 (obsolete sysV_unmount)",
/* 23 */ "setuid",
/* 24 */ "getuid",
/* 25 */ "#25 (obsolete v7 stime)",
/* 26 */ "#26 (obsolete v7 ptrace)",
/* 27 */ "#27 (obsolete v7 alarm)",
/* 28 */ "#28 (obsolete v7 fstat)",
/* 29 */ "#29 (obsolete v7 pause)",
/* 30 */ "#30 (obsolete v7 utime)",
/* 31 */ "#31 (obsolete v7 stty)",
/* 32 */ "#32 (obsolete v7 gtty)",
/* 33 */ "access",
/* 34 */ "#34 (obsolete v7 nice)",
/* 35 */ "#35 (obsolete v7 ftime)",
/* 36 */ "sync",
/* 37 */ "kill",
/* 38 */ "stat43",
/* 39 */ "#39 (obsolete v7 setpgrp)",
/* 40 */ "lstat43",
/* 41 */ "dup",
/* 42 */ "pipe",
/* 43 */ "#43 (obsolete v7 times)",
/* 44 */ "profil",
/* 45 */ "#45 (unimplemented)",
/* 46 */ "#46 (obsolete v7 setgid)",
/* 47 */ "getgid",
/* 48 */ "#48 (unimplemented ssig)",
/* 49 */ "#49 (unimplemented reserved for USG)",
/* 50 */ "#50 (unimplemented reserved for USG)",
/* 51 */ "acct",
/* 52 */ "#52 (unimplemented)",
/* 53 */ "#53 (unimplemented syslock)",
/* 54 */ "ioctl",
/* 55 */ "reboot",
/* 56 */ "#56 (unimplemented v7 mpxchan)",
/* 57 */ "symlink",
/* 58 */ "readlink",
/* 59 */ "execve",
/* 60 */ "umask",
/* 61 */ "chroot",
/* 62 */ "fstat",
/* 63 */ "#63 (unimplemented)",
/* 64 */ "getpagesize",
/* 65 */ "#65 (unimplemented mremap)",
/* 66 */ "vfork",
/* 67 */ "#67 (obsolete vread)",
/* 68 */ "#68 (obsolete vwrite)",
/* 69 */ "sbrk",
/* 70 */ "sstk",
/* 71 */ "mmap",
/* 72 */ "vadvise",
/* 73 */ "munmap",
/* 74 */ "mprotect",
/* 75 */ "madvise",
/* 76 */ "vhangup",
/* 77 */ "#77 (unimplemented old vlimit)",
/* 78 */ "mincore",
/* 79 */ "getgroups",
/* 80 */ "setgroups",
/* 81 */ "getpgrp",
/* 82 */ "setpgrp",
/* 83 */ "__setitimer50",
/* 84 */ "wait3",
/* 85 */ "swapon",
/* 86 */ "__getitimer50",
/* 87 */ "gethostname",
/* 88 */ "sethostname",
/* 89 */ "getdtablesize",
/* 90 */ "dup2",
/* 91 */ "#91 (unimplemented getdopt)",
/* 92 */ "fcntl",
/* 93 */ "select",
/* 94 */ "#94 (unimplemented setdopt)",
/* 95 */ "fsync",
/* 96 */ "setpriority",
/* 97 */ "socket",
/* 98 */ "connect",
/* 99 */ "accept",
/* 100 */ "getpriority",
/* 101 */ "send",
/* 102 */ "recv",
/* 103 */ "sigreturn",
/* 104 */ "bind",
/* 105 */ "setsockopt",
/* 106 */ "listen",
/* 107 */ "#107 (unimplemented vtimes)",
/* 108 */ "sigvec",
/* 109 */ "sigblock",
/* 110 */ "sigsetmask",
/* 111 */ "sigsuspend",
/* 112 */ "sigstack",
/* 113 */ "recvmsg",
/* 114 */ "sendmsg",
/* 115 */ "#115 (obsolete vtrace)",
/* 116 */ "__gettimeofday50",
/* 117 */ "__getrusage50",
/* 118 */ "getsockopt",
/* 119 */ "#119 (unimplemented resuba)",
/* 120 */ "readv",
/* 121 */ "writev",
/* 122 */ "__settimeofday50",
/* 123 */ "__posix_fchown",
/* 124 */ "fchmod",
/* 125 */ "recvfrom",
/* 126 */ "setreuid",
/* 127 */ "setregid",
/* 128 */ "rename",
/* 129 */ "truncate",
/* 130 */ "ftruncate",
/* 131 */ "flock",
/* 132 */ "#132 (unimplemented)",
/* 133 */ "sendto",
/* 134 */ "shutdown",
/* 135 */ "socketpair",
/* 136 */ "mkdir",
/* 137 */ "rmdir",
/* 138 */ "__utimes50",
/* 139 */ "sigcleanup",
/* 140 */ "__adjtime50",
/* 141 */ "getpeername",
/* 142 */ "gethostid",
/* 143 */ "#143 (unimplemented old sethostid)",
/* 144 */ "getrlimit",
/* 145 */ "setrlimit",
/* 146 */ "killpg",
/* 147 */ "#147 (unimplemented)",
/* 148 */ "#148 (unimplemented setquota)",
/* 149 */ "#149 (unimplemented quota / * needs to be nullop to boot on Ultrix root partition * /)",
/* 150 */ "getsockname",
/* 151 */ "#151 (unimplemented sysmips / * 4 args * /)",
#ifdef __mips
/* 152 */ "cacheflush",
/* 153 */ "cachectl",
#else /* !mips */
/* 152 */ "#152 (unimplemented)",
/* 153 */ "#153 (unimplemented)",
#endif /* !mips */
/* 154 */ "#154 (unimplemented)",
/* 155 */ "#155 (unimplemented atomic_op)",
/* 156 */ "#156 (unimplemented)",
/* 157 */ "#157 (unimplemented)",
/* 158 */ "#158 (unimplemented ultrix_sys_nfssvc)",
/* 159 */ "getdirentries",
/* 160 */ "statfs",
/* 161 */ "fstatfs",
/* 162 */ "#162 (unimplemented umount)",
/* 163 */ "#163 (unimplemented async_daemon)",
/* 164 */ "getfh",
/* 165 */ "getdomainname",
/* 166 */ "setdomainname",
/* 167 */ "#167 (unimplemented)",
/* 168 */ "quotactl",
/* 169 */ "exportfs",
/* 170 */ "#170 (unimplemented ultrix_sys_mount)",
/* 171 */ "#171 (unimplemented 4 hdwconf)",
/* 172 */ "#172 (unimplemented msgctl)",
/* 173 */ "#173 (unimplemented msgget)",
/* 174 */ "#174 (unimplemented msgrcv)",
/* 175 */ "#175 (unimplemented msgsnd)",
/* 176 */ "#176 (unimplemented semctl)",
/* 177 */ "#177 (unimplemented semget)",
/* 178 */ "#178 (unimplemented semop)",
/* 179 */ "uname",
/* 180 */ "shmsys",
/* 181 */ "#181 (unimplemented 0 plock)",
/* 182 */ "#182 (unimplemented 0 lockf)",
/* 183 */ "ustat",
/* 184 */ "getmnt",
/* 185 */ "#185 (unimplemented notdef)",
/* 186 */ "#186 (unimplemented notdef)",
/* 187 */ "sigpending",
/* 188 */ "setsid",
/* 189 */ "waitpid",
/* 190 */ "#190 (unimplemented)",
/* 191 */ "#191 (unimplemented)",
/* 192 */ "#192 (unimplemented)",
/* 193 */ "#193 (unimplemented)",
/* 194 */ "#194 (unimplemented)",
/* 195 */ "#195 (unimplemented)",
/* 196 */ "#196 (unimplemented)",
/* 197 */ "#197 (unimplemented)",
/* 198 */ "#198 (unimplemented)",
/* 199 */ "#199 (unimplemented)",
/* 200 */ "#200 (unimplemented)",
/* 201 */ "#201 (unimplemented)",
/* 202 */ "#202 (unimplemented)",
/* 203 */ "#203 (unimplemented)",
/* 204 */ "#204 (unimplemented)",
/* 205 */ "#205 (unimplemented)",
/* 206 */ "#206 (unimplemented)",
/* 207 */ "#207 (unimplemented)",
/* 208 */ "#208 (unimplemented)",
/* 209 */ "#209 (unimplemented)",
/* 210 */ "#210 (unimplemented)",
/* 211 */ "#211 (unimplemented)",
/* 212 */ "#212 (unimplemented)",
/* 213 */ "#213 (unimplemented)",
/* 214 */ "#214 (unimplemented)",
/* 215 */ "#215 (unimplemented)",
/* 216 */ "#216 (unimplemented)",
/* 217 */ "#217 (unimplemented)",
/* 218 */ "#218 (unimplemented)",
/* 219 */ "#219 (unimplemented)",
/* 220 */ "#220 (unimplemented)",
/* 221 */ "#221 (unimplemented)",
/* 222 */ "#222 (unimplemented)",
/* 223 */ "#223 (unimplemented)",
/* 224 */ "#224 (unimplemented)",
/* 225 */ "#225 (unimplemented)",
/* 226 */ "#226 (unimplemented)",
/* 227 */ "#227 (unimplemented)",
/* 228 */ "#228 (unimplemented)",
/* 229 */ "#229 (unimplemented)",
/* 230 */ "#230 (unimplemented)",
/* 231 */ "#231 (unimplemented)",
/* 232 */ "#232 (unimplemented)",
/* 233 */ "#233 (unimplemented 1 utc_gettime)",
/* 234 */ "#234 (unimplemented 2 utc_adjtime)",
/* 235 */ "#235 (unimplemented)",
/* 236 */ "#236 (unimplemented)",
/* 237 */ "#237 (unimplemented)",
/* 238 */ "#238 (unimplemented)",
/* 239 */ "#239 (unimplemented)",
/* 240 */ "#240 (unimplemented)",
/* 241 */ "#241 (unimplemented)",
/* 242 */ "#242 (unimplemented)",
/* 243 */ "#243 (unimplemented)",
/* 244 */ "#244 (unimplemented)",
/* 245 */ "#245 (unimplemented)",
/* 246 */ "#246 (unimplemented)",
/* 247 */ "#247 (unimplemented)",
/* 248 */ "#248 (unimplemented)",
/* 249 */ "#249 (unimplemented)",
/* 250 */ "#250 (unimplemented)",
/* 251 */ "#251 (unimplemented)",
/* 252 */ "#252 (unimplemented audctl / * Make no-op for installation on Ultrix rootpartition? * /)",
/* 253 */ "#253 (unimplemented audgen / * Make no-op for installation on Ultrix rootpartition? * /)",
/* 254 */ "#254 (unimplemented startcpu)",
/* 255 */ "#255 (unimplemented stopcpu)",
/* 256 */ "getsysinfo",
/* 257 */ "setsysinfo",
/* 258 */ "# filler",
/* 259 */ "# filler",
/* 260 */ "# filler",
/* 261 */ "# filler",
/* 262 */ "# filler",
/* 263 */ "# filler",
/* 264 */ "# filler",
/* 265 */ "# filler",
/* 266 */ "# filler",
/* 267 */ "# filler",
/* 268 */ "# filler",
/* 269 */ "# filler",
/* 270 */ "# filler",
/* 271 */ "# filler",
/* 272 */ "# filler",
/* 273 */ "# filler",
/* 274 */ "# filler",
/* 275 */ "# filler",
/* 276 */ "# filler",
/* 277 */ "# filler",
/* 278 */ "# filler",
/* 279 */ "# filler",
/* 280 */ "# filler",
/* 281 */ "# filler",
/* 282 */ "# filler",
/* 283 */ "# filler",
/* 284 */ "# filler",
/* 285 */ "# filler",
/* 286 */ "# filler",
/* 287 */ "# filler",
/* 288 */ "# filler",
/* 289 */ "# filler",
/* 290 */ "# filler",
/* 291 */ "# filler",
/* 292 */ "# filler",
/* 293 */ "# filler",
/* 294 */ "# filler",
/* 295 */ "# filler",
/* 296 */ "# filler",
/* 297 */ "# filler",
/* 298 */ "# filler",
/* 299 */ "# filler",
/* 300 */ "# filler",
/* 301 */ "# filler",
/* 302 */ "# filler",
/* 303 */ "# filler",
/* 304 */ "# filler",
/* 305 */ "# filler",
/* 306 */ "# filler",
/* 307 */ "# filler",
/* 308 */ "# filler",
/* 309 */ "# filler",
/* 310 */ "# filler",
/* 311 */ "# filler",
/* 312 */ "# filler",
/* 313 */ "# filler",
/* 314 */ "# filler",
/* 315 */ "# filler",
/* 316 */ "# filler",
/* 317 */ "# filler",
/* 318 */ "# filler",
/* 319 */ "# filler",
/* 320 */ "# filler",
/* 321 */ "# filler",
/* 322 */ "# filler",
/* 323 */ "# filler",
/* 324 */ "# filler",
/* 325 */ "# filler",
/* 326 */ "# filler",
/* 327 */ "# filler",
/* 328 */ "# filler",
/* 329 */ "# filler",
/* 330 */ "# filler",
/* 331 */ "# filler",
/* 332 */ "# filler",
/* 333 */ "# filler",
/* 334 */ "# filler",
/* 335 */ "# filler",
/* 336 */ "# filler",
/* 337 */ "# filler",
/* 338 */ "# filler",
/* 339 */ "# filler",
/* 340 */ "# filler",
/* 341 */ "# filler",
/* 342 */ "# filler",
/* 343 */ "# filler",
/* 344 */ "# filler",
/* 345 */ "# filler",
/* 346 */ "# filler",
/* 347 */ "# filler",
/* 348 */ "# filler",
/* 349 */ "# filler",
/* 350 */ "# filler",
/* 351 */ "# filler",
/* 352 */ "# filler",
/* 353 */ "# filler",
/* 354 */ "# filler",
/* 355 */ "# filler",
/* 356 */ "# filler",
/* 357 */ "# filler",
/* 358 */ "# filler",
/* 359 */ "# filler",
/* 360 */ "# filler",
/* 361 */ "# filler",
/* 362 */ "# filler",
/* 363 */ "# filler",
/* 364 */ "# filler",
/* 365 */ "# filler",
/* 366 */ "# filler",
/* 367 */ "# filler",
/* 368 */ "# filler",
/* 369 */ "# filler",
/* 370 */ "# filler",
/* 371 */ "# filler",
/* 372 */ "# filler",
/* 373 */ "# filler",
/* 374 */ "# filler",
/* 375 */ "# filler",
/* 376 */ "# filler",
/* 377 */ "# filler",
/* 378 */ "# filler",
/* 379 */ "# filler",
/* 380 */ "# filler",
/* 381 */ "# filler",
/* 382 */ "# filler",
/* 383 */ "# filler",
/* 384 */ "# filler",
/* 385 */ "# filler",
/* 386 */ "# filler",
/* 387 */ "# filler",
/* 388 */ "# filler",
/* 389 */ "# filler",
/* 390 */ "# filler",
/* 391 */ "# filler",
/* 392 */ "# filler",
/* 393 */ "# filler",
/* 394 */ "# filler",
/* 395 */ "# filler",
/* 396 */ "# filler",
/* 397 */ "# filler",
/* 398 */ "# filler",
/* 399 */ "# filler",
/* 400 */ "# filler",
/* 401 */ "# filler",
/* 402 */ "# filler",
/* 403 */ "# filler",
/* 404 */ "# filler",
/* 405 */ "# filler",
/* 406 */ "# filler",
/* 407 */ "# filler",
/* 408 */ "# filler",
/* 409 */ "# filler",
/* 410 */ "# filler",
/* 411 */ "# filler",
/* 412 */ "# filler",
/* 413 */ "# filler",
/* 414 */ "# filler",
/* 415 */ "# filler",
/* 416 */ "# filler",
/* 417 */ "# filler",
/* 418 */ "# filler",
/* 419 */ "# filler",
/* 420 */ "# filler",
/* 421 */ "# filler",
/* 422 */ "# filler",
/* 423 */ "# filler",
/* 424 */ "# filler",
/* 425 */ "# filler",
/* 426 */ "# filler",
/* 427 */ "# filler",
/* 428 */ "# filler",
/* 429 */ "# filler",
/* 430 */ "# filler",
/* 431 */ "# filler",
/* 432 */ "# filler",
/* 433 */ "# filler",
/* 434 */ "# filler",
/* 435 */ "# filler",
/* 436 */ "# filler",
/* 437 */ "# filler",
/* 438 */ "# filler",
/* 439 */ "# filler",
/* 440 */ "# filler",
/* 441 */ "# filler",
/* 442 */ "# filler",
/* 443 */ "# filler",
/* 444 */ "# filler",
/* 445 */ "# filler",
/* 446 */ "# filler",
/* 447 */ "# filler",
/* 448 */ "# filler",
/* 449 */ "# filler",
/* 450 */ "# filler",
/* 451 */ "# filler",
/* 452 */ "# filler",
/* 453 */ "# filler",
/* 454 */ "# filler",
/* 455 */ "# filler",
/* 456 */ "# filler",
/* 457 */ "# filler",
/* 458 */ "# filler",
/* 459 */ "# filler",
/* 460 */ "# filler",
/* 461 */ "# filler",
/* 462 */ "# filler",
/* 463 */ "# filler",
/* 464 */ "# filler",
/* 465 */ "# filler",
/* 466 */ "# filler",
/* 467 */ "# filler",
/* 468 */ "# filler",
/* 469 */ "# filler",
/* 470 */ "# filler",
/* 471 */ "# filler",
/* 472 */ "# filler",
/* 473 */ "# filler",
/* 474 */ "# filler",
/* 475 */ "# filler",
/* 476 */ "# filler",
/* 477 */ "# filler",
/* 478 */ "# filler",
/* 479 */ "# filler",
/* 480 */ "# filler",
/* 481 */ "# filler",
/* 482 */ "# filler",
/* 483 */ "# filler",
/* 484 */ "# filler",
/* 485 */ "# filler",
/* 486 */ "# filler",
/* 487 */ "# filler",
/* 488 */ "# filler",
/* 489 */ "# filler",
/* 490 */ "# filler",
/* 491 */ "# filler",
/* 492 */ "# filler",
/* 493 */ "# filler",
/* 494 */ "# filler",
/* 495 */ "# filler",
/* 496 */ "# filler",
/* 497 */ "# filler",
/* 498 */ "# filler",
/* 499 */ "# filler",
/* 500 */ "# filler",
/* 501 */ "# filler",
/* 502 */ "# filler",
/* 503 */ "# filler",
/* 504 */ "# filler",
/* 505 */ "# filler",
/* 506 */ "# filler",
/* 507 */ "# filler",
/* 508 */ "# filler",
/* 509 */ "# filler",
/* 510 */ "# filler",
/* 511 */ "# filler",
};