The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/sys/syscallargs.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $OpenBSD: syscallargs.h,v 1.256 2023/01/07 05:25:39 guenther Exp $      */
    2 
    3 /*
    4  * System call argument lists.
    5  *
    6  * DO NOT EDIT-- this file is automatically generated.
    7  * created from;        OpenBSD: syscalls.master,v 1.239 2023/01/07 05:24:58 guenther Exp 
    8  */
    9 
   10 #ifdef  syscallarg
   11 #undef  syscallarg
   12 #endif
   13 
   14 #define syscallarg(x)                                                   \
   15         union {                                                         \
   16                 register_t pad;                                         \
   17                 struct { x datum; } le;                                 \
   18                 struct {                                                \
   19                         int8_t pad[ (sizeof (register_t) < sizeof (x))  \
   20                                 ? 0                                     \
   21                                 : sizeof (register_t) - sizeof (x)];    \
   22                         x datum;                                        \
   23                 } be;                                                   \
   24         }
   25 
   26 struct sys_exit_args {
   27         syscallarg(int) rval;
   28 };
   29 
   30 struct sys_read_args {
   31         syscallarg(int) fd;
   32         syscallarg(void *) buf;
   33         syscallarg(size_t) nbyte;
   34 };
   35 
   36 struct sys_write_args {
   37         syscallarg(int) fd;
   38         syscallarg(const void *) buf;
   39         syscallarg(size_t) nbyte;
   40 };
   41 
   42 struct sys_open_args {
   43         syscallarg(const char *) path;
   44         syscallarg(int) flags;
   45         syscallarg(mode_t) mode;
   46 };
   47 
   48 struct sys_close_args {
   49         syscallarg(int) fd;
   50 };
   51 
   52 struct sys_getentropy_args {
   53         syscallarg(void *) buf;
   54         syscallarg(size_t) nbyte;
   55 };
   56 
   57 struct sys___tfork_args {
   58         syscallarg(const struct __tfork *) param;
   59         syscallarg(size_t) psize;
   60 };
   61 
   62 struct sys_link_args {
   63         syscallarg(const char *) path;
   64         syscallarg(const char *) link;
   65 };
   66 
   67 struct sys_unlink_args {
   68         syscallarg(const char *) path;
   69 };
   70 
   71 struct sys_wait4_args {
   72         syscallarg(pid_t) pid;
   73         syscallarg(int *) status;
   74         syscallarg(int) options;
   75         syscallarg(struct rusage *) rusage;
   76 };
   77 
   78 struct sys_chdir_args {
   79         syscallarg(const char *) path;
   80 };
   81 
   82 struct sys_fchdir_args {
   83         syscallarg(int) fd;
   84 };
   85 
   86 struct sys_mknod_args {
   87         syscallarg(const char *) path;
   88         syscallarg(mode_t) mode;
   89         syscallarg(dev_t) dev;
   90 };
   91 
   92 struct sys_chmod_args {
   93         syscallarg(const char *) path;
   94         syscallarg(mode_t) mode;
   95 };
   96 
   97 struct sys_chown_args {
   98         syscallarg(const char *) path;
   99         syscallarg(uid_t) uid;
  100         syscallarg(gid_t) gid;
  101 };
  102 
  103 struct sys_obreak_args {
  104         syscallarg(char *) nsize;
  105 };
  106 
  107 struct sys_getrusage_args {
  108         syscallarg(int) who;
  109         syscallarg(struct rusage *) rusage;
  110 };
  111 
  112 struct sys_mount_args {
  113         syscallarg(const char *) type;
  114         syscallarg(const char *) path;
  115         syscallarg(int) flags;
  116         syscallarg(void *) data;
  117 };
  118 
  119 struct sys_unmount_args {
  120         syscallarg(const char *) path;
  121         syscallarg(int) flags;
  122 };
  123 
  124 struct sys_setuid_args {
  125         syscallarg(uid_t) uid;
  126 };
  127 
  128 struct sys_ptrace_args {
  129         syscallarg(int) req;
  130         syscallarg(pid_t) pid;
  131         syscallarg(caddr_t) addr;
  132         syscallarg(int) data;
  133 };
  134 
  135 struct sys_recvmsg_args {
  136         syscallarg(int) s;
  137         syscallarg(struct msghdr *) msg;
  138         syscallarg(int) flags;
  139 };
  140 
  141 struct sys_sendmsg_args {
  142         syscallarg(int) s;
  143         syscallarg(const struct msghdr *) msg;
  144         syscallarg(int) flags;
  145 };
  146 
  147 struct sys_recvfrom_args {
  148         syscallarg(int) s;
  149         syscallarg(void *) buf;
  150         syscallarg(size_t) len;
  151         syscallarg(int) flags;
  152         syscallarg(struct sockaddr *) from;
  153         syscallarg(socklen_t *) fromlenaddr;
  154 };
  155 
  156 struct sys_accept_args {
  157         syscallarg(int) s;
  158         syscallarg(struct sockaddr *) name;
  159         syscallarg(socklen_t *) anamelen;
  160 };
  161 
  162 struct sys_getpeername_args {
  163         syscallarg(int) fdes;
  164         syscallarg(struct sockaddr *) asa;
  165         syscallarg(socklen_t *) alen;
  166 };
  167 
  168 struct sys_getsockname_args {
  169         syscallarg(int) fdes;
  170         syscallarg(struct sockaddr *) asa;
  171         syscallarg(socklen_t *) alen;
  172 };
  173 
  174 struct sys_access_args {
  175         syscallarg(const char *) path;
  176         syscallarg(int) amode;
  177 };
  178 
  179 struct sys_chflags_args {
  180         syscallarg(const char *) path;
  181         syscallarg(u_int) flags;
  182 };
  183 
  184 struct sys_fchflags_args {
  185         syscallarg(int) fd;
  186         syscallarg(u_int) flags;
  187 };
  188 
  189 struct sys_msyscall_args {
  190         syscallarg(void *) addr;
  191         syscallarg(size_t) len;
  192 };
  193 
  194 struct sys_stat_args {
  195         syscallarg(const char *) path;
  196         syscallarg(struct stat *) ub;
  197 };
  198 
  199 struct sys_lstat_args {
  200         syscallarg(const char *) path;
  201         syscallarg(struct stat *) ub;
  202 };
  203 
  204 struct sys_dup_args {
  205         syscallarg(int) fd;
  206 };
  207 
  208 struct sys_fstatat_args {
  209         syscallarg(int) fd;
  210         syscallarg(const char *) path;
  211         syscallarg(struct stat *) buf;
  212         syscallarg(int) flag;
  213 };
  214 
  215 struct sys_profil_args {
  216         syscallarg(caddr_t) samples;
  217         syscallarg(size_t) size;
  218         syscallarg(u_long) offset;
  219         syscallarg(u_int) scale;
  220 };
  221 
  222 struct sys_ktrace_args {
  223         syscallarg(const char *) fname;
  224         syscallarg(int) ops;
  225         syscallarg(int) facs;
  226         syscallarg(pid_t) pid;
  227 };
  228 
  229 struct sys_sigaction_args {
  230         syscallarg(int) signum;
  231         syscallarg(const struct sigaction *) nsa;
  232         syscallarg(struct sigaction *) osa;
  233 };
  234 
  235 struct sys_sigprocmask_args {
  236         syscallarg(int) how;
  237         syscallarg(sigset_t) mask;
  238 };
  239 
  240 struct sys_mmap_args {
  241         syscallarg(void *) addr;
  242         syscallarg(size_t) len;
  243         syscallarg(int) prot;
  244         syscallarg(int) flags;
  245         syscallarg(int) fd;
  246         syscallarg(off_t) pos;
  247 };
  248 
  249 struct sys_setlogin_args {
  250         syscallarg(const char *) namebuf;
  251 };
  252 
  253 struct sys_acct_args {
  254         syscallarg(const char *) path;
  255 };
  256 
  257 struct sys_fstat_args {
  258         syscallarg(int) fd;
  259         syscallarg(struct stat *) sb;
  260 };
  261 
  262 struct sys_ioctl_args {
  263         syscallarg(int) fd;
  264         syscallarg(u_long) com;
  265         syscallarg(void *) data;
  266 };
  267 
  268 struct sys_reboot_args {
  269         syscallarg(int) opt;
  270 };
  271 
  272 struct sys_revoke_args {
  273         syscallarg(const char *) path;
  274 };
  275 
  276 struct sys_symlink_args {
  277         syscallarg(const char *) path;
  278         syscallarg(const char *) link;
  279 };
  280 
  281 struct sys_readlink_args {
  282         syscallarg(const char *) path;
  283         syscallarg(char *) buf;
  284         syscallarg(size_t) count;
  285 };
  286 
  287 struct sys_execve_args {
  288         syscallarg(const char *) path;
  289         syscallarg(char *const *) argp;
  290         syscallarg(char *const *) envp;
  291 };
  292 
  293 struct sys_umask_args {
  294         syscallarg(mode_t) newmask;
  295 };
  296 
  297 struct sys_chroot_args {
  298         syscallarg(const char *) path;
  299 };
  300 
  301 struct sys_getfsstat_args {
  302         syscallarg(struct statfs *) buf;
  303         syscallarg(size_t) bufsize;
  304         syscallarg(int) flags;
  305 };
  306 
  307 struct sys_statfs_args {
  308         syscallarg(const char *) path;
  309         syscallarg(struct statfs *) buf;
  310 };
  311 
  312 struct sys_fstatfs_args {
  313         syscallarg(int) fd;
  314         syscallarg(struct statfs *) buf;
  315 };
  316 
  317 struct sys_fhstatfs_args {
  318         syscallarg(const fhandle_t *) fhp;
  319         syscallarg(struct statfs *) buf;
  320 };
  321 
  322 struct sys_gettimeofday_args {
  323         syscallarg(struct timeval *) tp;
  324         syscallarg(struct timezone *) tzp;
  325 };
  326 
  327 struct sys_settimeofday_args {
  328         syscallarg(const struct timeval *) tv;
  329         syscallarg(const struct timezone *) tzp;
  330 };
  331 
  332 struct sys_setitimer_args {
  333         syscallarg(int) which;
  334         syscallarg(const struct itimerval *) itv;
  335         syscallarg(struct itimerval *) oitv;
  336 };
  337 
  338 struct sys_getitimer_args {
  339         syscallarg(int) which;
  340         syscallarg(struct itimerval *) itv;
  341 };
  342 
  343 struct sys_select_args {
  344         syscallarg(int) nd;
  345         syscallarg(fd_set *) in;
  346         syscallarg(fd_set *) ou;
  347         syscallarg(fd_set *) ex;
  348         syscallarg(struct timeval *) tv;
  349 };
  350 
  351 struct sys_kevent_args {
  352         syscallarg(int) fd;
  353         syscallarg(const struct kevent *) changelist;
  354         syscallarg(int) nchanges;
  355         syscallarg(struct kevent *) eventlist;
  356         syscallarg(int) nevents;
  357         syscallarg(const struct timespec *) timeout;
  358 };
  359 
  360 struct sys_munmap_args {
  361         syscallarg(void *) addr;
  362         syscallarg(size_t) len;
  363 };
  364 
  365 struct sys_mprotect_args {
  366         syscallarg(void *) addr;
  367         syscallarg(size_t) len;
  368         syscallarg(int) prot;
  369 };
  370 
  371 struct sys_madvise_args {
  372         syscallarg(void *) addr;
  373         syscallarg(size_t) len;
  374         syscallarg(int) behav;
  375 };
  376 
  377 struct sys_utimes_args {
  378         syscallarg(const char *) path;
  379         syscallarg(const struct timeval *) tptr;
  380 };
  381 
  382 struct sys_futimes_args {
  383         syscallarg(int) fd;
  384         syscallarg(const struct timeval *) tptr;
  385 };
  386 
  387 struct sys_mquery_args {
  388         syscallarg(void *) addr;
  389         syscallarg(size_t) len;
  390         syscallarg(int) prot;
  391         syscallarg(int) flags;
  392         syscallarg(int) fd;
  393         syscallarg(off_t) pos;
  394 };
  395 
  396 struct sys_getgroups_args {
  397         syscallarg(int) gidsetsize;
  398         syscallarg(gid_t *) gidset;
  399 };
  400 
  401 struct sys_setgroups_args {
  402         syscallarg(int) gidsetsize;
  403         syscallarg(const gid_t *) gidset;
  404 };
  405 
  406 struct sys_setpgid_args {
  407         syscallarg(pid_t) pid;
  408         syscallarg(pid_t) pgid;
  409 };
  410 
  411 struct sys_futex_args {
  412         syscallarg(uint32_t *) f;
  413         syscallarg(int) op;
  414         syscallarg(int) val;
  415         syscallarg(const struct timespec *) timeout;
  416         syscallarg(uint32_t *) g;
  417 };
  418 
  419 struct sys_utimensat_args {
  420         syscallarg(int) fd;
  421         syscallarg(const char *) path;
  422         syscallarg(const struct timespec *) times;
  423         syscallarg(int) flag;
  424 };
  425 
  426 struct sys_futimens_args {
  427         syscallarg(int) fd;
  428         syscallarg(const struct timespec *) times;
  429 };
  430 
  431 struct sys_kbind_args {
  432         syscallarg(const struct __kbind *) param;
  433         syscallarg(size_t) psize;
  434         syscallarg(int64_t) proc_cookie;
  435 };
  436 
  437 struct sys_clock_gettime_args {
  438         syscallarg(clockid_t) clock_id;
  439         syscallarg(struct timespec *) tp;
  440 };
  441 
  442 struct sys_clock_settime_args {
  443         syscallarg(clockid_t) clock_id;
  444         syscallarg(const struct timespec *) tp;
  445 };
  446 
  447 struct sys_clock_getres_args {
  448         syscallarg(clockid_t) clock_id;
  449         syscallarg(struct timespec *) tp;
  450 };
  451 
  452 struct sys_dup2_args {
  453         syscallarg(int) from;
  454         syscallarg(int) to;
  455 };
  456 
  457 struct sys_nanosleep_args {
  458         syscallarg(const struct timespec *) rqtp;
  459         syscallarg(struct timespec *) rmtp;
  460 };
  461 
  462 struct sys_fcntl_args {
  463         syscallarg(int) fd;
  464         syscallarg(int) cmd;
  465         syscallarg(void *) arg;
  466 };
  467 
  468 struct sys_accept4_args {
  469         syscallarg(int) s;
  470         syscallarg(struct sockaddr *) name;
  471         syscallarg(socklen_t *) anamelen;
  472         syscallarg(int) flags;
  473 };
  474 
  475 struct sys___thrsleep_args {
  476         syscallarg(const volatile void *) ident;
  477         syscallarg(clockid_t) clock_id;
  478         syscallarg(const struct timespec *) tp;
  479         syscallarg(void *) lock;
  480         syscallarg(const int *) abort;
  481 };
  482 
  483 struct sys_fsync_args {
  484         syscallarg(int) fd;
  485 };
  486 
  487 struct sys_setpriority_args {
  488         syscallarg(int) which;
  489         syscallarg(id_t) who;
  490         syscallarg(int) prio;
  491 };
  492 
  493 struct sys_socket_args {
  494         syscallarg(int) domain;
  495         syscallarg(int) type;
  496         syscallarg(int) protocol;
  497 };
  498 
  499 struct sys_connect_args {
  500         syscallarg(int) s;
  501         syscallarg(const struct sockaddr *) name;
  502         syscallarg(socklen_t) namelen;
  503 };
  504 
  505 struct sys_getdents_args {
  506         syscallarg(int) fd;
  507         syscallarg(void *) buf;
  508         syscallarg(size_t) buflen;
  509 };
  510 
  511 struct sys_getpriority_args {
  512         syscallarg(int) which;
  513         syscallarg(id_t) who;
  514 };
  515 
  516 struct sys_pipe2_args {
  517         syscallarg(int *) fdp;
  518         syscallarg(int) flags;
  519 };
  520 
  521 struct sys_dup3_args {
  522         syscallarg(int) from;
  523         syscallarg(int) to;
  524         syscallarg(int) flags;
  525 };
  526 
  527 struct sys_sigreturn_args {
  528         syscallarg(struct sigcontext *) sigcntxp;
  529 };
  530 
  531 struct sys_bind_args {
  532         syscallarg(int) s;
  533         syscallarg(const struct sockaddr *) name;
  534         syscallarg(socklen_t) namelen;
  535 };
  536 
  537 struct sys_setsockopt_args {
  538         syscallarg(int) s;
  539         syscallarg(int) level;
  540         syscallarg(int) name;
  541         syscallarg(const void *) val;
  542         syscallarg(socklen_t) valsize;
  543 };
  544 
  545 struct sys_listen_args {
  546         syscallarg(int) s;
  547         syscallarg(int) backlog;
  548 };
  549 
  550 struct sys_chflagsat_args {
  551         syscallarg(int) fd;
  552         syscallarg(const char *) path;
  553         syscallarg(u_int) flags;
  554         syscallarg(int) atflags;
  555 };
  556 
  557 struct sys_pledge_args {
  558         syscallarg(const char *) promises;
  559         syscallarg(const char *) execpromises;
  560 };
  561 
  562 struct sys_ppoll_args {
  563         syscallarg(struct pollfd *) fds;
  564         syscallarg(u_int) nfds;
  565         syscallarg(const struct timespec *) ts;
  566         syscallarg(const sigset_t *) mask;
  567 };
  568 
  569 struct sys_pselect_args {
  570         syscallarg(int) nd;
  571         syscallarg(fd_set *) in;
  572         syscallarg(fd_set *) ou;
  573         syscallarg(fd_set *) ex;
  574         syscallarg(const struct timespec *) ts;
  575         syscallarg(const sigset_t *) mask;
  576 };
  577 
  578 struct sys_sigsuspend_args {
  579         syscallarg(int) mask;
  580 };
  581 
  582 struct sys_sendsyslog_args {
  583         syscallarg(const char *) buf;
  584         syscallarg(size_t) nbyte;
  585         syscallarg(int) flags;
  586 };
  587 
  588 struct sys_unveil_args {
  589         syscallarg(const char *) path;
  590         syscallarg(const char *) permissions;
  591 };
  592 
  593 struct sys___realpath_args {
  594         syscallarg(const char *) pathname;
  595         syscallarg(char *) resolved;
  596 };
  597 
  598 struct sys_recvmmsg_args {
  599         syscallarg(int) s;
  600         syscallarg(struct mmsghdr *) mmsg;
  601         syscallarg(unsigned int) vlen;
  602         syscallarg(int) flags;
  603         syscallarg(struct timespec *) timeout;
  604 };
  605 
  606 struct sys_sendmmsg_args {
  607         syscallarg(int) s;
  608         syscallarg(struct mmsghdr *) mmsg;
  609         syscallarg(unsigned int) vlen;
  610         syscallarg(int) flags;
  611 };
  612 
  613 struct sys_getsockopt_args {
  614         syscallarg(int) s;
  615         syscallarg(int) level;
  616         syscallarg(int) name;
  617         syscallarg(void *) val;
  618         syscallarg(socklen_t *) avalsize;
  619 };
  620 
  621 struct sys_thrkill_args {
  622         syscallarg(pid_t) tid;
  623         syscallarg(int) signum;
  624         syscallarg(void *) tcb;
  625 };
  626 
  627 struct sys_readv_args {
  628         syscallarg(int) fd;
  629         syscallarg(const struct iovec *) iovp;
  630         syscallarg(int) iovcnt;
  631 };
  632 
  633 struct sys_writev_args {
  634         syscallarg(int) fd;
  635         syscallarg(const struct iovec *) iovp;
  636         syscallarg(int) iovcnt;
  637 };
  638 
  639 struct sys_kill_args {
  640         syscallarg(int) pid;
  641         syscallarg(int) signum;
  642 };
  643 
  644 struct sys_fchown_args {
  645         syscallarg(int) fd;
  646         syscallarg(uid_t) uid;
  647         syscallarg(gid_t) gid;
  648 };
  649 
  650 struct sys_fchmod_args {
  651         syscallarg(int) fd;
  652         syscallarg(mode_t) mode;
  653 };
  654 
  655 struct sys_setreuid_args {
  656         syscallarg(uid_t) ruid;
  657         syscallarg(uid_t) euid;
  658 };
  659 
  660 struct sys_setregid_args {
  661         syscallarg(gid_t) rgid;
  662         syscallarg(gid_t) egid;
  663 };
  664 
  665 struct sys_rename_args {
  666         syscallarg(const char *) from;
  667         syscallarg(const char *) to;
  668 };
  669 
  670 struct sys_flock_args {
  671         syscallarg(int) fd;
  672         syscallarg(int) how;
  673 };
  674 
  675 struct sys_mkfifo_args {
  676         syscallarg(const char *) path;
  677         syscallarg(mode_t) mode;
  678 };
  679 
  680 struct sys_sendto_args {
  681         syscallarg(int) s;
  682         syscallarg(const void *) buf;
  683         syscallarg(size_t) len;
  684         syscallarg(int) flags;
  685         syscallarg(const struct sockaddr *) to;
  686         syscallarg(socklen_t) tolen;
  687 };
  688 
  689 struct sys_shutdown_args {
  690         syscallarg(int) s;
  691         syscallarg(int) how;
  692 };
  693 
  694 struct sys_socketpair_args {
  695         syscallarg(int) domain;
  696         syscallarg(int) type;
  697         syscallarg(int) protocol;
  698         syscallarg(int *) rsv;
  699 };
  700 
  701 struct sys_mkdir_args {
  702         syscallarg(const char *) path;
  703         syscallarg(mode_t) mode;
  704 };
  705 
  706 struct sys_rmdir_args {
  707         syscallarg(const char *) path;
  708 };
  709 
  710 struct sys_adjtime_args {
  711         syscallarg(const struct timeval *) delta;
  712         syscallarg(struct timeval *) olddelta;
  713 };
  714 
  715 struct sys_getlogin_r_args {
  716         syscallarg(char *) namebuf;
  717         syscallarg(u_int) namelen;
  718 };
  719 
  720 struct sys_getthrname_args {
  721         syscallarg(pid_t) tid;
  722         syscallarg(char *) name;
  723         syscallarg(size_t) len;
  724 };
  725 
  726 struct sys_setthrname_args {
  727         syscallarg(pid_t) tid;
  728         syscallarg(const char *) name;
  729 };
  730 
  731 struct sys_quotactl_args {
  732         syscallarg(const char *) path;
  733         syscallarg(int) cmd;
  734         syscallarg(int) uid;
  735         syscallarg(char *) arg;
  736 };
  737 
  738 struct sys_ypconnect_args {
  739         syscallarg(int) type;
  740 };
  741 
  742 struct sys_nfssvc_args {
  743         syscallarg(int) flag;
  744         syscallarg(void *) argp;
  745 };
  746 
  747 struct sys_mimmutable_args {
  748         syscallarg(void *) addr;
  749         syscallarg(size_t) len;
  750 };
  751 
  752 struct sys_waitid_args {
  753         syscallarg(int) idtype;
  754         syscallarg(id_t) id;
  755         syscallarg(siginfo_t *) info;
  756         syscallarg(int) options;
  757 };
  758 
  759 struct sys_getfh_args {
  760         syscallarg(const char *) fname;
  761         syscallarg(fhandle_t *) fhp;
  762 };
  763 
  764 struct sys___tmpfd_args {
  765         syscallarg(int) flags;
  766 };
  767 
  768 struct sys_sysarch_args {
  769         syscallarg(int) op;
  770         syscallarg(void *) parms;
  771 };
  772 
  773 struct sys_lseek_args {
  774         syscallarg(int) fd;
  775         syscallarg(off_t) offset;
  776         syscallarg(int) whence;
  777 };
  778 
  779 struct sys_truncate_args {
  780         syscallarg(const char *) path;
  781         syscallarg(off_t) length;
  782 };
  783 
  784 struct sys_ftruncate_args {
  785         syscallarg(int) fd;
  786         syscallarg(off_t) length;
  787 };
  788 
  789 struct sys_pread_args {
  790         syscallarg(int) fd;
  791         syscallarg(void *) buf;
  792         syscallarg(size_t) nbyte;
  793         syscallarg(off_t) offset;
  794 };
  795 
  796 struct sys_pwrite_args {
  797         syscallarg(int) fd;
  798         syscallarg(const void *) buf;
  799         syscallarg(size_t) nbyte;
  800         syscallarg(off_t) offset;
  801 };
  802 
  803 struct sys_preadv_args {
  804         syscallarg(int) fd;
  805         syscallarg(const struct iovec *) iovp;
  806         syscallarg(int) iovcnt;
  807         syscallarg(off_t) offset;
  808 };
  809 
  810 struct sys_pwritev_args {
  811         syscallarg(int) fd;
  812         syscallarg(const struct iovec *) iovp;
  813         syscallarg(int) iovcnt;
  814         syscallarg(off_t) offset;
  815 };
  816 
  817 struct sys_pad_pread_args {
  818         syscallarg(int) fd;
  819         syscallarg(void *) buf;
  820         syscallarg(size_t) nbyte;
  821         syscallarg(int) pad;
  822         syscallarg(off_t) offset;
  823 };
  824 
  825 struct sys_pad_pwrite_args {
  826         syscallarg(int) fd;
  827         syscallarg(const void *) buf;
  828         syscallarg(size_t) nbyte;
  829         syscallarg(int) pad;
  830         syscallarg(off_t) offset;
  831 };
  832 
  833 struct sys_setgid_args {
  834         syscallarg(gid_t) gid;
  835 };
  836 
  837 struct sys_setegid_args {
  838         syscallarg(gid_t) egid;
  839 };
  840 
  841 struct sys_seteuid_args {
  842         syscallarg(uid_t) euid;
  843 };
  844 
  845 struct sys_pathconf_args {
  846         syscallarg(const char *) path;
  847         syscallarg(int) name;
  848 };
  849 
  850 struct sys_fpathconf_args {
  851         syscallarg(int) fd;
  852         syscallarg(int) name;
  853 };
  854 
  855 struct sys_swapctl_args {
  856         syscallarg(int) cmd;
  857         syscallarg(const void *) arg;
  858         syscallarg(int) misc;
  859 };
  860 
  861 struct sys_getrlimit_args {
  862         syscallarg(int) which;
  863         syscallarg(struct rlimit *) rlp;
  864 };
  865 
  866 struct sys_setrlimit_args {
  867         syscallarg(int) which;
  868         syscallarg(const struct rlimit *) rlp;
  869 };
  870 
  871 struct sys_pad_mmap_args {
  872         syscallarg(void *) addr;
  873         syscallarg(size_t) len;
  874         syscallarg(int) prot;
  875         syscallarg(int) flags;
  876         syscallarg(int) fd;
  877         syscallarg(long) pad;
  878         syscallarg(off_t) pos;
  879 };
  880 
  881 struct sys_pad_lseek_args {
  882         syscallarg(int) fd;
  883         syscallarg(int) pad;
  884         syscallarg(off_t) offset;
  885         syscallarg(int) whence;
  886 };
  887 
  888 struct sys_pad_truncate_args {
  889         syscallarg(const char *) path;
  890         syscallarg(int) pad;
  891         syscallarg(off_t) length;
  892 };
  893 
  894 struct sys_pad_ftruncate_args {
  895         syscallarg(int) fd;
  896         syscallarg(int) pad;
  897         syscallarg(off_t) length;
  898 };
  899 
  900 struct sys_sysctl_args {
  901         syscallarg(const int *) name;
  902         syscallarg(u_int) namelen;
  903         syscallarg(void *) old;
  904         syscallarg(size_t *) oldlenp;
  905         syscallarg(void *) new;
  906         syscallarg(size_t) newlen;
  907 };
  908 
  909 struct sys_mlock_args {
  910         syscallarg(const void *) addr;
  911         syscallarg(size_t) len;
  912 };
  913 
  914 struct sys_munlock_args {
  915         syscallarg(const void *) addr;
  916         syscallarg(size_t) len;
  917 };
  918 
  919 struct sys_getpgid_args {
  920         syscallarg(pid_t) pid;
  921 };
  922 
  923 struct sys_utrace_args {
  924         syscallarg(const char *) label;
  925         syscallarg(const void *) addr;
  926         syscallarg(size_t) len;
  927 };
  928 
  929 struct sys_semget_args {
  930         syscallarg(key_t) key;
  931         syscallarg(int) nsems;
  932         syscallarg(int) semflg;
  933 };
  934 
  935 struct sys_msgget_args {
  936         syscallarg(key_t) key;
  937         syscallarg(int) msgflg;
  938 };
  939 
  940 struct sys_msgsnd_args {
  941         syscallarg(int) msqid;
  942         syscallarg(const void *) msgp;
  943         syscallarg(size_t) msgsz;
  944         syscallarg(int) msgflg;
  945 };
  946 
  947 struct sys_msgrcv_args {
  948         syscallarg(int) msqid;
  949         syscallarg(void *) msgp;
  950         syscallarg(size_t) msgsz;
  951         syscallarg(long) msgtyp;
  952         syscallarg(int) msgflg;
  953 };
  954 
  955 struct sys_shmat_args {
  956         syscallarg(int) shmid;
  957         syscallarg(const void *) shmaddr;
  958         syscallarg(int) shmflg;
  959 };
  960 
  961 struct sys_shmdt_args {
  962         syscallarg(const void *) shmaddr;
  963 };
  964 
  965 struct sys_minherit_args {
  966         syscallarg(void *) addr;
  967         syscallarg(size_t) len;
  968         syscallarg(int) inherit;
  969 };
  970 
  971 struct sys_poll_args {
  972         syscallarg(struct pollfd *) fds;
  973         syscallarg(u_int) nfds;
  974         syscallarg(int) timeout;
  975 };
  976 
  977 struct sys_lchown_args {
  978         syscallarg(const char *) path;
  979         syscallarg(uid_t) uid;
  980         syscallarg(gid_t) gid;
  981 };
  982 
  983 struct sys_getsid_args {
  984         syscallarg(pid_t) pid;
  985 };
  986 
  987 struct sys_msync_args {
  988         syscallarg(void *) addr;
  989         syscallarg(size_t) len;
  990         syscallarg(int) flags;
  991 };
  992 
  993 struct sys_pipe_args {
  994         syscallarg(int *) fdp;
  995 };
  996 
  997 struct sys_fhopen_args {
  998         syscallarg(const fhandle_t *) fhp;
  999         syscallarg(int) flags;
 1000 };
 1001 
 1002 struct sys_pad_preadv_args {
 1003         syscallarg(int) fd;
 1004         syscallarg(const struct iovec *) iovp;
 1005         syscallarg(int) iovcnt;
 1006         syscallarg(int) pad;
 1007         syscallarg(off_t) offset;
 1008 };
 1009 
 1010 struct sys_pad_pwritev_args {
 1011         syscallarg(int) fd;
 1012         syscallarg(const struct iovec *) iovp;
 1013         syscallarg(int) iovcnt;
 1014         syscallarg(int) pad;
 1015         syscallarg(off_t) offset;
 1016 };
 1017 
 1018 struct sys_mlockall_args {
 1019         syscallarg(int) flags;
 1020 };
 1021 
 1022 struct sys_getresuid_args {
 1023         syscallarg(uid_t *) ruid;
 1024         syscallarg(uid_t *) euid;
 1025         syscallarg(uid_t *) suid;
 1026 };
 1027 
 1028 struct sys_setresuid_args {
 1029         syscallarg(uid_t) ruid;
 1030         syscallarg(uid_t) euid;
 1031         syscallarg(uid_t) suid;
 1032 };
 1033 
 1034 struct sys_getresgid_args {
 1035         syscallarg(gid_t *) rgid;
 1036         syscallarg(gid_t *) egid;
 1037         syscallarg(gid_t *) sgid;
 1038 };
 1039 
 1040 struct sys_setresgid_args {
 1041         syscallarg(gid_t) rgid;
 1042         syscallarg(gid_t) egid;
 1043         syscallarg(gid_t) sgid;
 1044 };
 1045 
 1046 struct sys_pad_mquery_args {
 1047         syscallarg(void *) addr;
 1048         syscallarg(size_t) len;
 1049         syscallarg(int) prot;
 1050         syscallarg(int) flags;
 1051         syscallarg(int) fd;
 1052         syscallarg(long) pad;
 1053         syscallarg(off_t) pos;
 1054 };
 1055 
 1056 struct sys_closefrom_args {
 1057         syscallarg(int) fd;
 1058 };
 1059 
 1060 struct sys_sigaltstack_args {
 1061         syscallarg(const struct sigaltstack *) nss;
 1062         syscallarg(struct sigaltstack *) oss;
 1063 };
 1064 
 1065 struct sys_shmget_args {
 1066         syscallarg(key_t) key;
 1067         syscallarg(size_t) size;
 1068         syscallarg(int) shmflg;
 1069 };
 1070 
 1071 struct sys_semop_args {
 1072         syscallarg(int) semid;
 1073         syscallarg(struct sembuf *) sops;
 1074         syscallarg(size_t) nsops;
 1075 };
 1076 
 1077 struct sys_fhstat_args {
 1078         syscallarg(const fhandle_t *) fhp;
 1079         syscallarg(struct stat *) sb;
 1080 };
 1081 
 1082 struct sys___semctl_args {
 1083         syscallarg(int) semid;
 1084         syscallarg(int) semnum;
 1085         syscallarg(int) cmd;
 1086         syscallarg(union semun *) arg;
 1087 };
 1088 
 1089 struct sys_shmctl_args {
 1090         syscallarg(int) shmid;
 1091         syscallarg(int) cmd;
 1092         syscallarg(struct shmid_ds *) buf;
 1093 };
 1094 
 1095 struct sys_msgctl_args {
 1096         syscallarg(int) msqid;
 1097         syscallarg(int) cmd;
 1098         syscallarg(struct msqid_ds *) buf;
 1099 };
 1100 
 1101 struct sys___thrwakeup_args {
 1102         syscallarg(const volatile void *) ident;
 1103         syscallarg(int) n;
 1104 };
 1105 
 1106 struct sys___threxit_args {
 1107         syscallarg(pid_t *) notdead;
 1108 };
 1109 
 1110 struct sys___thrsigdivert_args {
 1111         syscallarg(sigset_t) sigmask;
 1112         syscallarg(siginfo_t *) info;
 1113         syscallarg(const struct timespec *) timeout;
 1114 };
 1115 
 1116 struct sys___getcwd_args {
 1117         syscallarg(char *) buf;
 1118         syscallarg(size_t) len;
 1119 };
 1120 
 1121 struct sys_adjfreq_args {
 1122         syscallarg(const int64_t *) freq;
 1123         syscallarg(int64_t *) oldfreq;
 1124 };
 1125 
 1126 struct sys_setrtable_args {
 1127         syscallarg(int) rtableid;
 1128 };
 1129 
 1130 struct sys_faccessat_args {
 1131         syscallarg(int) fd;
 1132         syscallarg(const char *) path;
 1133         syscallarg(int) amode;
 1134         syscallarg(int) flag;
 1135 };
 1136 
 1137 struct sys_fchmodat_args {
 1138         syscallarg(int) fd;
 1139         syscallarg(const char *) path;
 1140         syscallarg(mode_t) mode;
 1141         syscallarg(int) flag;
 1142 };
 1143 
 1144 struct sys_fchownat_args {
 1145         syscallarg(int) fd;
 1146         syscallarg(const char *) path;
 1147         syscallarg(uid_t) uid;
 1148         syscallarg(gid_t) gid;
 1149         syscallarg(int) flag;
 1150 };
 1151 
 1152 struct sys_linkat_args {
 1153         syscallarg(int) fd1;
 1154         syscallarg(const char *) path1;
 1155         syscallarg(int) fd2;
 1156         syscallarg(const char *) path2;
 1157         syscallarg(int) flag;
 1158 };
 1159 
 1160 struct sys_mkdirat_args {
 1161         syscallarg(int) fd;
 1162         syscallarg(const char *) path;
 1163         syscallarg(mode_t) mode;
 1164 };
 1165 
 1166 struct sys_mkfifoat_args {
 1167         syscallarg(int) fd;
 1168         syscallarg(const char *) path;
 1169         syscallarg(mode_t) mode;
 1170 };
 1171 
 1172 struct sys_mknodat_args {
 1173         syscallarg(int) fd;
 1174         syscallarg(const char *) path;
 1175         syscallarg(mode_t) mode;
 1176         syscallarg(dev_t) dev;
 1177 };
 1178 
 1179 struct sys_openat_args {
 1180         syscallarg(int) fd;
 1181         syscallarg(const char *) path;
 1182         syscallarg(int) flags;
 1183         syscallarg(mode_t) mode;
 1184 };
 1185 
 1186 struct sys_readlinkat_args {
 1187         syscallarg(int) fd;
 1188         syscallarg(const char *) path;
 1189         syscallarg(char *) buf;
 1190         syscallarg(size_t) count;
 1191 };
 1192 
 1193 struct sys_renameat_args {
 1194         syscallarg(int) fromfd;
 1195         syscallarg(const char *) from;
 1196         syscallarg(int) tofd;
 1197         syscallarg(const char *) to;
 1198 };
 1199 
 1200 struct sys_symlinkat_args {
 1201         syscallarg(const char *) path;
 1202         syscallarg(int) fd;
 1203         syscallarg(const char *) link;
 1204 };
 1205 
 1206 struct sys_unlinkat_args {
 1207         syscallarg(int) fd;
 1208         syscallarg(const char *) path;
 1209         syscallarg(int) flag;
 1210 };
 1211 
 1212 struct sys___set_tcb_args {
 1213         syscallarg(void *) tcb;
 1214 };
 1215 
 1216 /*
 1217  * System call prototypes.
 1218  */
 1219 
 1220 int     sys_exit(struct proc *, void *, register_t *);
 1221 int     sys_fork(struct proc *, void *, register_t *);
 1222 int     sys_read(struct proc *, void *, register_t *);
 1223 int     sys_write(struct proc *, void *, register_t *);
 1224 int     sys_open(struct proc *, void *, register_t *);
 1225 int     sys_close(struct proc *, void *, register_t *);
 1226 int     sys_getentropy(struct proc *, void *, register_t *);
 1227 int     sys___tfork(struct proc *, void *, register_t *);
 1228 int     sys_link(struct proc *, void *, register_t *);
 1229 int     sys_unlink(struct proc *, void *, register_t *);
 1230 int     sys_wait4(struct proc *, void *, register_t *);
 1231 int     sys_chdir(struct proc *, void *, register_t *);
 1232 int     sys_fchdir(struct proc *, void *, register_t *);
 1233 int     sys_mknod(struct proc *, void *, register_t *);
 1234 int     sys_chmod(struct proc *, void *, register_t *);
 1235 int     sys_chown(struct proc *, void *, register_t *);
 1236 int     sys_obreak(struct proc *, void *, register_t *);
 1237 int     sys_getdtablecount(struct proc *, void *, register_t *);
 1238 int     sys_getrusage(struct proc *, void *, register_t *);
 1239 int     sys_getpid(struct proc *, void *, register_t *);
 1240 int     sys_mount(struct proc *, void *, register_t *);
 1241 int     sys_unmount(struct proc *, void *, register_t *);
 1242 int     sys_setuid(struct proc *, void *, register_t *);
 1243 int     sys_getuid(struct proc *, void *, register_t *);
 1244 int     sys_geteuid(struct proc *, void *, register_t *);
 1245 #ifdef PTRACE
 1246 int     sys_ptrace(struct proc *, void *, register_t *);
 1247 #else
 1248 #endif
 1249 int     sys_recvmsg(struct proc *, void *, register_t *);
 1250 int     sys_sendmsg(struct proc *, void *, register_t *);
 1251 int     sys_recvfrom(struct proc *, void *, register_t *);
 1252 int     sys_accept(struct proc *, void *, register_t *);
 1253 int     sys_getpeername(struct proc *, void *, register_t *);
 1254 int     sys_getsockname(struct proc *, void *, register_t *);
 1255 int     sys_access(struct proc *, void *, register_t *);
 1256 int     sys_chflags(struct proc *, void *, register_t *);
 1257 int     sys_fchflags(struct proc *, void *, register_t *);
 1258 int     sys_sync(struct proc *, void *, register_t *);
 1259 int     sys_msyscall(struct proc *, void *, register_t *);
 1260 int     sys_stat(struct proc *, void *, register_t *);
 1261 int     sys_getppid(struct proc *, void *, register_t *);
 1262 int     sys_lstat(struct proc *, void *, register_t *);
 1263 int     sys_dup(struct proc *, void *, register_t *);
 1264 int     sys_fstatat(struct proc *, void *, register_t *);
 1265 int     sys_getegid(struct proc *, void *, register_t *);
 1266 int     sys_profil(struct proc *, void *, register_t *);
 1267 #ifdef KTRACE
 1268 int     sys_ktrace(struct proc *, void *, register_t *);
 1269 #else
 1270 #endif
 1271 int     sys_sigaction(struct proc *, void *, register_t *);
 1272 int     sys_getgid(struct proc *, void *, register_t *);
 1273 int     sys_sigprocmask(struct proc *, void *, register_t *);
 1274 int     sys_mmap(struct proc *, void *, register_t *);
 1275 int     sys_setlogin(struct proc *, void *, register_t *);
 1276 #ifdef ACCOUNTING
 1277 int     sys_acct(struct proc *, void *, register_t *);
 1278 #else
 1279 #endif
 1280 int     sys_sigpending(struct proc *, void *, register_t *);
 1281 int     sys_fstat(struct proc *, void *, register_t *);
 1282 int     sys_ioctl(struct proc *, void *, register_t *);
 1283 int     sys_reboot(struct proc *, void *, register_t *);
 1284 int     sys_revoke(struct proc *, void *, register_t *);
 1285 int     sys_symlink(struct proc *, void *, register_t *);
 1286 int     sys_readlink(struct proc *, void *, register_t *);
 1287 int     sys_execve(struct proc *, void *, register_t *);
 1288 int     sys_umask(struct proc *, void *, register_t *);
 1289 int     sys_chroot(struct proc *, void *, register_t *);
 1290 int     sys_getfsstat(struct proc *, void *, register_t *);
 1291 int     sys_statfs(struct proc *, void *, register_t *);
 1292 int     sys_fstatfs(struct proc *, void *, register_t *);
 1293 int     sys_fhstatfs(struct proc *, void *, register_t *);
 1294 int     sys_vfork(struct proc *, void *, register_t *);
 1295 int     sys_gettimeofday(struct proc *, void *, register_t *);
 1296 int     sys_settimeofday(struct proc *, void *, register_t *);
 1297 int     sys_setitimer(struct proc *, void *, register_t *);
 1298 int     sys_getitimer(struct proc *, void *, register_t *);
 1299 int     sys_select(struct proc *, void *, register_t *);
 1300 int     sys_kevent(struct proc *, void *, register_t *);
 1301 int     sys_munmap(struct proc *, void *, register_t *);
 1302 int     sys_mprotect(struct proc *, void *, register_t *);
 1303 int     sys_madvise(struct proc *, void *, register_t *);
 1304 int     sys_utimes(struct proc *, void *, register_t *);
 1305 int     sys_futimes(struct proc *, void *, register_t *);
 1306 int     sys_mquery(struct proc *, void *, register_t *);
 1307 int     sys_getgroups(struct proc *, void *, register_t *);
 1308 int     sys_setgroups(struct proc *, void *, register_t *);
 1309 int     sys_getpgrp(struct proc *, void *, register_t *);
 1310 int     sys_setpgid(struct proc *, void *, register_t *);
 1311 int     sys_futex(struct proc *, void *, register_t *);
 1312 int     sys_utimensat(struct proc *, void *, register_t *);
 1313 int     sys_futimens(struct proc *, void *, register_t *);
 1314 int     sys_kbind(struct proc *, void *, register_t *);
 1315 int     sys_clock_gettime(struct proc *, void *, register_t *);
 1316 int     sys_clock_settime(struct proc *, void *, register_t *);
 1317 int     sys_clock_getres(struct proc *, void *, register_t *);
 1318 int     sys_dup2(struct proc *, void *, register_t *);
 1319 int     sys_nanosleep(struct proc *, void *, register_t *);
 1320 int     sys_fcntl(struct proc *, void *, register_t *);
 1321 int     sys_accept4(struct proc *, void *, register_t *);
 1322 int     sys___thrsleep(struct proc *, void *, register_t *);
 1323 int     sys_fsync(struct proc *, void *, register_t *);
 1324 int     sys_setpriority(struct proc *, void *, register_t *);
 1325 int     sys_socket(struct proc *, void *, register_t *);
 1326 int     sys_connect(struct proc *, void *, register_t *);
 1327 int     sys_getdents(struct proc *, void *, register_t *);
 1328 int     sys_getpriority(struct proc *, void *, register_t *);
 1329 int     sys_pipe2(struct proc *, void *, register_t *);
 1330 int     sys_dup3(struct proc *, void *, register_t *);
 1331 int     sys_sigreturn(struct proc *, void *, register_t *);
 1332 int     sys_bind(struct proc *, void *, register_t *);
 1333 int     sys_setsockopt(struct proc *, void *, register_t *);
 1334 int     sys_listen(struct proc *, void *, register_t *);
 1335 int     sys_chflagsat(struct proc *, void *, register_t *);
 1336 int     sys_pledge(struct proc *, void *, register_t *);
 1337 int     sys_ppoll(struct proc *, void *, register_t *);
 1338 int     sys_pselect(struct proc *, void *, register_t *);
 1339 int     sys_sigsuspend(struct proc *, void *, register_t *);
 1340 int     sys_sendsyslog(struct proc *, void *, register_t *);
 1341 int     sys_unveil(struct proc *, void *, register_t *);
 1342 int     sys___realpath(struct proc *, void *, register_t *);
 1343 int     sys_recvmmsg(struct proc *, void *, register_t *);
 1344 int     sys_sendmmsg(struct proc *, void *, register_t *);
 1345 int     sys_getsockopt(struct proc *, void *, register_t *);
 1346 int     sys_thrkill(struct proc *, void *, register_t *);
 1347 int     sys_readv(struct proc *, void *, register_t *);
 1348 int     sys_writev(struct proc *, void *, register_t *);
 1349 int     sys_kill(struct proc *, void *, register_t *);
 1350 int     sys_fchown(struct proc *, void *, register_t *);
 1351 int     sys_fchmod(struct proc *, void *, register_t *);
 1352 int     sys_setreuid(struct proc *, void *, register_t *);
 1353 int     sys_setregid(struct proc *, void *, register_t *);
 1354 int     sys_rename(struct proc *, void *, register_t *);
 1355 int     sys_flock(struct proc *, void *, register_t *);
 1356 int     sys_mkfifo(struct proc *, void *, register_t *);
 1357 int     sys_sendto(struct proc *, void *, register_t *);
 1358 int     sys_shutdown(struct proc *, void *, register_t *);
 1359 int     sys_socketpair(struct proc *, void *, register_t *);
 1360 int     sys_mkdir(struct proc *, void *, register_t *);
 1361 int     sys_rmdir(struct proc *, void *, register_t *);
 1362 int     sys_adjtime(struct proc *, void *, register_t *);
 1363 int     sys_getlogin_r(struct proc *, void *, register_t *);
 1364 int     sys_getthrname(struct proc *, void *, register_t *);
 1365 int     sys_setthrname(struct proc *, void *, register_t *);
 1366 int     sys_setsid(struct proc *, void *, register_t *);
 1367 int     sys_quotactl(struct proc *, void *, register_t *);
 1368 int     sys_ypconnect(struct proc *, void *, register_t *);
 1369 #if defined(NFSCLIENT) || defined(NFSSERVER)
 1370 int     sys_nfssvc(struct proc *, void *, register_t *);
 1371 #else
 1372 #endif
 1373 int     sys_mimmutable(struct proc *, void *, register_t *);
 1374 int     sys_waitid(struct proc *, void *, register_t *);
 1375 int     sys_getfh(struct proc *, void *, register_t *);
 1376 int     sys___tmpfd(struct proc *, void *, register_t *);
 1377 int     sys_sysarch(struct proc *, void *, register_t *);
 1378 int     sys_lseek(struct proc *, void *, register_t *);
 1379 int     sys_truncate(struct proc *, void *, register_t *);
 1380 int     sys_ftruncate(struct proc *, void *, register_t *);
 1381 int     sys_pread(struct proc *, void *, register_t *);
 1382 int     sys_pwrite(struct proc *, void *, register_t *);
 1383 int     sys_preadv(struct proc *, void *, register_t *);
 1384 int     sys_pwritev(struct proc *, void *, register_t *);
 1385 int     sys_pad_pread(struct proc *, void *, register_t *);
 1386 int     sys_pad_pwrite(struct proc *, void *, register_t *);
 1387 int     sys_setgid(struct proc *, void *, register_t *);
 1388 int     sys_setegid(struct proc *, void *, register_t *);
 1389 int     sys_seteuid(struct proc *, void *, register_t *);
 1390 int     sys_pathconf(struct proc *, void *, register_t *);
 1391 int     sys_fpathconf(struct proc *, void *, register_t *);
 1392 int     sys_swapctl(struct proc *, void *, register_t *);
 1393 int     sys_getrlimit(struct proc *, void *, register_t *);
 1394 int     sys_setrlimit(struct proc *, void *, register_t *);
 1395 int     sys_pad_mmap(struct proc *, void *, register_t *);
 1396 int     sys_pad_lseek(struct proc *, void *, register_t *);
 1397 int     sys_pad_truncate(struct proc *, void *, register_t *);
 1398 int     sys_pad_ftruncate(struct proc *, void *, register_t *);
 1399 int     sys_sysctl(struct proc *, void *, register_t *);
 1400 int     sys_mlock(struct proc *, void *, register_t *);
 1401 int     sys_munlock(struct proc *, void *, register_t *);
 1402 int     sys_getpgid(struct proc *, void *, register_t *);
 1403 int     sys_utrace(struct proc *, void *, register_t *);
 1404 #ifdef SYSVSEM
 1405 int     sys_semget(struct proc *, void *, register_t *);
 1406 #else
 1407 #endif
 1408 #ifdef SYSVMSG
 1409 int     sys_msgget(struct proc *, void *, register_t *);
 1410 int     sys_msgsnd(struct proc *, void *, register_t *);
 1411 int     sys_msgrcv(struct proc *, void *, register_t *);
 1412 #else
 1413 #endif
 1414 #ifdef SYSVSHM
 1415 int     sys_shmat(struct proc *, void *, register_t *);
 1416 int     sys_shmdt(struct proc *, void *, register_t *);
 1417 #else
 1418 #endif
 1419 int     sys_minherit(struct proc *, void *, register_t *);
 1420 int     sys_poll(struct proc *, void *, register_t *);
 1421 int     sys_issetugid(struct proc *, void *, register_t *);
 1422 int     sys_lchown(struct proc *, void *, register_t *);
 1423 int     sys_getsid(struct proc *, void *, register_t *);
 1424 int     sys_msync(struct proc *, void *, register_t *);
 1425 int     sys_pipe(struct proc *, void *, register_t *);
 1426 int     sys_fhopen(struct proc *, void *, register_t *);
 1427 int     sys_pad_preadv(struct proc *, void *, register_t *);
 1428 int     sys_pad_pwritev(struct proc *, void *, register_t *);
 1429 int     sys_kqueue(struct proc *, void *, register_t *);
 1430 int     sys_mlockall(struct proc *, void *, register_t *);
 1431 int     sys_munlockall(struct proc *, void *, register_t *);
 1432 int     sys_getresuid(struct proc *, void *, register_t *);
 1433 int     sys_setresuid(struct proc *, void *, register_t *);
 1434 int     sys_getresgid(struct proc *, void *, register_t *);
 1435 int     sys_setresgid(struct proc *, void *, register_t *);
 1436 int     sys_pad_mquery(struct proc *, void *, register_t *);
 1437 int     sys_closefrom(struct proc *, void *, register_t *);
 1438 int     sys_sigaltstack(struct proc *, void *, register_t *);
 1439 #ifdef SYSVSHM
 1440 int     sys_shmget(struct proc *, void *, register_t *);
 1441 #else
 1442 #endif
 1443 #ifdef SYSVSEM
 1444 int     sys_semop(struct proc *, void *, register_t *);
 1445 #else
 1446 #endif
 1447 int     sys_fhstat(struct proc *, void *, register_t *);
 1448 #ifdef SYSVSEM
 1449 int     sys___semctl(struct proc *, void *, register_t *);
 1450 #else
 1451 #endif
 1452 #ifdef SYSVSHM
 1453 int     sys_shmctl(struct proc *, void *, register_t *);
 1454 #else
 1455 #endif
 1456 #ifdef SYSVMSG
 1457 int     sys_msgctl(struct proc *, void *, register_t *);
 1458 #else
 1459 #endif
 1460 int     sys_sched_yield(struct proc *, void *, register_t *);
 1461 int     sys_getthrid(struct proc *, void *, register_t *);
 1462 int     sys___thrwakeup(struct proc *, void *, register_t *);
 1463 int     sys___threxit(struct proc *, void *, register_t *);
 1464 int     sys___thrsigdivert(struct proc *, void *, register_t *);
 1465 int     sys___getcwd(struct proc *, void *, register_t *);
 1466 int     sys_adjfreq(struct proc *, void *, register_t *);
 1467 int     sys_setrtable(struct proc *, void *, register_t *);
 1468 int     sys_getrtable(struct proc *, void *, register_t *);
 1469 int     sys_faccessat(struct proc *, void *, register_t *);
 1470 int     sys_fchmodat(struct proc *, void *, register_t *);
 1471 int     sys_fchownat(struct proc *, void *, register_t *);
 1472 int     sys_linkat(struct proc *, void *, register_t *);
 1473 int     sys_mkdirat(struct proc *, void *, register_t *);
 1474 int     sys_mkfifoat(struct proc *, void *, register_t *);
 1475 int     sys_mknodat(struct proc *, void *, register_t *);
 1476 int     sys_openat(struct proc *, void *, register_t *);
 1477 int     sys_readlinkat(struct proc *, void *, register_t *);
 1478 int     sys_renameat(struct proc *, void *, register_t *);
 1479 int     sys_symlinkat(struct proc *, void *, register_t *);
 1480 int     sys_unlinkat(struct proc *, void *, register_t *);
 1481 int     sys___set_tcb(struct proc *, void *, register_t *);
 1482 int     sys___get_tcb(struct proc *, void *, register_t *);

Cache object: 308ce7ac9c8221166a31613afca1653c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.