1 /* $NetBSD: linux_syscallargs.h,v 1.45 2002/04/10 18:19:04 christos 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.41 2002/04/10 18:18:26 christos 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 osf1_sys_wait4_args { 31 syscallarg(int) pid; 32 syscallarg(int *) status; 33 syscallarg(int) options; 34 syscallarg(struct osf1_rusage *) rusage; 35 }; 36 37 struct linux_sys_creat_args { 38 syscallarg(const char *) path; 39 syscallarg(mode_t) mode; 40 }; 41 42 struct linux_sys_link_args { 43 syscallarg(const char *) path; 44 syscallarg(const char *) link; 45 }; 46 47 struct linux_sys_unlink_args { 48 syscallarg(const char *) path; 49 }; 50 51 struct linux_sys_chdir_args { 52 syscallarg(const char *) path; 53 }; 54 55 struct linux_sys_mknod_args { 56 syscallarg(const char *) path; 57 syscallarg(int) mode; 58 syscallarg(int) dev; 59 }; 60 61 struct linux_sys_chmod_args { 62 syscallarg(const char *) path; 63 syscallarg(int) mode; 64 }; 65 66 struct linux_sys_brk_args { 67 syscallarg(char *) nsize; 68 }; 69 70 struct osf1_sys_mount_args { 71 syscallarg(int) type; 72 syscallarg(const char *) path; 73 syscallarg(int) flags; 74 syscallarg(caddr_t) data; 75 }; 76 77 struct linux_sys_ptrace_args { 78 syscallarg(long) request; 79 syscallarg(long) pid; 80 syscallarg(long) addr; 81 syscallarg(long) data; 82 }; 83 84 struct linux_sys_access_args { 85 syscallarg(const char *) path; 86 syscallarg(int) flags; 87 }; 88 89 struct linux_sys_kill_args { 90 syscallarg(int) pid; 91 syscallarg(int) signum; 92 }; 93 94 struct osf1_sys_set_program_attributes_args { 95 syscallarg(caddr_t) taddr; 96 syscallarg(unsigned long) tsize; 97 syscallarg(caddr_t) daddr; 98 syscallarg(unsigned long) dsize; 99 }; 100 101 struct linux_sys_open_args { 102 syscallarg(const char *) path; 103 syscallarg(int) flags; 104 syscallarg(int) mode; 105 }; 106 107 struct linux_sys_sigpending_args { 108 syscallarg(linux_old_sigset_t *) set; 109 }; 110 111 struct linux_sys_ioctl_args { 112 syscallarg(int) fd; 113 syscallarg(u_long) com; 114 syscallarg(caddr_t) data; 115 }; 116 117 struct linux_sys_symlink_args { 118 syscallarg(const char *) path; 119 syscallarg(const char *) to; 120 }; 121 122 struct linux_sys_readlink_args { 123 syscallarg(const char *) name; 124 syscallarg(char *) buf; 125 syscallarg(int) count; 126 }; 127 128 struct linux_sys_execve_args { 129 syscallarg(const char *) path; 130 syscallarg(char **) argp; 131 syscallarg(char **) envp; 132 }; 133 134 struct linux_sys_stat_args { 135 syscallarg(const char *) path; 136 syscallarg(struct linux_stat *) sp; 137 }; 138 139 struct linux_sys_lstat_args { 140 syscallarg(const char *) path; 141 syscallarg(struct linux_stat *) sp; 142 }; 143 144 struct linux_sys_mprotect_args { 145 syscallarg(const void *) start; 146 syscallarg(unsigned long) len; 147 syscallarg(int) prot; 148 }; 149 150 struct osf1_sys_setitimer_args { 151 syscallarg(u_int) which; 152 syscallarg(struct osf1_itimerval *) itv; 153 syscallarg(struct osf1_itimerval *) oitv; 154 }; 155 156 struct linux_sys_fstat_args { 157 syscallarg(int) fd; 158 syscallarg(struct linux_stat *) sp; 159 }; 160 161 struct linux_sys_fcntl_args { 162 syscallarg(int) fd; 163 syscallarg(int) cmd; 164 syscallarg(void *) arg; 165 }; 166 167 struct osf1_sys_select_args { 168 syscallarg(u_int) nd; 169 syscallarg(fd_set *) in; 170 syscallarg(fd_set *) ou; 171 syscallarg(fd_set *) ex; 172 syscallarg(struct osf1_timeval *) tv; 173 }; 174 175 struct linux_sys_socket_args { 176 syscallarg(int) domain; 177 syscallarg(int) type; 178 syscallarg(int) protocol; 179 }; 180 181 struct linux_sys_connect_args { 182 syscallarg(int) s; 183 syscallarg(const struct osockaddr *) name; 184 syscallarg(unsigned int) namelen; 185 }; 186 187 struct linux_sys_accept_args { 188 syscallarg(int) s; 189 syscallarg(struct osockaddr *) name; 190 syscallarg(int *) anamelen; 191 }; 192 193 struct linux_sys_send_args { 194 syscallarg(int) s; 195 syscallarg(caddr_t) buf; 196 syscallarg(int) len; 197 syscallarg(int) flags; 198 }; 199 200 struct linux_sys_recv_args { 201 syscallarg(int) s; 202 syscallarg(caddr_t) buf; 203 syscallarg(int) len; 204 syscallarg(int) flags; 205 }; 206 207 struct linux_sys_sigreturn_args { 208 syscallarg(struct linux_sigframe *) sfp; 209 }; 210 211 struct linux_sys_bind_args { 212 syscallarg(int) s; 213 syscallarg(const struct osockaddr *) name; 214 syscallarg(unsigned int) namelen; 215 }; 216 217 struct linux_sys_setsockopt_args { 218 syscallarg(int) s; 219 syscallarg(int) level; 220 syscallarg(int) optname; 221 syscallarg(void *) optval; 222 syscallarg(int) optlen; 223 }; 224 225 struct linux_sys_sigsuspend_args { 226 syscallarg(caddr_t) restart; 227 syscallarg(int) oldmask; 228 syscallarg(int) mask; 229 }; 230 231 struct linux_sys_recvmsg_args { 232 syscallarg(int) s; 233 syscallarg(struct msghdr *) msg; 234 syscallarg(int) flags; 235 }; 236 237 struct linux_sys_sendmsg_args { 238 syscallarg(int) s; 239 syscallarg(const struct msghdr *) msg; 240 syscallarg(int) flags; 241 }; 242 243 struct osf1_sys_gettimeofday_args { 244 syscallarg(struct osf1_timeval *) tv; 245 syscallarg(struct osf1_timezone *) tzp; 246 }; 247 248 struct osf1_sys_getrusage_args { 249 syscallarg(int) who; 250 syscallarg(struct osf1_rusage *) rusage; 251 }; 252 253 struct linux_sys_getsockopt_args { 254 syscallarg(int) s; 255 syscallarg(int) level; 256 syscallarg(int) optname; 257 syscallarg(void *) optval; 258 syscallarg(int *) optlen; 259 }; 260 261 struct osf1_sys_settimeofday_args { 262 syscallarg(struct osf1_timeval *) tv; 263 syscallarg(struct osf1_timezone *) tzp; 264 }; 265 266 struct linux_sys_recvfrom_args { 267 syscallarg(int) s; 268 syscallarg(void *) buf; 269 syscallarg(int) len; 270 syscallarg(int) flags; 271 syscallarg(struct osockaddr *) from; 272 syscallarg(int *) fromlenaddr; 273 }; 274 275 struct linux_sys_rename_args { 276 syscallarg(const char *) from; 277 syscallarg(const char *) to; 278 }; 279 280 struct linux_sys_truncate_args { 281 syscallarg(const char *) path; 282 syscallarg(long) length; 283 }; 284 285 struct linux_sys_sendto_args { 286 syscallarg(int) s; 287 syscallarg(void *) msg; 288 syscallarg(int) len; 289 syscallarg(int) flags; 290 syscallarg(struct osockaddr *) to; 291 syscallarg(int) tolen; 292 }; 293 294 struct linux_sys_socketpair_args { 295 syscallarg(int) domain; 296 syscallarg(int) type; 297 syscallarg(int) protocol; 298 syscallarg(int *) rsv; 299 }; 300 301 struct linux_sys_mkdir_args { 302 syscallarg(const char *) path; 303 syscallarg(int) mode; 304 }; 305 306 struct linux_sys_rmdir_args { 307 syscallarg(const char *) path; 308 }; 309 310 struct osf1_sys_utimes_args { 311 syscallarg(const char *) path; 312 syscallarg(const struct osf1_timeval *) tptr; 313 }; 314 315 struct linux_sys_getpeername_args { 316 syscallarg(int) fdes; 317 syscallarg(caddr_t) asa; 318 syscallarg(int *) alen; 319 }; 320 321 struct linux_sys_getrlimit_args { 322 syscallarg(int) which; 323 syscallarg(struct orlimit *) rlp; 324 }; 325 326 struct linux_sys_setrlimit_args { 327 syscallarg(int) which; 328 syscallarg(const struct orlimit *) rlp; 329 }; 330 331 struct linux_sys_getsockname_args { 332 syscallarg(int) fdec; 333 syscallarg(caddr_t) asa; 334 syscallarg(int *) alen; 335 }; 336 337 struct linux_sys_sigaction_args { 338 syscallarg(int) signum; 339 syscallarg(const struct linux_old_sigaction *) nsa; 340 syscallarg(struct linux_old_sigaction *) osa; 341 }; 342 343 struct osf1_sys_statfs_args { 344 syscallarg(const char *) path; 345 syscallarg(struct osf1_statfs *) buf; 346 syscallarg(int) len; 347 }; 348 349 struct osf1_sys_fstatfs_args { 350 syscallarg(int) fd; 351 syscallarg(struct osf1_statfs *) buf; 352 syscallarg(int) len; 353 }; 354 355 struct linux_sys_setdomainname_args { 356 syscallarg(char *) domainname; 357 syscallarg(int) len; 358 }; 359 360 struct linux_sys_ugetrlimit_args { 361 syscallarg(int) which; 362 syscallarg(struct rlimit *) rlp; 363 }; 364 365 struct linux_sys_olduname_args { 366 syscallarg(struct linux_old_utsname *) up; 367 }; 368 369 struct linux_sys_msync_args { 370 syscallarg(caddr_t) addr; 371 syscallarg(int) len; 372 syscallarg(int) fl; 373 }; 374 375 struct linux_sys_getpgid_args { 376 syscallarg(int) pid; 377 }; 378 379 struct osf1_sys_sysinfo_args { 380 syscallarg(int) cmd; 381 syscallarg(char) buf; 382 syscallarg(long) len; 383 }; 384 385 struct osf1_sys_usleep_thread_args { 386 syscallarg(struct osf1_timeval *) sleep; 387 syscallarg(struct osf1_timeval *) slept; 388 }; 389 390 struct osf1_sys_getsysinfo_args { 391 syscallarg(u_long) op; 392 syscallarg(caddr_t) buffer; 393 syscallarg(u_long) nbytes; 394 syscallarg(caddr_t) arg; 395 syscallarg(u_long) flag; 396 }; 397 398 struct osf1_sys_setsysinfo_args { 399 syscallarg(u_long) op; 400 syscallarg(caddr_t) buffer; 401 syscallarg(u_long) nbytes; 402 syscallarg(caddr_t) arg; 403 syscallarg(u_long) flag; 404 }; 405 406 struct linux_sys_fdatasync_args { 407 syscallarg(int) fd; 408 }; 409 410 struct linux_sys_swapoff_args { 411 syscallarg(const char *) path; 412 }; 413 414 struct linux_sys_getdents_args { 415 syscallarg(int) fd; 416 syscallarg(struct linux_dirent *) dent; 417 syscallarg(unsigned int) count; 418 }; 419 420 struct linux_sys_reboot_args { 421 syscallarg(int) magic1; 422 syscallarg(int) magic2; 423 syscallarg(int) cmd; 424 syscallarg(void *) arg; 425 }; 426 427 struct linux_sys_clone_args { 428 syscallarg(int) flags; 429 syscallarg(void *) stack; 430 }; 431 432 struct linux_sys_uselib_args { 433 syscallarg(const char *) path; 434 }; 435 436 struct linux_sys_sysinfo_args { 437 syscallarg(struct linux_sysinfo *) arg; 438 }; 439 440 struct linux_sys___sysctl_args { 441 syscallarg(struct linux___sysctl *) lsp; 442 }; 443 444 struct linux_sys_swapon_args { 445 syscallarg(const char *) name; 446 }; 447 448 struct linux_sys_times_args { 449 syscallarg(struct times *) tms; 450 }; 451 452 struct linux_sys_personality_args { 453 syscallarg(int) per; 454 }; 455 456 struct linux_sys_setfsuid_args { 457 syscallarg(uid_t) uid; 458 }; 459 460 struct linux_sys_statfs_args { 461 syscallarg(const char *) path; 462 syscallarg(struct linux_statfs *) sp; 463 }; 464 465 struct linux_sys_fstatfs_args { 466 syscallarg(int) fd; 467 syscallarg(struct linux_statfs *) sp; 468 }; 469 470 struct linux_sys_sched_setparam_args { 471 syscallarg(pid_t) pid; 472 syscallarg(const struct linux_sched_param *) sp; 473 }; 474 475 struct linux_sys_sched_getparam_args { 476 syscallarg(pid_t) pid; 477 syscallarg(struct linux_sched_param *) sp; 478 }; 479 480 struct linux_sys_sched_setscheduler_args { 481 syscallarg(pid_t) pid; 482 syscallarg(int) policy; 483 syscallarg(const struct linux_sched_param *) sp; 484 }; 485 486 struct linux_sys_sched_getscheduler_args { 487 syscallarg(pid_t) pid; 488 }; 489 490 struct linux_sys_sched_get_priority_max_args { 491 syscallarg(int) policy; 492 }; 493 494 struct linux_sys_sched_get_priority_min_args { 495 syscallarg(int) policy; 496 }; 497 498 struct linux_sys_uname_args { 499 syscallarg(struct linux_utsname *) up; 500 }; 501 502 struct linux_sys_mremap_args { 503 syscallarg(void *) old_address; 504 syscallarg(size_t) old_size; 505 syscallarg(size_t) new_size; 506 syscallarg(u_long) flags; 507 }; 508 509 struct linux_sys_setresuid_args { 510 syscallarg(uid_t) ruid; 511 syscallarg(uid_t) euid; 512 syscallarg(uid_t) suid; 513 }; 514 515 struct linux_sys_getresuid_args { 516 syscallarg(uid_t *) ruid; 517 syscallarg(uid_t *) euid; 518 syscallarg(uid_t *) suid; 519 }; 520 521 struct linux_sys_pread_args { 522 syscallarg(int) fd; 523 syscallarg(char *) buf; 524 syscallarg(size_t) nbyte; 525 syscallarg(linux_off_t) offset; 526 }; 527 528 struct linux_sys_pwrite_args { 529 syscallarg(int) fd; 530 syscallarg(char *) buf; 531 syscallarg(size_t) nbyte; 532 syscallarg(linux_off_t) offset; 533 }; 534 535 struct linux_sys_rt_sigreturn_args { 536 syscallarg(struct linux_rt_sigframe *) sfp; 537 }; 538 539 struct linux_sys_rt_sigaction_args { 540 syscallarg(int) signum; 541 syscallarg(const struct linux_sigaction *) nsa; 542 syscallarg(struct linux_sigaction *) osa; 543 syscallarg(size_t) sigsetsize; 544 }; 545 546 struct linux_sys_rt_sigprocmask_args { 547 syscallarg(int) how; 548 syscallarg(const linux_sigset_t *) set; 549 syscallarg(linux_sigset_t *) oset; 550 syscallarg(size_t) sigsetsize; 551 }; 552 553 struct linux_sys_rt_sigpending_args { 554 syscallarg(linux_sigset_t *) set; 555 syscallarg(size_t) sigsetsize; 556 }; 557 558 struct linux_sys_rt_queueinfo_args { 559 syscallarg(int) pid; 560 syscallarg(int) signum; 561 syscallarg(linux_siginfo_t *) uinfo; 562 }; 563 564 struct linux_sys_rt_sigsuspend_args { 565 syscallarg(linux_sigset_t *) unewset; 566 syscallarg(size_t) sigsetsize; 567 }; 568 569 struct linux_sys_select_args { 570 syscallarg(int) nfds; 571 syscallarg(fd_set *) readfds; 572 syscallarg(fd_set *) writefds; 573 syscallarg(fd_set *) exceptfds; 574 syscallarg(struct timeval *) timeout; 575 }; 576 577 struct linux_sys_wait4_args { 578 syscallarg(int) pid; 579 syscallarg(int *) status; 580 syscallarg(int) options; 581 syscallarg(struct rusage *) rusage; 582 }; 583 584 struct linux_sys_getdents64_args { 585 syscallarg(int) fd; 586 syscallarg(struct linux_dirent64 *) dent; 587 syscallarg(unsigned int) count; 588 }; 589 590 /* 591 * System call prototypes. 592 */ 593 594 int linux_sys_nosys(struct proc *, void *, register_t *); 595 int sys_exit(struct proc *, void *, register_t *); 596 int sys_fork(struct proc *, void *, register_t *); 597 int sys_read(struct proc *, void *, register_t *); 598 int sys_write(struct proc *, void *, register_t *); 599 int sys_close(struct proc *, void *, register_t *); 600 int osf1_sys_wait4(struct proc *, void *, register_t *); 601 int linux_sys_creat(struct proc *, void *, register_t *); 602 int linux_sys_link(struct proc *, void *, register_t *); 603 int linux_sys_unlink(struct proc *, void *, register_t *); 604 int linux_sys_chdir(struct proc *, void *, register_t *); 605 int sys_fchdir(struct proc *, void *, register_t *); 606 int linux_sys_mknod(struct proc *, void *, register_t *); 607 int linux_sys_chmod(struct proc *, void *, register_t *); 608 int sys___posix_chown(struct proc *, void *, register_t *); 609 int linux_sys_brk(struct proc *, void *, register_t *); 610 int compat_43_sys_lseek(struct proc *, void *, register_t *); 611 int sys_getpid_with_ppid(struct proc *, void *, register_t *); 612 int osf1_sys_mount(struct proc *, void *, register_t *); 613 int sys_setuid(struct proc *, void *, register_t *); 614 int sys_getuid_with_euid(struct proc *, void *, register_t *); 615 int linux_sys_ptrace(struct proc *, void *, register_t *); 616 int linux_sys_access(struct proc *, void *, register_t *); 617 int sys_sync(struct proc *, void *, register_t *); 618 int linux_sys_kill(struct proc *, void *, register_t *); 619 int sys_setpgid(struct proc *, void *, register_t *); 620 int sys_dup(struct proc *, void *, register_t *); 621 int linux_sys_pipe(struct proc *, void *, register_t *); 622 int osf1_sys_set_program_attributes(struct proc *, void *, register_t *); 623 int linux_sys_open(struct proc *, void *, register_t *); 624 int sys_getgid_with_egid(struct proc *, void *, register_t *); 625 int compat_13_sys_sigprocmask(struct proc *, void *, register_t *); 626 int sys_acct(struct proc *, void *, register_t *); 627 int linux_sys_sigpending(struct proc *, void *, register_t *); 628 int linux_sys_ioctl(struct proc *, void *, register_t *); 629 int linux_sys_symlink(struct proc *, void *, register_t *); 630 int linux_sys_readlink(struct proc *, void *, register_t *); 631 int linux_sys_execve(struct proc *, void *, register_t *); 632 int sys_umask(struct proc *, void *, register_t *); 633 int sys_chroot(struct proc *, void *, register_t *); 634 int sys_getpgrp(struct proc *, void *, register_t *); 635 int compat_43_sys_getpagesize(struct proc *, void *, register_t *); 636 int sys___vfork14(struct proc *, void *, register_t *); 637 int linux_sys_stat(struct proc *, void *, register_t *); 638 int linux_sys_lstat(struct proc *, void *, register_t *); 639 int linux_sys_mmap(struct proc *, void *, register_t *); 640 int sys_munmap(struct proc *, void *, register_t *); 641 int linux_sys_mprotect(struct proc *, void *, register_t *); 642 int sys_getgroups(struct proc *, void *, register_t *); 643 int sys_setgroups(struct proc *, void *, register_t *); 644 int osf1_sys_setitimer(struct proc *, void *, register_t *); 645 int compat_43_sys_gethostname(struct proc *, void *, register_t *); 646 int compat_43_sys_sethostname(struct proc *, void *, register_t *); 647 int sys_dup2(struct proc *, void *, register_t *); 648 int linux_sys_fstat(struct proc *, void *, register_t *); 649 int linux_sys_fcntl(struct proc *, void *, register_t *); 650 int osf1_sys_select(struct proc *, void *, register_t *); 651 int sys_poll(struct proc *, void *, register_t *); 652 int sys_fsync(struct proc *, void *, register_t *); 653 int sys_setpriority(struct proc *, void *, register_t *); 654 int linux_sys_socket(struct proc *, void *, register_t *); 655 int linux_sys_connect(struct proc *, void *, register_t *); 656 int linux_sys_accept(struct proc *, void *, register_t *); 657 int sys_getpriority(struct proc *, void *, register_t *); 658 int linux_sys_send(struct proc *, void *, register_t *); 659 int linux_sys_recv(struct proc *, void *, register_t *); 660 int linux_sys_sigreturn(struct proc *, void *, register_t *); 661 int linux_sys_bind(struct proc *, void *, register_t *); 662 int linux_sys_setsockopt(struct proc *, void *, register_t *); 663 int sys_listen(struct proc *, void *, register_t *); 664 int linux_sys_sigsuspend(struct proc *, void *, register_t *); 665 int compat_43_sys_sigstack(struct proc *, void *, register_t *); 666 int linux_sys_recvmsg(struct proc *, void *, register_t *); 667 int linux_sys_sendmsg(struct proc *, void *, register_t *); 668 int osf1_sys_gettimeofday(struct proc *, void *, register_t *); 669 int osf1_sys_getrusage(struct proc *, void *, register_t *); 670 int linux_sys_getsockopt(struct proc *, void *, register_t *); 671 int sys_readv(struct proc *, void *, register_t *); 672 int sys_writev(struct proc *, void *, register_t *); 673 int osf1_sys_settimeofday(struct proc *, void *, register_t *); 674 int sys___posix_fchown(struct proc *, void *, register_t *); 675 int sys_fchmod(struct proc *, void *, register_t *); 676 int linux_sys_recvfrom(struct proc *, void *, register_t *); 677 int sys_setreuid(struct proc *, void *, register_t *); 678 int sys_setregid(struct proc *, void *, register_t *); 679 int linux_sys_rename(struct proc *, void *, register_t *); 680 int linux_sys_truncate(struct proc *, void *, register_t *); 681 int compat_43_sys_ftruncate(struct proc *, void *, register_t *); 682 int sys_flock(struct proc *, void *, register_t *); 683 int sys_setgid(struct proc *, void *, register_t *); 684 int linux_sys_sendto(struct proc *, void *, register_t *); 685 int sys_shutdown(struct proc *, void *, register_t *); 686 int linux_sys_socketpair(struct proc *, void *, register_t *); 687 int linux_sys_mkdir(struct proc *, void *, register_t *); 688 int linux_sys_rmdir(struct proc *, void *, register_t *); 689 int osf1_sys_utimes(struct proc *, void *, register_t *); 690 int linux_sys_getpeername(struct proc *, void *, register_t *); 691 int linux_sys_getrlimit(struct proc *, void *, register_t *); 692 int linux_sys_setrlimit(struct proc *, void *, register_t *); 693 int sys_setsid(struct proc *, void *, register_t *); 694 int linux_sys_getsockname(struct proc *, void *, register_t *); 695 int linux_sys_sigaction(struct proc *, void *, register_t *); 696 int compat_43_sys_getdirentries(struct proc *, void *, register_t *); 697 int osf1_sys_statfs(struct proc *, void *, register_t *); 698 int osf1_sys_fstatfs(struct proc *, void *, register_t *); 699 int compat_09_sys_getdomainname(struct proc *, void *, register_t *); 700 int linux_sys_setdomainname(struct proc *, void *, register_t *); 701 int linux_sys_ugetrlimit(struct proc *, void *, register_t *); 702 #ifdef SYSVMSG 703 int linux_sys_msgctl(struct proc *, void *, register_t *); 704 int sys_msgget(struct proc *, void *, register_t *); 705 int sys_msgrcv(struct proc *, void *, register_t *); 706 int sys_msgsnd(struct proc *, void *, register_t *); 707 #else 708 #endif 709 #ifdef SYSVSEM 710 int linux_sys_semctl(struct proc *, void *, register_t *); 711 int sys_semget(struct proc *, void *, register_t *); 712 int sys_semop(struct proc *, void *, register_t *); 713 #else 714 #endif 715 int linux_sys_olduname(struct proc *, void *, register_t *); 716 int sys___posix_lchown(struct proc *, void *, register_t *); 717 #ifdef SYSVSHM 718 int linux_sys_shmat(struct proc *, void *, register_t *); 719 int linux_sys_shmctl(struct proc *, void *, register_t *); 720 int sys_shmdt(struct proc *, void *, register_t *); 721 int sys_shmget(struct proc *, void *, register_t *); 722 #else 723 #endif 724 int linux_sys_msync(struct proc *, void *, register_t *); 725 int linux_sys_getpgid(struct proc *, void *, register_t *); 726 int sys_getsid(struct proc *, void *, register_t *); 727 int osf1_sys_sysinfo(struct proc *, void *, register_t *); 728 int osf1_sys_usleep_thread(struct proc *, void *, register_t *); 729 int osf1_sys_getsysinfo(struct proc *, void *, register_t *); 730 int osf1_sys_setsysinfo(struct proc *, void *, register_t *); 731 int linux_sys_fdatasync(struct proc *, void *, register_t *); 732 int linux_sys_swapoff(struct proc *, void *, register_t *); 733 int linux_sys_getdents(struct proc *, void *, register_t *); 734 int linux_sys_reboot(struct proc *, void *, register_t *); 735 int linux_sys_clone(struct proc *, void *, register_t *); 736 #ifdef EXEC_AOUT 737 int linux_sys_uselib(struct proc *, void *, register_t *); 738 #else 739 #endif 740 int sys_mlock(struct proc *, void *, register_t *); 741 int sys_munlock(struct proc *, void *, register_t *); 742 int sys_mlockall(struct proc *, void *, register_t *); 743 int sys_munlockall(struct proc *, void *, register_t *); 744 int linux_sys_sysinfo(struct proc *, void *, register_t *); 745 int linux_sys___sysctl(struct proc *, void *, register_t *); 746 int linux_sys_swapon(struct proc *, void *, register_t *); 747 int linux_sys_times(struct proc *, void *, register_t *); 748 int linux_sys_personality(struct proc *, void *, register_t *); 749 int linux_sys_setfsuid(struct proc *, void *, register_t *); 750 int linux_sys_statfs(struct proc *, void *, register_t *); 751 int linux_sys_fstatfs(struct proc *, void *, register_t *); 752 int linux_sys_sched_setparam(struct proc *, void *, register_t *); 753 int linux_sys_sched_getparam(struct proc *, void *, register_t *); 754 int linux_sys_sched_setscheduler(struct proc *, void *, register_t *); 755 int linux_sys_sched_getscheduler(struct proc *, void *, register_t *); 756 int linux_sys_sched_yield(struct proc *, void *, register_t *); 757 int linux_sys_sched_get_priority_max(struct proc *, void *, register_t *); 758 int linux_sys_sched_get_priority_min(struct proc *, void *, register_t *); 759 int linux_sys_uname(struct proc *, void *, register_t *); 760 int sys_nanosleep(struct proc *, void *, register_t *); 761 int linux_sys_mremap(struct proc *, void *, register_t *); 762 int linux_sys_setresuid(struct proc *, void *, register_t *); 763 int linux_sys_getresuid(struct proc *, void *, register_t *); 764 int linux_sys_pread(struct proc *, void *, register_t *); 765 int linux_sys_pwrite(struct proc *, void *, register_t *); 766 int linux_sys_rt_sigreturn(struct proc *, void *, register_t *); 767 int linux_sys_rt_sigaction(struct proc *, void *, register_t *); 768 int linux_sys_rt_sigprocmask(struct proc *, void *, register_t *); 769 int linux_sys_rt_sigpending(struct proc *, void *, register_t *); 770 int linux_sys_rt_queueinfo(struct proc *, void *, register_t *); 771 int linux_sys_rt_sigsuspend(struct proc *, void *, register_t *); 772 int linux_sys_select(struct proc *, void *, register_t *); 773 int sys_gettimeofday(struct proc *, void *, register_t *); 774 int sys_settimeofday(struct proc *, void *, register_t *); 775 int sys_getitimer(struct proc *, void *, register_t *); 776 int sys_setitimer(struct proc *, void *, register_t *); 777 int sys_utimes(struct proc *, void *, register_t *); 778 int sys_getrusage(struct proc *, void *, register_t *); 779 int linux_sys_wait4(struct proc *, void *, register_t *); 780 int sys___getcwd(struct proc *, void *, register_t *); 781 int linux_sys_getdents64(struct proc *, void *, register_t *); 782 #endif /* _LINUX_SYS__SYSCALLARGS_H_ */ 783