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