1 /* $NetBSD: linux32_sysent.c,v 1.3 2021/12/02 04:39:45 ryo 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.2 2021/11/27 21:15:07 ryo Exp 8 */ 9 10 #include <sys/cdefs.h> 11 __KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.3 2021/12/02 04:39:45 ryo Exp $"); 12 13 #include <sys/param.h> 14 #include <sys/syscallargs.h> 15 #include <machine/netbsd32_machdep.h> 16 #include <compat/netbsd32/netbsd32.h> 17 #include <compat/netbsd32/netbsd32_syscallargs.h> 18 #include <compat/linux/common/linux_types.h> 19 #include <compat/linux/common/linux_mmap.h> 20 #include <compat/linux/common/linux_signal.h> 21 #include <compat/linux/common/linux_siginfo.h> 22 #include <compat/linux/common/linux_machdep.h> 23 #include <compat/linux/common/linux_ipc.h> 24 #include <compat/linux/common/linux_sem.h> 25 #include <compat/linux/linux_syscallargs.h> 26 #include <compat/linux32/common/linux32_types.h> 27 #include <compat/linux32/common/linux32_signal.h> 28 #include <compat/linux32/common/linux32_socketcall.h> 29 #include <compat/linux32/arch/aarch64/linux32_missing.h> 30 #include <compat/linux32/linux32_syscallargs.h> 31 32 #define s(type) sizeof(type) 33 #define n(type) (sizeof(type)/sizeof (register32_t)) 34 #define ns(type) .sy_narg = n(type), .sy_argsize = s(type) 35 36 struct sysent linux32_sysent[] = { 37 { 38 .sy_call = (sy_call_t *)linux_sys_nosys 39 }, /* 0 = syscall */ 40 { 41 ns(struct linux32_sys_exit_args), 42 .sy_call = (sy_call_t *)linux32_sys_exit 43 }, /* 1 = exit */ 44 { 45 .sy_call = (sy_call_t *)sys_fork 46 }, /* 2 = fork */ 47 { 48 ns(struct netbsd32_read_args), 49 .sy_call = (sy_call_t *)netbsd32_read 50 }, /* 3 = netbsd32_read */ 51 { 52 ns(struct netbsd32_write_args), 53 .sy_call = (sy_call_t *)netbsd32_write 54 }, /* 4 = netbsd32_write */ 55 { 56 ns(struct linux32_sys_open_args), 57 .sy_call = (sy_call_t *)linux32_sys_open 58 }, /* 5 = open */ 59 { 60 ns(struct netbsd32_close_args), 61 .sy_call = (sy_call_t *)netbsd32_close 62 }, /* 6 = netbsd32_close */ 63 { 64 ns(struct linux32_sys_waitpid_args), 65 .sy_call = (sy_call_t *)linux32_sys_waitpid 66 }, /* 7 = waitpid */ 67 { 68 ns(struct linux32_sys_creat_args), 69 .sy_call = (sy_call_t *)linux32_sys_creat 70 }, /* 8 = creat */ 71 { 72 ns(struct netbsd32_link_args), 73 .sy_call = (sy_call_t *)netbsd32_link 74 }, /* 9 = netbsd32_link */ 75 { 76 ns(struct linux32_sys_unlink_args), 77 .sy_call = (sy_call_t *)linux32_sys_unlink 78 }, /* 10 = unlink */ 79 { 80 ns(struct netbsd32_execve_args), 81 .sy_call = (sy_call_t *)netbsd32_execve 82 }, /* 11 = netbsd32_execve */ 83 { 84 ns(struct netbsd32_chdir_args), 85 .sy_call = (sy_call_t *)netbsd32_chdir 86 }, /* 12 = netbsd32_chdir */ 87 { 88 ns(struct linux32_sys_time_args), 89 .sy_call = (sy_call_t *)linux32_sys_time 90 }, /* 13 = time */ 91 { 92 ns(struct linux32_sys_mknod_args), 93 .sy_call = (sy_call_t *)linux32_sys_mknod 94 }, /* 14 = mknod */ 95 { 96 ns(struct netbsd32_chmod_args), 97 .sy_call = (sy_call_t *)netbsd32_chmod 98 }, /* 15 = netbsd32_chmod */ 99 { 100 ns(struct linux32_sys_lchown16_args), 101 .sy_call = (sy_call_t *)linux32_sys_lchown16 102 }, /* 16 = lchown16 */ 103 { 104 .sy_call = linux_sys_nosys, 105 }, /* 17 = filler */ 106 { 107 .sy_call = linux_sys_nosys, 108 }, /* 18 = filler */ 109 { 110 ns(struct compat_43_netbsd32_olseek_args), 111 .sy_call = (sy_call_t *)compat_43_netbsd32_olseek 112 }, /* 19 = compat_43_netbsd32_olseek */ 113 { 114 .sy_call = (sy_call_t *)sys_getpid 115 }, /* 20 = getpid */ 116 { 117 .sy_call = linux_sys_nosys, 118 }, /* 21 = filler */ 119 { 120 .sy_call = linux_sys_nosys, 121 }, /* 22 = filler */ 122 { 123 ns(struct netbsd32_setuid_args), 124 .sy_call = (sy_call_t *)netbsd32_setuid 125 }, /* 23 = linux_setuid16 */ 126 { 127 .sy_call = (sy_call_t *)sys_getuid 128 }, /* 24 = linux_getuid16 */ 129 { 130 ns(struct linux32_sys_stime_args), 131 .sy_call = (sy_call_t *)linux32_sys_stime 132 }, /* 25 = stime */ 133 { 134 ns(struct linux32_sys_ptrace_args), 135 .sy_call = (sy_call_t *)linux32_sys_ptrace 136 }, /* 26 = ptrace */ 137 { 138 ns(struct linux32_sys_alarm_args), 139 .sy_call = (sy_call_t *)linux32_sys_alarm 140 }, /* 27 = alarm */ 141 { 142 .sy_call = linux_sys_nosys, 143 }, /* 28 = filler */ 144 { 145 .sy_call = (sy_call_t *)linux_sys_pause 146 }, /* 29 = pause */ 147 { 148 ns(struct linux32_sys_utime_args), 149 .sy_call = (sy_call_t *)linux32_sys_utime 150 }, /* 30 = utime */ 151 { 152 .sy_call = linux_sys_nosys, 153 }, /* 31 = filler */ 154 { 155 .sy_call = linux_sys_nosys, 156 }, /* 32 = filler */ 157 { 158 ns(struct netbsd32_access_args), 159 .sy_call = (sy_call_t *)netbsd32_access 160 }, /* 33 = netbsd32_access */ 161 { 162 ns(struct linux32_sys_nice_args), 163 .sy_call = (sy_call_t *)linux32_sys_nice 164 }, /* 34 = nice */ 165 { 166 .sy_call = linux_sys_nosys, 167 }, /* 35 = filler */ 168 { 169 .sy_call = (sy_call_t *)sys_sync 170 }, /* 36 = sync */ 171 { 172 ns(struct linux32_sys_kill_args), 173 .sy_call = (sy_call_t *)linux32_sys_kill 174 }, /* 37 = kill */ 175 { 176 ns(struct netbsd32___posix_rename_args), 177 .sy_call = (sy_call_t *)netbsd32___posix_rename 178 }, /* 38 = netbsd32___posix_rename */ 179 { 180 ns(struct netbsd32_mkdir_args), 181 .sy_call = (sy_call_t *)netbsd32_mkdir 182 }, /* 39 = netbsd32_mkdir */ 183 { 184 ns(struct netbsd32_rmdir_args), 185 .sy_call = (sy_call_t *)netbsd32_rmdir 186 }, /* 40 = netbsd32_rmdir */ 187 { 188 ns(struct netbsd32_dup_args), 189 .sy_call = (sy_call_t *)netbsd32_dup 190 }, /* 41 = netbsd32_dup */ 191 { 192 ns(struct linux32_sys_pipe_args), 193 .sy_call = (sy_call_t *)linux32_sys_pipe 194 }, /* 42 = pipe */ 195 { 196 ns(struct linux32_sys_times_args), 197 .sy_call = (sy_call_t *)linux32_sys_times 198 }, /* 43 = times */ 199 { 200 .sy_call = linux_sys_nosys, 201 }, /* 44 = filler */ 202 { 203 ns(struct linux32_sys_brk_args), 204 .sy_call = (sy_call_t *)linux32_sys_brk 205 }, /* 45 = brk */ 206 { 207 ns(struct netbsd32_setgid_args), 208 .sy_call = (sy_call_t *)netbsd32_setgid 209 }, /* 46 = linux_setgid16 */ 210 { 211 .sy_call = (sy_call_t *)sys_getgid 212 }, /* 47 = linux_getgid16 */ 213 { 214 ns(struct linux32_sys_signal_args), 215 .sy_call = (sy_call_t *)linux32_sys_signal 216 }, /* 48 = signal */ 217 { 218 .sy_call = (sy_call_t *)sys_geteuid 219 }, /* 49 = linux_geteuid16 */ 220 { 221 .sy_call = (sy_call_t *)sys_getegid 222 }, /* 50 = linux_getegid16 */ 223 { 224 ns(struct netbsd32_acct_args), 225 .sy_call = (sy_call_t *)netbsd32_acct 226 }, /* 51 = netbsd32_acct */ 227 { 228 .sy_call = linux_sys_nosys, 229 }, /* 52 = filler */ 230 { 231 .sy_call = linux_sys_nosys, 232 }, /* 53 = filler */ 233 { 234 ns(struct linux32_sys_ioctl_args), 235 .sy_call = (sy_call_t *)linux32_sys_ioctl 236 }, /* 54 = ioctl */ 237 { 238 ns(struct linux32_sys_fcntl_args), 239 .sy_call = (sy_call_t *)linux32_sys_fcntl 240 }, /* 55 = fcntl */ 241 { 242 .sy_call = linux_sys_nosys, 243 }, /* 56 = filler */ 244 { 245 ns(struct netbsd32_setpgid_args), 246 .sy_call = (sy_call_t *)netbsd32_setpgid 247 }, /* 57 = netbsd32_setpgid */ 248 { 249 .sy_call = linux_sys_nosys, 250 }, /* 58 = filler */ 251 { 252 ns(struct linux32_sys_oldolduname_args), 253 .sy_call = (sy_call_t *)linux32_sys_oldolduname 254 }, /* 59 = oldolduname */ 255 { 256 ns(struct netbsd32_umask_args), 257 .sy_call = (sy_call_t *)netbsd32_umask 258 }, /* 60 = netbsd32_umask */ 259 { 260 ns(struct netbsd32_chroot_args), 261 .sy_call = (sy_call_t *)netbsd32_chroot 262 }, /* 61 = netbsd32_chroot */ 263 { 264 .sy_call = linux_sys_nosys, 265 }, /* 62 = filler */ 266 { 267 ns(struct netbsd32_dup2_args), 268 .sy_call = (sy_call_t *)netbsd32_dup2 269 }, /* 63 = netbsd32_dup2 */ 270 { 271 .sy_call = (sy_call_t *)sys_getppid 272 }, /* 64 = getppid */ 273 { 274 .sy_call = (sy_call_t *)sys_getpgrp 275 }, /* 65 = getpgrp */ 276 { 277 .sy_call = (sy_call_t *)sys_setsid 278 }, /* 66 = setsid */ 279 { 280 .sy_call = linux_sys_nosys, 281 }, /* 67 = filler */ 282 { 283 .sy_call = (sy_call_t *)linux32_sys_siggetmask 284 }, /* 68 = siggetmask */ 285 { 286 ns(struct linux32_sys_sigsetmask_args), 287 .sy_call = (sy_call_t *)linux32_sys_sigsetmask 288 }, /* 69 = sigsetmask */ 289 { 290 ns(struct linux32_sys_setreuid16_args), 291 .sy_call = (sy_call_t *)linux32_sys_setreuid16 292 }, /* 70 = setreuid16 */ 293 { 294 ns(struct linux32_sys_setregid16_args), 295 .sy_call = (sy_call_t *)linux32_sys_setregid16 296 }, /* 71 = setregid16 */ 297 { 298 .sy_call = linux_sys_nosys, 299 }, /* 72 = filler */ 300 { 301 .sy_call = linux_sys_nosys, 302 }, /* 73 = filler */ 303 { 304 ns(struct compat_43_netbsd32_osethostname_args), 305 .sy_call = (sy_call_t *)compat_43_netbsd32_osethostname 306 }, /* 74 = compat_43_netbsd32_osethostname */ 307 { 308 ns(struct linux32_sys_setrlimit_args), 309 .sy_call = (sy_call_t *)linux32_sys_setrlimit 310 }, /* 75 = setrlimit */ 311 { 312 ns(struct linux32_sys_getrlimit_args), 313 .sy_call = (sy_call_t *)linux32_sys_getrlimit 314 }, /* 76 = getrlimit */ 315 { 316 ns(struct compat_50_netbsd32_getrusage_args), 317 .sy_call = (sy_call_t *)compat_50_netbsd32_getrusage 318 }, /* 77 = compat_50_netbsd32_getrusage */ 319 { 320 ns(struct linux32_sys_gettimeofday_args), 321 .sy_call = (sy_call_t *)linux32_sys_gettimeofday 322 }, /* 78 = gettimeofday */ 323 { 324 ns(struct linux32_sys_settimeofday_args), 325 .sy_call = (sy_call_t *)linux32_sys_settimeofday 326 }, /* 79 = settimeofday */ 327 { 328 ns(struct linux32_sys_getgroups16_args), 329 .sy_call = (sy_call_t *)linux32_sys_getgroups16 330 }, /* 80 = getgroups16 */ 331 { 332 ns(struct linux32_sys_setgroups16_args), 333 .sy_call = (sy_call_t *)linux32_sys_setgroups16 334 }, /* 81 = setgroups16 */ 335 { 336 ns(struct linux32_sys_oldselect_args), 337 .sy_call = (sy_call_t *)linux32_sys_oldselect 338 }, /* 82 = oldselect */ 339 { 340 ns(struct netbsd32_symlink_args), 341 .sy_call = (sy_call_t *)netbsd32_symlink 342 }, /* 83 = netbsd32_symlink */ 343 { 344 ns(struct compat_43_netbsd32_lstat43_args), 345 .sy_call = (sy_call_t *)compat_43_netbsd32_lstat43 346 }, /* 84 = compat_43_netbsd32_lstat43 */ 347 { 348 ns(struct netbsd32_readlink_args), 349 .sy_call = (sy_call_t *)netbsd32_readlink 350 }, /* 85 = netbsd32_readlink */ 351 { 352 .sy_call = linux_sys_nosys, 353 }, /* 86 = filler */ 354 { 355 ns(struct linux32_sys_swapon_args), 356 .sy_call = (sy_call_t *)linux32_sys_swapon 357 }, /* 87 = swapon */ 358 { 359 ns(struct linux32_sys_reboot_args), 360 .sy_call = (sy_call_t *)linux32_sys_reboot 361 }, /* 88 = reboot */ 362 { 363 ns(struct linux32_sys_readdir_args), 364 .sy_call = (sy_call_t *)linux32_sys_readdir 365 }, /* 89 = readdir */ 366 { 367 ns(struct linux32_sys_old_mmap_args), 368 .sy_call = (sy_call_t *)linux32_sys_old_mmap 369 }, /* 90 = old_mmap */ 370 { 371 ns(struct netbsd32_munmap_args), 372 .sy_call = (sy_call_t *)netbsd32_munmap 373 }, /* 91 = netbsd32_munmap */ 374 { 375 ns(struct compat_43_netbsd32_otruncate_args), 376 .sy_call = (sy_call_t *)compat_43_netbsd32_otruncate 377 }, /* 92 = compat_43_netbsd32_otruncate */ 378 { 379 ns(struct compat_43_netbsd32_oftruncate_args), 380 .sy_call = (sy_call_t *)compat_43_netbsd32_oftruncate 381 }, /* 93 = compat_43_netbsd32_oftruncate */ 382 { 383 ns(struct netbsd32_fchmod_args), 384 .sy_call = (sy_call_t *)netbsd32_fchmod 385 }, /* 94 = netbsd32_fchmod */ 386 { 387 ns(struct linux32_sys_fchown16_args), 388 .sy_call = (sy_call_t *)linux32_sys_fchown16 389 }, /* 95 = fchown16 */ 390 { 391 ns(struct linux32_sys_getpriority_args), 392 .sy_call = (sy_call_t *)linux32_sys_getpriority 393 }, /* 96 = getpriority */ 394 { 395 ns(struct netbsd32_setpriority_args), 396 .sy_call = (sy_call_t *)netbsd32_setpriority 397 }, /* 97 = netbsd32_setpriority */ 398 { 399 ns(struct netbsd32_profil_args), 400 .sy_call = (sy_call_t *)netbsd32_profil 401 }, /* 98 = netbsd32_profil */ 402 { 403 ns(struct linux32_sys_statfs_args), 404 .sy_call = (sy_call_t *)linux32_sys_statfs 405 }, /* 99 = statfs */ 406 { 407 ns(struct linux32_sys_fstatfs_args), 408 .sy_call = (sy_call_t *)linux32_sys_fstatfs 409 }, /* 100 = fstatfs */ 410 { 411 .sy_call = linux_sys_nosys, 412 }, /* 101 = filler */ 413 { 414 ns(struct linux32_sys_socketcall_args), 415 .sy_call = (sy_call_t *)linux32_sys_socketcall 416 }, /* 102 = socketcall */ 417 { 418 .sy_call = linux_sys_nosys, 419 }, /* 103 = filler */ 420 { 421 ns(struct compat_50_netbsd32_setitimer_args), 422 .sy_call = (sy_call_t *)compat_50_netbsd32_setitimer 423 }, /* 104 = compat_50_netbsd32_setitimer */ 424 { 425 ns(struct compat_50_netbsd32_getitimer_args), 426 .sy_call = (sy_call_t *)compat_50_netbsd32_getitimer 427 }, /* 105 = compat_50_netbsd32_getitimer */ 428 { 429 ns(struct linux32_sys_stat_args), 430 .sy_call = (sy_call_t *)linux32_sys_stat 431 }, /* 106 = stat */ 432 { 433 ns(struct linux32_sys_lstat_args), 434 .sy_call = (sy_call_t *)linux32_sys_lstat 435 }, /* 107 = lstat */ 436 { 437 ns(struct linux32_sys_fstat_args), 438 .sy_call = (sy_call_t *)linux32_sys_fstat 439 }, /* 108 = fstat */ 440 { 441 ns(struct linux32_sys_olduname_args), 442 .sy_call = (sy_call_t *)linux32_sys_olduname 443 }, /* 109 = olduname */ 444 { 445 .sy_call = linux_sys_nosys, 446 }, /* 110 = filler */ 447 { 448 .sy_call = linux_sys_nosys, 449 }, /* 111 = filler */ 450 { 451 .sy_call = linux_sys_nosys, 452 }, /* 112 = filler */ 453 { 454 .sy_call = linux_sys_nosys, 455 }, /* 113 = filler */ 456 { 457 ns(struct linux32_sys_wait4_args), 458 .sy_call = (sy_call_t *)linux32_sys_wait4 459 }, /* 114 = wait4 */ 460 { 461 ns(struct linux32_sys_swapoff_args), 462 .sy_call = (sy_call_t *)linux32_sys_swapoff 463 }, /* 115 = swapoff */ 464 { 465 ns(struct linux32_sys_sysinfo_args), 466 .sy_call = (sy_call_t *)linux32_sys_sysinfo 467 }, /* 116 = sysinfo */ 468 { 469 ns(struct linux32_sys_ipc_args), 470 .sy_call = (sy_call_t *)linux32_sys_ipc 471 }, /* 117 = ipc */ 472 { 473 ns(struct netbsd32_fsync_args), 474 .sy_call = (sy_call_t *)netbsd32_fsync 475 }, /* 118 = netbsd32_fsync */ 476 { 477 ns(struct linux32_sys_sigreturn_args), 478 .sy_call = (sy_call_t *)linux32_sys_sigreturn 479 }, /* 119 = sigreturn */ 480 { 481 ns(struct linux32_sys_clone_args), 482 .sy_call = (sy_call_t *)linux32_sys_clone 483 }, /* 120 = clone */ 484 { 485 ns(struct linux32_sys_setdomainname_args), 486 .sy_call = (sy_call_t *)linux32_sys_setdomainname 487 }, /* 121 = setdomainname */ 488 { 489 ns(struct linux32_sys_uname_args), 490 .sy_call = (sy_call_t *)linux32_sys_uname 491 }, /* 122 = uname */ 492 { 493 .sy_call = linux_sys_nosys, 494 }, /* 123 = filler */ 495 { 496 .sy_call = linux_sys_nosys, 497 }, /* 124 = filler */ 498 { 499 ns(struct linux32_sys_mprotect_args), 500 .sy_call = (sy_call_t *)linux32_sys_mprotect 501 }, /* 125 = mprotect */ 502 { 503 .sy_call = linux_sys_nosys, 504 }, /* 126 = filler */ 505 { 506 .sy_call = linux_sys_nosys, 507 }, /* 127 = filler */ 508 { 509 .sy_call = linux_sys_nosys, 510 }, /* 128 = filler */ 511 { 512 .sy_call = linux_sys_nosys, 513 }, /* 129 = filler */ 514 { 515 .sy_call = linux_sys_nosys, 516 }, /* 130 = filler */ 517 { 518 .sy_call = linux_sys_nosys, 519 }, /* 131 = filler */ 520 { 521 ns(struct netbsd32_getpgid_args), 522 .sy_call = (sy_call_t *)netbsd32_getpgid 523 }, /* 132 = netbsd32_getpgid */ 524 { 525 ns(struct netbsd32_fchdir_args), 526 .sy_call = (sy_call_t *)netbsd32_fchdir 527 }, /* 133 = netbsd32_fchdir */ 528 { 529 .sy_call = linux_sys_nosys, 530 }, /* 134 = filler */ 531 { 532 .sy_call = linux_sys_nosys, 533 }, /* 135 = filler */ 534 { 535 ns(struct linux32_sys_personality_args), 536 .sy_call = (sy_call_t *)linux32_sys_personality 537 }, /* 136 = personality */ 538 { 539 .sy_call = linux_sys_nosys, 540 }, /* 137 = filler */ 541 { 542 ns(struct linux32_sys_setfsuid_args), 543 .sy_call = (sy_call_t *)linux32_sys_setfsuid 544 }, /* 138 = setfsuid16 */ 545 { 546 ns(struct linux32_sys_setfsgid_args), 547 .sy_call = (sy_call_t *)linux32_sys_setfsgid 548 }, /* 139 = setfsgid16 */ 549 { 550 ns(struct linux32_sys_llseek_args), 551 .sy_call = (sy_call_t *)linux32_sys_llseek 552 }, /* 140 = llseek */ 553 { 554 ns(struct linux32_sys_getdents_args), 555 .sy_call = (sy_call_t *)linux32_sys_getdents 556 }, /* 141 = getdents */ 557 { 558 ns(struct linux32_sys_select_args), 559 .sy_call = (sy_call_t *)linux32_sys_select 560 }, /* 142 = select */ 561 { 562 ns(struct netbsd32_flock_args), 563 .sy_call = (sy_call_t *)netbsd32_flock 564 }, /* 143 = netbsd32_flock */ 565 { 566 ns(struct netbsd32___msync13_args), 567 .sy_call = (sy_call_t *)netbsd32___msync13 568 }, /* 144 = netbsd32___msync13 */ 569 { 570 ns(struct netbsd32_readv_args), 571 .sy_call = (sy_call_t *)netbsd32_readv 572 }, /* 145 = netbsd32_readv */ 573 { 574 ns(struct netbsd32_writev_args), 575 .sy_call = (sy_call_t *)netbsd32_writev 576 }, /* 146 = netbsd32_writev */ 577 { 578 ns(struct netbsd32_getsid_args), 579 .sy_call = (sy_call_t *)netbsd32_getsid 580 }, /* 147 = netbsd32_getsid */ 581 { 582 ns(struct linux32_sys_fdatasync_args), 583 .sy_call = (sy_call_t *)linux32_sys_fdatasync 584 }, /* 148 = fdatasync */ 585 { 586 ns(struct linux32_sys___sysctl_args), 587 .sy_call = (sy_call_t *)linux32_sys___sysctl 588 }, /* 149 = __sysctl */ 589 { 590 ns(struct netbsd32_mlock_args), 591 .sy_call = (sy_call_t *)netbsd32_mlock 592 }, /* 150 = netbsd32_mlock */ 593 { 594 ns(struct netbsd32_munlock_args), 595 .sy_call = (sy_call_t *)netbsd32_munlock 596 }, /* 151 = netbsd32_munlock */ 597 { 598 ns(struct netbsd32_mlockall_args), 599 .sy_call = (sy_call_t *)netbsd32_mlockall 600 }, /* 152 = netbsd32_mlockall */ 601 { 602 .sy_call = (sy_call_t *)sys_munlockall 603 }, /* 153 = munlockall */ 604 { 605 ns(struct linux32_sys_sched_setparam_args), 606 .sy_call = (sy_call_t *)linux32_sys_sched_setparam 607 }, /* 154 = sched_setparam */ 608 { 609 ns(struct linux32_sys_sched_getparam_args), 610 .sy_call = (sy_call_t *)linux32_sys_sched_getparam 611 }, /* 155 = sched_getparam */ 612 { 613 ns(struct linux32_sys_sched_setscheduler_args), 614 .sy_call = (sy_call_t *)linux32_sys_sched_setscheduler 615 }, /* 156 = sched_setscheduler */ 616 { 617 ns(struct linux32_sys_sched_getscheduler_args), 618 .sy_call = (sy_call_t *)linux32_sys_sched_getscheduler 619 }, /* 157 = sched_getscheduler */ 620 { 621 .sy_call = (sy_call_t *)linux_sys_sched_yield 622 }, /* 158 = sched_yield */ 623 { 624 ns(struct linux32_sys_sched_get_priority_max_args), 625 .sy_call = (sy_call_t *)linux32_sys_sched_get_priority_max 626 }, /* 159 = sched_get_priority_max */ 627 { 628 ns(struct linux32_sys_sched_get_priority_min_args), 629 .sy_call = (sy_call_t *)linux32_sys_sched_get_priority_min 630 }, /* 160 = sched_get_priority_min */ 631 { 632 .sy_call = linux_sys_nosys, 633 }, /* 161 = filler */ 634 { 635 ns(struct linux32_sys_nanosleep_args), 636 .sy_call = (sy_call_t *)linux32_sys_nanosleep 637 }, /* 162 = nanosleep */ 638 { 639 ns(struct linux32_sys_mremap_args), 640 .sy_call = (sy_call_t *)linux32_sys_mremap 641 }, /* 163 = mremap */ 642 { 643 ns(struct linux32_sys_setresuid16_args), 644 .sy_call = (sy_call_t *)linux32_sys_setresuid16 645 }, /* 164 = setresuid16 */ 646 { 647 ns(struct linux32_sys_getresuid16_args), 648 .sy_call = (sy_call_t *)linux32_sys_getresuid16 649 }, /* 165 = getresuid16 */ 650 { 651 .sy_call = linux_sys_nosys, 652 }, /* 166 = filler */ 653 { 654 .sy_call = linux_sys_nosys, 655 }, /* 167 = filler */ 656 { 657 ns(struct netbsd32_poll_args), 658 .sy_call = (sy_call_t *)netbsd32_poll 659 }, /* 168 = netbsd32_poll */ 660 { 661 .sy_call = linux_sys_nosys, 662 }, /* 169 = filler */ 663 { 664 ns(struct linux32_sys_setresgid16_args), 665 .sy_call = (sy_call_t *)linux32_sys_setresgid16 666 }, /* 170 = setresgid16 */ 667 { 668 ns(struct linux32_sys_getresgid16_args), 669 .sy_call = (sy_call_t *)linux32_sys_getresgid16 670 }, /* 171 = getresgid16 */ 671 { 672 .sy_call = linux_sys_nosys, 673 }, /* 172 = filler */ 674 { 675 ns(struct linux32_sys_rt_sigreturn_args), 676 .sy_call = (sy_call_t *)linux32_sys_rt_sigreturn 677 }, /* 173 = rt_sigreturn */ 678 { 679 ns(struct linux32_sys_rt_sigaction_args), 680 .sy_call = (sy_call_t *)linux32_sys_rt_sigaction 681 }, /* 174 = rt_sigaction */ 682 { 683 ns(struct linux32_sys_rt_sigprocmask_args), 684 .sy_call = (sy_call_t *)linux32_sys_rt_sigprocmask 685 }, /* 175 = rt_sigprocmask */ 686 { 687 ns(struct linux32_sys_rt_sigpending_args), 688 .sy_call = (sy_call_t *)linux32_sys_rt_sigpending 689 }, /* 176 = rt_sigpending */ 690 { 691 ns(struct linux32_sys_rt_sigtimedwait_args), 692 .sy_call = (sy_call_t *)linux32_sys_rt_sigtimedwait 693 }, /* 177 = rt_sigtimedwait */ 694 { 695 ns(struct linux32_sys_rt_queueinfo_args), 696 .sy_call = (sy_call_t *)linux32_sys_rt_queueinfo 697 }, /* 178 = rt_queueinfo */ 698 { 699 ns(struct linux32_sys_rt_sigsuspend_args), 700 .sy_call = (sy_call_t *)linux32_sys_rt_sigsuspend 701 }, /* 179 = rt_sigsuspend */ 702 { 703 ns(struct linux32_sys_pread_args), 704 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG3_64, 705 .sy_call = (sy_call_t *)linux32_sys_pread 706 }, /* 180 = pread */ 707 { 708 ns(struct linux32_sys_pwrite_args), 709 .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG3_64, 710 .sy_call = (sy_call_t *)linux32_sys_pwrite 711 }, /* 181 = pwrite */ 712 { 713 ns(struct linux32_sys_chown16_args), 714 .sy_call = (sy_call_t *)linux32_sys_chown16 715 }, /* 182 = chown16 */ 716 { 717 ns(struct netbsd32___getcwd_args), 718 .sy_call = (sy_call_t *)netbsd32___getcwd 719 }, /* 183 = netbsd32___getcwd */ 720 { 721 .sy_call = linux_sys_nosys, 722 }, /* 184 = filler */ 723 { 724 .sy_call = linux_sys_nosys, 725 }, /* 185 = filler */ 726 { 727 .sy_call = linux_sys_nosys, 728 }, /* 186 = filler */ 729 { 730 .sy_call = linux_sys_nosys, 731 }, /* 187 = filler */ 732 { 733 .sy_call = linux_sys_nosys, 734 }, /* 188 = filler */ 735 { 736 .sy_call = linux_sys_nosys, 737 }, /* 189 = filler */ 738 { 739 .sy_call = (sy_call_t *)sys___vfork14 740 }, /* 190 = __vfork14 */ 741 { 742 ns(struct linux32_sys_ugetrlimit_args), 743 .sy_call = (sy_call_t *)linux32_sys_ugetrlimit 744 }, /* 191 = ugetrlimit */ 745 { 746 ns(struct linux32_sys_mmap2_args), 747 .sy_call = (sy_call_t *)linux32_sys_mmap2 748 }, /* 192 = mmap2 */ 749 { 750 ns(struct linux32_sys_truncate64_args), 751 .sy_call = (sy_call_t *)linux32_sys_truncate64 752 }, /* 193 = truncate64 */ 753 { 754 ns(struct linux32_sys_ftruncate64_args), 755 .sy_call = (sy_call_t *)linux32_sys_ftruncate64 756 }, /* 194 = ftruncate64 */ 757 { 758 ns(struct linux32_sys_stat64_args), 759 .sy_call = (sy_call_t *)linux32_sys_stat64 760 }, /* 195 = stat64 */ 761 { 762 ns(struct linux32_sys_lstat64_args), 763 .sy_call = (sy_call_t *)linux32_sys_lstat64 764 }, /* 196 = lstat64 */ 765 { 766 ns(struct linux32_sys_fstat64_args), 767 .sy_call = (sy_call_t *)linux32_sys_fstat64 768 }, /* 197 = fstat64 */ 769 { 770 ns(struct netbsd32___posix_lchown_args), 771 .sy_call = (sy_call_t *)netbsd32___posix_lchown 772 }, /* 198 = netbsd32___posix_lchown */ 773 { 774 .sy_call = (sy_call_t *)sys_getuid 775 }, /* 199 = getuid */ 776 { 777 .sy_call = (sy_call_t *)sys_getgid 778 }, /* 200 = getgid */ 779 { 780 .sy_call = (sy_call_t *)sys_geteuid 781 }, /* 201 = geteuid */ 782 { 783 .sy_call = (sy_call_t *)sys_getegid 784 }, /* 202 = getegid */ 785 { 786 ns(struct netbsd32_setreuid_args), 787 .sy_call = (sy_call_t *)netbsd32_setreuid 788 }, /* 203 = netbsd32_setreuid */ 789 { 790 ns(struct netbsd32_setregid_args), 791 .sy_call = (sy_call_t *)netbsd32_setregid 792 }, /* 204 = netbsd32_setregid */ 793 { 794 ns(struct netbsd32_getgroups_args), 795 .sy_call = (sy_call_t *)netbsd32_getgroups 796 }, /* 205 = netbsd32_getgroups */ 797 { 798 ns(struct netbsd32_setgroups_args), 799 .sy_call = (sy_call_t *)netbsd32_setgroups 800 }, /* 206 = netbsd32_setgroups */ 801 { 802 ns(struct netbsd32___posix_fchown_args), 803 .sy_call = (sy_call_t *)netbsd32___posix_fchown 804 }, /* 207 = netbsd32___posix_fchown */ 805 { 806 ns(struct linux32_sys_setresuid_args), 807 .sy_call = (sy_call_t *)linux32_sys_setresuid 808 }, /* 208 = setresuid */ 809 { 810 ns(struct linux32_sys_getresuid_args), 811 .sy_call = (sy_call_t *)linux32_sys_getresuid 812 }, /* 209 = getresuid */ 813 { 814 ns(struct linux32_sys_setresgid_args), 815 .sy_call = (sy_call_t *)linux32_sys_setresgid 816 }, /* 210 = setresgid */ 817 { 818 ns(struct linux32_sys_getresgid_args), 819 .sy_call = (sy_call_t *)linux32_sys_getresgid 820 }, /* 211 = getresgid */ 821 { 822 ns(struct netbsd32___posix_chown_args), 823 .sy_call = (sy_call_t *)netbsd32___posix_chown 824 }, /* 212 = netbsd32___posix_chown */ 825 { 826 ns(struct netbsd32_setuid_args), 827 .sy_call = (sy_call_t *)netbsd32_setuid 828 }, /* 213 = netbsd32_setuid */ 829 { 830 ns(struct netbsd32_setgid_args), 831 .sy_call = (sy_call_t *)netbsd32_setgid 832 }, /* 214 = netbsd32_setgid */ 833 { 834 ns(struct linux32_sys_setfsuid_args), 835 .sy_call = (sy_call_t *)linux32_sys_setfsuid 836 }, /* 215 = setfsuid */ 837 { 838 ns(struct linux32_sys_setfsgid_args), 839 .sy_call = (sy_call_t *)linux32_sys_setfsgid 840 }, /* 216 = setfsgid */ 841 { 842 ns(struct linux32_sys_getdents64_args), 843 .sy_call = (sy_call_t *)linux32_sys_getdents64 844 }, /* 217 = getdents64 */ 845 { 846 .sy_call = linux_sys_nosys, 847 }, /* 218 = filler */ 848 { 849 ns(struct netbsd32_mincore_args), 850 .sy_call = (sy_call_t *)netbsd32_mincore 851 }, /* 219 = netbsd32_mincore */ 852 { 853 ns(struct netbsd32_madvise_args), 854 .sy_call = (sy_call_t *)netbsd32_madvise 855 }, /* 220 = netbsd32_madvise */ 856 #define linux32_sys_fcntl64 linux32_sys_fcntl 857 #define linux32_sys_fcntl64_args linux32_sys_fcntl_args 858 { 859 ns(struct linux32_sys_fcntl64_args), 860 .sy_call = (sy_call_t *)linux32_sys_fcntl64 861 }, /* 221 = fcntl64 */ 862 { 863 .sy_call = linux_sys_nosys, 864 }, /* 222 = filler */ 865 { 866 .sy_call = linux_sys_nosys, 867 }, /* 223 = filler */ 868 { 869 .sy_call = (sy_call_t *)linux_sys_gettid 870 }, /* 224 = gettid */ 871 { 872 .sy_call = linux_sys_nosys, 873 }, /* 225 = filler */ 874 { 875 ns(struct netbsd32_setxattr_args), 876 .sy_call = (sy_call_t *)netbsd32_setxattr 877 }, /* 226 = netbsd32_setxattr */ 878 { 879 ns(struct netbsd32_lsetxattr_args), 880 .sy_call = (sy_call_t *)netbsd32_lsetxattr 881 }, /* 227 = netbsd32_lsetxattr */ 882 { 883 ns(struct netbsd32_fsetxattr_args), 884 .sy_call = (sy_call_t *)netbsd32_fsetxattr 885 }, /* 228 = netbsd32_fsetxattr */ 886 { 887 ns(struct netbsd32_getxattr_args), 888 .sy_call = (sy_call_t *)netbsd32_getxattr 889 }, /* 229 = netbsd32_getxattr */ 890 { 891 ns(struct netbsd32_lgetxattr_args), 892 .sy_call = (sy_call_t *)netbsd32_lgetxattr 893 }, /* 230 = netbsd32_lgetxattr */ 894 { 895 ns(struct netbsd32_fgetxattr_args), 896 .sy_call = (sy_call_t *)netbsd32_fgetxattr 897 }, /* 231 = netbsd32_fgetxattr */ 898 { 899 ns(struct netbsd32_listxattr_args), 900 .sy_call = (sy_call_t *)netbsd32_listxattr 901 }, /* 232 = netbsd32_listxattr */ 902 { 903 ns(struct netbsd32_llistxattr_args), 904 .sy_call = (sy_call_t *)netbsd32_llistxattr 905 }, /* 233 = netbsd32_llistxattr */ 906 { 907 ns(struct netbsd32_flistxattr_args), 908 .sy_call = (sy_call_t *)netbsd32_flistxattr 909 }, /* 234 = netbsd32_flistxattr */ 910 { 911 ns(struct netbsd32_removexattr_args), 912 .sy_call = (sy_call_t *)netbsd32_removexattr 913 }, /* 235 = netbsd32_removexattr */ 914 { 915 ns(struct netbsd32_lremovexattr_args), 916 .sy_call = (sy_call_t *)netbsd32_lremovexattr 917 }, /* 236 = netbsd32_lremovexattr */ 918 { 919 ns(struct netbsd32_fremovexattr_args), 920 .sy_call = (sy_call_t *)netbsd32_fremovexattr 921 }, /* 237 = netbsd32_fremovexattr */ 922 { 923 ns(struct linux32_sys_tkill_args), 924 .sy_call = (sy_call_t *)linux32_sys_tkill 925 }, /* 238 = tkill */ 926 { 927 .sy_call = linux_sys_nosys, 928 }, /* 239 = filler */ 929 { 930 ns(struct linux32_sys_futex_args), 931 .sy_call = (sy_call_t *)linux32_sys_futex 932 }, /* 240 = futex */ 933 { 934 ns(struct linux32_sys_sched_setaffinity_args), 935 .sy_call = (sy_call_t *)linux32_sys_sched_setaffinity 936 }, /* 241 = sched_setaffinity */ 937 { 938 ns(struct linux32_sys_sched_getaffinity_args), 939 .sy_call = (sy_call_t *)linux32_sys_sched_getaffinity 940 }, /* 242 = sched_getaffinity */ 941 { 942 .sy_call = linux_sys_nosys, 943 }, /* 243 = filler */ 944 { 945 .sy_call = linux_sys_nosys, 946 }, /* 244 = filler */ 947 { 948 .sy_call = linux_sys_nosys, 949 }, /* 245 = filler */ 950 { 951 .sy_call = linux_sys_nosys, 952 }, /* 246 = filler */ 953 { 954 .sy_call = linux_sys_nosys, 955 }, /* 247 = filler */ 956 { 957 ns(struct linux32_sys_exit_group_args), 958 .sy_call = (sy_call_t *)linux32_sys_exit_group 959 }, /* 248 = exit_group */ 960 { 961 .sy_call = linux_sys_nosys, 962 }, /* 249 = filler */ 963 { 964 .sy_call = linux_sys_nosys, 965 }, /* 250 = filler */ 966 { 967 .sy_call = linux_sys_nosys, 968 }, /* 251 = filler */ 969 { 970 .sy_call = linux_sys_nosys, 971 }, /* 252 = filler */ 972 { 973 .sy_call = linux_sys_nosys, 974 }, /* 253 = filler */ 975 { 976 .sy_call = linux_sys_nosys, 977 }, /* 254 = filler */ 978 { 979 .sy_call = linux_sys_nosys, 980 }, /* 255 = filler */ 981 { 982 ns(struct linux32_sys_set_tid_address_args), 983 .sy_call = (sy_call_t *)linux32_sys_set_tid_address 984 }, /* 256 = set_tid_address */ 985 { 986 ns(struct linux32_sys_timer_create_args), 987 .sy_flags = SYCALL_ARG_PTR, 988 .sy_call = (sy_call_t *)linux32_sys_timer_create 989 }, /* 257 = timer_create */ 990 { 991 ns(struct linux32_sys_timer_settime_args), 992 .sy_flags = SYCALL_ARG_PTR, 993 .sy_call = (sy_call_t *)linux32_sys_timer_settime 994 }, /* 258 = timer_settime */ 995 { 996 ns(struct linux32_sys_timer_gettime_args), 997 .sy_flags = SYCALL_ARG_PTR, 998 .sy_call = (sy_call_t *)linux32_sys_timer_gettime 999 }, /* 259 = timer_gettime */ 1000 { 1001 ns(struct sys_timer_getoverrun_args), 1002 .sy_call = (sy_call_t *)sys_timer_getoverrun 1003 }, /* 260 = timer_getoverrun */ 1004 { 1005 ns(struct sys_timer_delete_args), 1006 .sy_call = (sy_call_t *)sys_timer_delete 1007 }, /* 261 = timer_delete */ 1008 { 1009 ns(struct linux32_sys_clock_settime_args), 1010 .sy_call = (sy_call_t *)linux32_sys_clock_settime 1011 }, /* 262 = clock_settime */ 1012 { 1013 ns(struct linux32_sys_clock_gettime_args), 1014 .sy_call = (sy_call_t *)linux32_sys_clock_gettime 1015 }, /* 263 = clock_gettime */ 1016 { 1017 ns(struct linux32_sys_clock_getres_args), 1018 .sy_call = (sy_call_t *)linux32_sys_clock_getres 1019 }, /* 264 = clock_getres */ 1020 { 1021 ns(struct linux32_sys_clock_nanosleep_args), 1022 .sy_call = (sy_call_t *)linux32_sys_clock_nanosleep 1023 }, /* 265 = clock_nanosleep */ 1024 { 1025 ns(struct linux32_sys_statfs64_args), 1026 .sy_call = (sy_call_t *)linux32_sys_statfs64 1027 }, /* 266 = statfs64 */ 1028 { 1029 ns(struct linux32_sys_fstatfs64_args), 1030 .sy_call = (sy_call_t *)linux32_sys_fstatfs64 1031 }, /* 267 = fstatfs64 */ 1032 { 1033 ns(struct linux32_sys_tgkill_args), 1034 .sy_call = (sy_call_t *)linux32_sys_tgkill 1035 }, /* 268 = tgkill */ 1036 { 1037 ns(struct compat_50_netbsd32_utimes_args), 1038 .sy_call = (sy_call_t *)compat_50_netbsd32_utimes 1039 }, /* 269 = compat_50_netbsd32_utimes */ 1040 { 1041 ns(struct linux32_sys_fadvise64_64_args), 1042 .sy_call = (sy_call_t *)linux32_sys_fadvise64_64 1043 }, /* 270 = fadvise64_64 */ 1044 { 1045 .sy_call = linux_sys_nosys, 1046 }, /* 271 = filler */ 1047 { 1048 .sy_call = linux_sys_nosys, 1049 }, /* 272 = filler */ 1050 { 1051 .sy_call = linux_sys_nosys, 1052 }, /* 273 = filler */ 1053 { 1054 .sy_call = linux_sys_nosys, 1055 }, /* 274 = filler */ 1056 { 1057 .sy_call = linux_sys_nosys, 1058 }, /* 275 = filler */ 1059 { 1060 .sy_call = linux_sys_nosys, 1061 }, /* 276 = filler */ 1062 { 1063 .sy_call = linux_sys_nosys, 1064 }, /* 277 = filler */ 1065 { 1066 .sy_call = linux_sys_nosys, 1067 }, /* 278 = filler */ 1068 { 1069 .sy_call = linux_sys_nosys, 1070 }, /* 279 = filler */ 1071 { 1072 .sy_call = linux_sys_nosys, 1073 }, /* 280 = filler */ 1074 { 1075 ns(struct linux32_sys_socket_args), 1076 .sy_call = (sy_call_t *)linux32_sys_socket 1077 }, /* 281 = socket */ 1078 { 1079 ns(struct linux32_sys_bind_args), 1080 .sy_call = (sy_call_t *)linux32_sys_bind 1081 }, /* 282 = bind */ 1082 { 1083 ns(struct linux32_sys_connect_args), 1084 .sy_call = (sy_call_t *)linux32_sys_connect 1085 }, /* 283 = connect */ 1086 { 1087 .sy_call = linux_sys_nosys, 1088 }, /* 284 = filler */ 1089 { 1090 ns(struct linux32_sys_accept_args), 1091 .sy_call = (sy_call_t *)linux32_sys_accept 1092 }, /* 285 = accept */ 1093 { 1094 ns(struct linux32_sys_getsockname_args), 1095 .sy_call = (sy_call_t *)linux32_sys_getsockname 1096 }, /* 286 = getsockname */ 1097 { 1098 ns(struct linux32_sys_getpeername_args), 1099 .sy_call = (sy_call_t *)linux32_sys_getpeername 1100 }, /* 287 = getpeername */ 1101 { 1102 ns(struct linux32_sys_socketpair_args), 1103 .sy_call = (sy_call_t *)linux32_sys_socketpair 1104 }, /* 288 = socketpair */ 1105 { 1106 ns(struct linux32_sys_send_args), 1107 .sy_call = (sy_call_t *)linux32_sys_send 1108 }, /* 289 = send */ 1109 { 1110 ns(struct linux32_sys_sendto_args), 1111 .sy_call = (sy_call_t *)linux32_sys_sendto 1112 }, /* 290 = sendto */ 1113 { 1114 ns(struct linux32_sys_recv_args), 1115 .sy_call = (sy_call_t *)linux32_sys_recv 1116 }, /* 291 = recv */ 1117 { 1118 ns(struct linux32_sys_recvfrom_args), 1119 .sy_call = (sy_call_t *)linux32_sys_recvfrom 1120 }, /* 292 = recvfrom */ 1121 { 1122 .sy_call = linux_sys_nosys, 1123 }, /* 293 = filler */ 1124 { 1125 ns(struct linux32_sys_setsockopt_args), 1126 .sy_call = (sy_call_t *)linux32_sys_setsockopt 1127 }, /* 294 = setsockopt */ 1128 { 1129 ns(struct linux32_sys_getsockopt_args), 1130 .sy_call = (sy_call_t *)linux32_sys_getsockopt 1131 }, /* 295 = getsockopt */ 1132 { 1133 .sy_call = linux_sys_nosys, 1134 }, /* 296 = filler */ 1135 { 1136 .sy_call = linux_sys_nosys, 1137 }, /* 297 = filler */ 1138 { 1139 .sy_call = linux_sys_nosys, 1140 }, /* 298 = filler */ 1141 { 1142 .sy_call = linux_sys_nosys, 1143 }, /* 299 = filler */ 1144 { 1145 .sy_call = linux_sys_nosys, 1146 }, /* 300 = filler */ 1147 { 1148 .sy_call = linux_sys_nosys, 1149 }, /* 301 = filler */ 1150 { 1151 .sy_call = linux_sys_nosys, 1152 }, /* 302 = filler */ 1153 { 1154 .sy_call = linux_sys_nosys, 1155 }, /* 303 = filler */ 1156 { 1157 .sy_call = linux_sys_nosys, 1158 }, /* 304 = filler */ 1159 { 1160 .sy_call = linux_sys_nosys, 1161 }, /* 305 = filler */ 1162 { 1163 .sy_call = linux_sys_nosys, 1164 }, /* 306 = filler */ 1165 { 1166 .sy_call = linux_sys_nosys, 1167 }, /* 307 = filler */ 1168 { 1169 .sy_call = linux_sys_nosys, 1170 }, /* 308 = filler */ 1171 { 1172 .sy_call = linux_sys_nosys, 1173 }, /* 309 = filler */ 1174 { 1175 .sy_call = linux_sys_nosys, 1176 }, /* 310 = filler */ 1177 { 1178 .sy_call = linux_sys_nosys, 1179 }, /* 311 = filler */ 1180 { 1181 .sy_call = linux_sys_nosys, 1182 }, /* 312 = filler */ 1183 { 1184 .sy_call = linux_sys_nosys, 1185 }, /* 313 = filler */ 1186 { 1187 .sy_call = linux_sys_nosys, 1188 }, /* 314 = filler */ 1189 { 1190 .sy_call = linux_sys_nosys, 1191 }, /* 315 = filler */ 1192 { 1193 .sy_call = linux_sys_nosys, 1194 }, /* 316 = filler */ 1195 { 1196 .sy_call = linux_sys_nosys, 1197 }, /* 317 = filler */ 1198 { 1199 .sy_call = linux_sys_nosys, 1200 }, /* 318 = filler */ 1201 { 1202 .sy_call = linux_sys_nosys, 1203 }, /* 319 = filler */ 1204 { 1205 .sy_call = linux_sys_nosys, 1206 }, /* 320 = filler */ 1207 { 1208 .sy_call = linux_sys_nosys, 1209 }, /* 321 = filler */ 1210 { 1211 ns(struct linux32_sys_openat_args), 1212 .sy_call = (sy_call_t *)linux32_sys_openat 1213 }, /* 322 = openat */ 1214 { 1215 ns(struct netbsd32_mkdirat_args), 1216 .sy_call = (sy_call_t *)netbsd32_mkdirat 1217 }, /* 323 = netbsd32_mkdirat */ 1218 { 1219 ns(struct linux32_sys_mknodat_args), 1220 .sy_call = (sy_call_t *)linux32_sys_mknodat 1221 }, /* 324 = mknodat */ 1222 { 1223 ns(struct linux32_sys_fchownat_args), 1224 .sy_call = (sy_call_t *)linux32_sys_fchownat 1225 }, /* 325 = fchownat */ 1226 { 1227 .sy_call = linux_sys_nosys, 1228 }, /* 326 = filler */ 1229 { 1230 ns(struct linux32_sys_fstatat64_args), 1231 .sy_call = (sy_call_t *)linux32_sys_fstatat64 1232 }, /* 327 = fstatat64 */ 1233 { 1234 ns(struct linux32_sys_unlinkat_args), 1235 .sy_call = (sy_call_t *)linux32_sys_unlinkat 1236 }, /* 328 = unlinkat */ 1237 { 1238 ns(struct netbsd32_renameat_args), 1239 .sy_call = (sy_call_t *)netbsd32_renameat 1240 }, /* 329 = netbsd32_renameat */ 1241 { 1242 ns(struct linux32_sys_linkat_args), 1243 .sy_call = (sy_call_t *)linux32_sys_linkat 1244 }, /* 330 = linkat */ 1245 { 1246 ns(struct netbsd32_symlinkat_args), 1247 .sy_call = (sy_call_t *)netbsd32_symlinkat 1248 }, /* 331 = netbsd32_symlinkat */ 1249 { 1250 ns(struct netbsd32_readlinkat_args), 1251 .sy_call = (sy_call_t *)netbsd32_readlinkat 1252 }, /* 332 = netbsd32_readlinkat */ 1253 { 1254 ns(struct linux32_sys_fchmodat_args), 1255 .sy_call = (sy_call_t *)linux32_sys_fchmodat 1256 }, /* 333 = fchmodat */ 1257 { 1258 ns(struct linux32_sys_faccessat_args), 1259 .sy_call = (sy_call_t *)linux32_sys_faccessat 1260 }, /* 334 = faccessat */ 1261 { 1262 ns(struct linux32_sys_pselect6_args), 1263 .sy_call = (sy_call_t *)linux32_sys_pselect6 1264 }, /* 335 = pselect6 */ 1265 { 1266 ns(struct linux32_sys_ppoll_args), 1267 .sy_call = (sy_call_t *)linux32_sys_ppoll 1268 }, /* 336 = ppoll */ 1269 { 1270 .sy_call = linux_sys_nosys, 1271 }, /* 337 = filler */ 1272 { 1273 ns(struct netbsd32___futex_set_robust_list_args), 1274 .sy_call = (sy_call_t *)netbsd32___futex_set_robust_list 1275 }, /* 338 = netbsd32___futex_set_robust_list */ 1276 { 1277 ns(struct netbsd32___futex_get_robust_list_args), 1278 .sy_call = (sy_call_t *)netbsd32___futex_get_robust_list 1279 }, /* 339 = netbsd32___futex_get_robust_list */ 1280 { 1281 .sy_call = linux_sys_nosys, 1282 }, /* 340 = filler */ 1283 { 1284 .sy_call = linux_sys_nosys, 1285 }, /* 341 = filler */ 1286 { 1287 .sy_call = linux_sys_nosys, 1288 }, /* 342 = filler */ 1289 { 1290 .sy_call = linux_sys_nosys, 1291 }, /* 343 = filler */ 1292 { 1293 .sy_call = linux_sys_nosys, 1294 }, /* 344 = filler */ 1295 { 1296 .sy_call = linux_sys_nosys, 1297 }, /* 345 = filler */ 1298 { 1299 .sy_call = linux_sys_nosys, 1300 }, /* 346 = filler */ 1301 { 1302 .sy_call = linux_sys_nosys, 1303 }, /* 347 = filler */ 1304 { 1305 ns(struct linux32_sys_utimensat_args), 1306 .sy_call = (sy_call_t *)linux32_sys_utimensat 1307 }, /* 348 = utimensat */ 1308 { 1309 .sy_call = linux_sys_nosys, 1310 }, /* 349 = filler */ 1311 { 1312 ns(struct linux_sys_timerfd_create_args), 1313 .sy_call = (sy_call_t *)linux_sys_timerfd_create 1314 }, /* 350 = timerfd_create */ 1315 { 1316 ns(struct linux32_sys_eventfd_args), 1317 .sy_call = (sy_call_t *)linux32_sys_eventfd 1318 }, /* 351 = eventfd */ 1319 { 1320 ns(struct linux32_sys_fallocate_args), 1321 .sy_flags = SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64, 1322 .sy_call = (sy_call_t *)linux32_sys_fallocate 1323 }, /* 352 = fallocate */ 1324 { 1325 ns(struct linux32_sys_timerfd_settime_args), 1326 .sy_flags = SYCALL_ARG_PTR, 1327 .sy_call = (sy_call_t *)linux32_sys_timerfd_settime 1328 }, /* 353 = timerfd_settime */ 1329 { 1330 ns(struct linux32_sys_timerfd_gettime_args), 1331 .sy_flags = SYCALL_ARG_PTR, 1332 .sy_call = (sy_call_t *)linux32_sys_timerfd_gettime 1333 }, /* 354 = timerfd_gettime */ 1334 { 1335 .sy_call = linux_sys_nosys, 1336 }, /* 355 = filler */ 1337 { 1338 ns(struct linux32_sys_eventfd2_args), 1339 .sy_call = (sy_call_t *)linux32_sys_eventfd2 1340 }, /* 356 = eventfd2 */ 1341 { 1342 .sy_call = linux_sys_nosys, 1343 }, /* 357 = filler */ 1344 { 1345 ns(struct linux32_sys_dup3_args), 1346 .sy_call = (sy_call_t *)linux32_sys_dup3 1347 }, /* 358 = dup3 */ 1348 { 1349 ns(struct linux32_sys_pipe2_args), 1350 .sy_call = (sy_call_t *)linux32_sys_pipe2 1351 }, /* 359 = pipe2 */ 1352 { 1353 .sy_call = linux_sys_nosys, 1354 }, /* 360 = filler */ 1355 { 1356 ns(struct linux32_sys_preadv_args), 1357 .sy_call = (sy_call_t *)linux32_sys_preadv 1358 }, /* 361 = preadv */ 1359 { 1360 ns(struct linux32_sys_pwritev_args), 1361 .sy_call = (sy_call_t *)linux32_sys_pwritev 1362 }, /* 362 = pwritev */ 1363 { 1364 .sy_call = linux_sys_nosys, 1365 }, /* 363 = filler */ 1366 { 1367 .sy_call = linux_sys_nosys, 1368 }, /* 364 = filler */ 1369 { 1370 .sy_call = linux_sys_nosys, 1371 }, /* 365 = filler */ 1372 { 1373 .sy_call = linux_sys_nosys, 1374 }, /* 366 = filler */ 1375 { 1376 .sy_call = linux_sys_nosys, 1377 }, /* 367 = filler */ 1378 { 1379 .sy_call = linux_sys_nosys, 1380 }, /* 368 = filler */ 1381 { 1382 ns(struct linux32_sys_prlimit64_args), 1383 .sy_call = (sy_call_t *)linux32_sys_prlimit64 1384 }, /* 369 = prlimit64 */ 1385 { 1386 .sy_call = linux_sys_nosys, 1387 }, /* 370 = filler */ 1388 { 1389 .sy_call = linux_sys_nosys, 1390 }, /* 371 = filler */ 1391 { 1392 .sy_call = linux_sys_nosys, 1393 }, /* 372 = filler */ 1394 { 1395 .sy_call = linux_sys_nosys, 1396 }, /* 373 = filler */ 1397 { 1398 .sy_call = linux_sys_nosys, 1399 }, /* 374 = filler */ 1400 { 1401 .sy_call = linux_sys_nosys, 1402 }, /* 375 = filler */ 1403 { 1404 .sy_call = linux_sys_nosys, 1405 }, /* 376 = filler */ 1406 { 1407 .sy_call = linux_sys_nosys, 1408 }, /* 377 = filler */ 1409 { 1410 .sy_call = linux_sys_nosys, 1411 }, /* 378 = filler */ 1412 { 1413 .sy_call = linux_sys_nosys, 1414 }, /* 379 = filler */ 1415 { 1416 .sy_call = linux_sys_nosys, 1417 }, /* 380 = filler */ 1418 { 1419 .sy_call = linux_sys_nosys, 1420 }, /* 381 = filler */ 1421 { 1422 .sy_call = linux_sys_nosys, 1423 }, /* 382 = filler */ 1424 { 1425 .sy_call = linux_sys_nosys, 1426 }, /* 383 = filler */ 1427 { 1428 ns(struct netbsd32_getrandom_args), 1429 .sy_call = (sy_call_t *)netbsd32_getrandom 1430 }, /* 384 = netbsd32_getrandom */ 1431 { 1432 .sy_call = linux_sys_nosys, 1433 }, /* 385 = filler */ 1434 { 1435 .sy_call = linux_sys_nosys, 1436 }, /* 386 = filler */ 1437 { 1438 .sy_call = linux_sys_nosys, 1439 }, /* 387 = filler */ 1440 { 1441 .sy_call = linux_sys_nosys, 1442 }, /* 388 = filler */ 1443 { 1444 .sy_call = linux_sys_nosys, 1445 }, /* 389 = filler */ 1446 { 1447 .sy_call = linux_sys_nosys, 1448 }, /* 390 = filler */ 1449 { 1450 .sy_call = linux_sys_nosys, 1451 }, /* 391 = filler */ 1452 { 1453 .sy_call = linux_sys_nosys, 1454 }, /* 392 = filler */ 1455 { 1456 .sy_call = linux_sys_nosys, 1457 }, /* 393 = filler */ 1458 { 1459 .sy_call = linux_sys_nosys, 1460 }, /* 394 = filler */ 1461 { 1462 .sy_call = linux_sys_nosys, 1463 }, /* 395 = filler */ 1464 { 1465 .sy_call = linux_sys_nosys, 1466 }, /* 396 = filler */ 1467 { 1468 ns(struct linux32_sys_statx_args), 1469 .sy_call = (sy_call_t *)linux32_sys_statx 1470 }, /* 397 = statx */ 1471 { 1472 .sy_call = linux_sys_nosys, 1473 }, /* 398 = filler */ 1474 { 1475 .sy_call = linux_sys_nosys, 1476 }, /* 399 = filler */ 1477 { 1478 .sy_call = linux_sys_nosys, 1479 }, /* 400 = filler */ 1480 { 1481 .sy_call = linux_sys_nosys, 1482 }, /* 401 = filler */ 1483 { 1484 .sy_call = linux_sys_nosys, 1485 }, /* 402 = filler */ 1486 { 1487 .sy_call = linux_sys_nosys, 1488 }, /* 403 = filler */ 1489 { 1490 .sy_call = linux_sys_nosys, 1491 }, /* 404 = filler */ 1492 { 1493 .sy_call = linux_sys_nosys, 1494 }, /* 405 = filler */ 1495 { 1496 .sy_call = linux_sys_nosys, 1497 }, /* 406 = filler */ 1498 { 1499 .sy_call = linux_sys_nosys, 1500 }, /* 407 = filler */ 1501 { 1502 .sy_call = linux_sys_nosys, 1503 }, /* 408 = filler */ 1504 { 1505 .sy_call = linux_sys_nosys, 1506 }, /* 409 = filler */ 1507 { 1508 .sy_call = linux_sys_nosys, 1509 }, /* 410 = filler */ 1510 { 1511 .sy_call = linux_sys_nosys, 1512 }, /* 411 = filler */ 1513 { 1514 .sy_call = linux_sys_nosys, 1515 }, /* 412 = filler */ 1516 { 1517 .sy_call = linux_sys_nosys, 1518 }, /* 413 = filler */ 1519 { 1520 .sy_call = linux_sys_nosys, 1521 }, /* 414 = filler */ 1522 { 1523 .sy_call = linux_sys_nosys, 1524 }, /* 415 = filler */ 1525 { 1526 .sy_call = linux_sys_nosys, 1527 }, /* 416 = filler */ 1528 { 1529 .sy_call = linux_sys_nosys, 1530 }, /* 417 = filler */ 1531 { 1532 .sy_call = linux_sys_nosys, 1533 }, /* 418 = filler */ 1534 { 1535 .sy_call = linux_sys_nosys, 1536 }, /* 419 = filler */ 1537 { 1538 .sy_call = linux_sys_nosys, 1539 }, /* 420 = filler */ 1540 { 1541 .sy_call = linux_sys_nosys, 1542 }, /* 421 = filler */ 1543 { 1544 .sy_call = linux_sys_nosys, 1545 }, /* 422 = filler */ 1546 { 1547 .sy_call = linux_sys_nosys, 1548 }, /* 423 = filler */ 1549 { 1550 .sy_call = linux_sys_nosys, 1551 }, /* 424 = filler */ 1552 { 1553 .sy_call = linux_sys_nosys, 1554 }, /* 425 = filler */ 1555 { 1556 .sy_call = linux_sys_nosys, 1557 }, /* 426 = filler */ 1558 { 1559 .sy_call = linux_sys_nosys, 1560 }, /* 427 = filler */ 1561 { 1562 .sy_call = linux_sys_nosys, 1563 }, /* 428 = filler */ 1564 { 1565 .sy_call = linux_sys_nosys, 1566 }, /* 429 = filler */ 1567 { 1568 .sy_call = linux_sys_nosys, 1569 }, /* 430 = filler */ 1570 { 1571 .sy_call = linux_sys_nosys, 1572 }, /* 431 = filler */ 1573 { 1574 .sy_call = linux_sys_nosys, 1575 }, /* 432 = filler */ 1576 { 1577 .sy_call = linux_sys_nosys, 1578 }, /* 433 = filler */ 1579 { 1580 .sy_call = linux_sys_nosys, 1581 }, /* 434 = filler */ 1582 { 1583 .sy_call = linux_sys_nosys, 1584 }, /* 435 = filler */ 1585 { 1586 .sy_call = linux_sys_nosys, 1587 }, /* 436 = filler */ 1588 { 1589 .sy_call = linux_sys_nosys, 1590 }, /* 437 = filler */ 1591 { 1592 .sy_call = linux_sys_nosys, 1593 }, /* 438 = filler */ 1594 { 1595 .sy_call = linux_sys_nosys, 1596 }, /* 439 = filler */ 1597 { 1598 .sy_call = linux_sys_nosys, 1599 }, /* 440 = filler */ 1600 { 1601 .sy_call = linux_sys_nosys, 1602 }, /* 441 = filler */ 1603 { 1604 .sy_call = linux_sys_nosys, 1605 }, /* 442 = filler */ 1606 { 1607 .sy_call = linux_sys_nosys, 1608 }, /* 443 = filler */ 1609 { 1610 .sy_call = linux_sys_nosys, 1611 }, /* 444 = filler */ 1612 { 1613 .sy_call = linux_sys_nosys, 1614 }, /* 445 = filler */ 1615 { 1616 .sy_call = linux_sys_nosys, 1617 }, /* 446 = filler */ 1618 { 1619 .sy_call = linux_sys_nosys, 1620 }, /* 447 = filler */ 1621 { 1622 .sy_call = linux_sys_nosys, 1623 }, /* 448 = filler */ 1624 { 1625 .sy_call = linux_sys_nosys, 1626 }, /* 449 = filler */ 1627 { 1628 .sy_call = linux_sys_nosys, 1629 }, /* 450 = filler */ 1630 { 1631 .sy_call = linux_sys_nosys, 1632 }, /* 451 = filler */ 1633 { 1634 .sy_call = linux_sys_nosys, 1635 }, /* 452 = filler */ 1636 { 1637 .sy_call = linux_sys_nosys, 1638 }, /* 453 = filler */ 1639 { 1640 .sy_call = linux_sys_nosys, 1641 }, /* 454 = filler */ 1642 { 1643 .sy_call = linux_sys_nosys, 1644 }, /* 455 = filler */ 1645 { 1646 .sy_call = linux_sys_nosys, 1647 }, /* 456 = filler */ 1648 { 1649 .sy_call = linux_sys_nosys, 1650 }, /* 457 = filler */ 1651 { 1652 .sy_call = linux_sys_nosys, 1653 }, /* 458 = filler */ 1654 { 1655 .sy_call = linux_sys_nosys, 1656 }, /* 459 = filler */ 1657 { 1658 .sy_call = linux_sys_nosys, 1659 }, /* 460 = filler */ 1660 { 1661 .sy_call = linux_sys_nosys, 1662 }, /* 461 = filler */ 1663 { 1664 .sy_call = linux_sys_nosys, 1665 }, /* 462 = filler */ 1666 { 1667 .sy_call = linux_sys_nosys, 1668 }, /* 463 = filler */ 1669 { 1670 .sy_call = linux_sys_nosys, 1671 }, /* 464 = filler */ 1672 { 1673 .sy_call = linux_sys_nosys, 1674 }, /* 465 = filler */ 1675 { 1676 .sy_call = linux_sys_nosys, 1677 }, /* 466 = filler */ 1678 { 1679 .sy_call = linux_sys_nosys, 1680 }, /* 467 = filler */ 1681 { 1682 .sy_call = linux_sys_nosys, 1683 }, /* 468 = filler */ 1684 { 1685 .sy_call = linux_sys_nosys, 1686 }, /* 469 = filler */ 1687 { 1688 .sy_call = linux_sys_nosys, 1689 }, /* 470 = filler */ 1690 { 1691 .sy_call = linux_sys_nosys, 1692 }, /* 471 = filler */ 1693 { 1694 .sy_call = linux_sys_nosys, 1695 }, /* 472 = filler */ 1696 { 1697 .sy_call = linux_sys_nosys, 1698 }, /* 473 = filler */ 1699 { 1700 .sy_call = linux_sys_nosys, 1701 }, /* 474 = filler */ 1702 { 1703 .sy_call = linux_sys_nosys, 1704 }, /* 475 = filler */ 1705 { 1706 .sy_call = linux_sys_nosys, 1707 }, /* 476 = filler */ 1708 { 1709 .sy_call = linux_sys_nosys, 1710 }, /* 477 = filler */ 1711 { 1712 .sy_call = linux_sys_nosys, 1713 }, /* 478 = filler */ 1714 { 1715 .sy_call = linux_sys_nosys, 1716 }, /* 479 = filler */ 1717 { 1718 .sy_call = linux_sys_nosys, 1719 }, /* 480 = filler */ 1720 { 1721 .sy_call = linux_sys_nosys, 1722 }, /* 481 = filler */ 1723 { 1724 .sy_call = linux_sys_nosys, 1725 }, /* 482 = filler */ 1726 { 1727 .sy_call = linux_sys_nosys, 1728 }, /* 483 = filler */ 1729 { 1730 .sy_call = linux_sys_nosys, 1731 }, /* 484 = filler */ 1732 { 1733 ns(struct linux32_sys_set_tls_args), 1734 .sy_call = (sy_call_t *)linux32_sys_set_tls 1735 }, /* 485 = set_tls */ 1736 { 1737 .sy_call = (sy_call_t *)linux32_sys_get_tls 1738 }, /* 486 = get_tls */ 1739 { 1740 .sy_call = linux_sys_nosys, 1741 }, /* 487 = filler */ 1742 { 1743 .sy_call = linux_sys_nosys, 1744 }, /* 488 = filler */ 1745 { 1746 .sy_call = linux_sys_nosys, 1747 }, /* 489 = filler */ 1748 { 1749 .sy_call = linux_sys_nosys, 1750 }, /* 490 = filler */ 1751 { 1752 .sy_call = linux_sys_nosys, 1753 }, /* 491 = filler */ 1754 { 1755 .sy_call = linux_sys_nosys, 1756 }, /* 492 = filler */ 1757 { 1758 .sy_call = linux_sys_nosys, 1759 }, /* 493 = filler */ 1760 { 1761 .sy_call = linux_sys_nosys, 1762 }, /* 494 = filler */ 1763 { 1764 .sy_call = linux_sys_nosys, 1765 }, /* 495 = filler */ 1766 { 1767 .sy_call = linux_sys_nosys, 1768 }, /* 496 = filler */ 1769 { 1770 .sy_call = linux_sys_nosys, 1771 }, /* 497 = filler */ 1772 { 1773 .sy_call = linux_sys_nosys, 1774 }, /* 498 = filler */ 1775 { 1776 .sy_call = linux_sys_nosys, 1777 }, /* 499 = filler */ 1778 { 1779 .sy_call = linux_sys_nosys, 1780 }, /* 500 = filler */ 1781 { 1782 .sy_call = linux_sys_nosys, 1783 }, /* 501 = filler */ 1784 { 1785 .sy_call = linux_sys_nosys, 1786 }, /* 502 = filler */ 1787 { 1788 .sy_call = linux_sys_nosys, 1789 }, /* 503 = filler */ 1790 { 1791 .sy_call = linux_sys_nosys, 1792 }, /* 504 = filler */ 1793 { 1794 .sy_call = linux_sys_nosys, 1795 }, /* 505 = filler */ 1796 { 1797 .sy_call = linux_sys_nosys, 1798 }, /* 506 = filler */ 1799 { 1800 .sy_call = linux_sys_nosys, 1801 }, /* 507 = filler */ 1802 { 1803 .sy_call = linux_sys_nosys, 1804 }, /* 508 = filler */ 1805 { 1806 .sy_call = linux_sys_nosys, 1807 }, /* 509 = filler */ 1808 { 1809 .sy_call = linux_sys_nosys, 1810 }, /* 510 = filler */ 1811 { 1812 .sy_call = linux_sys_nosys, 1813 }, /* 511 = filler */ 1814 }; 1815 1816 const uint32_t linux32_sysent_nomodbits[] = { 1817 0x00000000, /* syscalls 0- 31 */ 1818 0x00000000, /* syscalls 32- 63 */ 1819 0x00000000, /* syscalls 64- 95 */ 1820 0x00000000, /* syscalls 96-127 */ 1821 0x00000000, /* syscalls 128-159 */ 1822 0x00000000, /* syscalls 160-191 */ 1823 0x00000000, /* syscalls 192-223 */ 1824 0x00000000, /* syscalls 224-255 */ 1825 0x00000000, /* syscalls 256-287 */ 1826 0x00000000, /* syscalls 288-319 */ 1827 0x00000000, /* syscalls 320-351 */ 1828 0x00000000, /* syscalls 352-383 */ 1829 0x00000000, /* syscalls 384-415 */ 1830 0x00000000, /* syscalls 416-447 */ 1831 0x00000000, /* syscalls 448-479 */ 1832 0x00000000, /* syscalls 480-511 */ 1833 }; 1834