1 /* $NetBSD: linux_syscallargs.h,v 1.47 2003/08/10 20:17:24 jdolecek Exp $ */ 2 3 /* 4 * System call argument lists. 5 * 6 * DO NOT EDIT-- this file is automatically generated. 7 * created from NetBSD: syscalls.master,v 1.43 2003/08/10 20:16:23 jdolecek Exp 8 */ 9 10 #ifndef _LINUX_SYS__SYSCALLARGS_H_ 11 #define _LINUX_SYS__SYSCALLARGS_H_ 12 13 #ifdef syscallarg 14 #undef syscallarg 15 #endif 16 17 #define syscallarg(x) \ 18 union { \ 19 register_t pad; \ 20 struct { x datum; } le; \ 21 struct { /* LINTED zero array dimension */ \ 22 int8_t pad[ /* CONSTCOND */ \ 23 (sizeof (register_t) < sizeof (x)) \ 24 ? 0 \ 25 : sizeof (register_t) - sizeof (x)]; \ 26 x datum; \ 27 } be; \ 28 } 29 30 struct linux_sys_open_args { 31 syscallarg(const char *) path; 32 syscallarg(int) flags; 33 syscallarg(int) mode; 34 }; 35 36 struct linux_sys_waitpid_args { 37 syscallarg(int) pid; 38 syscallarg(int *) status; 39 syscallarg(int) options; 40 }; 41 42 struct linux_sys_creat_args { 43 syscallarg(const char *) path; 44 syscallarg(int) mode; 45 }; 46 47 struct linux_sys_link_args { 48 syscallarg(const char *) path; 49 syscallarg(const char *) link; 50 }; 51 52 struct linux_sys_unlink_args { 53 syscallarg(const char *) path; 54 }; 55 56 struct linux_sys_execve_args { 57 syscallarg(const char *) path; 58 syscallarg(char **) argp; 59 syscallarg(char **) envp; 60 }; 61 62 struct linux_sys_chdir_args { 63 syscallarg(const char *) path; 64 }; 65 66 struct linux_sys_time_args { 67 syscallarg(linux_time_t *) t; 68 }; 69 70 struct linux_sys_mknod_args { 71 syscallarg(const char *) path; 72 syscallarg(int) mode; 73 syscallarg(int) dev; 74 }; 75 76 struct linux_sys_chmod_args { 77 syscallarg(const char *) path; 78 syscallarg(int) mode; 79 }; 80 81 struct linux_sys_chown16_args { 82 syscallarg(const char *) path; 83 syscallarg(int) uid; 84 syscallarg(int) gid; 85 }; 86 87 struct linux_sys_stime_args { 88 syscallarg(linux_time_t *) t; 89 }; 90 91 struct linux_sys_ptrace_args { 92 syscallarg(int) request; 93 syscallarg(int) pid; 94 syscallarg(int) addr; 95 syscallarg(int) data; 96 }; 97 98 struct linux_sys_alarm_args { 99 syscallarg(unsigned int) secs; 100 }; 101 102 struct linux_sys_utime_args { 103 syscallarg(const char *) path; 104 syscallarg(struct linux_utimbuf *) times; 105 }; 106 107 struct linux_sys_access_args { 108 syscallarg(const char *) path; 109 syscallarg(int) flags; 110 }; 111 112 struct linux_sys_nice_args { 113 syscallarg(int) incr; 114 }; 115 116 struct linux_sys_kill_args { 117 syscallarg(int) pid; 118 syscallarg(int) signum; 119 }; 120 121 struct linux_sys_rename_args { 122 syscallarg(const char *) from; 123 syscallarg(const char *) to; 124 }; 125 126 struct linux_sys_mkdir_args { 127 syscallarg(const char *) path; 128 syscallarg(int) mode; 129 }; 130 131 struct linux_sys_rmdir_args { 132 syscallarg(const char *) path; 133 }; 134 135 struct linux_sys_pipe_args { 136 syscallarg(int *) pfds; 137 }; 138 139 struct linux_sys_times_args { 140 syscallarg(struct times *) tms; 141 }; 142 143 struct linux_sys_brk_args { 144 syscallarg(char *) nsize; 145 }; 146 147 struct linux_sys_signal_args { 148 syscallarg(int) signum; 149 syscallarg(linux_handler_t) handler; 150 }; 151 152 struct linux_sys_ioctl_args { 153 syscallarg(int) fd; 154 syscallarg(u_long) com; 155 syscallarg(caddr_t) data; 156 }; 157 158 struct linux_sys_fcntl_args { 159 syscallarg(int) fd; 160 syscallarg(int) cmd; 161 syscallarg(void *) arg; 162 }; 163 164 struct linux_sys_sigaction_args { 165 syscallarg(int) signum; 166 syscallarg(const struct linux_old_sigaction *) nsa; 167 syscallarg(struct linux_old_sigaction *) osa; 168 }; 169 170 struct linux_sys_sigsetmask_args { 171 syscallarg(linux_old_sigset_t) mask; 172 }; 173 174 struct linux_sys_setreuid16_args { 175 syscallarg(int) ruid; 176 syscallarg(int) euid; 177 }; 178 179 struct linux_sys_setregid16_args { 180 syscallarg(int) rgid; 181 syscallarg(int) egid; 182 }; 183 184 struct linux_sys_sigsuspend_args { 185 syscallarg(caddr_t) restart; 186 syscallarg(int) oldmask; 187 syscallarg(int) mask; 188 }; 189 190 struct linux_sys_sigpending_args { 191 syscallarg(linux_old_sigset_t *) set; 192 }; 193 194 struct linux_sys_setrlimit_args { 195 syscallarg(u_int) which; 196 syscallarg(struct orlimit *) rlp; 197 }; 198 199 struct linux_sys_getrlimit_args { 200 syscallarg(u_int) which; 201 syscallarg(struct orlimit *) rlp; 202 }; 203 204 struct linux_sys_gettimeofday_args { 205 syscallarg(struct timeval *) tp; 206 syscallarg(struct timezone *) tzp; 207 }; 208 209 struct linux_sys_settimeofday_args { 210 syscallarg(struct timeval *) tp; 211 syscallarg(struct timezone *) tzp; 212 }; 213 214 struct linux_sys_getgroups16_args { 215 syscallarg(u_int) gidsetsize; 216 syscallarg(linux_gid_t *) gidset; 217 }; 218 219 struct linux_sys_setgroups16_args { 220 syscallarg(u_int) gidsetsize; 221 syscallarg(linux_gid_t *) gidset; 222 }; 223 224 struct linux_sys_oldselect_args { 225 syscallarg(struct linux_oldselect *) lsp; 226 }; 227 228 struct linux_sys_symlink_args { 229 syscallarg(const char *) path; 230 syscallarg(const char *) to; 231 }; 232 233 struct linux_sys_readlink_args { 234 syscallarg(const char *) name; 235 syscallarg(char *) buf; 236 syscallarg(int) count; 237 }; 238 239 struct linux_sys_uselib_args { 240 syscallarg(const char *) path; 241 }; 242 243 struct linux_sys_swapon_args { 244 syscallarg(char *) name; 245 }; 246 247 struct linux_sys_reboot_args { 248 syscallarg(int) magic1; 249 syscallarg(int) magic2; 250 syscallarg(int) cmd; 251 syscallarg(void *) arg; 252 }; 253 254 struct linux_sys_readdir_args { 255 syscallarg(int) fd; 256 syscallarg(caddr_t) dent; 257 syscallarg(unsigned int) count; 258 }; 259 260 struct linux_sys_old_mmap_args { 261 syscallarg(struct linux_oldmmap *) lmp; 262 }; 263 264 struct linux_sys_truncate_args { 265 syscallarg(const char *) path; 266 syscallarg(long) length; 267 }; 268 269 struct linux_sys_fchown16_args { 270 syscallarg(int) fd; 271 syscallarg(int) uid; 272 syscallarg(int) gid; 273 }; 274 275 struct linux_sys_statfs_args { 276 syscallarg(const char *) path; 277 syscallarg(struct linux_statfs *) sp; 278 }; 279 280 struct linux_sys_fstatfs_args { 281 syscallarg(int) fd; 282 syscallarg(struct linux_statfs *) sp; 283 }; 284 285 struct linux_sys_socketcall_args { 286 syscallarg(int) what; 287 syscallarg(void *) args; 288 }; 289 290 struct linux_sys_stat_args { 291 syscallarg(const char *) path; 292 syscallarg(struct linux_stat *) sp; 293 }; 294 295 struct linux_sys_lstat_args { 296 syscallarg(const char *) path; 297 syscallarg(struct linux_stat *) sp; 298 }; 299 300 struct linux_sys_fstat_args { 301 syscallarg(int) fd; 302 syscallarg(struct linux_stat *) sp; 303 }; 304 305 struct linux_sys_wait4_args { 306 syscallarg(int) pid; 307 syscallarg(int *) status; 308 syscallarg(int) options; 309 syscallarg(struct rusage *) rusage; 310 }; 311 312 struct linux_sys_swapoff_args { 313 syscallarg(const char *) path; 314 }; 315 316 struct linux_sys_sysinfo_args { 317 syscallarg(struct linux_sysinfo *) arg; 318 }; 319 320 struct linux_sys_ipc_args { 321 syscallarg(int) what; 322 syscallarg(int) a1; 323 syscallarg(int) a2; 324 syscallarg(int) a3; 325 syscallarg(caddr_t) ptr; 326 }; 327 328 struct linux_sys_clone_args { 329 syscallarg(int) flags; 330 syscallarg(void *) stack; 331 }; 332 333 struct linux_sys_setdomainname_args { 334 syscallarg(char *) domainname; 335 syscallarg(int) len; 336 }; 337 338 struct linux_sys_uname_args { 339 syscallarg(struct linux_utsname *) up; 340 }; 341 342 struct linux_sys_cacheflush_args { 343 syscallarg(unsigned long) addr; 344 syscallarg(int) scope; 345 syscallarg(int) cache; 346 syscallarg(unsigned long) len; 347 }; 348 349 struct linux_sys_mprotect_args { 350 syscallarg(const void *) start; 351 syscallarg(unsigned long) len; 352 syscallarg(int) prot; 353 }; 354 355 struct linux_sys_sigprocmask_args { 356 syscallarg(int) how; 357 syscallarg(const linux_old_sigset_t *) set; 358 syscallarg(linux_old_sigset_t *) oset; 359 }; 360 361 struct linux_sys_getpgid_args { 362 syscallarg(int) pid; 363 }; 364 365 struct linux_sys_personality_args { 366 syscallarg(int) per; 367 }; 368 369 struct linux_sys_llseek_args { 370 syscallarg(int) fd; 371 syscallarg(u_int32_t) ohigh; 372 syscallarg(u_int32_t) olow; 373 syscallarg(caddr_t) res; 374 syscallarg(int) whence; 375 }; 376 377 struct linux_sys_getdents_args { 378 syscallarg(int) fd; 379 syscallarg(struct linux_dirent *) dent; 380 syscallarg(unsigned int) count; 381 }; 382 383 struct linux_sys_select_args { 384 syscallarg(int) nfds; 385 syscallarg(fd_set *) readfds; 386 syscallarg(fd_set *) writefds; 387 syscallarg(fd_set *) exceptfds; 388 syscallarg(struct timeval *) timeout; 389 }; 390 391 struct linux_sys_msync_args { 392 syscallarg(caddr_t) addr; 393 syscallarg(int) len; 394 syscallarg(int) fl; 395 }; 396 397 struct linux_sys_fdatasync_args { 398 syscallarg(int) fd; 399 }; 400 401 struct linux_sys___sysctl_args { 402 syscallarg(struct linux___sysctl *) lsp; 403 }; 404 405 struct linux_sys_sched_setparam_args { 406 syscallarg(pid_t) pid; 407 syscallarg(const struct linux_sched_param *) sp; 408 }; 409 410 struct linux_sys_sched_getparam_args { 411 syscallarg(pid_t) pid; 412 syscallarg(struct linux_sched_param *) sp; 413 }; 414 415 struct linux_sys_sched_setscheduler_args { 416 syscallarg(pid_t) pid; 417 syscallarg(int) policy; 418 syscallarg(const struct linux_sched_param *) sp; 419 }; 420 421 struct linux_sys_sched_getscheduler_args { 422 syscallarg(pid_t) pid; 423 }; 424 425 struct linux_sys_sched_get_priority_max_args { 426 syscallarg(int) policy; 427 }; 428 429 struct linux_sys_sched_get_priority_min_args { 430 syscallarg(int) policy; 431 }; 432 433 struct linux_sys_mremap_args { 434 syscallarg(void *) old_address; 435 syscallarg(size_t) old_size; 436 syscallarg(size_t) new_size; 437 syscallarg(u_long) flags; 438 }; 439 440 struct linux_sys_setresuid16_args { 441 syscallarg(uid_t) ruid; 442 syscallarg(uid_t) euid; 443 syscallarg(uid_t) suid; 444 }; 445 446 struct linux_sys_setresgid16_args { 447 syscallarg(gid_t) rgid; 448 syscallarg(gid_t) egid; 449 syscallarg(gid_t) sgid; 450 }; 451 452 struct linux_sys_rt_sigaction_args { 453 syscallarg(int) signum; 454 syscallarg(const struct linux_sigaction *) nsa; 455 syscallarg(struct linux_sigaction *) osa; 456 syscallarg(size_t) sigsetsize; 457 }; 458 459 struct linux_sys_rt_sigprocmask_args { 460 syscallarg(int) how; 461 syscallarg(const linux_sigset_t *) set; 462 syscallarg(linux_sigset_t *) oset; 463 syscallarg(size_t) sigsetsize; 464 }; 465 466 struct linux_sys_rt_sigpending_args { 467 syscallarg(linux_sigset_t *) set; 468 syscallarg(size_t) sigsetsize; 469 }; 470 471 struct linux_sys_rt_queueinfo_args { 472 syscallarg(int) pid; 473 syscallarg(int) signum; 474 syscallarg(void *) uinfo; 475 }; 476 477 struct linux_sys_rt_sigsuspend_args { 478 syscallarg(linux_sigset_t *) unewset; 479 syscallarg(size_t) sigsetsize; 480 }; 481 482 struct linux_sys_pread_args { 483 syscallarg(int) fd; 484 syscallarg(char *) buf; 485 syscallarg(size_t) nbyte; 486 syscallarg(linux_off_t) offset; 487 }; 488 489 struct linux_sys_pwrite_args { 490 syscallarg(int) fd; 491 syscallarg(char *) buf; 492 syscallarg(size_t) nbyte; 493 syscallarg(linux_off_t) offset; 494 }; 495 496 struct linux_sys_lchown16_args { 497 syscallarg(const char *) path; 498 syscallarg(int) uid; 499 syscallarg(int) gid; 500 }; 501 502 struct linux_sys_sigaltstack_args { 503 syscallarg(const struct linux_sigaltstack *) ss; 504 syscallarg(struct linux_sigaltstack *) oss; 505 }; 506 507 struct linux_sys_ugetrlimit_args { 508 syscallarg(int) which; 509 syscallarg(struct orlimit *) rlp; 510 }; 511 512 struct linux_sys_truncate64_args { 513 syscallarg(const char *) path; 514 syscallarg(off_t) length; 515 }; 516 517 struct linux_sys_ftruncate64_args { 518 syscallarg(unsigned int) fd; 519 syscallarg(off_t) length; 520 }; 521 522 struct linux_sys_stat64_args { 523 syscallarg(const char *) path; 524 syscallarg(struct linux_stat64 *) sp; 525 }; 526 527 struct linux_sys_lstat64_args { 528 syscallarg(const char *) path; 529 syscallarg(struct linux_stat64 *) sp; 530 }; 531 532 struct linux_sys_fstat64_args { 533 syscallarg(int) fd; 534 syscallarg(struct linux_stat64 *) sp; 535 }; 536 537 struct linux_sys_chown_args { 538 syscallarg(const char *) path; 539 syscallarg(uid_t) uid; 540 syscallarg(gid_t) gid; 541 }; 542 543 struct linux_sys_setresuid_args { 544 syscallarg(uid_t) ruid; 545 syscallarg(uid_t) euid; 546 syscallarg(uid_t) suid; 547 }; 548 549 struct linux_sys_getresuid_args { 550 syscallarg(uid_t *) ruid; 551 syscallarg(uid_t *) euid; 552 syscallarg(uid_t *) suid; 553 }; 554 555 struct linux_sys_setresgid_args { 556 syscallarg(gid_t) rgid; 557 syscallarg(gid_t) egid; 558 syscallarg(gid_t) sgid; 559 }; 560 561 struct linux_sys_getresgid_args { 562 syscallarg(gid_t *) rgid; 563 syscallarg(gid_t *) egid; 564 syscallarg(gid_t *) sgid; 565 }; 566 567 struct linux_sys_lchown_args { 568 syscallarg(const char *) path; 569 syscallarg(uid_t) uid; 570 syscallarg(gid_t) gid; 571 }; 572 573 struct linux_sys_setfsuid_args { 574 syscallarg(uid_t) uid; 575 }; 576 577 struct linux_sys_getdents64_args { 578 syscallarg(int) fd; 579 syscallarg(struct linux_dirent64 *) dent; 580 syscallarg(unsigned int) count; 581 }; 582 583 /* 584 * System call prototypes. 585 */ 586 587 int linux_sys_nosys(struct lwp *, void *, register_t *); 588 int sys_exit(struct lwp *, void *, register_t *); 589 int sys_fork(struct lwp *, void *, register_t *); 590 int sys_read(struct lwp *, void *, register_t *); 591 int sys_write(struct lwp *, void *, register_t *); 592 int linux_sys_open(struct lwp *, void *, register_t *); 593 int sys_close(struct lwp *, void *, register_t *); 594 int linux_sys_waitpid(struct lwp *, void *, register_t *); 595 int linux_sys_creat(struct lwp *, void *, register_t *); 596 int linux_sys_link(struct lwp *, void *, register_t *); 597 int linux_sys_unlink(struct lwp *, void *, register_t *); 598 int linux_sys_execve(struct lwp *, void *, register_t *); 599 int linux_sys_chdir(struct lwp *, void *, register_t *); 600 int linux_sys_time(struct lwp *, void *, register_t *); 601 int linux_sys_mknod(struct lwp *, void *, register_t *); 602 int linux_sys_chmod(struct lwp *, void *, register_t *); 603 int linux_sys_chown16(struct lwp *, void *, register_t *); 604 #if !defined(_KERNEL) || defined(COMPAT_43) 605 int compat_43_sys_lseek(struct lwp *, void *, register_t *); 606 #else 607 #endif 608 int sys_getpid(struct lwp *, void *, register_t *); 609 int sys_setuid(struct lwp *, void *, register_t *); 610 int sys_getuid(struct lwp *, void *, register_t *); 611 int linux_sys_stime(struct lwp *, void *, register_t *); 612 int linux_sys_ptrace(struct lwp *, void *, register_t *); 613 int linux_sys_alarm(struct lwp *, void *, register_t *); 614 int linux_sys_pause(struct lwp *, void *, register_t *); 615 int linux_sys_utime(struct lwp *, void *, register_t *); 616 int linux_sys_access(struct lwp *, void *, register_t *); 617 int linux_sys_nice(struct lwp *, void *, register_t *); 618 int sys_sync(struct lwp *, void *, register_t *); 619 int linux_sys_kill(struct lwp *, void *, register_t *); 620 int linux_sys_rename(struct lwp *, void *, register_t *); 621 int linux_sys_mkdir(struct lwp *, void *, register_t *); 622 int linux_sys_rmdir(struct lwp *, void *, register_t *); 623 int sys_dup(struct lwp *, void *, register_t *); 624 int linux_sys_pipe(struct lwp *, void *, register_t *); 625 int linux_sys_times(struct lwp *, void *, register_t *); 626 int linux_sys_brk(struct lwp *, void *, register_t *); 627 int sys_setgid(struct lwp *, void *, register_t *); 628 int sys_getgid(struct lwp *, void *, register_t *); 629 int linux_sys_signal(struct lwp *, void *, register_t *); 630 int sys_geteuid(struct lwp *, void *, register_t *); 631 int sys_getegid(struct lwp *, void *, register_t *); 632 int sys_acct(struct lwp *, void *, register_t *); 633 int linux_sys_ioctl(struct lwp *, void *, register_t *); 634 int linux_sys_fcntl(struct lwp *, void *, register_t *); 635 int sys_setpgid(struct lwp *, void *, register_t *); 636 int sys_umask(struct lwp *, void *, register_t *); 637 int sys_chroot(struct lwp *, void *, register_t *); 638 int sys_dup2(struct lwp *, void *, register_t *); 639 int sys_getppid(struct lwp *, void *, register_t *); 640 int sys_getpgrp(struct lwp *, void *, register_t *); 641 int sys_setsid(struct lwp *, void *, register_t *); 642 int linux_sys_sigaction(struct lwp *, void *, register_t *); 643 int linux_sys_siggetmask(struct lwp *, void *, register_t *); 644 int linux_sys_sigsetmask(struct lwp *, void *, register_t *); 645 int linux_sys_setreuid16(struct lwp *, void *, register_t *); 646 int linux_sys_setregid16(struct lwp *, void *, register_t *); 647 int linux_sys_sigsuspend(struct lwp *, void *, register_t *); 648 int linux_sys_sigpending(struct lwp *, void *, register_t *); 649 #if !defined(_KERNEL) || defined(COMPAT_43) 650 int compat_43_sys_sethostname(struct lwp *, void *, register_t *); 651 #else 652 #endif 653 int linux_sys_setrlimit(struct lwp *, void *, register_t *); 654 int linux_sys_getrlimit(struct lwp *, void *, register_t *); 655 int sys_getrusage(struct lwp *, void *, register_t *); 656 int linux_sys_gettimeofday(struct lwp *, void *, register_t *); 657 int linux_sys_settimeofday(struct lwp *, void *, register_t *); 658 int linux_sys_getgroups16(struct lwp *, void *, register_t *); 659 int linux_sys_setgroups16(struct lwp *, void *, register_t *); 660 int linux_sys_oldselect(struct lwp *, void *, register_t *); 661 int linux_sys_symlink(struct lwp *, void *, register_t *); 662 #if !defined(_KERNEL) || defined(COMPAT_43) 663 int compat_43_sys_lstat(struct lwp *, void *, register_t *); 664 #else 665 #endif 666 int linux_sys_readlink(struct lwp *, void *, register_t *); 667 int linux_sys_uselib(struct lwp *, void *, register_t *); 668 int linux_sys_swapon(struct lwp *, void *, register_t *); 669 int linux_sys_reboot(struct lwp *, void *, register_t *); 670 int linux_sys_readdir(struct lwp *, void *, register_t *); 671 int linux_sys_old_mmap(struct lwp *, void *, register_t *); 672 int sys_munmap(struct lwp *, void *, register_t *); 673 int linux_sys_truncate(struct lwp *, void *, register_t *); 674 #if !defined(_KERNEL) || defined(COMPAT_43) 675 int compat_43_sys_ftruncate(struct lwp *, void *, register_t *); 676 #else 677 #endif 678 int sys_fchmod(struct lwp *, void *, register_t *); 679 int linux_sys_fchown16(struct lwp *, void *, register_t *); 680 int sys_getpriority(struct lwp *, void *, register_t *); 681 int sys_setpriority(struct lwp *, void *, register_t *); 682 int sys_profil(struct lwp *, void *, register_t *); 683 int linux_sys_statfs(struct lwp *, void *, register_t *); 684 int linux_sys_fstatfs(struct lwp *, void *, register_t *); 685 int linux_sys_socketcall(struct lwp *, void *, register_t *); 686 int sys_setitimer(struct lwp *, void *, register_t *); 687 int sys_getitimer(struct lwp *, void *, register_t *); 688 int linux_sys_stat(struct lwp *, void *, register_t *); 689 int linux_sys_lstat(struct lwp *, void *, register_t *); 690 int linux_sys_fstat(struct lwp *, void *, register_t *); 691 int linux_sys_wait4(struct lwp *, void *, register_t *); 692 int linux_sys_swapoff(struct lwp *, void *, register_t *); 693 int linux_sys_sysinfo(struct lwp *, void *, register_t *); 694 int linux_sys_ipc(struct lwp *, void *, register_t *); 695 int sys_fsync(struct lwp *, void *, register_t *); 696 int linux_sys_sigreturn(struct lwp *, void *, register_t *); 697 int linux_sys_clone(struct lwp *, void *, register_t *); 698 int linux_sys_setdomainname(struct lwp *, void *, register_t *); 699 int linux_sys_uname(struct lwp *, void *, register_t *); 700 int linux_sys_cacheflush(struct lwp *, void *, register_t *); 701 int linux_sys_mprotect(struct lwp *, void *, register_t *); 702 int linux_sys_sigprocmask(struct lwp *, void *, register_t *); 703 int linux_sys_getpgid(struct lwp *, void *, register_t *); 704 int sys_fchdir(struct lwp *, void *, register_t *); 705 int linux_sys_personality(struct lwp *, void *, register_t *); 706 int linux_sys_setfsuid(struct lwp *, void *, register_t *); 707 int linux_sys_getfsuid(struct lwp *, void *, register_t *); 708 int linux_sys_llseek(struct lwp *, void *, register_t *); 709 int linux_sys_getdents(struct lwp *, void *, register_t *); 710 int linux_sys_select(struct lwp *, void *, register_t *); 711 int sys_flock(struct lwp *, void *, register_t *); 712 int linux_sys_msync(struct lwp *, void *, register_t *); 713 int sys_readv(struct lwp *, void *, register_t *); 714 int sys_writev(struct lwp *, void *, register_t *); 715 int sys_getsid(struct lwp *, void *, register_t *); 716 int linux_sys_fdatasync(struct lwp *, void *, register_t *); 717 int linux_sys___sysctl(struct lwp *, void *, register_t *); 718 int sys_mlock(struct lwp *, void *, register_t *); 719 int sys_munlock(struct lwp *, void *, register_t *); 720 int sys_mlockall(struct lwp *, void *, register_t *); 721 int sys_munlockall(struct lwp *, void *, register_t *); 722 int linux_sys_sched_setparam(struct lwp *, void *, register_t *); 723 int linux_sys_sched_getparam(struct lwp *, void *, register_t *); 724 int linux_sys_sched_setscheduler(struct lwp *, void *, register_t *); 725 int linux_sys_sched_getscheduler(struct lwp *, void *, register_t *); 726 int linux_sys_sched_yield(struct lwp *, void *, register_t *); 727 int linux_sys_sched_get_priority_max(struct lwp *, void *, register_t *); 728 int linux_sys_sched_get_priority_min(struct lwp *, void *, register_t *); 729 int sys_nanosleep(struct lwp *, void *, register_t *); 730 int linux_sys_mremap(struct lwp *, void *, register_t *); 731 int linux_sys_setresuid16(struct lwp *, void *, register_t *); 732 int linux_sys_getresuid(struct lwp *, void *, register_t *); 733 int sys_poll(struct lwp *, void *, register_t *); 734 int linux_sys_setresgid16(struct lwp *, void *, register_t *); 735 int linux_sys_getresgid(struct lwp *, void *, register_t *); 736 int linux_sys_rt_sigreturn(struct lwp *, void *, register_t *); 737 int linux_sys_rt_sigaction(struct lwp *, void *, register_t *); 738 int linux_sys_rt_sigprocmask(struct lwp *, void *, register_t *); 739 int linux_sys_rt_sigpending(struct lwp *, void *, register_t *); 740 int linux_sys_rt_queueinfo(struct lwp *, void *, register_t *); 741 int linux_sys_rt_sigsuspend(struct lwp *, void *, register_t *); 742 int linux_sys_pread(struct lwp *, void *, register_t *); 743 int linux_sys_pwrite(struct lwp *, void *, register_t *); 744 int linux_sys_lchown16(struct lwp *, void *, register_t *); 745 int sys___getcwd(struct lwp *, void *, register_t *); 746 int linux_sys_sigaltstack(struct lwp *, void *, register_t *); 747 int sys___vfork14(struct lwp *, void *, register_t *); 748 int linux_sys_ugetrlimit(struct lwp *, void *, register_t *); 749 int linux_sys_mmap2(struct lwp *, void *, register_t *); 750 int linux_sys_truncate64(struct lwp *, void *, register_t *); 751 int linux_sys_ftruncate64(struct lwp *, void *, register_t *); 752 int linux_sys_stat64(struct lwp *, void *, register_t *); 753 int linux_sys_lstat64(struct lwp *, void *, register_t *); 754 int linux_sys_fstat64(struct lwp *, void *, register_t *); 755 int linux_sys_chown(struct lwp *, void *, register_t *); 756 int sys_getuid(struct lwp *, void *, register_t *); 757 int sys_getgid(struct lwp *, void *, register_t *); 758 int sys_geteuid(struct lwp *, void *, register_t *); 759 int sys_getegid(struct lwp *, void *, register_t *); 760 int sys_setreuid(struct lwp *, void *, register_t *); 761 int sys_setregid(struct lwp *, void *, register_t *); 762 int sys_getgroups(struct lwp *, void *, register_t *); 763 int sys_setgroups(struct lwp *, void *, register_t *); 764 int sys___posix_fchown(struct lwp *, void *, register_t *); 765 int linux_sys_setresuid(struct lwp *, void *, register_t *); 766 int linux_sys_getresuid(struct lwp *, void *, register_t *); 767 int linux_sys_setresgid(struct lwp *, void *, register_t *); 768 int linux_sys_getresgid(struct lwp *, void *, register_t *); 769 int linux_sys_lchown(struct lwp *, void *, register_t *); 770 int sys_setuid(struct lwp *, void *, register_t *); 771 int sys_setgid(struct lwp *, void *, register_t *); 772 int linux_sys_setfsuid(struct lwp *, void *, register_t *); 773 int linux_sys_getfsuid(struct lwp *, void *, register_t *); 774 int linux_sys_getdents64(struct lwp *, void *, register_t *); 775 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */ 776