1 /* $NetBSD: init_sysent.c,v 1.336 2020/08/14 00:55:02 riastradh Exp $ */ 2 3 /* 4 * System call switch table. 5 * 6 * DO NOT EDIT-- this file is automatically generated. 7 * created from NetBSD: syscalls.master,v 1.306 2020/08/14 00:53:16 riastradh Exp 8 */ 9 10 #include <sys/cdefs.h> 11 __KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.336 2020/08/14 00:55:02 riastradh Exp $"); 12 13 #ifdef _KERNEL_OPT 14 #include "opt_modular.h" 15 #include "opt_ntp.h" 16 #include "opt_sysv.h" 17 #endif 18 #include <sys/param.h> 19 #include <sys/systm.h> 20 #include <sys/signal.h> 21 #include <sys/socket.h> 22 #include <sys/mount.h> 23 #include <sys/sched.h> 24 #include <sys/idtype.h> 25 #include <sys/syscallargs.h> 26 #include <sys/acl.h> 27 28 #ifdef COMPAT_43 29 #define compat_43(func) __CONCAT(compat_43_,func) 30 #else 31 #define compat_43(func) sys_nosys 32 #endif 33 34 #ifdef COMPAT_09 35 #define compat_09(func) __CONCAT(compat_09_,func) 36 #else 37 #define compat_09(func) sys_nosys 38 #endif 39 40 #ifdef COMPAT_10 41 #define compat_10(func) __CONCAT(compat_10_,func) 42 #else 43 #define compat_10(func) sys_nosys 44 #endif 45 46 #ifdef COMPAT_11 47 #define compat_11(func) __CONCAT(compat_11_,func) 48 #else 49 #define compat_11(func) sys_nosys 50 #endif 51 52 #ifdef COMPAT_12 53 #define compat_12(func) __CONCAT(compat_12_,func) 54 #else 55 #define compat_12(func) sys_nosys 56 #endif 57 58 #ifdef COMPAT_13 59 #define compat_13(func) __CONCAT(compat_13_,func) 60 #else 61 #define compat_13(func) sys_nosys 62 #endif 63 64 #ifdef COMPAT_14 65 #define compat_14(func) __CONCAT(compat_14_,func) 66 #else 67 #define compat_14(func) sys_nosys 68 #endif 69 70 #ifdef COMPAT_15 71 #define compat_15(func) __CONCAT(compat_15_,func) 72 #else 73 #define compat_15(func) sys_nosys 74 #endif 75 76 #ifdef COMPAT_16 77 #define compat_16(func) __CONCAT(compat_16_,func) 78 #else 79 #define compat_16(func) sys_nosys 80 #endif 81 82 #ifdef COMPAT_20 83 #define compat_20(func) __CONCAT(compat_20_,func) 84 #else 85 #define compat_20(func) sys_nosys 86 #endif 87 88 #ifdef COMPAT_30 89 #define compat_30(func) __CONCAT(compat_30_,func) 90 #else 91 #define compat_30(func) sys_nosys 92 #endif 93 94 #ifdef COMPAT_40 95 #define compat_40(func) __CONCAT(compat_40_,func) 96 #else 97 #define compat_40(func) sys_nosys 98 #endif 99 100 #ifdef COMPAT_50 101 #define compat_50(func) __CONCAT(compat_50_,func) 102 #else 103 #define compat_50(func) sys_nosys 104 #endif 105 106 #ifdef COMPAT_60 107 #define compat_60(func) __CONCAT(compat_60_,func) 108 #else 109 #define compat_60(func) sys_nosys 110 #endif 111 112 #ifdef COMPAT_70 113 #define compat_70(func) __CONCAT(compat_70_,func) 114 #else 115 #define compat_70(func) sys_nosys 116 #endif 117 118 #ifdef COMPAT_80 119 #define compat_80(func) __CONCAT(compat_80_,func) 120 #else 121 #define compat_80(func) sys_nosys 122 #endif 123 124 #ifdef COMPAT_90 125 #define compat_90(func) __CONCAT(compat_90_,func) 126 #else 127 #define compat_90(func) sys_nosys 128 #endif 129 130 #define s(type) sizeof(type) 131 #define n(type) (sizeof(type)/sizeof (register_t)) 132 #define ns(type) .sy_narg = n(type), .sy_argsize = s(type) 133 134 struct sysent sysent[] = { 135 { 136 ns(struct sys_syscall_args), 137 .sy_flags = SYCALL_INDIRECT, 138 .sy_call = (sy_call_t *)sys_syscall 139 }, /* 0 = syscall */ 140 { 141 ns(struct sys_exit_args), 142 .sy_call = (sy_call_t *)sys_exit 143 }, /* 1 = exit */ 144 { 145 .sy_call = (sy_call_t *)sys_fork 146 }, /* 2 = fork */ 147 { 148 ns(struct sys_read_args), 149 .sy_flags = SYCALL_ARG_PTR, 150 .sy_call = (sy_call_t *)sys_read 151 }, /* 3 = read */ 152 { 153 ns(struct sys_write_args), 154 .sy_flags = SYCALL_ARG_PTR, 155 .sy_call = (sy_call_t *)sys_write 156 }, /* 4 = write */ 157 { 158 ns(struct sys_open_args), 159 .sy_flags = SYCALL_ARG_PTR, 160 .sy_call = (sy_call_t *)sys_open 161 }, /* 5 = open */ 162 { 163 ns(struct sys_close_args), 164 .sy_call = (sy_call_t *)sys_close 165 }, /* 6 = close */ 166 { 167 ns(struct compat_50_sys_wait4_args), 168 .sy_flags = SYCALL_ARG_PTR, 169 .sy_call = (sy_call_t *)sys_nomodule 170 }, /* 7 = compat_50_wait4 */ 171 { 172 ns(struct compat_43_sys_creat_args), 173 .sy_flags = SYCALL_ARG_PTR, 174 .sy_call = (sy_call_t *)sys_nomodule 175 }, /* 8 = compat_43_ocreat */ 176 { 177 ns(struct sys_link_args), 178 .sy_flags = SYCALL_ARG_PTR, 179 .sy_call = (sy_call_t *)sys_link 180 }, /* 9 = link */ 181 { 182 ns(struct sys_unlink_args), 183 .sy_flags = SYCALL_ARG_PTR, 184 .sy_call = (sy_call_t *)sys_unlink 185 }, /* 10 = unlink */ 186 { 187 .sy_call = sys_nosys, 188 }, /* 11 = filler */ 189 { 190 ns(struct sys_chdir_args), 191 .sy_flags = SYCALL_ARG_PTR, 192 .sy_call = (sy_call_t *)sys_chdir 193 }, /* 12 = chdir */ 194 { 195 ns(struct sys_fchdir_args), 196 .sy_call = (sy_call_t *)sys_fchdir 197 }, /* 13 = fchdir */ 198 { 199 ns(struct compat_50_sys_mknod_args), 200 .sy_flags = SYCALL_ARG_PTR, 201 .sy_call = (sy_call_t *)sys_nomodule 202 }, /* 14 = compat_50_mknod */ 203 { 204 ns(struct sys_chmod_args), 205 .sy_flags = SYCALL_ARG_PTR, 206 .sy_call = (sy_call_t *)sys_chmod 207 }, /* 15 = chmod */ 208 { 209 ns(struct sys_chown_args), 210 .sy_flags = SYCALL_ARG_PTR, 211 .sy_call = (sy_call_t *)sys_chown 212 }, /* 16 = chown */ 213 { 214 ns(struct sys_obreak_args), 215 .sy_flags = SYCALL_ARG_PTR, 216 .sy_call = (sy_call_t *)sys_obreak 217 }, /* 17 = break */ 218 { 219 ns(struct compat_20_sys_getfsstat_args), 220 .sy_flags = SYCALL_ARG_PTR, 221 .sy_call = (sy_call_t *)sys_nomodule 222 }, /* 18 = compat_20_getfsstat */ 223 { 224 ns(struct compat_43_sys_lseek_args), 225 .sy_call = (sy_call_t *)sys_nomodule 226 }, /* 19 = compat_43_olseek */ 227 { 228 .sy_call = (sy_call_t *)sys_getpid_with_ppid 229 }, /* 20 = getpid */ 230 { 231 ns(struct compat_40_sys_mount_args), 232 .sy_flags = SYCALL_ARG_PTR, 233 .sy_call = (sy_call_t *)sys_nomodule 234 }, /* 21 = compat_40_mount */ 235 { 236 ns(struct sys_unmount_args), 237 .sy_flags = SYCALL_ARG_PTR, 238 .sy_call = (sy_call_t *)sys_unmount 239 }, /* 22 = unmount */ 240 { 241 ns(struct sys_setuid_args), 242 .sy_call = (sy_call_t *)sys_setuid 243 }, /* 23 = setuid */ 244 { 245 .sy_call = (sy_call_t *)sys_getuid_with_euid 246 }, /* 24 = getuid */ 247 { 248 .sy_call = (sy_call_t *)sys_geteuid 249 }, /* 25 = geteuid */ 250 { 251 ns(struct sys_ptrace_args), 252 .sy_flags = SYCALL_ARG_PTR, 253 .sy_call = (sy_call_t *)sys_nomodule 254 }, /* 26 = ptrace */ 255 { 256 ns(struct sys_recvmsg_args), 257 .sy_flags = SYCALL_ARG_PTR, 258 .sy_call = (sy_call_t *)sys_recvmsg 259 }, /* 27 = recvmsg */ 260 { 261 ns(struct sys_sendmsg_args), 262 .sy_flags = SYCALL_ARG_PTR, 263 .sy_call = (sy_call_t *)sys_sendmsg 264 }, /* 28 = sendmsg */ 265 { 266 ns(struct sys_recvfrom_args), 267 .sy_flags = SYCALL_ARG_PTR, 268 .sy_call = (sy_call_t *)sys_recvfrom 269 }, /* 29 = recvfrom */ 270 { 271 ns(struct sys_accept_args), 272 .sy_flags = SYCALL_ARG_PTR, 273 .sy_call = (sy_call_t *)sys_accept 274 }, /* 30 = accept */ 275 { 276 ns(struct sys_getpeername_args), 277 .sy_flags = SYCALL_ARG_PTR, 278 .sy_call = (sy_call_t *)sys_getpeername 279 }, /* 31 = getpeername */ 280 { 281 ns(struct sys_getsockname_args), 282 .sy_flags = SYCALL_ARG_PTR, 283 .sy_call = (sy_call_t *)sys_getsockname 284 }, /* 32 = getsockname */ 285 { 286 ns(struct sys_access_args), 287 .sy_flags = SYCALL_ARG_PTR, 288 .sy_call = (sy_call_t *)sys_access 289 }, /* 33 = access */ 290 { 291 ns(struct sys_chflags_args), 292 .sy_flags = SYCALL_ARG_PTR, 293 .sy_call = (sy_call_t *)sys_chflags 294 }, /* 34 = chflags */ 295 { 296 ns(struct sys_fchflags_args), 297 .sy_call = (sy_call_t *)sys_fchflags 298 }, /* 35 = fchflags */ 299 { 300 .sy_call = (sy_call_t *)sys_sync 301 }, /* 36 = sync */ 302 { 303 ns(struct sys_kill_args), 304 .sy_call = (sy_call_t *)sys_kill 305 }, /* 37 = kill */ 306 { 307 ns(struct compat_43_sys_stat_args), 308 .sy_flags = SYCALL_ARG_PTR, 309 .sy_call = (sy_call_t *)sys_nomodule 310 }, /* 38 = compat_43_stat43 */ 311 { 312 .sy_call = (sy_call_t *)sys_getppid 313 }, /* 39 = getppid */ 314 { 315 ns(struct compat_43_sys_lstat_args), 316 .sy_flags = SYCALL_ARG_PTR, 317 .sy_call = (sy_call_t *)sys_nomodule 318 }, /* 40 = compat_43_lstat43 */ 319 { 320 ns(struct sys_dup_args), 321 .sy_call = (sy_call_t *)sys_dup 322 }, /* 41 = dup */ 323 { 324 .sy_call = (sy_call_t *)sys_pipe 325 }, /* 42 = pipe */ 326 { 327 .sy_call = (sy_call_t *)sys_getegid 328 }, /* 43 = getegid */ 329 { 330 ns(struct sys_profil_args), 331 .sy_flags = SYCALL_ARG_PTR, 332 .sy_call = (sy_call_t *)sys_profil 333 }, /* 44 = profil */ 334 { 335 ns(struct sys_ktrace_args), 336 .sy_flags = SYCALL_ARG_PTR, 337 .sy_call = (sy_call_t *)sys_ktrace 338 }, /* 45 = ktrace */ 339 { 340 ns(struct compat_13_sys_sigaction_args), 341 .sy_flags = SYCALL_ARG_PTR, 342 .sy_call = (sy_call_t *)sys_nomodule 343 }, /* 46 = compat_13_sigaction13 */ 344 { 345 .sy_call = (sy_call_t *)sys_getgid_with_egid 346 }, /* 47 = getgid */ 347 { 348 ns(struct compat_13_sys_sigprocmask_args), 349 .sy_call = (sy_call_t *)sys_nomodule 350 }, /* 48 = compat_13_sigprocmask13 */ 351 { 352 ns(struct sys___getlogin_args), 353 .sy_flags = SYCALL_ARG_PTR, 354 .sy_call = (sy_call_t *)sys___getlogin 355 }, /* 49 = __getlogin */ 356 { 357 ns(struct sys___setlogin_args), 358 .sy_flags = SYCALL_ARG_PTR, 359 .sy_call = (sy_call_t *)sys___setlogin 360 }, /* 50 = __setlogin */ 361 { 362 ns(struct sys_acct_args), 363 .sy_flags = SYCALL_ARG_PTR, 364 .sy_call = (sy_call_t *)sys_acct 365 }, /* 51 = acct */ 366 { 367 .sy_call = (sy_call_t *)sys_nomodule 368 }, /* 52 = compat_13_sigpending13 */ 369 { 370 ns(struct compat_13_sys_sigaltstack_args), 371 .sy_flags = SYCALL_ARG_PTR, 372 .sy_call = (sy_call_t *)sys_nomodule 373 }, /* 53 = compat_13_sigaltstack13 */ 374 { 375 ns(struct sys_ioctl_args), 376 .sy_flags = SYCALL_ARG_PTR, 377 .sy_call = (sy_call_t *)sys_ioctl 378 }, /* 54 = ioctl */ 379 { 380 ns(struct compat_12_sys_reboot_args), 381 .sy_call = (sy_call_t *)sys_nomodule 382 }, /* 55 = compat_12_oreboot */ 383 { 384 ns(struct sys_revoke_args), 385 .sy_flags = SYCALL_ARG_PTR, 386 .sy_call = (sy_call_t *)sys_revoke 387 }, /* 56 = revoke */ 388 { 389 ns(struct sys_symlink_args), 390 .sy_flags = SYCALL_ARG_PTR, 391 .sy_call = (sy_call_t *)sys_symlink 392 }, /* 57 = symlink */ 393 { 394 ns(struct sys_readlink_args), 395 .sy_flags = SYCALL_ARG_PTR, 396 .sy_call = (sy_call_t *)sys_readlink 397 }, /* 58 = readlink */ 398 { 399 ns(struct sys_execve_args), 400 .sy_flags = SYCALL_ARG_PTR, 401 .sy_call = (sy_call_t *)sys_execve 402 }, /* 59 = execve */ 403 { 404 ns(struct sys_umask_args), 405 .sy_call = (sy_call_t *)sys_umask 406 }, /* 60 = umask */ 407 { 408 ns(struct sys_chroot_args), 409 .sy_flags = SYCALL_ARG_PTR, 410 .sy_call = (sy_call_t *)sys_chroot 411 }, /* 61 = chroot */ 412 { 413 ns(struct compat_43_sys_fstat_args), 414 .sy_flags = SYCALL_ARG_PTR, 415 .sy_call = (sy_call_t *)sys_nomodule 416 }, /* 62 = compat_43_fstat43 */ 417 { 418 ns(struct compat_43_sys_getkerninfo_args), 419 .sy_flags = SYCALL_ARG_PTR, 420 .sy_call = (sy_call_t *)sys_nomodule 421 }, /* 63 = compat_43_ogetkerninfo */ 422 { 423 .sy_call = (sy_call_t *)sys_nomodule 424 }, /* 64 = compat_43_ogetpagesize */ 425 { 426 ns(struct compat_12_sys_msync_args), 427 .sy_flags = SYCALL_ARG_PTR, 428 .sy_call = (sy_call_t *)sys_nomodule 429 }, /* 65 = compat_12_msync */ 430 { 431 .sy_call = (sy_call_t *)sys_vfork 432 }, /* 66 = vfork */ 433 { 434 .sy_call = sys_nosys, 435 }, /* 67 = filler */ 436 { 437 .sy_call = sys_nosys, 438 }, /* 68 = filler */ 439 { 440 .sy_call = sys_nosys, 441 }, /* 69 = filler */ 442 { 443 .sy_call = sys_nosys, 444 }, /* 70 = filler */ 445 { 446 ns(struct compat_43_sys_mmap_args), 447 .sy_flags = SYCALL_ARG_PTR, 448 .sy_call = (sy_call_t *)sys_nomodule 449 }, /* 71 = compat_43_ommap */ 450 { 451 ns(struct sys_ovadvise_args), 452 .sy_call = (sy_call_t *)sys_ovadvise 453 }, /* 72 = vadvise */ 454 { 455 ns(struct sys_munmap_args), 456 .sy_flags = SYCALL_ARG_PTR, 457 .sy_call = (sy_call_t *)sys_munmap 458 }, /* 73 = munmap */ 459 { 460 ns(struct sys_mprotect_args), 461 .sy_flags = SYCALL_ARG_PTR, 462 .sy_call = (sy_call_t *)sys_mprotect 463 }, /* 74 = mprotect */ 464 { 465 ns(struct sys_madvise_args), 466 .sy_flags = SYCALL_ARG_PTR, 467 .sy_call = (sy_call_t *)sys_madvise 468 }, /* 75 = madvise */ 469 { 470 .sy_call = sys_nosys, 471 }, /* 76 = filler */ 472 { 473 .sy_call = sys_nosys, 474 }, /* 77 = filler */ 475 { 476 ns(struct sys_mincore_args), 477 .sy_flags = SYCALL_ARG_PTR, 478 .sy_call = (sy_call_t *)sys_mincore 479 }, /* 78 = mincore */ 480 { 481 ns(struct sys_getgroups_args), 482 .sy_flags = SYCALL_ARG_PTR, 483 .sy_call = (sy_call_t *)sys_getgroups 484 }, /* 79 = getgroups */ 485 { 486 ns(struct sys_setgroups_args), 487 .sy_flags = SYCALL_ARG_PTR, 488 .sy_call = (sy_call_t *)sys_setgroups 489 }, /* 80 = setgroups */ 490 { 491 .sy_call = (sy_call_t *)sys_getpgrp 492 }, /* 81 = getpgrp */ 493 { 494 ns(struct sys_setpgid_args), 495 .sy_call = (sy_call_t *)sys_setpgid 496 }, /* 82 = setpgid */ 497 { 498 ns(struct compat_50_sys_setitimer_args), 499 .sy_flags = SYCALL_ARG_PTR, 500 .sy_call = (sy_call_t *)sys_nomodule 501 }, /* 83 = compat_50_setitimer */ 502 { 503 .sy_call = (sy_call_t *)sys_nomodule 504 }, /* 84 = compat_43_owait */ 505 { 506 ns(struct compat_12_sys_swapon_args), 507 .sy_flags = SYCALL_ARG_PTR, 508 .sy_call = (sy_call_t *)sys_nomodule 509 }, /* 85 = compat_12_oswapon */ 510 { 511 ns(struct compat_50_sys_getitimer_args), 512 .sy_flags = SYCALL_ARG_PTR, 513 .sy_call = (sy_call_t *)sys_nomodule 514 }, /* 86 = compat_50_getitimer */ 515 { 516 ns(struct compat_43_sys_gethostname_args), 517 .sy_flags = SYCALL_ARG_PTR, 518 .sy_call = (sy_call_t *)sys_nomodule 519 }, /* 87 = compat_43_ogethostname */ 520 { 521 ns(struct compat_43_sys_sethostname_args), 522 .sy_flags = SYCALL_ARG_PTR, 523 .sy_call = (sy_call_t *)sys_nomodule 524 }, /* 88 = compat_43_osethostname */ 525 { 526 .sy_call = (sy_call_t *)sys_nomodule 527 }, /* 89 = compat_43_ogetdtablesize */ 528 { 529 ns(struct sys_dup2_args), 530 .sy_call = (sy_call_t *)sys_dup2 531 }, /* 90 = dup2 */ 532 { 533 ns(struct sys_getrandom_args), 534 .sy_flags = SYCALL_ARG_PTR, 535 .sy_call = (sy_call_t *)sys_getrandom 536 }, /* 91 = getrandom */ 537 { 538 ns(struct sys_fcntl_args), 539 .sy_flags = SYCALL_ARG_PTR, 540 .sy_call = (sy_call_t *)sys_fcntl 541 }, /* 92 = fcntl */ 542 { 543 ns(struct compat_50_sys_select_args), 544 .sy_flags = SYCALL_ARG_PTR, 545 .sy_call = (sy_call_t *)sys_nomodule 546 }, /* 93 = compat_50_select */ 547 { 548 .sy_call = sys_nosys, 549 }, /* 94 = filler */ 550 { 551 ns(struct sys_fsync_args), 552 .sy_call = (sy_call_t *)sys_fsync 553 }, /* 95 = fsync */ 554 { 555 ns(struct sys_setpriority_args), 556 .sy_call = (sy_call_t *)sys_setpriority 557 }, /* 96 = setpriority */ 558 { 559 ns(struct compat_30_sys_socket_args), 560 .sy_call = (sy_call_t *)sys_nomodule 561 }, /* 97 = compat_30_socket */ 562 { 563 ns(struct sys_connect_args), 564 .sy_flags = SYCALL_ARG_PTR, 565 .sy_call = (sy_call_t *)sys_connect 566 }, /* 98 = connect */ 567 { 568 ns(struct compat_43_sys_accept_args), 569 .sy_flags = SYCALL_ARG_PTR, 570 .sy_call = (sy_call_t *)sys_nomodule 571 }, /* 99 = compat_43_oaccept */ 572 { 573 ns(struct sys_getpriority_args), 574 .sy_call = (sy_call_t *)sys_getpriority 575 }, /* 100 = getpriority */ 576 { 577 ns(struct compat_43_sys_send_args), 578 .sy_flags = SYCALL_ARG_PTR, 579 .sy_call = (sy_call_t *)sys_nomodule 580 }, /* 101 = compat_43_osend */ 581 { 582 ns(struct compat_43_sys_recv_args), 583 .sy_flags = SYCALL_ARG_PTR, 584 .sy_call = (sy_call_t *)sys_nomodule 585 }, /* 102 = compat_43_orecv */ 586 { 587 ns(struct compat_13_sys_sigreturn_args), 588 .sy_flags = SYCALL_ARG_PTR, 589 .sy_call = (sy_call_t *)sys_nomodule 590 }, /* 103 = compat_13_sigreturn13 */ 591 { 592 ns(struct sys_bind_args), 593 .sy_flags = SYCALL_ARG_PTR, 594 .sy_call = (sy_call_t *)sys_bind 595 }, /* 104 = bind */ 596 { 597 ns(struct sys_setsockopt_args), 598 .sy_flags = SYCALL_ARG_PTR, 599 .sy_call = (sy_call_t *)sys_setsockopt 600 }, /* 105 = setsockopt */ 601 { 602 ns(struct sys_listen_args), 603 .sy_call = (sy_call_t *)sys_listen 604 }, /* 106 = listen */ 605 { 606 .sy_call = sys_nosys, 607 }, /* 107 = filler */ 608 { 609 ns(struct compat_43_sys_sigvec_args), 610 .sy_flags = SYCALL_ARG_PTR, 611 .sy_call = (sy_call_t *)sys_nomodule 612 }, /* 108 = compat_43_osigvec */ 613 { 614 ns(struct compat_43_sys_sigblock_args), 615 .sy_call = (sy_call_t *)sys_nomodule 616 }, /* 109 = compat_43_osigblock */ 617 { 618 ns(struct compat_43_sys_sigsetmask_args), 619 .sy_call = (sy_call_t *)sys_nomodule 620 }, /* 110 = compat_43_osigsetmask */ 621 { 622 ns(struct compat_13_sys_sigsuspend_args), 623 .sy_call = (sy_call_t *)sys_nomodule 624 }, /* 111 = compat_13_sigsuspend13 */ 625 { 626 ns(struct compat_43_sys_sigstack_args), 627 .sy_flags = SYCALL_ARG_PTR, 628 .sy_call = (sy_call_t *)sys_nomodule 629 }, /* 112 = compat_43_osigstack */ 630 { 631 ns(struct compat_43_sys_recvmsg_args), 632 .sy_flags = SYCALL_ARG_PTR, 633 .sy_call = (sy_call_t *)sys_nomodule 634 }, /* 113 = compat_43_orecvmsg */ 635 { 636 ns(struct compat_43_sys_sendmsg_args), 637 .sy_flags = SYCALL_ARG_PTR, 638 .sy_call = (sy_call_t *)sys_nomodule 639 }, /* 114 = compat_43_osendmsg */ 640 { 641 .sy_call = sys_nosys, 642 }, /* 115 = filler */ 643 { 644 ns(struct compat_50_sys_gettimeofday_args), 645 .sy_flags = SYCALL_ARG_PTR, 646 .sy_call = (sy_call_t *)sys_nomodule 647 }, /* 116 = compat_50_gettimeofday */ 648 { 649 ns(struct compat_50_sys_getrusage_args), 650 .sy_flags = SYCALL_ARG_PTR, 651 .sy_call = (sy_call_t *)sys_nomodule 652 }, /* 117 = compat_50_getrusage */ 653 { 654 ns(struct sys_getsockopt_args), 655 .sy_flags = SYCALL_ARG_PTR, 656 .sy_call = (sy_call_t *)sys_getsockopt 657 }, /* 118 = getsockopt */ 658 { 659 .sy_call = sys_nosys, 660 }, /* 119 = filler */ 661 { 662 ns(struct sys_readv_args), 663 .sy_flags = SYCALL_ARG_PTR, 664 .sy_call = (sy_call_t *)sys_readv 665 }, /* 120 = readv */ 666 { 667 ns(struct sys_writev_args), 668 .sy_flags = SYCALL_ARG_PTR, 669 .sy_call = (sy_call_t *)sys_writev 670 }, /* 121 = writev */ 671 { 672 ns(struct compat_50_sys_settimeofday_args), 673 .sy_flags = SYCALL_ARG_PTR, 674 .sy_call = (sy_call_t *)sys_nomodule 675 }, /* 122 = compat_50_settimeofday */ 676 { 677 ns(struct sys_fchown_args), 678 .sy_call = (sy_call_t *)sys_fchown 679 }, /* 123 = fchown */ 680 { 681 ns(struct sys_fchmod_args), 682 .sy_call = (sy_call_t *)sys_fchmod 683 }, /* 124 = fchmod */ 684 { 685 ns(struct compat_43_sys_recvfrom_args), 686 .sy_flags = SYCALL_ARG_PTR, 687 .sy_call = (sy_call_t *)sys_nomodule 688 }, /* 125 = compat_43_orecvfrom */ 689 { 690 ns(struct sys_setreuid_args), 691 .sy_call = (sy_call_t *)sys_setreuid 692 }, /* 126 = setreuid */ 693 { 694 ns(struct sys_setregid_args), 695 .sy_call = (sy_call_t *)sys_setregid 696 }, /* 127 = setregid */ 697 { 698 ns(struct sys_rename_args), 699 .sy_flags = SYCALL_ARG_PTR, 700 .sy_call = (sy_call_t *)sys_rename 701 }, /* 128 = rename */ 702 { 703 ns(struct compat_43_sys_truncate_args), 704 .sy_flags = SYCALL_ARG_PTR, 705 .sy_call = (sy_call_t *)sys_nomodule 706 }, /* 129 = compat_43_otruncate */ 707 { 708 ns(struct compat_43_sys_ftruncate_args), 709 .sy_call = (sy_call_t *)sys_nomodule 710 }, /* 130 = compat_43_oftruncate */ 711 { 712 ns(struct sys_flock_args), 713 .sy_call = (sy_call_t *)sys_flock 714 }, /* 131 = flock */ 715 { 716 ns(struct sys_mkfifo_args), 717 .sy_flags = SYCALL_ARG_PTR, 718 .sy_call = (sy_call_t *)sys_mkfifo 719 }, /* 132 = mkfifo */ 720 { 721 ns(struct sys_sendto_args), 722 .sy_flags = SYCALL_ARG_PTR, 723 .sy_call = (sy_call_t *)sys_sendto 724 }, /* 133 = sendto */ 725 { 726 ns(struct sys_shutdown_args), 727 .sy_call = (sy_call_t *)sys_shutdown 728 }, /* 134 = shutdown */ 729 { 730 ns(struct sys_socketpair_args), 731 .sy_flags = SYCALL_ARG_PTR, 732 .sy_call = (sy_call_t *)sys_socketpair 733 }, /* 135 = socketpair */ 734 { 735 ns(struct sys_mkdir_args), 736 .sy_flags = SYCALL_ARG_PTR, 737 .sy_call = (sy_call_t *)sys_mkdir 738 }, /* 136 = mkdir */ 739 { 740 ns(struct sys_rmdir_args), 741 .sy_flags = SYCALL_ARG_PTR, 742 .sy_call = (sy_call_t *)sys_rmdir 743 }, /* 137 = rmdir */ 744 { 745 ns(struct compat_50_sys_utimes_args), 746 .sy_flags = SYCALL_ARG_PTR, 747 .sy_call = (sy_call_t *)sys_nomodule 748 }, /* 138 = compat_50_utimes */ 749 { 750 .sy_call = sys_nosys, 751 }, /* 139 = filler */ 752 { 753 ns(struct compat_50_sys_adjtime_args), 754 .sy_flags = SYCALL_ARG_PTR, 755 .sy_call = (sy_call_t *)sys_nomodule 756 }, /* 140 = compat_50_adjtime */ 757 { 758 ns(struct compat_43_sys_getpeername_args), 759 .sy_flags = SYCALL_ARG_PTR, 760 .sy_call = (sy_call_t *)sys_nomodule 761 }, /* 141 = compat_43_ogetpeername */ 762 { 763 .sy_call = (sy_call_t *)sys_nomodule 764 }, /* 142 = compat_43_ogethostid */ 765 { 766 ns(struct compat_43_sys_sethostid_args), 767 .sy_call = (sy_call_t *)sys_nomodule 768 }, /* 143 = compat_43_osethostid */ 769 { 770 ns(struct compat_43_sys_getrlimit_args), 771 .sy_flags = SYCALL_ARG_PTR, 772 .sy_call = (sy_call_t *)sys_nomodule 773 }, /* 144 = compat_43_ogetrlimit */ 774 { 775 ns(struct compat_43_sys_setrlimit_args), 776 .sy_flags = SYCALL_ARG_PTR, 777 .sy_call = (sy_call_t *)sys_nomodule 778 }, /* 145 = compat_43_osetrlimit */ 779 { 780 ns(struct compat_43_sys_killpg_args), 781 .sy_call = (sy_call_t *)sys_nomodule 782 }, /* 146 = compat_43_okillpg */ 783 { 784 .sy_call = (sy_call_t *)sys_setsid 785 }, /* 147 = setsid */ 786 { 787 ns(struct compat_50_sys_quotactl_args), 788 .sy_flags = SYCALL_ARG_PTR, 789 .sy_call = (sy_call_t *)sys_nomodule 790 }, /* 148 = compat_50_quotactl */ 791 { 792 .sy_call = (sy_call_t *)sys_nomodule 793 }, /* 149 = compat_43_oquota */ 794 { 795 ns(struct compat_43_sys_getsockname_args), 796 .sy_flags = SYCALL_ARG_PTR, 797 .sy_call = (sy_call_t *)sys_nomodule 798 }, /* 150 = compat_43_ogetsockname */ 799 { 800 .sy_call = sys_nosys, 801 }, /* 151 = filler */ 802 { 803 .sy_call = sys_nosys, 804 }, /* 152 = filler */ 805 { 806 .sy_call = sys_nosys, 807 }, /* 153 = filler */ 808 { 809 .sy_call = sys_nosys, 810 }, /* 154 = filler */ 811 { 812 ns(struct sys_nfssvc_args), 813 .sy_flags = SYCALL_ARG_PTR, 814 .sy_call = (sy_call_t *)sys_nomodule 815 }, /* 155 = nfssvc */ 816 { 817 ns(struct compat_43_sys_getdirentries_args), 818 .sy_flags = SYCALL_ARG_PTR, 819 .sy_call = (sy_call_t *)sys_nomodule 820 }, /* 156 = compat_43_ogetdirentries */ 821 { 822 ns(struct compat_20_sys_statfs_args), 823 .sy_flags = SYCALL_ARG_PTR, 824 .sy_call = (sy_call_t *)sys_nomodule 825 }, /* 157 = compat_20_statfs */ 826 { 827 ns(struct compat_20_sys_fstatfs_args), 828 .sy_flags = SYCALL_ARG_PTR, 829 .sy_call = (sy_call_t *)sys_nomodule 830 }, /* 158 = compat_20_fstatfs */ 831 { 832 .sy_call = sys_nosys, 833 }, /* 159 = filler */ 834 { 835 .sy_call = sys_nosys, 836 }, /* 160 = filler */ 837 { 838 ns(struct compat_30_sys_getfh_args), 839 .sy_flags = SYCALL_ARG_PTR, 840 .sy_call = (sy_call_t *)sys_nomodule 841 }, /* 161 = compat_30_getfh */ 842 { 843 ns(struct compat_09_sys_getdomainname_args), 844 .sy_flags = SYCALL_ARG_PTR, 845 .sy_call = (sy_call_t *)sys_nomodule 846 }, /* 162 = compat_09_ogetdomainname */ 847 { 848 ns(struct compat_09_sys_setdomainname_args), 849 .sy_flags = SYCALL_ARG_PTR, 850 .sy_call = (sy_call_t *)sys_nomodule 851 }, /* 163 = compat_09_osetdomainname */ 852 { 853 ns(struct compat_09_sys_uname_args), 854 .sy_flags = SYCALL_ARG_PTR, 855 .sy_call = (sy_call_t *)sys_nomodule 856 }, /* 164 = compat_09_ouname */ 857 { 858 ns(struct sys_sysarch_args), 859 .sy_flags = SYCALL_ARG_PTR, 860 .sy_call = (sy_call_t *)sys_sysarch 861 }, /* 165 = sysarch */ 862 { 863 ns(struct sys___futex_args), 864 .sy_flags = SYCALL_ARG_PTR, 865 .sy_call = (sy_call_t *)sys___futex 866 }, /* 166 = __futex */ 867 { 868 ns(struct sys___futex_set_robust_list_args), 869 .sy_flags = SYCALL_ARG_PTR, 870 .sy_call = (sy_call_t *)sys___futex_set_robust_list 871 }, /* 167 = __futex_set_robust_list */ 872 { 873 ns(struct sys___futex_get_robust_list_args), 874 .sy_flags = SYCALL_ARG_PTR, 875 .sy_call = (sy_call_t *)sys___futex_get_robust_list 876 }, /* 168 = __futex_get_robust_list */ 877 #if !defined(_LP64) 878 { 879 ns(struct compat_10_sys_semsys_args), 880 .sy_call = (sy_call_t *)sys_nomodule 881 }, /* 169 = compat_10_osemsys */ 882 #else 883 { 884 .sy_call = sys_nosys, 885 }, /* 169 = filler */ 886 #endif 887 #if !defined(_LP64) 888 { 889 ns(struct compat_10_sys_msgsys_args), 890 .sy_call = (sy_call_t *)sys_nomodule 891 }, /* 170 = compat_10_omsgsys */ 892 #else 893 { 894 .sy_call = sys_nosys, 895 }, /* 170 = filler */ 896 #endif 897 #if !defined(_LP64) 898 { 899 ns(struct compat_10_sys_shmsys_args), 900 .sy_call = (sy_call_t *)sys_nomodule 901 }, /* 171 = compat_10_oshmsys */ 902 #else 903 { 904 .sy_call = sys_nosys, 905 }, /* 171 = filler */ 906 #endif 907 { 908 .sy_call = sys_nosys, 909 }, /* 172 = filler */ 910 { 911 ns(struct sys_pread_args), 912 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR, 913 .sy_call = (sy_call_t *)sys_pread 914 }, /* 173 = pread */ 915 { 916 ns(struct sys_pwrite_args), 917 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR, 918 .sy_call = (sy_call_t *)sys_pwrite 919 }, /* 174 = pwrite */ 920 { 921 ns(struct compat_30_sys_ntp_gettime_args), 922 .sy_flags = SYCALL_ARG_PTR, 923 .sy_call = (sy_call_t *)sys_nomodule 924 }, /* 175 = compat_30_ntp_gettime */ 925 #if defined(NTP) || !defined(_KERNEL_OPT) 926 { 927 ns(struct sys_ntp_adjtime_args), 928 .sy_flags = SYCALL_ARG_PTR, 929 .sy_call = (sy_call_t *)sys_ntp_adjtime 930 }, /* 176 = ntp_adjtime */ 931 #else 932 { 933 .sy_call = sys_nosys, 934 }, /* 176 = filler */ 935 #endif 936 { 937 .sy_call = sys_nosys, 938 }, /* 177 = filler */ 939 { 940 .sy_call = sys_nosys, 941 }, /* 178 = filler */ 942 { 943 .sy_call = sys_nosys, 944 }, /* 179 = filler */ 945 { 946 .sy_call = sys_nosys, 947 }, /* 180 = filler */ 948 { 949 ns(struct sys_setgid_args), 950 .sy_call = (sy_call_t *)sys_setgid 951 }, /* 181 = setgid */ 952 { 953 ns(struct sys_setegid_args), 954 .sy_call = (sy_call_t *)sys_setegid 955 }, /* 182 = setegid */ 956 { 957 ns(struct sys_seteuid_args), 958 .sy_call = (sy_call_t *)sys_seteuid 959 }, /* 183 = seteuid */ 960 { 961 ns(struct sys_lfs_bmapv_args), 962 .sy_flags = SYCALL_ARG_PTR, 963 .sy_call = (sy_call_t *)sys_nomodule 964 }, /* 184 = lfs_bmapv */ 965 { 966 ns(struct sys_lfs_markv_args), 967 .sy_flags = SYCALL_ARG_PTR, 968 .sy_call = (sy_call_t *)sys_nomodule 969 }, /* 185 = lfs_markv */ 970 { 971 ns(struct sys_lfs_segclean_args), 972 .sy_flags = SYCALL_ARG_PTR, 973 .sy_call = (sy_call_t *)sys_nomodule 974 }, /* 186 = lfs_segclean */ 975 { 976 ns(struct compat_50_sys_lfs_segwait_args), 977 .sy_flags = SYCALL_ARG_PTR, 978 .sy_call = (sy_call_t *)sys_nomodule 979 }, /* 187 = compat_50_lfs_segwait */ 980 { 981 ns(struct compat_12_sys_stat_args), 982 .sy_flags = SYCALL_ARG_PTR, 983 .sy_call = (sy_call_t *)sys_nomodule 984 }, /* 188 = compat_12_stat12 */ 985 { 986 ns(struct compat_12_sys_fstat_args), 987 .sy_flags = SYCALL_ARG_PTR, 988 .sy_call = (sy_call_t *)sys_nomodule 989 }, /* 189 = compat_12_fstat12 */ 990 { 991 ns(struct compat_12_sys_lstat_args), 992 .sy_flags = SYCALL_ARG_PTR, 993 .sy_call = (sy_call_t *)sys_nomodule 994 }, /* 190 = compat_12_lstat12 */ 995 { 996 ns(struct sys_pathconf_args), 997 .sy_flags = SYCALL_ARG_PTR, 998 .sy_call = (sy_call_t *)sys_pathconf 999 }, /* 191 = pathconf */ 1000 { 1001 ns(struct sys_fpathconf_args), 1002 .sy_call = (sy_call_t *)sys_fpathconf 1003 }, /* 192 = fpathconf */ 1004 { 1005 ns(struct sys_getsockopt2_args), 1006 .sy_flags = SYCALL_ARG_PTR, 1007 .sy_call = (sy_call_t *)sys_getsockopt2 1008 }, /* 193 = getsockopt2 */ 1009 { 1010 ns(struct sys_getrlimit_args), 1011 .sy_flags = SYCALL_ARG_PTR, 1012 .sy_call = (sy_call_t *)sys_getrlimit 1013 }, /* 194 = getrlimit */ 1014 { 1015 ns(struct sys_setrlimit_args), 1016 .sy_flags = SYCALL_ARG_PTR, 1017 .sy_call = (sy_call_t *)sys_setrlimit 1018 }, /* 195 = setrlimit */ 1019 { 1020 ns(struct compat_12_sys_getdirentries_args), 1021 .sy_flags = SYCALL_ARG_PTR, 1022 .sy_call = (sy_call_t *)sys_nomodule 1023 }, /* 196 = compat_12_getdirentries */ 1024 { 1025 ns(struct sys_mmap_args), 1026 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64 | SYCALL_ARG_PTR, 1027 .sy_call = (sy_call_t *)sys_mmap 1028 }, /* 197 = mmap */ 1029 { 1030 ns(struct sys___syscall_args), 1031 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT, 1032 .sy_call = (sy_call_t *)sys___syscall 1033 }, /* 198 = __syscall */ 1034 { 1035 ns(struct sys_lseek_args), 1036 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_RET_64, 1037 .sy_call = (sy_call_t *)sys_lseek 1038 }, /* 199 = lseek */ 1039 { 1040 ns(struct sys_truncate_args), 1041 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_ARG_PTR, 1042 .sy_call = (sy_call_t *)sys_truncate 1043 }, /* 200 = truncate */ 1044 { 1045 ns(struct sys_ftruncate_args), 1046 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64, 1047 .sy_call = (sy_call_t *)sys_ftruncate 1048 }, /* 201 = ftruncate */ 1049 { 1050 ns(struct sys___sysctl_args), 1051 .sy_flags = SYCALL_ARG_PTR, 1052 .sy_call = (sy_call_t *)sys___sysctl 1053 }, /* 202 = __sysctl */ 1054 { 1055 ns(struct sys_mlock_args), 1056 .sy_flags = SYCALL_ARG_PTR, 1057 .sy_call = (sy_call_t *)sys_mlock 1058 }, /* 203 = mlock */ 1059 { 1060 ns(struct sys_munlock_args), 1061 .sy_flags = SYCALL_ARG_PTR, 1062 .sy_call = (sy_call_t *)sys_munlock 1063 }, /* 204 = munlock */ 1064 { 1065 ns(struct sys_undelete_args), 1066 .sy_flags = SYCALL_ARG_PTR, 1067 .sy_call = (sy_call_t *)sys_undelete 1068 }, /* 205 = undelete */ 1069 { 1070 ns(struct compat_50_sys_futimes_args), 1071 .sy_flags = SYCALL_ARG_PTR, 1072 .sy_call = (sy_call_t *)sys_nomodule 1073 }, /* 206 = compat_50_futimes */ 1074 { 1075 ns(struct sys_getpgid_args), 1076 .sy_call = (sy_call_t *)sys_getpgid 1077 }, /* 207 = getpgid */ 1078 { 1079 ns(struct sys_reboot_args), 1080 .sy_flags = SYCALL_ARG_PTR, 1081 .sy_call = (sy_call_t *)sys_reboot 1082 }, /* 208 = reboot */ 1083 { 1084 ns(struct sys_poll_args), 1085 .sy_flags = SYCALL_ARG_PTR, 1086 .sy_call = (sy_call_t *)sys_poll 1087 }, /* 209 = poll */ 1088 { 1089 ns(struct sys_afssys_args), 1090 .sy_call = (sy_call_t *)sys_nomodule 1091 }, /* 210 = afssys */ 1092 { 1093 .sy_call = sys_nosys, 1094 }, /* 211 = filler */ 1095 { 1096 .sy_call = sys_nosys, 1097 }, /* 212 = filler */ 1098 { 1099 .sy_call = sys_nosys, 1100 }, /* 213 = filler */ 1101 { 1102 .sy_call = sys_nosys, 1103 }, /* 214 = filler */ 1104 { 1105 .sy_call = sys_nosys, 1106 }, /* 215 = filler */ 1107 { 1108 .sy_call = sys_nosys, 1109 }, /* 216 = filler */ 1110 { 1111 .sy_call = sys_nosys, 1112 }, /* 217 = filler */ 1113 { 1114 .sy_call = sys_nosys, 1115 }, /* 218 = filler */ 1116 { 1117 .sy_call = sys_nosys, 1118 }, /* 219 = filler */ 1119 { 1120 ns(struct compat_14_sys___semctl_args), 1121 .sy_flags = SYCALL_ARG_PTR, 1122 .sy_call = (sy_call_t *)sys_nomodule 1123 }, /* 220 = compat_14___semctl */ 1124 { 1125 ns(struct sys_semget_args), 1126 .sy_call = (sy_call_t *)sys_nomodule 1127 }, /* 221 = semget */ 1128 { 1129 ns(struct sys_semop_args), 1130 .sy_flags = SYCALL_ARG_PTR, 1131 .sy_call = (sy_call_t *)sys_nomodule 1132 }, /* 222 = semop */ 1133 { 1134 ns(struct sys_semconfig_args), 1135 .sy_call = (sy_call_t *)sys_nomodule 1136 }, /* 223 = semconfig */ 1137 { 1138 ns(struct compat_14_sys_msgctl_args), 1139 .sy_flags = SYCALL_ARG_PTR, 1140 .sy_call = (sy_call_t *)sys_nomodule 1141 }, /* 224 = compat_14_msgctl */ 1142 { 1143 ns(struct sys_msgget_args), 1144 .sy_call = (sy_call_t *)sys_nomodule 1145 }, /* 225 = msgget */ 1146 { 1147 ns(struct sys_msgsnd_args), 1148 .sy_flags = SYCALL_ARG_PTR, 1149 .sy_call = (sy_call_t *)sys_nomodule 1150 }, /* 226 = msgsnd */ 1151 { 1152 ns(struct sys_msgrcv_args), 1153 .sy_flags = SYCALL_ARG_PTR, 1154 .sy_call = (sy_call_t *)sys_nomodule 1155 }, /* 227 = msgrcv */ 1156 { 1157 ns(struct sys_shmat_args), 1158 .sy_flags = SYCALL_ARG_PTR, 1159 .sy_call = (sy_call_t *)sys_nomodule 1160 }, /* 228 = shmat */ 1161 { 1162 ns(struct compat_14_sys_shmctl_args), 1163 .sy_flags = SYCALL_ARG_PTR, 1164 .sy_call = (sy_call_t *)sys_nomodule 1165 }, /* 229 = compat_14_shmctl */ 1166 { 1167 ns(struct sys_shmdt_args), 1168 .sy_flags = SYCALL_ARG_PTR, 1169 .sy_call = (sy_call_t *)sys_nomodule 1170 }, /* 230 = shmdt */ 1171 { 1172 ns(struct sys_shmget_args), 1173 .sy_call = (sy_call_t *)sys_nomodule 1174 }, /* 231 = shmget */ 1175 { 1176 ns(struct compat_50_sys_clock_gettime_args), 1177 .sy_flags = SYCALL_ARG_PTR, 1178 .sy_call = (sy_call_t *)sys_nomodule 1179 }, /* 232 = compat_50_clock_gettime */ 1180 { 1181 ns(struct compat_50_sys_clock_settime_args), 1182 .sy_flags = SYCALL_ARG_PTR, 1183 .sy_call = (sy_call_t *)sys_nomodule 1184 }, /* 233 = compat_50_clock_settime */ 1185 { 1186 ns(struct compat_50_sys_clock_getres_args), 1187 .sy_flags = SYCALL_ARG_PTR, 1188 .sy_call = (sy_call_t *)sys_nomodule 1189 }, /* 234 = compat_50_clock_getres */ 1190 { 1191 ns(struct sys_timer_create_args), 1192 .sy_flags = SYCALL_ARG_PTR, 1193 .sy_call = (sy_call_t *)sys_timer_create 1194 }, /* 235 = timer_create */ 1195 { 1196 ns(struct sys_timer_delete_args), 1197 .sy_call = (sy_call_t *)sys_timer_delete 1198 }, /* 236 = timer_delete */ 1199 { 1200 ns(struct compat_50_sys_timer_settime_args), 1201 .sy_flags = SYCALL_ARG_PTR, 1202 .sy_call = (sy_call_t *)sys_nomodule 1203 }, /* 237 = compat_50_timer_settime */ 1204 { 1205 ns(struct compat_50_sys_timer_gettime_args), 1206 .sy_flags = SYCALL_ARG_PTR, 1207 .sy_call = (sy_call_t *)sys_nomodule 1208 }, /* 238 = compat_50_timer_gettime */ 1209 { 1210 ns(struct sys_timer_getoverrun_args), 1211 .sy_call = (sy_call_t *)sys_timer_getoverrun 1212 }, /* 239 = timer_getoverrun */ 1213 { 1214 ns(struct compat_50_sys_nanosleep_args), 1215 .sy_flags = SYCALL_ARG_PTR, 1216 .sy_call = (sy_call_t *)sys_nomodule 1217 }, /* 240 = compat_50_nanosleep */ 1218 { 1219 ns(struct sys_fdatasync_args), 1220 .sy_call = (sy_call_t *)sys_fdatasync 1221 }, /* 241 = fdatasync */ 1222 { 1223 ns(struct sys_mlockall_args), 1224 .sy_call = (sy_call_t *)sys_mlockall 1225 }, /* 242 = mlockall */ 1226 { 1227 .sy_call = (sy_call_t *)sys_munlockall 1228 }, /* 243 = munlockall */ 1229 { 1230 ns(struct compat_50_sys___sigtimedwait_args), 1231 .sy_flags = SYCALL_ARG_PTR, 1232 .sy_call = (sy_call_t *)sys_nomodule 1233 }, /* 244 = compat_50___sigtimedwait */ 1234 { 1235 ns(struct sys_sigqueueinfo_args), 1236 .sy_flags = SYCALL_ARG_PTR, 1237 .sy_call = (sy_call_t *)sys_sigqueueinfo 1238 }, /* 245 = sigqueueinfo */ 1239 { 1240 ns(struct sys_modctl_args), 1241 .sy_flags = SYCALL_ARG_PTR, 1242 .sy_call = (sy_call_t *)sys_modctl 1243 }, /* 246 = modctl */ 1244 { 1245 ns(struct sys__ksem_init_args), 1246 .sy_flags = SYCALL_ARG_PTR, 1247 .sy_call = (sy_call_t *)sys_nomodule 1248 }, /* 247 = _ksem_init */ 1249 { 1250 ns(struct sys__ksem_open_args), 1251 .sy_flags = SYCALL_ARG_PTR, 1252 .sy_call = (sy_call_t *)sys_nomodule 1253 }, /* 248 = _ksem_open */ 1254 { 1255 ns(struct sys__ksem_unlink_args), 1256 .sy_flags = SYCALL_ARG_PTR, 1257 .sy_call = (sy_call_t *)sys_nomodule 1258 }, /* 249 = _ksem_unlink */ 1259 { 1260 ns(struct sys__ksem_close_args), 1261 .sy_call = (sy_call_t *)sys_nomodule 1262 }, /* 250 = _ksem_close */ 1263 { 1264 ns(struct sys__ksem_post_args), 1265 .sy_call = (sy_call_t *)sys_nomodule 1266 }, /* 251 = _ksem_post */ 1267 { 1268 ns(struct sys__ksem_wait_args), 1269 .sy_call = (sy_call_t *)sys_nomodule 1270 }, /* 252 = _ksem_wait */ 1271 { 1272 ns(struct sys__ksem_trywait_args), 1273 .sy_call = (sy_call_t *)sys_nomodule 1274 }, /* 253 = _ksem_trywait */ 1275 { 1276 ns(struct sys__ksem_getvalue_args), 1277 .sy_flags = SYCALL_ARG_PTR, 1278 .sy_call = (sy_call_t *)sys_nomodule 1279 }, /* 254 = _ksem_getvalue */ 1280 { 1281 ns(struct sys__ksem_destroy_args), 1282 .sy_call = (sy_call_t *)sys_nomodule 1283 }, /* 255 = _ksem_destroy */ 1284 { 1285 ns(struct sys__ksem_timedwait_args), 1286 .sy_flags = SYCALL_ARG_PTR, 1287 .sy_call = (sy_call_t *)sys_nomodule 1288 }, /* 256 = _ksem_timedwait */ 1289 { 1290 ns(struct sys_mq_open_args), 1291 .sy_flags = SYCALL_ARG_PTR, 1292 .sy_call = (sy_call_t *)sys_nomodule 1293 }, /* 257 = mq_open */ 1294 { 1295 ns(struct sys_mq_close_args), 1296 .sy_call = (sy_call_t *)sys_nomodule 1297 }, /* 258 = mq_close */ 1298 { 1299 ns(struct sys_mq_unlink_args), 1300 .sy_flags = SYCALL_ARG_PTR, 1301 .sy_call = (sy_call_t *)sys_nomodule 1302 }, /* 259 = mq_unlink */ 1303 { 1304 ns(struct sys_mq_getattr_args), 1305 .sy_flags = SYCALL_ARG_PTR, 1306 .sy_call = (sy_call_t *)sys_nomodule 1307 }, /* 260 = mq_getattr */ 1308 { 1309 ns(struct sys_mq_setattr_args), 1310 .sy_flags = SYCALL_ARG_PTR, 1311 .sy_call = (sy_call_t *)sys_nomodule 1312 }, /* 261 = mq_setattr */ 1313 { 1314 ns(struct sys_mq_notify_args), 1315 .sy_flags = SYCALL_ARG_PTR, 1316 .sy_call = (sy_call_t *)sys_nomodule 1317 }, /* 262 = mq_notify */ 1318 { 1319 ns(struct sys_mq_send_args), 1320 .sy_flags = SYCALL_ARG_PTR, 1321 .sy_call = (sy_call_t *)sys_nomodule 1322 }, /* 263 = mq_send */ 1323 { 1324 ns(struct sys_mq_receive_args), 1325 .sy_flags = SYCALL_ARG_PTR, 1326 .sy_call = (sy_call_t *)sys_nomodule 1327 }, /* 264 = mq_receive */ 1328 { 1329 ns(struct compat_50_sys_mq_timedsend_args), 1330 .sy_flags = SYCALL_ARG_PTR, 1331 .sy_call = (sy_call_t *)sys_nomodule 1332 }, /* 265 = compat_50_mq_timedsend */ 1333 { 1334 ns(struct compat_50_sys_mq_timedreceive_args), 1335 .sy_flags = SYCALL_ARG_PTR, 1336 .sy_call = (sy_call_t *)sys_nomodule 1337 }, /* 266 = compat_50_mq_timedreceive */ 1338 { 1339 .sy_call = sys_nosys, 1340 }, /* 267 = filler */ 1341 { 1342 .sy_call = sys_nosys, 1343 }, /* 268 = filler */ 1344 { 1345 .sy_call = sys_nosys, 1346 }, /* 269 = filler */ 1347 { 1348 ns(struct sys___posix_rename_args), 1349 .sy_flags = SYCALL_ARG_PTR, 1350 .sy_call = (sy_call_t *)sys___posix_rename 1351 }, /* 270 = __posix_rename */ 1352 { 1353 ns(struct sys_swapctl_args), 1354 .sy_flags = SYCALL_ARG_PTR, 1355 .sy_call = (sy_call_t *)sys_swapctl 1356 }, /* 271 = swapctl */ 1357 { 1358 ns(struct compat_30_sys_getdents_args), 1359 .sy_flags = SYCALL_ARG_PTR, 1360 .sy_call = (sy_call_t *)sys_nomodule 1361 }, /* 272 = compat_30_getdents */ 1362 { 1363 ns(struct sys_minherit_args), 1364 .sy_flags = SYCALL_ARG_PTR, 1365 .sy_call = (sy_call_t *)sys_minherit 1366 }, /* 273 = minherit */ 1367 { 1368 ns(struct sys_lchmod_args), 1369 .sy_flags = SYCALL_ARG_PTR, 1370 .sy_call = (sy_call_t *)sys_lchmod 1371 }, /* 274 = lchmod */ 1372 { 1373 ns(struct sys_lchown_args), 1374 .sy_flags = SYCALL_ARG_PTR, 1375 .sy_call = (sy_call_t *)sys_lchown 1376 }, /* 275 = lchown */ 1377 { 1378 ns(struct compat_50_sys_lutimes_args), 1379 .sy_flags = SYCALL_ARG_PTR, 1380 .sy_call = (sy_call_t *)sys_nomodule 1381 }, /* 276 = compat_50_lutimes */ 1382 { 1383 ns(struct sys___msync13_args), 1384 .sy_flags = SYCALL_ARG_PTR, 1385 .sy_call = (sy_call_t *)sys___msync13 1386 }, /* 277 = __msync13 */ 1387 { 1388 ns(struct compat_30_sys___stat13_args), 1389 .sy_flags = SYCALL_ARG_PTR, 1390 .sy_call = (sy_call_t *)sys_nomodule 1391 }, /* 278 = compat_30___stat13 */ 1392 { 1393 ns(struct compat_30_sys___fstat13_args), 1394 .sy_flags = SYCALL_ARG_PTR, 1395 .sy_call = (sy_call_t *)sys_nomodule 1396 }, /* 279 = compat_30___fstat13 */ 1397 { 1398 ns(struct compat_30_sys___lstat13_args), 1399 .sy_flags = SYCALL_ARG_PTR, 1400 .sy_call = (sy_call_t *)sys_nomodule 1401 }, /* 280 = compat_30___lstat13 */ 1402 { 1403 ns(struct sys___sigaltstack14_args), 1404 .sy_flags = SYCALL_ARG_PTR, 1405 .sy_call = (sy_call_t *)sys___sigaltstack14 1406 }, /* 281 = __sigaltstack14 */ 1407 { 1408 .sy_call = (sy_call_t *)sys___vfork14 1409 }, /* 282 = __vfork14 */ 1410 { 1411 ns(struct sys___posix_chown_args), 1412 .sy_flags = SYCALL_ARG_PTR, 1413 .sy_call = (sy_call_t *)sys___posix_chown 1414 }, /* 283 = __posix_chown */ 1415 { 1416 ns(struct sys___posix_fchown_args), 1417 .sy_call = (sy_call_t *)sys___posix_fchown 1418 }, /* 284 = __posix_fchown */ 1419 { 1420 ns(struct sys___posix_lchown_args), 1421 .sy_flags = SYCALL_ARG_PTR, 1422 .sy_call = (sy_call_t *)sys___posix_lchown 1423 }, /* 285 = __posix_lchown */ 1424 { 1425 ns(struct sys_getsid_args), 1426 .sy_call = (sy_call_t *)sys_getsid 1427 }, /* 286 = getsid */ 1428 { 1429 ns(struct sys___clone_args), 1430 .sy_flags = SYCALL_ARG_PTR, 1431 .sy_call = (sy_call_t *)sys___clone 1432 }, /* 287 = __clone */ 1433 { 1434 ns(struct sys_fktrace_args), 1435 .sy_call = (sy_call_t *)sys_fktrace 1436 }, /* 288 = fktrace */ 1437 { 1438 ns(struct sys_preadv_args), 1439 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR, 1440 .sy_call = (sy_call_t *)sys_preadv 1441 }, /* 289 = preadv */ 1442 { 1443 ns(struct sys_pwritev_args), 1444 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR, 1445 .sy_call = (sy_call_t *)sys_pwritev 1446 }, /* 290 = pwritev */ 1447 { 1448 ns(struct compat_16_sys___sigaction14_args), 1449 .sy_flags = SYCALL_ARG_PTR, 1450 .sy_call = (sy_call_t *)sys_nomodule 1451 }, /* 291 = compat_16___sigaction14 */ 1452 { 1453 ns(struct sys___sigpending14_args), 1454 .sy_flags = SYCALL_ARG_PTR, 1455 .sy_call = (sy_call_t *)sys___sigpending14 1456 }, /* 292 = __sigpending14 */ 1457 { 1458 ns(struct sys___sigprocmask14_args), 1459 .sy_flags = SYCALL_ARG_PTR, 1460 .sy_call = (sy_call_t *)sys___sigprocmask14 1461 }, /* 293 = __sigprocmask14 */ 1462 { 1463 ns(struct sys___sigsuspend14_args), 1464 .sy_flags = SYCALL_ARG_PTR, 1465 .sy_call = (sy_call_t *)sys___sigsuspend14 1466 }, /* 294 = __sigsuspend14 */ 1467 { 1468 ns(struct compat_16_sys___sigreturn14_args), 1469 .sy_flags = SYCALL_ARG_PTR, 1470 .sy_call = (sy_call_t *)sys_nomodule 1471 }, /* 295 = compat_16___sigreturn14 */ 1472 { 1473 ns(struct sys___getcwd_args), 1474 .sy_flags = SYCALL_ARG_PTR, 1475 .sy_call = (sy_call_t *)sys___getcwd 1476 }, /* 296 = __getcwd */ 1477 { 1478 ns(struct sys_fchroot_args), 1479 .sy_call = (sy_call_t *)sys_fchroot 1480 }, /* 297 = fchroot */ 1481 { 1482 ns(struct compat_30_sys_fhopen_args), 1483 .sy_flags = SYCALL_ARG_PTR, 1484 .sy_call = (sy_call_t *)sys_nomodule 1485 }, /* 298 = compat_30_fhopen */ 1486 { 1487 ns(struct compat_30_sys_fhstat_args), 1488 .sy_flags = SYCALL_ARG_PTR, 1489 .sy_call = (sy_call_t *)sys_nomodule 1490 }, /* 299 = compat_30_fhstat */ 1491 { 1492 ns(struct compat_20_sys_fhstatfs_args), 1493 .sy_flags = SYCALL_ARG_PTR, 1494 .sy_call = (sy_call_t *)sys_nomodule 1495 }, /* 300 = compat_20_fhstatfs */ 1496 { 1497 ns(struct compat_50_sys_____semctl13_args), 1498 .sy_flags = SYCALL_ARG_PTR, 1499 .sy_call = (sy_call_t *)sys_nomodule 1500 }, /* 301 = compat_50_____semctl13 */ 1501 { 1502 ns(struct compat_50_sys___msgctl13_args), 1503 .sy_flags = SYCALL_ARG_PTR, 1504 .sy_call = (sy_call_t *)sys_nomodule 1505 }, /* 302 = compat_50___msgctl13 */ 1506 { 1507 ns(struct compat_50_sys___shmctl13_args), 1508 .sy_flags = SYCALL_ARG_PTR, 1509 .sy_call = (sy_call_t *)sys_nomodule 1510 }, /* 303 = compat_50___shmctl13 */ 1511 { 1512 ns(struct sys_lchflags_args), 1513 .sy_flags = SYCALL_ARG_PTR, 1514 .sy_call = (sy_call_t *)sys_lchflags 1515 }, /* 304 = lchflags */ 1516 { 1517 .sy_call = (sy_call_t *)sys_issetugid 1518 }, /* 305 = issetugid */ 1519 { 1520 ns(struct sys_utrace_args), 1521 .sy_flags = SYCALL_ARG_PTR, 1522 .sy_call = (sy_call_t *)sys_utrace 1523 }, /* 306 = utrace */ 1524 { 1525 ns(struct sys_getcontext_args), 1526 .sy_flags = SYCALL_ARG_PTR, 1527 .sy_call = (sy_call_t *)sys_getcontext 1528 }, /* 307 = getcontext */ 1529 { 1530 ns(struct sys_setcontext_args), 1531 .sy_flags = SYCALL_ARG_PTR, 1532 .sy_call = (sy_call_t *)sys_setcontext 1533 }, /* 308 = setcontext */ 1534 { 1535 ns(struct sys__lwp_create_args), 1536 .sy_flags = SYCALL_ARG_PTR, 1537 .sy_call = (sy_call_t *)sys__lwp_create 1538 }, /* 309 = _lwp_create */ 1539 { 1540 .sy_call = (sy_call_t *)sys__lwp_exit 1541 }, /* 310 = _lwp_exit */ 1542 { 1543 .sy_call = (sy_call_t *)sys__lwp_self 1544 }, /* 311 = _lwp_self */ 1545 { 1546 ns(struct sys__lwp_wait_args), 1547 .sy_flags = SYCALL_ARG_PTR, 1548 .sy_call = (sy_call_t *)sys__lwp_wait 1549 }, /* 312 = _lwp_wait */ 1550 { 1551 ns(struct sys__lwp_suspend_args), 1552 .sy_call = (sy_call_t *)sys__lwp_suspend 1553 }, /* 313 = _lwp_suspend */ 1554 { 1555 ns(struct sys__lwp_continue_args), 1556 .sy_call = (sy_call_t *)sys__lwp_continue 1557 }, /* 314 = _lwp_continue */ 1558 { 1559 ns(struct sys__lwp_wakeup_args), 1560 .sy_call = (sy_call_t *)sys__lwp_wakeup 1561 }, /* 315 = _lwp_wakeup */ 1562 { 1563 .sy_call = (sy_call_t *)sys__lwp_getprivate 1564 }, /* 316 = _lwp_getprivate */ 1565 { 1566 ns(struct sys__lwp_setprivate_args), 1567 .sy_flags = SYCALL_ARG_PTR, 1568 .sy_call = (sy_call_t *)sys__lwp_setprivate 1569 }, /* 317 = _lwp_setprivate */ 1570 { 1571 ns(struct sys__lwp_kill_args), 1572 .sy_call = (sy_call_t *)sys__lwp_kill 1573 }, /* 318 = _lwp_kill */ 1574 { 1575 ns(struct sys__lwp_detach_args), 1576 .sy_call = (sy_call_t *)sys__lwp_detach 1577 }, /* 319 = _lwp_detach */ 1578 { 1579 ns(struct compat_50_sys__lwp_park_args), 1580 .sy_flags = SYCALL_ARG_PTR, 1581 .sy_call = (sy_call_t *)sys_nomodule 1582 }, /* 320 = compat_50__lwp_park */ 1583 { 1584 ns(struct sys__lwp_unpark_args), 1585 .sy_flags = SYCALL_ARG_PTR, 1586 .sy_call = (sy_call_t *)sys__lwp_unpark 1587 }, /* 321 = _lwp_unpark */ 1588 { 1589 ns(struct sys__lwp_unpark_all_args), 1590 .sy_flags = SYCALL_ARG_PTR, 1591 .sy_call = (sy_call_t *)sys__lwp_unpark_all 1592 }, /* 322 = _lwp_unpark_all */ 1593 { 1594 ns(struct sys__lwp_setname_args), 1595 .sy_flags = SYCALL_ARG_PTR, 1596 .sy_call = (sy_call_t *)sys__lwp_setname 1597 }, /* 323 = _lwp_setname */ 1598 { 1599 ns(struct sys__lwp_getname_args), 1600 .sy_flags = SYCALL_ARG_PTR, 1601 .sy_call = (sy_call_t *)sys__lwp_getname 1602 }, /* 324 = _lwp_getname */ 1603 { 1604 ns(struct sys__lwp_ctl_args), 1605 .sy_flags = SYCALL_ARG_PTR, 1606 .sy_call = (sy_call_t *)sys__lwp_ctl 1607 }, /* 325 = _lwp_ctl */ 1608 { 1609 .sy_call = sys_nosys, 1610 }, /* 326 = filler */ 1611 { 1612 .sy_call = sys_nosys, 1613 }, /* 327 = filler */ 1614 { 1615 .sy_call = sys_nosys, 1616 }, /* 328 = filler */ 1617 { 1618 .sy_call = sys_nosys, 1619 }, /* 329 = filler */ 1620 { 1621 ns(struct compat_60_sys_sa_register_args), 1622 .sy_flags = SYCALL_ARG_PTR, 1623 .sy_call = (sy_call_t *)sys_nomodule 1624 }, /* 330 = compat_60_sa_register */ 1625 { 1626 ns(struct compat_60_sys_sa_stacks_args), 1627 .sy_flags = SYCALL_ARG_PTR, 1628 .sy_call = (sy_call_t *)sys_nomodule 1629 }, /* 331 = compat_60_sa_stacks */ 1630 { 1631 .sy_call = (sy_call_t *)sys_nomodule 1632 }, /* 332 = compat_60_sa_enable */ 1633 { 1634 ns(struct compat_60_sys_sa_setconcurrency_args), 1635 .sy_call = (sy_call_t *)sys_nomodule 1636 }, /* 333 = compat_60_sa_setconcurrency */ 1637 { 1638 .sy_call = (sy_call_t *)sys_nomodule 1639 }, /* 334 = compat_60_sa_yield */ 1640 { 1641 ns(struct compat_60_sys_sa_preempt_args), 1642 .sy_call = (sy_call_t *)sys_nomodule 1643 }, /* 335 = compat_60_sa_preempt */ 1644 { 1645 .sy_call = sys_nosys, 1646 }, /* 336 = filler */ 1647 { 1648 .sy_call = sys_nosys, 1649 }, /* 337 = filler */ 1650 { 1651 .sy_call = sys_nosys, 1652 }, /* 338 = filler */ 1653 { 1654 .sy_call = sys_nosys, 1655 }, /* 339 = filler */ 1656 { 1657 ns(struct sys___sigaction_sigtramp_args), 1658 .sy_flags = SYCALL_ARG_PTR, 1659 .sy_call = (sy_call_t *)sys___sigaction_sigtramp 1660 }, /* 340 = __sigaction_sigtramp */ 1661 { 1662 .sy_call = sys_nosys, 1663 }, /* 341 = filler */ 1664 { 1665 .sy_call = sys_nosys, 1666 }, /* 342 = filler */ 1667 { 1668 ns(struct sys_rasctl_args), 1669 .sy_flags = SYCALL_ARG_PTR, 1670 .sy_call = (sy_call_t *)sys_rasctl 1671 }, /* 343 = rasctl */ 1672 { 1673 .sy_call = (sy_call_t *)sys_kqueue 1674 }, /* 344 = kqueue */ 1675 { 1676 ns(struct compat_50_sys_kevent_args), 1677 .sy_flags = SYCALL_ARG_PTR, 1678 .sy_call = (sy_call_t *)sys_nomodule 1679 }, /* 345 = compat_50_kevent */ 1680 { 1681 ns(struct sys__sched_setparam_args), 1682 .sy_flags = SYCALL_ARG_PTR, 1683 .sy_call = (sy_call_t *)sys__sched_setparam 1684 }, /* 346 = _sched_setparam */ 1685 { 1686 ns(struct sys__sched_getparam_args), 1687 .sy_flags = SYCALL_ARG_PTR, 1688 .sy_call = (sy_call_t *)sys__sched_getparam 1689 }, /* 347 = _sched_getparam */ 1690 { 1691 ns(struct sys__sched_setaffinity_args), 1692 .sy_flags = SYCALL_ARG_PTR, 1693 .sy_call = (sy_call_t *)sys__sched_setaffinity 1694 }, /* 348 = _sched_setaffinity */ 1695 { 1696 ns(struct sys__sched_getaffinity_args), 1697 .sy_flags = SYCALL_ARG_PTR, 1698 .sy_call = (sy_call_t *)sys__sched_getaffinity 1699 }, /* 349 = _sched_getaffinity */ 1700 { 1701 .sy_call = (sy_call_t *)sys_sched_yield 1702 }, /* 350 = sched_yield */ 1703 { 1704 ns(struct sys__sched_protect_args), 1705 .sy_call = (sy_call_t *)sys__sched_protect 1706 }, /* 351 = _sched_protect */ 1707 { 1708 .sy_call = sys_nosys, 1709 }, /* 352 = filler */ 1710 { 1711 .sy_call = sys_nosys, 1712 }, /* 353 = filler */ 1713 { 1714 ns(struct sys_fsync_range_args), 1715 .sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64, 1716 .sy_call = (sy_call_t *)sys_fsync_range 1717 }, /* 354 = fsync_range */ 1718 { 1719 ns(struct sys_uuidgen_args), 1720 .sy_flags = SYCALL_ARG_PTR, 1721 .sy_call = (sy_call_t *)sys_uuidgen 1722 }, /* 355 = uuidgen */ 1723 { 1724 ns(struct compat_90_sys_getvfsstat_args), 1725 .sy_flags = SYCALL_ARG_PTR, 1726 .sy_call = (sy_call_t *)sys_nomodule 1727 }, /* 356 = compat_90_getvfsstat */ 1728 { 1729 ns(struct compat_90_sys_statvfs1_args), 1730 .sy_flags = SYCALL_ARG_PTR, 1731 .sy_call = (sy_call_t *)sys_nomodule 1732 }, /* 357 = compat_90_statvfs1 */ 1733 { 1734 ns(struct compat_90_sys_fstatvfs1_args), 1735 .sy_flags = SYCALL_ARG_PTR, 1736 .sy_call = (sy_call_t *)sys_nomodule 1737 }, /* 358 = compat_90_fstatvfs1 */ 1738 { 1739 ns(struct compat_30_sys_fhstatvfs1_args), 1740 .sy_flags = SYCALL_ARG_PTR, 1741 .sy_call = (sy_call_t *)sys_nomodule 1742 }, /* 359 = compat_30_fhstatvfs1 */ 1743 { 1744 ns(struct sys_extattrctl_args), 1745 .sy_flags = SYCALL_ARG_PTR, 1746 .sy_call = (sy_call_t *)sys_extattrctl 1747 }, /* 360 = extattrctl */ 1748 { 1749 ns(struct sys_extattr_set_file_args), 1750 .sy_flags = SYCALL_ARG_PTR, 1751 .sy_call = (sy_call_t *)sys_extattr_set_file 1752 }, /* 361 = extattr_set_file */ 1753 { 1754 ns(struct sys_extattr_get_file_args), 1755 .sy_flags = SYCALL_ARG_PTR, 1756 .sy_call = (sy_call_t *)sys_extattr_get_file 1757 }, /* 362 = extattr_get_file */ 1758 { 1759 ns(struct sys_extattr_delete_file_args), 1760 .sy_flags = SYCALL_ARG_PTR, 1761 .sy_call = (sy_call_t *)sys_extattr_delete_file 1762 }, /* 363 = extattr_delete_file */ 1763 { 1764 ns(struct sys_extattr_set_fd_args), 1765 .sy_flags = SYCALL_ARG_PTR, 1766 .sy_call = (sy_call_t *)sys_extattr_set_fd 1767 }, /* 364 = extattr_set_fd */ 1768 { 1769 ns(struct sys_extattr_get_fd_args), 1770 .sy_flags = SYCALL_ARG_PTR, 1771 .sy_call = (sy_call_t *)sys_extattr_get_fd 1772 }, /* 365 = extattr_get_fd */ 1773 { 1774 ns(struct sys_extattr_delete_fd_args), 1775 .sy_flags = SYCALL_ARG_PTR, 1776 .sy_call = (sy_call_t *)sys_extattr_delete_fd 1777 }, /* 366 = extattr_delete_fd */ 1778 { 1779 ns(struct sys_extattr_set_link_args), 1780 .sy_flags = SYCALL_ARG_PTR, 1781 .sy_call = (sy_call_t *)sys_extattr_set_link 1782 }, /* 367 = extattr_set_link */ 1783 { 1784 ns(struct sys_extattr_get_link_args), 1785 .sy_flags = SYCALL_ARG_PTR, 1786 .sy_call = (sy_call_t *)sys_extattr_get_link 1787 }, /* 368 = extattr_get_link */ 1788 { 1789 ns(struct sys_extattr_delete_link_args), 1790 .sy_flags = SYCALL_ARG_PTR, 1791 .sy_call = (sy_call_t *)sys_extattr_delete_link 1792 }, /* 369 = extattr_delete_link */ 1793 { 1794 ns(struct sys_extattr_list_fd_args), 1795 .sy_flags = SYCALL_ARG_PTR, 1796 .sy_call = (sy_call_t *)sys_extattr_list_fd 1797 }, /* 370 = extattr_list_fd */ 1798 { 1799 ns(struct sys_extattr_list_file_args), 1800 .sy_flags = SYCALL_ARG_PTR, 1801 .sy_call = (sy_call_t *)sys_extattr_list_file 1802 }, /* 371 = extattr_list_file */ 1803 { 1804 ns(struct sys_extattr_list_link_args), 1805 .sy_flags = SYCALL_ARG_PTR, 1806 .sy_call = (sy_call_t *)sys_extattr_list_link 1807 }, /* 372 = extattr_list_link */ 1808 { 1809 ns(struct compat_50_sys_pselect_args), 1810 .sy_flags = SYCALL_ARG_PTR, 1811 .sy_call = (sy_call_t *)sys_nomodule 1812 }, /* 373 = compat_50_pselect */ 1813 { 1814 ns(struct compat_50_sys_pollts_args), 1815 .sy_flags = SYCALL_ARG_PTR, 1816 .sy_call = (sy_call_t *)sys_nomodule 1817 }, /* 374 = compat_50_pollts */ 1818 { 1819 ns(struct sys_setxattr_args), 1820 .sy_flags = SYCALL_ARG_PTR, 1821 .sy_call = (sy_call_t *)sys_setxattr 1822 }, /* 375 = setxattr */ 1823 { 1824 ns(struct sys_lsetxattr_args), 1825 .sy_flags = SYCALL_ARG_PTR, 1826 .sy_call = (sy_call_t *)sys_lsetxattr 1827 }, /* 376 = lsetxattr */ 1828 { 1829 ns(struct sys_fsetxattr_args), 1830 .sy_flags = SYCALL_ARG_PTR, 1831 .sy_call = (sy_call_t *)sys_fsetxattr 1832 }, /* 377 = fsetxattr */ 1833 { 1834 ns(struct sys_getxattr_args), 1835 .sy_flags = SYCALL_ARG_PTR, 1836 .sy_call = (sy_call_t *)sys_getxattr 1837 }, /* 378 = getxattr */ 1838 { 1839 ns(struct sys_lgetxattr_args), 1840 .sy_flags = SYCALL_ARG_PTR, 1841 .sy_call = (sy_call_t *)sys_lgetxattr 1842 }, /* 379 = lgetxattr */ 1843 { 1844 ns(struct sys_fgetxattr_args), 1845 .sy_flags = SYCALL_ARG_PTR, 1846 .sy_call = (sy_call_t *)sys_fgetxattr 1847 }, /* 380 = fgetxattr */ 1848 { 1849 ns(struct sys_listxattr_args), 1850 .sy_flags = SYCALL_ARG_PTR, 1851 .sy_call = (sy_call_t *)sys_listxattr 1852 }, /* 381 = listxattr */ 1853 { 1854 ns(struct sys_llistxattr_args), 1855 .sy_flags = SYCALL_ARG_PTR, 1856 .sy_call = (sy_call_t *)sys_llistxattr 1857 }, /* 382 = llistxattr */ 1858 { 1859 ns(struct sys_flistxattr_args), 1860 .sy_flags = SYCALL_ARG_PTR, 1861 .sy_call = (sy_call_t *)sys_flistxattr 1862 }, /* 383 = flistxattr */ 1863 { 1864 ns(struct sys_removexattr_args), 1865 .sy_flags = SYCALL_ARG_PTR, 1866 .sy_call = (sy_call_t *)sys_removexattr 1867 }, /* 384 = removexattr */ 1868 { 1869 ns(struct sys_lremovexattr_args), 1870 .sy_flags = SYCALL_ARG_PTR, 1871 .sy_call = (sy_call_t *)sys_lremovexattr 1872 }, /* 385 = lremovexattr */ 1873 { 1874 ns(struct sys_fremovexattr_args), 1875 .sy_flags = SYCALL_ARG_PTR, 1876 .sy_call = (sy_call_t *)sys_fremovexattr 1877 }, /* 386 = fremovexattr */ 1878 { 1879 ns(struct compat_50_sys___stat30_args), 1880 .sy_flags = SYCALL_ARG_PTR, 1881 .sy_call = (sy_call_t *)sys_nomodule 1882 }, /* 387 = compat_50___stat30 */ 1883 { 1884 ns(struct compat_50_sys___fstat30_args), 1885 .sy_flags = SYCALL_ARG_PTR, 1886 .sy_call = (sy_call_t *)sys_nomodule 1887 }, /* 388 = compat_50___fstat30 */ 1888 { 1889 ns(struct compat_50_sys___lstat30_args), 1890 .sy_flags = SYCALL_ARG_PTR, 1891 .sy_call = (sy_call_t *)sys_nomodule 1892 }, /* 389 = compat_50___lstat30 */ 1893 { 1894 ns(struct sys___getdents30_args), 1895 .sy_flags = SYCALL_ARG_PTR, 1896 .sy_call = (sy_call_t *)sys___getdents30 1897 }, /* 390 = __getdents30 */ 1898 { 1899 .sy_call = (sy_call_t *)(void *)nullop, 1900 }, /* 391 = filler */ 1901 { 1902 ns(struct compat_30_sys___fhstat30_args), 1903 .sy_flags = SYCALL_ARG_PTR, 1904 .sy_call = (sy_call_t *)sys_nomodule 1905 }, /* 392 = compat_30___fhstat30 */ 1906 { 1907 ns(struct compat_50_sys___ntp_gettime30_args), 1908 .sy_flags = SYCALL_ARG_PTR, 1909 .sy_call = (sy_call_t *)sys_nomodule 1910 }, /* 393 = compat_50___ntp_gettime30 */ 1911 { 1912 ns(struct sys___socket30_args), 1913 .sy_call = (sy_call_t *)sys___socket30 1914 }, /* 394 = __socket30 */ 1915 { 1916 ns(struct sys___getfh30_args), 1917 .sy_flags = SYCALL_ARG_PTR, 1918 .sy_call = (sy_call_t *)sys___getfh30 1919 }, /* 395 = __getfh30 */ 1920 { 1921 ns(struct sys___fhopen40_args), 1922 .sy_flags = SYCALL_ARG_PTR, 1923 .sy_call = (sy_call_t *)sys___fhopen40 1924 }, /* 396 = __fhopen40 */ 1925 { 1926 ns(struct compat_90_sys_fhstatvfs1_args), 1927 .sy_flags = SYCALL_ARG_PTR, 1928 .sy_call = (sy_call_t *)sys_nomodule 1929 }, /* 397 = compat_90_fhstatvfs1 */ 1930 { 1931 ns(struct compat_50_sys___fhstat40_args), 1932 .sy_flags = SYCALL_ARG_PTR, 1933 .sy_call = (sy_call_t *)sys_nomodule 1934 }, /* 398 = compat_50___fhstat40 */ 1935 { 1936 ns(struct sys_aio_cancel_args), 1937 .sy_flags = SYCALL_ARG_PTR, 1938 .sy_call = (sy_call_t *)sys_nomodule 1939 }, /* 399 = aio_cancel */ 1940 { 1941 ns(struct sys_aio_error_args), 1942 .sy_flags = SYCALL_ARG_PTR, 1943 .sy_call = (sy_call_t *)sys_nomodule 1944 }, /* 400 = aio_error */ 1945 { 1946 ns(struct sys_aio_fsync_args), 1947 .sy_flags = SYCALL_ARG_PTR, 1948 .sy_call = (sy_call_t *)sys_nomodule 1949 }, /* 401 = aio_fsync */ 1950 { 1951 ns(struct sys_aio_read_args), 1952 .sy_flags = SYCALL_ARG_PTR, 1953 .sy_call = (sy_call_t *)sys_nomodule 1954 }, /* 402 = aio_read */ 1955 { 1956 ns(struct sys_aio_return_args), 1957 .sy_flags = SYCALL_ARG_PTR, 1958 .sy_call = (sy_call_t *)sys_nomodule 1959 }, /* 403 = aio_return */ 1960 { 1961 ns(struct compat_50_sys_aio_suspend_args), 1962 .sy_flags = SYCALL_ARG_PTR, 1963 .sy_call = (sy_call_t *)sys_nomodule 1964 }, /* 404 = compat_50_aio_suspend */ 1965 { 1966 ns(struct sys_aio_write_args), 1967 .sy_flags = SYCALL_ARG_PTR, 1968 .sy_call = (sy_call_t *)sys_nomodule 1969 }, /* 405 = aio_write */ 1970 { 1971 ns(struct sys_lio_listio_args), 1972 .sy_flags = SYCALL_ARG_PTR, 1973 .sy_call = (sy_call_t *)sys_nomodule 1974 }, /* 406 = lio_listio */ 1975 { 1976 .sy_call = sys_nosys, 1977 }, /* 407 = filler */ 1978 { 1979 .sy_call = sys_nosys, 1980 }, /* 408 = filler */ 1981 { 1982 .sy_call = sys_nosys, 1983 }, /* 409 = filler */ 1984 { 1985 ns(struct sys___mount50_args), 1986 .sy_flags = SYCALL_ARG_PTR, 1987 .sy_call = (sy_call_t *)sys___mount50 1988 }, /* 410 = __mount50 */ 1989 { 1990 ns(struct sys_mremap_args), 1991 .sy_flags = SYCALL_ARG_PTR, 1992 .sy_call = (sy_call_t *)sys_mremap 1993 }, /* 411 = mremap */ 1994 { 1995 ns(struct sys_pset_create_args), 1996 .sy_flags = SYCALL_ARG_PTR, 1997 .sy_call = (sy_call_t *)sys_pset_create 1998 }, /* 412 = pset_create */ 1999 { 2000 ns(struct sys_pset_destroy_args), 2001 .sy_call = (sy_call_t *)sys_pset_destroy 2002 }, /* 413 = pset_destroy */ 2003 { 2004 ns(struct sys_pset_assign_args), 2005 .sy_flags = SYCALL_ARG_PTR, 2006 .sy_call = (sy_call_t *)sys_pset_assign 2007 }, /* 414 = pset_assign */ 2008 { 2009 ns(struct sys__pset_bind_args), 2010 .sy_flags = SYCALL_ARG_PTR, 2011 .sy_call = (sy_call_t *)sys__pset_bind 2012 }, /* 415 = _pset_bind */ 2013 { 2014 ns(struct sys___posix_fadvise50_args), 2015 .sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64, 2016 .sy_call = (sy_call_t *)sys___posix_fadvise50 2017 }, /* 416 = __posix_fadvise50 */ 2018 { 2019 ns(struct sys___select50_args), 2020 .sy_flags = SYCALL_ARG_PTR, 2021 .sy_call = (sy_call_t *)sys___select50 2022 }, /* 417 = __select50 */ 2023 { 2024 ns(struct sys___gettimeofday50_args), 2025 .sy_flags = SYCALL_ARG_PTR, 2026 .sy_call = (sy_call_t *)sys___gettimeofday50 2027 }, /* 418 = __gettimeofday50 */ 2028 { 2029 ns(struct sys___settimeofday50_args), 2030 .sy_flags = SYCALL_ARG_PTR, 2031 .sy_call = (sy_call_t *)sys___settimeofday50 2032 }, /* 419 = __settimeofday50 */ 2033 { 2034 ns(struct sys___utimes50_args), 2035 .sy_flags = SYCALL_ARG_PTR, 2036 .sy_call = (sy_call_t *)sys___utimes50 2037 }, /* 420 = __utimes50 */ 2038 { 2039 ns(struct sys___adjtime50_args), 2040 .sy_flags = SYCALL_ARG_PTR, 2041 .sy_call = (sy_call_t *)sys___adjtime50 2042 }, /* 421 = __adjtime50 */ 2043 { 2044 ns(struct sys___lfs_segwait50_args), 2045 .sy_flags = SYCALL_ARG_PTR, 2046 .sy_call = (sy_call_t *)sys_nomodule 2047 }, /* 422 = __lfs_segwait50 */ 2048 { 2049 ns(struct sys___futimes50_args), 2050 .sy_flags = SYCALL_ARG_PTR, 2051 .sy_call = (sy_call_t *)sys___futimes50 2052 }, /* 423 = __futimes50 */ 2053 { 2054 ns(struct sys___lutimes50_args), 2055 .sy_flags = SYCALL_ARG_PTR, 2056 .sy_call = (sy_call_t *)sys___lutimes50 2057 }, /* 424 = __lutimes50 */ 2058 { 2059 ns(struct sys___setitimer50_args), 2060 .sy_flags = SYCALL_ARG_PTR, 2061 .sy_call = (sy_call_t *)sys___setitimer50 2062 }, /* 425 = __setitimer50 */ 2063 { 2064 ns(struct sys___getitimer50_args), 2065 .sy_flags = SYCALL_ARG_PTR, 2066 .sy_call = (sy_call_t *)sys___getitimer50 2067 }, /* 426 = __getitimer50 */ 2068 { 2069 ns(struct sys___clock_gettime50_args), 2070 .sy_flags = SYCALL_ARG_PTR, 2071 .sy_call = (sy_call_t *)sys___clock_gettime50 2072 }, /* 427 = __clock_gettime50 */ 2073 { 2074 ns(struct sys___clock_settime50_args), 2075 .sy_flags = SYCALL_ARG_PTR, 2076 .sy_call = (sy_call_t *)sys___clock_settime50 2077 }, /* 428 = __clock_settime50 */ 2078 { 2079 ns(struct sys___clock_getres50_args), 2080 .sy_flags = SYCALL_ARG_PTR, 2081 .sy_call = (sy_call_t *)sys___clock_getres50 2082 }, /* 429 = __clock_getres50 */ 2083 { 2084 ns(struct sys___nanosleep50_args), 2085 .sy_flags = SYCALL_ARG_PTR, 2086 .sy_call = (sy_call_t *)sys___nanosleep50 2087 }, /* 430 = __nanosleep50 */ 2088 { 2089 ns(struct sys_____sigtimedwait50_args), 2090 .sy_flags = SYCALL_ARG_PTR, 2091 .sy_call = (sy_call_t *)sys_____sigtimedwait50 2092 }, /* 431 = ____sigtimedwait50 */ 2093 { 2094 ns(struct sys___mq_timedsend50_args), 2095 .sy_flags = SYCALL_ARG_PTR, 2096 .sy_call = (sy_call_t *)sys_nomodule 2097 }, /* 432 = __mq_timedsend50 */ 2098 { 2099 ns(struct sys___mq_timedreceive50_args), 2100 .sy_flags = SYCALL_ARG_PTR, 2101 .sy_call = (sy_call_t *)sys_nomodule 2102 }, /* 433 = __mq_timedreceive50 */ 2103 { 2104 ns(struct compat_60_sys__lwp_park_args), 2105 .sy_flags = SYCALL_ARG_PTR, 2106 .sy_call = (sy_call_t *)sys_nomodule 2107 }, /* 434 = compat_60__lwp_park */ 2108 { 2109 ns(struct sys___kevent50_args), 2110 .sy_flags = SYCALL_ARG_PTR, 2111 .sy_call = (sy_call_t *)sys___kevent50 2112 }, /* 435 = __kevent50 */ 2113 { 2114 ns(struct sys___pselect50_args), 2115 .sy_flags = SYCALL_ARG_PTR, 2116 .sy_call = (sy_call_t *)sys___pselect50 2117 }, /* 436 = __pselect50 */ 2118 { 2119 ns(struct sys___pollts50_args), 2120 .sy_flags = SYCALL_ARG_PTR, 2121 .sy_call = (sy_call_t *)sys___pollts50 2122 }, /* 437 = __pollts50 */ 2123 { 2124 ns(struct sys___aio_suspend50_args), 2125 .sy_flags = SYCALL_ARG_PTR, 2126 .sy_call = (sy_call_t *)sys_nomodule 2127 }, /* 438 = __aio_suspend50 */ 2128 { 2129 ns(struct sys___stat50_args), 2130 .sy_flags = SYCALL_ARG_PTR, 2131 .sy_call = (sy_call_t *)sys___stat50 2132 }, /* 439 = __stat50 */ 2133 { 2134 ns(struct sys___fstat50_args), 2135 .sy_flags = SYCALL_ARG_PTR, 2136 .sy_call = (sy_call_t *)sys___fstat50 2137 }, /* 440 = __fstat50 */ 2138 { 2139 ns(struct sys___lstat50_args), 2140 .sy_flags = SYCALL_ARG_PTR, 2141 .sy_call = (sy_call_t *)sys___lstat50 2142 }, /* 441 = __lstat50 */ 2143 { 2144 ns(struct sys_____semctl50_args), 2145 .sy_flags = SYCALL_ARG_PTR, 2146 .sy_call = (sy_call_t *)sys_nomodule 2147 }, /* 442 = ____semctl50 */ 2148 { 2149 ns(struct sys___shmctl50_args), 2150 .sy_flags = SYCALL_ARG_PTR, 2151 .sy_call = (sy_call_t *)sys_nomodule 2152 }, /* 443 = __shmctl50 */ 2153 { 2154 ns(struct sys___msgctl50_args), 2155 .sy_flags = SYCALL_ARG_PTR, 2156 .sy_call = (sy_call_t *)sys_nomodule 2157 }, /* 444 = __msgctl50 */ 2158 { 2159 ns(struct sys___getrusage50_args), 2160 .sy_flags = SYCALL_ARG_PTR, 2161 .sy_call = (sy_call_t *)sys___getrusage50 2162 }, /* 445 = __getrusage50 */ 2163 { 2164 ns(struct sys___timer_settime50_args), 2165 .sy_flags = SYCALL_ARG_PTR, 2166 .sy_call = (sy_call_t *)sys___timer_settime50 2167 }, /* 446 = __timer_settime50 */ 2168 { 2169 ns(struct sys___timer_gettime50_args), 2170 .sy_flags = SYCALL_ARG_PTR, 2171 .sy_call = (sy_call_t *)sys___timer_gettime50 2172 }, /* 447 = __timer_gettime50 */ 2173 #if defined(NTP) || !defined(_KERNEL_OPT) 2174 { 2175 ns(struct sys___ntp_gettime50_args), 2176 .sy_flags = SYCALL_ARG_PTR, 2177 .sy_call = (sy_call_t *)sys___ntp_gettime50 2178 }, /* 448 = __ntp_gettime50 */ 2179 #else 2180 { 2181 .sy_call = sys_nosys, 2182 }, /* 448 = filler */ 2183 #endif 2184 { 2185 ns(struct sys___wait450_args), 2186 .sy_flags = SYCALL_ARG_PTR, 2187 .sy_call = (sy_call_t *)sys___wait450 2188 }, /* 449 = __wait450 */ 2189 { 2190 ns(struct sys___mknod50_args), 2191 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_ARG_PTR, 2192 .sy_call = (sy_call_t *)sys___mknod50 2193 }, /* 450 = __mknod50 */ 2194 { 2195 ns(struct sys___fhstat50_args), 2196 .sy_flags = SYCALL_ARG_PTR, 2197 .sy_call = (sy_call_t *)sys___fhstat50 2198 }, /* 451 = __fhstat50 */ 2199 { 2200 .sy_call = sys_nosys, 2201 }, /* 452 = filler */ 2202 { 2203 ns(struct sys_pipe2_args), 2204 .sy_flags = SYCALL_ARG_PTR, 2205 .sy_call = (sy_call_t *)sys_pipe2 2206 }, /* 453 = pipe2 */ 2207 { 2208 ns(struct sys_dup3_args), 2209 .sy_call = (sy_call_t *)sys_dup3 2210 }, /* 454 = dup3 */ 2211 { 2212 ns(struct sys_kqueue1_args), 2213 .sy_call = (sy_call_t *)sys_kqueue1 2214 }, /* 455 = kqueue1 */ 2215 { 2216 ns(struct sys_paccept_args), 2217 .sy_flags = SYCALL_ARG_PTR, 2218 .sy_call = (sy_call_t *)sys_paccept 2219 }, /* 456 = paccept */ 2220 { 2221 ns(struct sys_linkat_args), 2222 .sy_flags = SYCALL_ARG_PTR, 2223 .sy_call = (sy_call_t *)sys_linkat 2224 }, /* 457 = linkat */ 2225 { 2226 ns(struct sys_renameat_args), 2227 .sy_flags = SYCALL_ARG_PTR, 2228 .sy_call = (sy_call_t *)sys_renameat 2229 }, /* 458 = renameat */ 2230 { 2231 ns(struct sys_mkfifoat_args), 2232 .sy_flags = SYCALL_ARG_PTR, 2233 .sy_call = (sy_call_t *)sys_mkfifoat 2234 }, /* 459 = mkfifoat */ 2235 { 2236 ns(struct sys_mknodat_args), 2237 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR, 2238 .sy_call = (sy_call_t *)sys_mknodat 2239 }, /* 460 = mknodat */ 2240 { 2241 ns(struct sys_mkdirat_args), 2242 .sy_flags = SYCALL_ARG_PTR, 2243 .sy_call = (sy_call_t *)sys_mkdirat 2244 }, /* 461 = mkdirat */ 2245 { 2246 ns(struct sys_faccessat_args), 2247 .sy_flags = SYCALL_ARG_PTR, 2248 .sy_call = (sy_call_t *)sys_faccessat 2249 }, /* 462 = faccessat */ 2250 { 2251 ns(struct sys_fchmodat_args), 2252 .sy_flags = SYCALL_ARG_PTR, 2253 .sy_call = (sy_call_t *)sys_fchmodat 2254 }, /* 463 = fchmodat */ 2255 { 2256 ns(struct sys_fchownat_args), 2257 .sy_flags = SYCALL_ARG_PTR, 2258 .sy_call = (sy_call_t *)sys_fchownat 2259 }, /* 464 = fchownat */ 2260 { 2261 ns(struct sys_fexecve_args), 2262 .sy_flags = SYCALL_ARG_PTR, 2263 .sy_call = (sy_call_t *)sys_fexecve 2264 }, /* 465 = fexecve */ 2265 { 2266 ns(struct sys_fstatat_args), 2267 .sy_flags = SYCALL_ARG_PTR, 2268 .sy_call = (sy_call_t *)sys_fstatat 2269 }, /* 466 = fstatat */ 2270 { 2271 ns(struct sys_utimensat_args), 2272 .sy_flags = SYCALL_ARG_PTR, 2273 .sy_call = (sy_call_t *)sys_utimensat 2274 }, /* 467 = utimensat */ 2275 { 2276 ns(struct sys_openat_args), 2277 .sy_flags = SYCALL_ARG_PTR, 2278 .sy_call = (sy_call_t *)sys_openat 2279 }, /* 468 = openat */ 2280 { 2281 ns(struct sys_readlinkat_args), 2282 .sy_flags = SYCALL_ARG_PTR, 2283 .sy_call = (sy_call_t *)sys_readlinkat 2284 }, /* 469 = readlinkat */ 2285 { 2286 ns(struct sys_symlinkat_args), 2287 .sy_flags = SYCALL_ARG_PTR, 2288 .sy_call = (sy_call_t *)sys_symlinkat 2289 }, /* 470 = symlinkat */ 2290 { 2291 ns(struct sys_unlinkat_args), 2292 .sy_flags = SYCALL_ARG_PTR, 2293 .sy_call = (sy_call_t *)sys_unlinkat 2294 }, /* 471 = unlinkat */ 2295 { 2296 ns(struct sys_futimens_args), 2297 .sy_flags = SYCALL_ARG_PTR, 2298 .sy_call = (sy_call_t *)sys_futimens 2299 }, /* 472 = futimens */ 2300 { 2301 ns(struct sys___quotactl_args), 2302 .sy_flags = SYCALL_ARG_PTR, 2303 .sy_call = (sy_call_t *)sys___quotactl 2304 }, /* 473 = __quotactl */ 2305 { 2306 ns(struct sys_posix_spawn_args), 2307 .sy_flags = SYCALL_ARG_PTR, 2308 .sy_call = (sy_call_t *)sys_posix_spawn 2309 }, /* 474 = posix_spawn */ 2310 { 2311 ns(struct sys_recvmmsg_args), 2312 .sy_flags = SYCALL_ARG_PTR, 2313 .sy_call = (sy_call_t *)sys_recvmmsg 2314 }, /* 475 = recvmmsg */ 2315 { 2316 ns(struct sys_sendmmsg_args), 2317 .sy_flags = SYCALL_ARG_PTR, 2318 .sy_call = (sy_call_t *)sys_sendmmsg 2319 }, /* 476 = sendmmsg */ 2320 { 2321 ns(struct sys_clock_nanosleep_args), 2322 .sy_flags = SYCALL_ARG_PTR, 2323 .sy_call = (sy_call_t *)sys_clock_nanosleep 2324 }, /* 477 = clock_nanosleep */ 2325 { 2326 ns(struct sys____lwp_park60_args), 2327 .sy_flags = SYCALL_ARG_PTR, 2328 .sy_call = (sy_call_t *)sys____lwp_park60 2329 }, /* 478 = ___lwp_park60 */ 2330 { 2331 ns(struct sys_posix_fallocate_args), 2332 .sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64, 2333 .sy_call = (sy_call_t *)sys_posix_fallocate 2334 }, /* 479 = posix_fallocate */ 2335 { 2336 ns(struct sys_fdiscard_args), 2337 .sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64, 2338 .sy_call = (sy_call_t *)sys_fdiscard 2339 }, /* 480 = fdiscard */ 2340 { 2341 ns(struct sys_wait6_args), 2342 .sy_flags = SYCALL_ARG_PTR, 2343 .sy_call = (sy_call_t *)sys_wait6 2344 }, /* 481 = wait6 */ 2345 { 2346 ns(struct sys_clock_getcpuclockid2_args), 2347 .sy_flags = SYCALL_ARG_PTR, 2348 .sy_call = (sy_call_t *)sys_clock_getcpuclockid2 2349 }, /* 482 = clock_getcpuclockid2 */ 2350 { 2351 ns(struct sys___getvfsstat90_args), 2352 .sy_flags = SYCALL_ARG_PTR, 2353 .sy_call = (sy_call_t *)sys___getvfsstat90 2354 }, /* 483 = __getvfsstat90 */ 2355 { 2356 ns(struct sys___statvfs190_args), 2357 .sy_flags = SYCALL_ARG_PTR, 2358 .sy_call = (sy_call_t *)sys___statvfs190 2359 }, /* 484 = __statvfs190 */ 2360 { 2361 ns(struct sys___fstatvfs190_args), 2362 .sy_flags = SYCALL_ARG_PTR, 2363 .sy_call = (sy_call_t *)sys___fstatvfs190 2364 }, /* 485 = __fstatvfs190 */ 2365 { 2366 ns(struct sys___fhstatvfs190_args), 2367 .sy_flags = SYCALL_ARG_PTR, 2368 .sy_call = (sy_call_t *)sys___fhstatvfs190 2369 }, /* 486 = __fhstatvfs190 */ 2370 { 2371 ns(struct sys___acl_get_link_args), 2372 .sy_flags = SYCALL_ARG_PTR, 2373 .sy_call = (sy_call_t *)sys___acl_get_link 2374 }, /* 487 = __acl_get_link */ 2375 { 2376 ns(struct sys___acl_set_link_args), 2377 .sy_flags = SYCALL_ARG_PTR, 2378 .sy_call = (sy_call_t *)sys___acl_set_link 2379 }, /* 488 = __acl_set_link */ 2380 { 2381 ns(struct sys___acl_delete_link_args), 2382 .sy_flags = SYCALL_ARG_PTR, 2383 .sy_call = (sy_call_t *)sys___acl_delete_link 2384 }, /* 489 = __acl_delete_link */ 2385 { 2386 ns(struct sys___acl_aclcheck_link_args), 2387 .sy_flags = SYCALL_ARG_PTR, 2388 .sy_call = (sy_call_t *)sys___acl_aclcheck_link 2389 }, /* 490 = __acl_aclcheck_link */ 2390 { 2391 ns(struct sys___acl_get_file_args), 2392 .sy_flags = SYCALL_ARG_PTR, 2393 .sy_call = (sy_call_t *)sys___acl_get_file 2394 }, /* 491 = __acl_get_file */ 2395 { 2396 ns(struct sys___acl_set_file_args), 2397 .sy_flags = SYCALL_ARG_PTR, 2398 .sy_call = (sy_call_t *)sys___acl_set_file 2399 }, /* 492 = __acl_set_file */ 2400 { 2401 ns(struct sys___acl_get_fd_args), 2402 .sy_flags = SYCALL_ARG_PTR, 2403 .sy_call = (sy_call_t *)sys___acl_get_fd 2404 }, /* 493 = __acl_get_fd */ 2405 { 2406 ns(struct sys___acl_set_fd_args), 2407 .sy_flags = SYCALL_ARG_PTR, 2408 .sy_call = (sy_call_t *)sys___acl_set_fd 2409 }, /* 494 = __acl_set_fd */ 2410 { 2411 ns(struct sys___acl_delete_file_args), 2412 .sy_flags = SYCALL_ARG_PTR, 2413 .sy_call = (sy_call_t *)sys___acl_delete_file 2414 }, /* 495 = __acl_delete_file */ 2415 { 2416 ns(struct sys___acl_delete_fd_args), 2417 .sy_call = (sy_call_t *)sys___acl_delete_fd 2418 }, /* 496 = __acl_delete_fd */ 2419 { 2420 ns(struct sys___acl_aclcheck_file_args), 2421 .sy_flags = SYCALL_ARG_PTR, 2422 .sy_call = (sy_call_t *)sys___acl_aclcheck_file 2423 }, /* 497 = __acl_aclcheck_file */ 2424 { 2425 ns(struct sys___acl_aclcheck_fd_args), 2426 .sy_flags = SYCALL_ARG_PTR, 2427 .sy_call = (sy_call_t *)sys___acl_aclcheck_fd 2428 }, /* 498 = __acl_aclcheck_fd */ 2429 { 2430 ns(struct sys_lpathconf_args), 2431 .sy_flags = SYCALL_ARG_PTR, 2432 .sy_call = (sy_call_t *)sys_lpathconf 2433 }, /* 499 = lpathconf */ 2434 { 2435 .sy_call = sys_nosys, 2436 }, /* 500 = filler */ 2437 { 2438 .sy_call = sys_nosys, 2439 }, /* 501 = filler */ 2440 { 2441 .sy_call = sys_nosys, 2442 }, /* 502 = filler */ 2443 { 2444 .sy_call = sys_nosys, 2445 }, /* 503 = filler */ 2446 { 2447 .sy_call = sys_nosys, 2448 }, /* 504 = filler */ 2449 { 2450 .sy_call = sys_nosys, 2451 }, /* 505 = filler */ 2452 { 2453 .sy_call = sys_nosys, 2454 }, /* 506 = filler */ 2455 { 2456 .sy_call = sys_nosys, 2457 }, /* 507 = filler */ 2458 { 2459 .sy_call = sys_nosys, 2460 }, /* 508 = filler */ 2461 { 2462 .sy_call = sys_nosys, 2463 }, /* 509 = filler */ 2464 { 2465 .sy_call = sys_nosys, 2466 }, /* 510 = filler */ 2467 { 2468 .sy_call = sys_nosys, 2469 }, /* 511 = filler */ 2470 }; 2471 2472 const uint32_t sysent_nomodbits[] = { 2473 0x042c4180, /* syscalls 0- 31 */ 2474 0xc0b14140, /* syscalls 32- 63 */ 2475 0x23f80083, /* syscalls 64- 95 */ 2476 0x2437f0ea, /* syscalls 96-127 */ 2477 0x7877f406, /* syscalls 128-159 */ 2478 0x7f008e1e, /* syscalls 160-191 */ 2479 0xf0044010, /* syscalls 192-223 */ 2480 0xff9167ff, /* syscalls 224-255 */ 2481 0x01d107ff, /* syscalls 256-287 */ 2482 0x0000fc88, /* syscalls 288-319 */ 2483 0x0200fc01, /* syscalls 320-351 */ 2484 0x006000f0, /* syscalls 352-383 */ 2485 0x007fe338, /* syscalls 384-415 */ 2486 0x1c470040, /* syscalls 416-447 */ 2487 0x00000000, /* syscalls 448-479 */ 2488 0x00000000, /* syscalls 480-511 */ 2489 }; 2490