NetBSD/sys/compat/ibcs2/ibcs2_syscalls.c

556 lines
15 KiB
C

/* $NetBSD: ibcs2_syscalls.c,v 1.51 2013/11/07 19:39:57 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.41 2013/11/07 19:37:18 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ibcs2_syscalls.c,v 1.51 2013/11/07 19:39:57 njoly Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
#endif
#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/sys/time.h>
#include <compat/ibcs2/ibcs2_types.h>
#include <compat/ibcs2/ibcs2_signal.h>
#include <compat/ibcs2/ibcs2_syscallargs.h>
#include <compat/ibcs2/ibcs2_statfs.h>
#endif /* _KERNEL_OPT */
const char *const ibcs2_syscallnames[] = {
/* 0 */ "syscall",
/* 1 */ "exit",
/* 2 */ "fork",
/* 3 */ "read",
/* 4 */ "write",
/* 5 */ "open",
/* 6 */ "close",
/* 7 */ "waitsys",
/* 8 */ "creat",
/* 9 */ "link",
/* 10 */ "unlink",
/* 11 */ "execv",
/* 12 */ "chdir",
/* 13 */ "time",
/* 14 */ "mknod",
/* 15 */ "chmod",
/* 16 */ "__posix_chown",
/* 17 */ "obreak",
/* 18 */ "stat",
/* 19 */ "lseek",
/* 20 */ "getpid_with_ppid",
/* 21 */ "mount",
/* 22 */ "umount",
/* 23 */ "setuid",
/* 24 */ "getuid_with_euid",
/* 25 */ "stime",
/* 26 */ "#26 (unimplemented ibcs2_ptrace)",
/* 27 */ "alarm",
/* 28 */ "fstat",
/* 29 */ "pause",
/* 30 */ "utime",
/* 31 */ "#31 (unimplemented was stty)",
/* 32 */ "gtty",
/* 33 */ "access",
/* 34 */ "nice",
/* 35 */ "statfs",
/* 36 */ "sync",
/* 37 */ "kill",
/* 38 */ "fstatfs",
/* 39 */ "pgrpsys",
/* 40 */ "#40 (unimplemented ibcs2_xenix)",
/* 41 */ "dup",
/* 42 */ "pipe",
/* 43 */ "times",
/* 44 */ "#44 (unimplemented profil)",
/* 45 */ "plock",
/* 46 */ "setgid",
/* 47 */ "getgid_with_egid",
/* 48 */ "sigsys",
#ifdef SYSVMSG
/* 49 */ "msgsys",
#else
/* 49 */ "#49 (unimplemented msgsys)",
#endif
/* 50 */ "sysmachine",
/* 51 */ "#51 (unimplemented ibcs2_acct)",
#ifdef SYSVSHM
/* 52 */ "shmsys",
#else
/* 52 */ "#52 (unimplemented shmsys)",
#endif
#ifdef SYSVSEM
/* 53 */ "semsys",
#else
/* 53 */ "#53 (unimplemented semsys)",
#endif
/* 54 */ "ioctl",
/* 55 */ "uadmin",
/* 56 */ "#56 (unimplemented)",
/* 57 */ "utssys",
/* 58 */ "fsync",
/* 59 */ "execve",
/* 60 */ "umask",
/* 61 */ "chroot",
/* 62 */ "fcntl",
/* 63 */ "ulimit",
/* 64 */ "#64 (unimplemented reserved for unix/pc)",
/* 65 */ "#65 (unimplemented reserved for unix/pc)",
/* 66 */ "#66 (unimplemented reserved for unix/pc)",
/* 67 */ "#67 (unimplemented reserved for unix/pc)",
/* 68 */ "#68 (unimplemented reserved for unix/pc)",
/* 69 */ "#69 (unimplemented reserved for unix/pc)",
/* 70 */ "#70 (obsolete rfs_advfs)",
/* 71 */ "#71 (obsolete rfs_unadvfs)",
/* 72 */ "#72 (obsolete rfs_rmount)",
/* 73 */ "#73 (obsolete rfs_rumount)",
/* 74 */ "#74 (obsolete rfs_rfstart)",
/* 75 */ "#75 (obsolete rfs_sigret)",
/* 76 */ "#76 (obsolete rfs_rdebug)",
/* 77 */ "#77 (obsolete rfs_rfstop)",
/* 78 */ "#78 (unimplemented rfs_rfsys)",
/* 79 */ "rmdir",
/* 80 */ "mkdir",
/* 81 */ "getdents",
/* 82 */ "#82 (unimplemented libattach)",
/* 83 */ "#83 (unimplemented libdetach)",
/* 84 */ "sysfs",
/* 85 */ "getmsg",
/* 86 */ "putmsg",
/* 87 */ "poll",
/* 88 */ "#88 (unimplemented unknown)",
/* 89 */ "#89 (unimplemented secure)",
/* 90 */ "symlink",
/* 91 */ "lstat",
/* 92 */ "readlink",
/* 93 */ "fchmod",
/* 94 */ "fchown",
/* 95 */ "#95 (unimplemented sigprocmask)",
/* 96 */ "sigreturn",
/* 97 */ "sigaltstack",
/* 98 */ "#98 (unimplemented sigaction)",
/* 99 */ "#99 (unimplemented sigpending)",
/* 100 */ "#100 (unimplemented getcontext/setcontext/sigsetjmp)",
/* 101 */ "#101 (unimplemented envsys)",
/* 102 */ "#102 (unimplemented evtrapret)",
/* 103 */ "statvfs",
/* 104 */ "fstatvfs",
/* 105 */ "#105 (unimplemented isc)",
/* 106 */ "#106 (unimplemented nfssys)",
/* 107 */ "#107 (unimplemented waitsys)",
/* 108 */ "#108 (unimplemented sigsendsys)",
/* 109 */ "#109 (unimplemented hrtsys)",
/* 110 */ "#110 (unimplemented acancel)",
/* 111 */ "#111 (unimplemented async)",
/* 112 */ "#112 (unimplemented priocntlsys)",
/* 113 */ "#113 (unimplemented pathconf)",
/* 114 */ "#114 (unimplemented mincore)",
/* 115 */ "mmap",
/* 116 */ "mprotect",
/* 117 */ "munmap",
/* 118 */ "#118 (unimplemented fpathconf)",
/* 119 */ "#119 (unimplemented vfork)",
/* 120 */ "fchdir",
/* 121 */ "readv",
/* 122 */ "writev",
/* 123 */ "#123 (unimplemented xstat)",
/* 124 */ "#124 (unimplemented lxstat)",
/* 125 */ "#125 (unimplemented fxstat)",
/* 126 */ "#126 (unimplemented xmknod)",
/* 127 */ "#127 (unimplemented clocal)",
/* 128 */ "#128 (unimplemented setrlimit)",
/* 129 */ "#129 (unimplemented getrlimit)",
/* 130 */ "#130 (unimplemented lchown)",
/* 131 */ "memcntl",
/* 132 */ "#132 (unimplemented getpmsg)",
/* 133 */ "#133 (unimplemented putpmsg)",
/* 134 */ "#134 (unimplemented rename)",
/* 135 */ "#135 (unimplemented uname)",
/* 136 */ "#136 (unimplemented setegid)",
/* 137 */ "#137 (unimplemented sysconfig)",
/* 138 */ "#138 (unimplemented adjtime)",
/* 139 */ "#139 (unimplemented systeminfo)",
/* 140 */ "#140 (unimplemented)",
/* 141 */ "#141 (unimplemented seteuid)",
/* 142 */ "#142 (unimplemented)",
/* 143 */ "#143 (unimplemented)",
/* 144 */ "#144 (unimplemented)",
/* 145 */ "#145 (unimplemented)",
/* 146 */ "#146 (unimplemented)",
/* 147 */ "#147 (unimplemented)",
/* 148 */ "#148 (unimplemented)",
/* 149 */ "#149 (unimplemented)",
/* 150 */ "#150 (unimplemented)",
/* 151 */ "#151 (unimplemented)",
/* 152 */ "#152 (unimplemented)",
/* 153 */ "#153 (unimplemented)",
/* 154 */ "#154 (unimplemented)",
/* 155 */ "#155 (unimplemented)",
/* 156 */ "#156 (unimplemented)",
/* 157 */ "#157 (unimplemented)",
/* 158 */ "#158 (unimplemented)",
/* 159 */ "#159 (unimplemented)",
/* 160 */ "#160 (unimplemented)",
/* 161 */ "#161 (unimplemented)",
/* 162 */ "#162 (unimplemented)",
/* 163 */ "#163 (unimplemented)",
/* 164 */ "#164 (unimplemented)",
/* 165 */ "#165 (unimplemented)",
/* 166 */ "#166 (unimplemented)",
/* 167 */ "#167 (unimplemented)",
/* 168 */ "#168 (unimplemented)",
/* 169 */ "#169 (unimplemented)",
/* 170 */ "#170 (unimplemented)",
/* 171 */ "gettimeofday",
/* 172 */ "settimeofday",
/* 173 */ "#173 (unimplemented)",
/* 174 */ "#174 (unimplemented)",
/* 175 */ "#175 (unimplemented)",
/* 176 */ "#176 (unimplemented)",
/* 177 */ "#177 (unimplemented)",
/* 178 */ "#178 (unimplemented)",
/* 179 */ "#179 (unimplemented)",
/* 180 */ "#180 (unimplemented)",
/* 181 */ "#181 (unimplemented)",
/* 182 */ "#182 (unimplemented)",
/* 183 */ "#183 (unimplemented)",
/* 184 */ "#184 (unimplemented)",
/* 185 */ "#185 (unimplemented)",
/* 186 */ "#186 (unimplemented)",
/* 187 */ "#187 (unimplemented)",
/* 188 */ "#188 (unimplemented)",
/* 189 */ "#189 (unimplemented)",
/* 190 */ "#190 (unimplemented)",
/* 191 */ "truncate",
/* 192 */ "ftruncate",
/* 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 */ "locking",
/* 202 */ "#202 (unimplemented xenix_creatsem)",
/* 203 */ "#203 (unimplemented xenix_opensem)",
/* 204 */ "#204 (unimplemented xenix_sigsem)",
/* 205 */ "#205 (unimplemented xenix_waitsem)",
/* 206 */ "#206 (unimplemented xenix_nbwaitsem)",
/* 207 */ "rdchk",
/* 208 */ "#208 (unimplemented)",
/* 209 */ "#209 (unimplemented)",
/* 210 */ "chsize",
/* 211 */ "ftime",
/* 212 */ "nap",
/* 213 */ "#213 (unimplemented xenix_sdget)",
/* 214 */ "#214 (unimplemented xenix_sdfree)",
/* 215 */ "#215 (unimplemented xenix_sdenter)",
/* 216 */ "#216 (unimplemented xenix_sdleave)",
/* 217 */ "#217 (unimplemented xenix_sdgetv)",
/* 218 */ "#218 (unimplemented xenix_sdwaitv)",
/* 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 xenix_proctl)",
/* 233 */ "#233 (unimplemented xenix_execseg)",
/* 234 */ "#234 (unimplemented xenix_unexecseg)",
/* 235 */ "#235 (unimplemented)",
/* 236 */ "select",
/* 237 */ "eaccess",
/* 238 */ "#238 (unimplemented xenix_paccess)",
/* 239 */ "sigaction",
/* 240 */ "sigprocmask",
/* 241 */ "sigpending",
/* 242 */ "sigsuspend",
/* 243 */ "getgroups",
/* 244 */ "setgroups",
/* 245 */ "sysconf",
/* 246 */ "pathconf",
/* 247 */ "fpathconf",
/* 248 */ "__posix_rename",
/* 249 */ "#249 (unimplemented)",
/* 250 */ "scoinfo",
/* 251 */ "#251 (unimplemented)",
/* 252 */ "#252 (unimplemented)",
/* 253 */ "#253 (unimplemented)",
/* 254 */ "#254 (unimplemented)",
/* 255 */ "#255 (unimplemented getitimer)",
/* 256 */ "#256 (unimplemented setitimer)",
/* 257 */ "#257 (unimplemented)",
/* 258 */ "#258 (unimplemented setreuid)",
/* 259 */ "#259 (unimplemented setregid)",
/* 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",
};