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/sysproto.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * System call prototypes.
    3  *
    4  * DO NOT EDIT-- this file is automatically generated.
    5  * $FreeBSD: stable/3/sys/sys/sysproto.h 59832 2000-05-01 11:18:47Z peter $
    6  * created from FreeBSD: src/sys/kern/syscalls.master,v 1.55.2.3 2000/05/01 11:17:45 peter Exp 
    7  */
    8 
    9 #ifndef _SYS_SYSPROTO_H_
   10 #define _SYS_SYSPROTO_H_
   11 
   12 #include <sys/signal.h>
   13 
   14 struct proc;
   15 
   16 #define PAD_(t) (sizeof(register_t) <= sizeof(t) ? \
   17                 0 : sizeof(register_t) - sizeof(t))
   18 
   19 struct  nosys_args {
   20         register_t dummy;
   21 };
   22 struct  rexit_args {
   23         int     rval;   char rval_[PAD_(int)];
   24 };
   25 struct  fork_args {
   26         register_t dummy;
   27 };
   28 struct  read_args {
   29         int     fd;     char fd_[PAD_(int)];
   30         void *  buf;    char buf_[PAD_(void *)];
   31         size_t  nbyte;  char nbyte_[PAD_(size_t)];
   32 };
   33 struct  write_args {
   34         int     fd;     char fd_[PAD_(int)];
   35         const void *    buf;    char buf_[PAD_(const void *)];
   36         size_t  nbyte;  char nbyte_[PAD_(size_t)];
   37 };
   38 struct  open_args {
   39         char *  path;   char path_[PAD_(char *)];
   40         int     flags;  char flags_[PAD_(int)];
   41         int     mode;   char mode_[PAD_(int)];
   42 };
   43 struct  close_args {
   44         int     fd;     char fd_[PAD_(int)];
   45 };
   46 struct  wait_args {
   47         int     pid;    char pid_[PAD_(int)];
   48         int *   status; char status_[PAD_(int *)];
   49         int     options;        char options_[PAD_(int)];
   50         struct rusage * rusage; char rusage_[PAD_(struct rusage *)];
   51 };
   52 struct  link_args {
   53         char *  path;   char path_[PAD_(char *)];
   54         char *  link;   char link_[PAD_(char *)];
   55 };
   56 struct  unlink_args {
   57         char *  path;   char path_[PAD_(char *)];
   58 };
   59 struct  chdir_args {
   60         char *  path;   char path_[PAD_(char *)];
   61 };
   62 struct  fchdir_args {
   63         int     fd;     char fd_[PAD_(int)];
   64 };
   65 struct  mknod_args {
   66         char *  path;   char path_[PAD_(char *)];
   67         int     mode;   char mode_[PAD_(int)];
   68         int     dev;    char dev_[PAD_(int)];
   69 };
   70 struct  chmod_args {
   71         char *  path;   char path_[PAD_(char *)];
   72         int     mode;   char mode_[PAD_(int)];
   73 };
   74 struct  chown_args {
   75         char *  path;   char path_[PAD_(char *)];
   76         int     uid;    char uid_[PAD_(int)];
   77         int     gid;    char gid_[PAD_(int)];
   78 };
   79 struct  obreak_args {
   80         char *  nsize;  char nsize_[PAD_(char *)];
   81 };
   82 struct  getfsstat_args {
   83         struct statfs * buf;    char buf_[PAD_(struct statfs *)];
   84         long    bufsize;        char bufsize_[PAD_(long)];
   85         int     flags;  char flags_[PAD_(int)];
   86 };
   87 struct  getpid_args {
   88         register_t dummy;
   89 };
   90 struct  mount_args {
   91         char *  type;   char type_[PAD_(char *)];
   92         char *  path;   char path_[PAD_(char *)];
   93         int     flags;  char flags_[PAD_(int)];
   94         caddr_t data;   char data_[PAD_(caddr_t)];
   95 };
   96 struct  unmount_args {
   97         char *  path;   char path_[PAD_(char *)];
   98         int     flags;  char flags_[PAD_(int)];
   99 };
  100 struct  setuid_args {
  101         uid_t   uid;    char uid_[PAD_(uid_t)];
  102 };
  103 struct  getuid_args {
  104         register_t dummy;
  105 };
  106 struct  geteuid_args {
  107         register_t dummy;
  108 };
  109 struct  ptrace_args {
  110         int     req;    char req_[PAD_(int)];
  111         pid_t   pid;    char pid_[PAD_(pid_t)];
  112         caddr_t addr;   char addr_[PAD_(caddr_t)];
  113         int     data;   char data_[PAD_(int)];
  114 };
  115 struct  recvmsg_args {
  116         int     s;      char s_[PAD_(int)];
  117         struct msghdr * msg;    char msg_[PAD_(struct msghdr *)];
  118         int     flags;  char flags_[PAD_(int)];
  119 };
  120 struct  sendmsg_args {
  121         int     s;      char s_[PAD_(int)];
  122         caddr_t msg;    char msg_[PAD_(caddr_t)];
  123         int     flags;  char flags_[PAD_(int)];
  124 };
  125 struct  recvfrom_args {
  126         int     s;      char s_[PAD_(int)];
  127         caddr_t buf;    char buf_[PAD_(caddr_t)];
  128         size_t  len;    char len_[PAD_(size_t)];
  129         int     flags;  char flags_[PAD_(int)];
  130         caddr_t from;   char from_[PAD_(caddr_t)];
  131         int *   fromlenaddr;    char fromlenaddr_[PAD_(int *)];
  132 };
  133 struct  accept_args {
  134         int     s;      char s_[PAD_(int)];
  135         caddr_t name;   char name_[PAD_(caddr_t)];
  136         int *   anamelen;       char anamelen_[PAD_(int *)];
  137 };
  138 struct  getpeername_args {
  139         int     fdes;   char fdes_[PAD_(int)];
  140         caddr_t asa;    char asa_[PAD_(caddr_t)];
  141         int *   alen;   char alen_[PAD_(int *)];
  142 };
  143 struct  getsockname_args {
  144         int     fdes;   char fdes_[PAD_(int)];
  145         caddr_t asa;    char asa_[PAD_(caddr_t)];
  146         int *   alen;   char alen_[PAD_(int *)];
  147 };
  148 struct  access_args {
  149         char *  path;   char path_[PAD_(char *)];
  150         int     flags;  char flags_[PAD_(int)];
  151 };
  152 struct  chflags_args {
  153         char *  path;   char path_[PAD_(char *)];
  154         int     flags;  char flags_[PAD_(int)];
  155 };
  156 struct  fchflags_args {
  157         int     fd;     char fd_[PAD_(int)];
  158         int     flags;  char flags_[PAD_(int)];
  159 };
  160 struct  sync_args {
  161         register_t dummy;
  162 };
  163 struct  kill_args {
  164         int     pid;    char pid_[PAD_(int)];
  165         int     signum; char signum_[PAD_(int)];
  166 };
  167 struct  getppid_args {
  168         register_t dummy;
  169 };
  170 struct  dup_args {
  171         u_int   fd;     char fd_[PAD_(u_int)];
  172 };
  173 struct  pipe_args {
  174         register_t dummy;
  175 };
  176 struct  getegid_args {
  177         register_t dummy;
  178 };
  179 struct  profil_args {
  180         caddr_t samples;        char samples_[PAD_(caddr_t)];
  181         size_t  size;   char size_[PAD_(size_t)];
  182         size_t  offset; char offset_[PAD_(size_t)];
  183         u_int   scale;  char scale_[PAD_(u_int)];
  184 };
  185 struct  ktrace_args {
  186         char *  fname;  char fname_[PAD_(char *)];
  187         int     ops;    char ops_[PAD_(int)];
  188         int     facs;   char facs_[PAD_(int)];
  189         int     pid;    char pid_[PAD_(int)];
  190 };
  191 struct  sigaction_args {
  192         int     signum; char signum_[PAD_(int)];
  193         struct sigaction *      nsa;    char nsa_[PAD_(struct sigaction *)];
  194         struct sigaction *      osa;    char osa_[PAD_(struct sigaction *)];
  195 };
  196 struct  getgid_args {
  197         register_t dummy;
  198 };
  199 struct  sigprocmask_args {
  200         int     how;    char how_[PAD_(int)];
  201         sigset_t        mask;   char mask_[PAD_(sigset_t)];
  202 };
  203 struct  getlogin_args {
  204         char *  namebuf;        char namebuf_[PAD_(char *)];
  205         u_int   namelen;        char namelen_[PAD_(u_int)];
  206 };
  207 struct  setlogin_args {
  208         char *  namebuf;        char namebuf_[PAD_(char *)];
  209 };
  210 struct  acct_args {
  211         char *  path;   char path_[PAD_(char *)];
  212 };
  213 struct  sigpending_args {
  214         register_t dummy;
  215 };
  216 struct  sigaltstack_args {
  217         struct sigaltstack *    nss;    char nss_[PAD_(struct sigaltstack *)];
  218         struct sigaltstack *    oss;    char oss_[PAD_(struct sigaltstack *)];
  219 };
  220 struct  ioctl_args {
  221         int     fd;     char fd_[PAD_(int)];
  222         u_long  com;    char com_[PAD_(u_long)];
  223         caddr_t data;   char data_[PAD_(caddr_t)];
  224 };
  225 struct  reboot_args {
  226         int     opt;    char opt_[PAD_(int)];
  227 };
  228 struct  revoke_args {
  229         char *  path;   char path_[PAD_(char *)];
  230 };
  231 struct  symlink_args {
  232         char *  path;   char path_[PAD_(char *)];
  233         char *  link;   char link_[PAD_(char *)];
  234 };
  235 struct  readlink_args {
  236         char *  path;   char path_[PAD_(char *)];
  237         char *  buf;    char buf_[PAD_(char *)];
  238         int     count;  char count_[PAD_(int)];
  239 };
  240 struct  execve_args {
  241         char *  fname;  char fname_[PAD_(char *)];
  242         char ** argv;   char argv_[PAD_(char **)];
  243         char ** envv;   char envv_[PAD_(char **)];
  244 };
  245 struct  umask_args {
  246         int     newmask;        char newmask_[PAD_(int)];
  247 };
  248 struct  chroot_args {
  249         char *  path;   char path_[PAD_(char *)];
  250 };
  251 struct  getpagesize_args {
  252         register_t dummy;
  253 };
  254 struct  msync_args {
  255         void *  addr;   char addr_[PAD_(void *)];
  256         size_t  len;    char len_[PAD_(size_t)];
  257         int     flags;  char flags_[PAD_(int)];
  258 };
  259 struct  vfork_args {
  260         register_t dummy;
  261 };
  262 struct  sbrk_args {
  263         int     incr;   char incr_[PAD_(int)];
  264 };
  265 struct  sstk_args {
  266         int     incr;   char incr_[PAD_(int)];
  267 };
  268 struct  ovadvise_args {
  269         int     anom;   char anom_[PAD_(int)];
  270 };
  271 struct  munmap_args {
  272         void *  addr;   char addr_[PAD_(void *)];
  273         size_t  len;    char len_[PAD_(size_t)];
  274 };
  275 struct  mprotect_args {
  276         const void *    addr;   char addr_[PAD_(const void *)];
  277         size_t  len;    char len_[PAD_(size_t)];
  278         int     prot;   char prot_[PAD_(int)];
  279 };
  280 struct  madvise_args {
  281         void *  addr;   char addr_[PAD_(void *)];
  282         size_t  len;    char len_[PAD_(size_t)];
  283         int     behav;  char behav_[PAD_(int)];
  284 };
  285 struct  mincore_args {
  286         const void *    addr;   char addr_[PAD_(const void *)];
  287         size_t  len;    char len_[PAD_(size_t)];
  288         char *  vec;    char vec_[PAD_(char *)];
  289 };
  290 struct  getgroups_args {
  291         u_int   gidsetsize;     char gidsetsize_[PAD_(u_int)];
  292         gid_t * gidset; char gidset_[PAD_(gid_t *)];
  293 };
  294 struct  setgroups_args {
  295         u_int   gidsetsize;     char gidsetsize_[PAD_(u_int)];
  296         gid_t * gidset; char gidset_[PAD_(gid_t *)];
  297 };
  298 struct  getpgrp_args {
  299         register_t dummy;
  300 };
  301 struct  setpgid_args {
  302         int     pid;    char pid_[PAD_(int)];
  303         int     pgid;   char pgid_[PAD_(int)];
  304 };
  305 struct  setitimer_args {
  306         u_int   which;  char which_[PAD_(u_int)];
  307         struct itimerval *      itv;    char itv_[PAD_(struct itimerval *)];
  308         struct itimerval *      oitv;   char oitv_[PAD_(struct itimerval *)];
  309 };
  310 struct  owait_args {
  311         register_t dummy;
  312 };
  313 struct  swapon_args {
  314         char *  name;   char name_[PAD_(char *)];
  315 };
  316 struct  getitimer_args {
  317         u_int   which;  char which_[PAD_(u_int)];
  318         struct itimerval *      itv;    char itv_[PAD_(struct itimerval *)];
  319 };
  320 struct  getdtablesize_args {
  321         register_t dummy;
  322 };
  323 struct  dup2_args {
  324         u_int   from;   char from_[PAD_(u_int)];
  325         u_int   to;     char to_[PAD_(u_int)];
  326 };
  327 struct  fcntl_args {
  328         int     fd;     char fd_[PAD_(int)];
  329         int     cmd;    char cmd_[PAD_(int)];
  330         long    arg;    char arg_[PAD_(long)];
  331 };
  332 struct  select_args {
  333         int     nd;     char nd_[PAD_(int)];
  334         fd_set *        in;     char in_[PAD_(fd_set *)];
  335         fd_set *        ou;     char ou_[PAD_(fd_set *)];
  336         fd_set *        ex;     char ex_[PAD_(fd_set *)];
  337         struct timeval *        tv;     char tv_[PAD_(struct timeval *)];
  338 };
  339 struct  fsync_args {
  340         int     fd;     char fd_[PAD_(int)];
  341 };
  342 struct  setpriority_args {
  343         int     which;  char which_[PAD_(int)];
  344         int     who;    char who_[PAD_(int)];
  345         int     prio;   char prio_[PAD_(int)];
  346 };
  347 struct  socket_args {
  348         int     domain; char domain_[PAD_(int)];
  349         int     type;   char type_[PAD_(int)];
  350         int     protocol;       char protocol_[PAD_(int)];
  351 };
  352 struct  connect_args {
  353         int     s;      char s_[PAD_(int)];
  354         caddr_t name;   char name_[PAD_(caddr_t)];
  355         int     namelen;        char namelen_[PAD_(int)];
  356 };
  357 struct  getpriority_args {
  358         int     which;  char which_[PAD_(int)];
  359         int     who;    char who_[PAD_(int)];
  360 };
  361 struct  sigreturn_args {
  362         struct sigcontext *     sigcntxp;       char sigcntxp_[PAD_(struct sigcontext *)];
  363 };
  364 struct  bind_args {
  365         int     s;      char s_[PAD_(int)];
  366         caddr_t name;   char name_[PAD_(caddr_t)];
  367         int     namelen;        char namelen_[PAD_(int)];
  368 };
  369 struct  setsockopt_args {
  370         int     s;      char s_[PAD_(int)];
  371         int     level;  char level_[PAD_(int)];
  372         int     name;   char name_[PAD_(int)];
  373         caddr_t val;    char val_[PAD_(caddr_t)];
  374         int     valsize;        char valsize_[PAD_(int)];
  375 };
  376 struct  listen_args {
  377         int     s;      char s_[PAD_(int)];
  378         int     backlog;        char backlog_[PAD_(int)];
  379 };
  380 struct  sigsuspend_args {
  381         sigset_t        mask;   char mask_[PAD_(sigset_t)];
  382 };
  383 struct  gettimeofday_args {
  384         struct timeval *        tp;     char tp_[PAD_(struct timeval *)];
  385         struct timezone *       tzp;    char tzp_[PAD_(struct timezone *)];
  386 };
  387 struct  getrusage_args {
  388         int     who;    char who_[PAD_(int)];
  389         struct rusage * rusage; char rusage_[PAD_(struct rusage *)];
  390 };
  391 struct  getsockopt_args {
  392         int     s;      char s_[PAD_(int)];
  393         int     level;  char level_[PAD_(int)];
  394         int     name;   char name_[PAD_(int)];
  395         caddr_t val;    char val_[PAD_(caddr_t)];
  396         int *   avalsize;       char avalsize_[PAD_(int *)];
  397 };
  398 struct  readv_args {
  399         int     fd;     char fd_[PAD_(int)];
  400         struct iovec *  iovp;   char iovp_[PAD_(struct iovec *)];
  401         u_int   iovcnt; char iovcnt_[PAD_(u_int)];
  402 };
  403 struct  writev_args {
  404         int     fd;     char fd_[PAD_(int)];
  405         struct iovec *  iovp;   char iovp_[PAD_(struct iovec *)];
  406         u_int   iovcnt; char iovcnt_[PAD_(u_int)];
  407 };
  408 struct  settimeofday_args {
  409         struct timeval *        tv;     char tv_[PAD_(struct timeval *)];
  410         struct timezone *       tzp;    char tzp_[PAD_(struct timezone *)];
  411 };
  412 struct  fchown_args {
  413         int     fd;     char fd_[PAD_(int)];
  414         int     uid;    char uid_[PAD_(int)];
  415         int     gid;    char gid_[PAD_(int)];
  416 };
  417 struct  fchmod_args {
  418         int     fd;     char fd_[PAD_(int)];
  419         int     mode;   char mode_[PAD_(int)];
  420 };
  421 struct  setreuid_args {
  422         int     ruid;   char ruid_[PAD_(int)];
  423         int     euid;   char euid_[PAD_(int)];
  424 };
  425 struct  setregid_args {
  426         int     rgid;   char rgid_[PAD_(int)];
  427         int     egid;   char egid_[PAD_(int)];
  428 };
  429 struct  rename_args {
  430         char *  from;   char from_[PAD_(char *)];
  431         char *  to;     char to_[PAD_(char *)];
  432 };
  433 struct  flock_args {
  434         int     fd;     char fd_[PAD_(int)];
  435         int     how;    char how_[PAD_(int)];
  436 };
  437 struct  mkfifo_args {
  438         char *  path;   char path_[PAD_(char *)];
  439         int     mode;   char mode_[PAD_(int)];
  440 };
  441 struct  sendto_args {
  442         int     s;      char s_[PAD_(int)];
  443         caddr_t buf;    char buf_[PAD_(caddr_t)];
  444         size_t  len;    char len_[PAD_(size_t)];
  445         int     flags;  char flags_[PAD_(int)];
  446         caddr_t to;     char to_[PAD_(caddr_t)];
  447         int     tolen;  char tolen_[PAD_(int)];
  448 };
  449 struct  shutdown_args {
  450         int     s;      char s_[PAD_(int)];
  451         int     how;    char how_[PAD_(int)];
  452 };
  453 struct  socketpair_args {
  454         int     domain; char domain_[PAD_(int)];
  455         int     type;   char type_[PAD_(int)];
  456         int     protocol;       char protocol_[PAD_(int)];
  457         int *   rsv;    char rsv_[PAD_(int *)];
  458 };
  459 struct  mkdir_args {
  460         char *  path;   char path_[PAD_(char *)];
  461         int     mode;   char mode_[PAD_(int)];
  462 };
  463 struct  rmdir_args {
  464         char *  path;   char path_[PAD_(char *)];
  465 };
  466 struct  utimes_args {
  467         char *  path;   char path_[PAD_(char *)];
  468         struct timeval *        tptr;   char tptr_[PAD_(struct timeval *)];
  469 };
  470 struct  adjtime_args {
  471         struct timeval *        delta;  char delta_[PAD_(struct timeval *)];
  472         struct timeval *        olddelta;       char olddelta_[PAD_(struct timeval *)];
  473 };
  474 struct  ogethostid_args {
  475         register_t dummy;
  476 };
  477 struct  setsid_args {
  478         register_t dummy;
  479 };
  480 struct  quotactl_args {
  481         char *  path;   char path_[PAD_(char *)];
  482         int     cmd;    char cmd_[PAD_(int)];
  483         int     uid;    char uid_[PAD_(int)];
  484         caddr_t arg;    char arg_[PAD_(caddr_t)];
  485 };
  486 struct  oquota_args {
  487         register_t dummy;
  488 };
  489 struct  nfssvc_args {
  490         int     flag;   char flag_[PAD_(int)];
  491         caddr_t argp;   char argp_[PAD_(caddr_t)];
  492 };
  493 struct  statfs_args {
  494         char *  path;   char path_[PAD_(char *)];
  495         struct statfs * buf;    char buf_[PAD_(struct statfs *)];
  496 };
  497 struct  fstatfs_args {
  498         int     fd;     char fd_[PAD_(int)];
  499         struct statfs * buf;    char buf_[PAD_(struct statfs *)];
  500 };
  501 struct  getfh_args {
  502         char *  fname;  char fname_[PAD_(char *)];
  503         struct fhandle *        fhp;    char fhp_[PAD_(struct fhandle *)];
  504 };
  505 struct  getdomainname_args {
  506         char *  domainname;     char domainname_[PAD_(char *)];
  507         int     len;    char len_[PAD_(int)];
  508 };
  509 struct  setdomainname_args {
  510         char *  domainname;     char domainname_[PAD_(char *)];
  511         int     len;    char len_[PAD_(int)];
  512 };
  513 struct  uname_args {
  514         struct utsname *        name;   char name_[PAD_(struct utsname *)];
  515 };
  516 struct  sysarch_args {
  517         int     op;     char op_[PAD_(int)];
  518         char *  parms;  char parms_[PAD_(char *)];
  519 };
  520 struct  rtprio_args {
  521         int     function;       char function_[PAD_(int)];
  522         pid_t   pid;    char pid_[PAD_(pid_t)];
  523         struct rtprio * rtp;    char rtp_[PAD_(struct rtprio *)];
  524 };
  525 struct  semsys_args {
  526         int     which;  char which_[PAD_(int)];
  527         int     a2;     char a2_[PAD_(int)];
  528         int     a3;     char a3_[PAD_(int)];
  529         int     a4;     char a4_[PAD_(int)];
  530         int     a5;     char a5_[PAD_(int)];
  531 };
  532 struct  msgsys_args {
  533         int     which;  char which_[PAD_(int)];
  534         int     a2;     char a2_[PAD_(int)];
  535         int     a3;     char a3_[PAD_(int)];
  536         int     a4;     char a4_[PAD_(int)];
  537         int     a5;     char a5_[PAD_(int)];
  538         int     a6;     char a6_[PAD_(int)];
  539 };
  540 struct  shmsys_args {
  541         int     which;  char which_[PAD_(int)];
  542         int     a2;     char a2_[PAD_(int)];
  543         int     a3;     char a3_[PAD_(int)];
  544         int     a4;     char a4_[PAD_(int)];
  545 };
  546 struct  pread_args {
  547         int     fd;     char fd_[PAD_(int)];
  548         void *  buf;    char buf_[PAD_(void *)];
  549         size_t  nbyte;  char nbyte_[PAD_(size_t)];
  550         int     pad;    char pad_[PAD_(int)];
  551         off_t   offset; char offset_[PAD_(off_t)];
  552 };
  553 struct  pwrite_args {
  554         int     fd;     char fd_[PAD_(int)];
  555         const void *    buf;    char buf_[PAD_(const void *)];
  556         size_t  nbyte;  char nbyte_[PAD_(size_t)];
  557         int     pad;    char pad_[PAD_(int)];
  558         off_t   offset; char offset_[PAD_(off_t)];
  559 };
  560 struct  ntp_adjtime_args {
  561         struct timex *  tp;     char tp_[PAD_(struct timex *)];
  562 };
  563 struct  setgid_args {
  564         gid_t   gid;    char gid_[PAD_(gid_t)];
  565 };
  566 struct  setegid_args {
  567         gid_t   egid;   char egid_[PAD_(gid_t)];
  568 };
  569 struct  seteuid_args {
  570         uid_t   euid;   char euid_[PAD_(uid_t)];
  571 };
  572 struct  stat_args {
  573         char *  path;   char path_[PAD_(char *)];
  574         struct stat *   ub;     char ub_[PAD_(struct stat *)];
  575 };
  576 struct  fstat_args {
  577         int     fd;     char fd_[PAD_(int)];
  578         struct stat *   sb;     char sb_[PAD_(struct stat *)];
  579 };
  580 struct  lstat_args {
  581         char *  path;   char path_[PAD_(char *)];
  582         struct stat *   ub;     char ub_[PAD_(struct stat *)];
  583 };
  584 struct  pathconf_args {
  585         char *  path;   char path_[PAD_(char *)];
  586         int     name;   char name_[PAD_(int)];
  587 };
  588 struct  fpathconf_args {
  589         int     fd;     char fd_[PAD_(int)];
  590         int     name;   char name_[PAD_(int)];
  591 };
  592 struct  __getrlimit_args {
  593         u_int   which;  char which_[PAD_(u_int)];
  594         struct orlimit *        rlp;    char rlp_[PAD_(struct orlimit *)];
  595 };
  596 struct  __setrlimit_args {
  597         u_int   which;  char which_[PAD_(u_int)];
  598         struct orlimit *        rlp;    char rlp_[PAD_(struct orlimit *)];
  599 };
  600 struct  getdirentries_args {
  601         int     fd;     char fd_[PAD_(int)];
  602         char *  buf;    char buf_[PAD_(char *)];
  603         u_int   count;  char count_[PAD_(u_int)];
  604         long *  basep;  char basep_[PAD_(long *)];
  605 };
  606 struct  mmap_args {
  607         caddr_t addr;   char addr_[PAD_(caddr_t)];
  608         size_t  len;    char len_[PAD_(size_t)];
  609         int     prot;   char prot_[PAD_(int)];
  610         int     flags;  char flags_[PAD_(int)];
  611         int     fd;     char fd_[PAD_(int)];
  612         long    pad;    char pad_[PAD_(long)];
  613         off_t   pos;    char pos_[PAD_(off_t)];
  614 };
  615 struct  lseek_args {
  616         int     fd;     char fd_[PAD_(int)];
  617         int     pad;    char pad_[PAD_(int)];
  618         off_t   offset; char offset_[PAD_(off_t)];
  619         int     whence; char whence_[PAD_(int)];
  620 };
  621 struct  truncate_args {
  622         char *  path;   char path_[PAD_(char *)];
  623         int     pad;    char pad_[PAD_(int)];
  624         off_t   length; char length_[PAD_(off_t)];
  625 };
  626 struct  ftruncate_args {
  627         int     fd;     char fd_[PAD_(int)];
  628         int     pad;    char pad_[PAD_(int)];
  629         off_t   length; char length_[PAD_(off_t)];
  630 };
  631 struct  sysctl_args {
  632         int *   name;   char name_[PAD_(int *)];
  633         u_int   namelen;        char namelen_[PAD_(u_int)];
  634         void *  old;    char old_[PAD_(void *)];
  635         size_t *        oldlenp;        char oldlenp_[PAD_(size_t *)];
  636         void *  new;    char new_[PAD_(void *)];
  637         size_t  newlen; char newlen_[PAD_(size_t)];
  638 };
  639 struct  mlock_args {
  640         const void *    addr;   char addr_[PAD_(const void *)];
  641         size_t  len;    char len_[PAD_(size_t)];
  642 };
  643 struct  munlock_args {
  644         const void *    addr;   char addr_[PAD_(const void *)];
  645         size_t  len;    char len_[PAD_(size_t)];
  646 };
  647 struct  undelete_args {
  648         char *  path;   char path_[PAD_(char *)];
  649 };
  650 struct  futimes_args {
  651         int     fd;     char fd_[PAD_(int)];
  652         struct timeval *        tptr;   char tptr_[PAD_(struct timeval *)];
  653 };
  654 struct  getpgid_args {
  655         pid_t   pid;    char pid_[PAD_(pid_t)];
  656 };
  657 struct  poll_args {
  658         struct pollfd * fds;    char fds_[PAD_(struct pollfd *)];
  659         u_int   nfds;   char nfds_[PAD_(u_int)];
  660         int     timeout;        char timeout_[PAD_(int)];
  661 };
  662 struct  __semctl_args {
  663         int     semid;  char semid_[PAD_(int)];
  664         int     semnum; char semnum_[PAD_(int)];
  665         int     cmd;    char cmd_[PAD_(int)];
  666         union semun *   arg;    char arg_[PAD_(union semun *)];
  667 };
  668 struct  semget_args {
  669         key_t   key;    char key_[PAD_(key_t)];
  670         int     nsems;  char nsems_[PAD_(int)];
  671         int     semflg; char semflg_[PAD_(int)];
  672 };
  673 struct  semop_args {
  674         int     semid;  char semid_[PAD_(int)];
  675         struct sembuf * sops;   char sops_[PAD_(struct sembuf *)];
  676         u_int   nsops;  char nsops_[PAD_(u_int)];
  677 };
  678 struct  msgctl_args {
  679         int     msqid;  char msqid_[PAD_(int)];
  680         int     cmd;    char cmd_[PAD_(int)];
  681         struct msqid_ds *       buf;    char buf_[PAD_(struct msqid_ds *)];
  682 };
  683 struct  msgget_args {
  684         key_t   key;    char key_[PAD_(key_t)];
  685         int     msgflg; char msgflg_[PAD_(int)];
  686 };
  687 struct  msgsnd_args {
  688         int     msqid;  char msqid_[PAD_(int)];
  689         void *  msgp;   char msgp_[PAD_(void *)];
  690         size_t  msgsz;  char msgsz_[PAD_(size_t)];
  691         int     msgflg; char msgflg_[PAD_(int)];
  692 };
  693 struct  msgrcv_args {
  694         int     msqid;  char msqid_[PAD_(int)];
  695         void *  msgp;   char msgp_[PAD_(void *)];
  696         size_t  msgsz;  char msgsz_[PAD_(size_t)];
  697         long    msgtyp; char msgtyp_[PAD_(long)];
  698         int     msgflg; char msgflg_[PAD_(int)];
  699 };
  700 struct  shmat_args {
  701         int     shmid;  char shmid_[PAD_(int)];
  702         void *  shmaddr;        char shmaddr_[PAD_(void *)];
  703         int     shmflg; char shmflg_[PAD_(int)];
  704 };
  705 struct  shmctl_args {
  706         int     shmid;  char shmid_[PAD_(int)];
  707         int     cmd;    char cmd_[PAD_(int)];
  708         struct shmid_ds *       buf;    char buf_[PAD_(struct shmid_ds *)];
  709 };
  710 struct  shmdt_args {
  711         void *  shmaddr;        char shmaddr_[PAD_(void *)];
  712 };
  713 struct  shmget_args {
  714         key_t   key;    char key_[PAD_(key_t)];
  715         int     size;   char size_[PAD_(int)];
  716         int     shmflg; char shmflg_[PAD_(int)];
  717 };
  718 struct  clock_gettime_args {
  719         clockid_t       clock_id;       char clock_id_[PAD_(clockid_t)];
  720         struct timespec *       tp;     char tp_[PAD_(struct timespec *)];
  721 };
  722 struct  clock_settime_args {
  723         clockid_t       clock_id;       char clock_id_[PAD_(clockid_t)];
  724         const struct timespec * tp;     char tp_[PAD_(const struct timespec *)];
  725 };
  726 struct  clock_getres_args {
  727         clockid_t       clock_id;       char clock_id_[PAD_(clockid_t)];
  728         struct timespec *       tp;     char tp_[PAD_(struct timespec *)];
  729 };
  730 struct  nanosleep_args {
  731         const struct timespec * rqtp;   char rqtp_[PAD_(const struct timespec *)];
  732         struct timespec *       rmtp;   char rmtp_[PAD_(struct timespec *)];
  733 };
  734 struct  minherit_args {
  735         void *  addr;   char addr_[PAD_(void *)];
  736         size_t  len;    char len_[PAD_(size_t)];
  737         int     inherit;        char inherit_[PAD_(int)];
  738 };
  739 struct  rfork_args {
  740         int     flags;  char flags_[PAD_(int)];
  741 };
  742 struct  openbsd_poll_args {
  743         struct pollfd * fds;    char fds_[PAD_(struct pollfd *)];
  744         u_int   nfds;   char nfds_[PAD_(u_int)];
  745         int     timeout;        char timeout_[PAD_(int)];
  746 };
  747 struct  issetugid_args {
  748         register_t dummy;
  749 };
  750 struct  lchown_args {
  751         char *  path;   char path_[PAD_(char *)];
  752         int     uid;    char uid_[PAD_(int)];
  753         int     gid;    char gid_[PAD_(int)];
  754 };
  755 struct  getdents_args {
  756         int     fd;     char fd_[PAD_(int)];
  757         char *  buf;    char buf_[PAD_(char *)];
  758         size_t  count;  char count_[PAD_(size_t)];
  759 };
  760 struct  lchmod_args {
  761         char *  path;   char path_[PAD_(char *)];
  762         mode_t  mode;   char mode_[PAD_(mode_t)];
  763 };
  764 struct  lutimes_args {
  765         char *  path;   char path_[PAD_(char *)];
  766         struct timeval *        tptr;   char tptr_[PAD_(struct timeval *)];
  767 };
  768 struct  nstat_args {
  769         char *  path;   char path_[PAD_(char *)];
  770         struct nstat *  ub;     char ub_[PAD_(struct nstat *)];
  771 };
  772 struct  nfstat_args {
  773         int     fd;     char fd_[PAD_(int)];
  774         struct nstat *  sb;     char sb_[PAD_(struct nstat *)];
  775 };
  776 struct  nlstat_args {
  777         char *  path;   char path_[PAD_(char *)];
  778         struct nstat *  ub;     char ub_[PAD_(struct nstat *)];
  779 };
  780 struct  modnext_args {
  781         int     modid;  char modid_[PAD_(int)];
  782 };
  783 struct  modstat_args {
  784         int     modid;  char modid_[PAD_(int)];
  785         struct module_stat *    stat;   char stat_[PAD_(struct module_stat *)];
  786 };
  787 struct  modfnext_args {
  788         int     modid;  char modid_[PAD_(int)];
  789 };
  790 struct  modfind_args {
  791         char *  name;   char name_[PAD_(char *)];
  792 };
  793 struct  kldload_args {
  794         const char *    file;   char file_[PAD_(const char *)];
  795 };
  796 struct  kldunload_args {
  797         int     fileid; char fileid_[PAD_(int)];
  798 };
  799 struct  kldfind_args {
  800         const char *    file;   char file_[PAD_(const char *)];
  801 };
  802 struct  kldnext_args {
  803         int     fileid; char fileid_[PAD_(int)];
  804 };
  805 struct  kldstat_args {
  806         int     fileid; char fileid_[PAD_(int)];
  807         struct kld_file_stat *  stat;   char stat_[PAD_(struct kld_file_stat *)];
  808 };
  809 struct  kldfirstmod_args {
  810         int     fileid; char fileid_[PAD_(int)];
  811 };
  812 struct  getsid_args {
  813         pid_t   pid;    char pid_[PAD_(pid_t)];
  814 };
  815 struct  aio_return_args {
  816         struct aiocb *  aiocbp; char aiocbp_[PAD_(struct aiocb *)];
  817 };
  818 struct  aio_suspend_args {
  819         struct aiocb *const *   aiocbp; char aiocbp_[PAD_(struct aiocb *const *)];
  820         int     nent;   char nent_[PAD_(int)];
  821         const struct timespec * timeout;        char timeout_[PAD_(const struct timespec *)];
  822 };
  823 struct  aio_cancel_args {
  824         int     fd;     char fd_[PAD_(int)];
  825         struct aiocb *  aiocbp; char aiocbp_[PAD_(struct aiocb *)];
  826 };
  827 struct  aio_error_args {
  828         struct aiocb *  aiocbp; char aiocbp_[PAD_(struct aiocb *)];
  829 };
  830 struct  aio_read_args {
  831         struct aiocb *  aiocbp; char aiocbp_[PAD_(struct aiocb *)];
  832 };
  833 struct  aio_write_args {
  834         struct aiocb *  aiocbp; char aiocbp_[PAD_(struct aiocb *)];
  835 };
  836 struct  lio_listio_args {
  837         int     mode;   char mode_[PAD_(int)];
  838         struct aiocb *const *   acb_list;       char acb_list_[PAD_(struct aiocb *const *)];
  839         int     nent;   char nent_[PAD_(int)];
  840         struct sigevent *       sig;    char sig_[PAD_(struct sigevent *)];
  841 };
  842 struct  yield_args {
  843         register_t dummy;
  844 };
  845 struct  thr_sleep_args {
  846         const struct timespec * timeout;        char timeout_[PAD_(const struct timespec *)];
  847 };
  848 struct  thr_wakeup_args {
  849         pid_t   pid;    char pid_[PAD_(pid_t)];
  850 };
  851 struct  mlockall_args {
  852         int     how;    char how_[PAD_(int)];
  853 };
  854 struct  munlockall_args {
  855         register_t dummy;
  856 };
  857 struct  __getcwd_args {
  858         u_char *        buf;    char buf_[PAD_(u_char *)];
  859         u_int   buflen; char buflen_[PAD_(u_int)];
  860 };
  861 struct  sched_setparam_args {
  862         pid_t   pid;    char pid_[PAD_(pid_t)];
  863         const struct sched_param *      param;  char param_[PAD_(const struct sched_param *)];
  864 };
  865 struct  sched_getparam_args {
  866         pid_t   pid;    char pid_[PAD_(pid_t)];
  867         struct sched_param *    param;  char param_[PAD_(struct sched_param *)];
  868 };
  869 struct  sched_setscheduler_args {
  870         pid_t   pid;    char pid_[PAD_(pid_t)];
  871         int     policy; char policy_[PAD_(int)];
  872         const struct sched_param *      param;  char param_[PAD_(const struct sched_param *)];
  873 };
  874 struct  sched_getscheduler_args {
  875         pid_t   pid;    char pid_[PAD_(pid_t)];
  876 };
  877 struct  sched_yield_args {
  878         register_t dummy;
  879 };
  880 struct  sched_get_priority_max_args {
  881         int     policy; char policy_[PAD_(int)];
  882 };
  883 struct  sched_get_priority_min_args {
  884         int     policy; char policy_[PAD_(int)];
  885 };
  886 struct  sched_rr_get_interval_args {
  887         pid_t   pid;    char pid_[PAD_(pid_t)];
  888         struct timespec *       interval;       char interval_[PAD_(struct timespec *)];
  889 };
  890 struct  utrace_args {
  891         caddr_t addr;   char addr_[PAD_(caddr_t)];
  892         size_t  len;    char len_[PAD_(size_t)];
  893 };
  894 struct  sendfile_args {
  895         int     fd;     char fd_[PAD_(int)];
  896         int     s;      char s_[PAD_(int)];
  897         off_t   offset; char offset_[PAD_(off_t)];
  898         size_t  nbytes; char nbytes_[PAD_(size_t)];
  899         struct sf_hdtr *        hdtr;   char hdtr_[PAD_(struct sf_hdtr *)];
  900         off_t * sbytes; char sbytes_[PAD_(off_t *)];
  901         int     flags;  char flags_[PAD_(int)];
  902 };
  903 struct  kldsym_args {
  904         int     fileid; char fileid_[PAD_(int)];
  905         int     cmd;    char cmd_[PAD_(int)];
  906         void *  data;   char data_[PAD_(void *)];
  907 };
  908 int     nosys __P((struct proc *, struct nosys_args *));
  909 void    exit __P((struct proc *, struct rexit_args *)) __dead2;
  910 int     fork __P((struct proc *, struct fork_args *));
  911 int     read __P((struct proc *, struct read_args *));
  912 int     write __P((struct proc *, struct write_args *));
  913 int     open __P((struct proc *, struct open_args *));
  914 int     close __P((struct proc *, struct close_args *));
  915 int     wait4 __P((struct proc *, struct wait_args *));
  916 int     link __P((struct proc *, struct link_args *));
  917 int     unlink __P((struct proc *, struct unlink_args *));
  918 int     chdir __P((struct proc *, struct chdir_args *));
  919 int     fchdir __P((struct proc *, struct fchdir_args *));
  920 int     mknod __P((struct proc *, struct mknod_args *));
  921 int     chmod __P((struct proc *, struct chmod_args *));
  922 int     chown __P((struct proc *, struct chown_args *));
  923 int     obreak __P((struct proc *, struct obreak_args *));
  924 int     getfsstat __P((struct proc *, struct getfsstat_args *));
  925 int     getpid __P((struct proc *, struct getpid_args *));
  926 int     mount __P((struct proc *, struct mount_args *));
  927 int     unmount __P((struct proc *, struct unmount_args *));
  928 int     setuid __P((struct proc *, struct setuid_args *));
  929 int     getuid __P((struct proc *, struct getuid_args *));
  930 int     geteuid __P((struct proc *, struct geteuid_args *));
  931 int     ptrace __P((struct proc *, struct ptrace_args *));
  932 int     recvmsg __P((struct proc *, struct recvmsg_args *));
  933 int     sendmsg __P((struct proc *, struct sendmsg_args *));
  934 int     recvfrom __P((struct proc *, struct recvfrom_args *));
  935 int     accept __P((struct proc *, struct accept_args *));
  936 int     getpeername __P((struct proc *, struct getpeername_args *));
  937 int     getsockname __P((struct proc *, struct getsockname_args *));
  938 int     access __P((struct proc *, struct access_args *));
  939 int     chflags __P((struct proc *, struct chflags_args *));
  940 int     fchflags __P((struct proc *, struct fchflags_args *));
  941 int     sync __P((struct proc *, struct sync_args *));
  942 int     kill __P((struct proc *, struct kill_args *));
  943 int     getppid __P((struct proc *, struct getppid_args *));
  944 int     dup __P((struct proc *, struct dup_args *));
  945 int     pipe __P((struct proc *, struct pipe_args *));
  946 int     getegid __P((struct proc *, struct getegid_args *));
  947 int     profil __P((struct proc *, struct profil_args *));
  948 int     ktrace __P((struct proc *, struct ktrace_args *));
  949 int     sigaction __P((struct proc *, struct sigaction_args *));
  950 int     getgid __P((struct proc *, struct getgid_args *));
  951 int     sigprocmask __P((struct proc *, struct sigprocmask_args *));
  952 int     getlogin __P((struct proc *, struct getlogin_args *));
  953 int     setlogin __P((struct proc *, struct setlogin_args *));
  954 int     acct __P((struct proc *, struct acct_args *));
  955 int     sigpending __P((struct proc *, struct sigpending_args *));
  956 int     sigaltstack __P((struct proc *, struct sigaltstack_args *));
  957 int     ioctl __P((struct proc *, struct ioctl_args *));
  958 int     reboot __P((struct proc *, struct reboot_args *));
  959 int     revoke __P((struct proc *, struct revoke_args *));
  960 int     symlink __P((struct proc *, struct symlink_args *));
  961 int     readlink __P((struct proc *, struct readlink_args *));
  962 int     execve __P((struct proc *, struct execve_args *));
  963 int     umask __P((struct proc *, struct umask_args *));
  964 int     chroot __P((struct proc *, struct chroot_args *));
  965 int     msync __P((struct proc *, struct msync_args *));
  966 int     vfork __P((struct proc *, struct vfork_args *));
  967 int     sbrk __P((struct proc *, struct sbrk_args *));
  968 int     sstk __P((struct proc *, struct sstk_args *));
  969 int     ovadvise __P((struct proc *, struct ovadvise_args *));
  970 int     munmap __P((struct proc *, struct munmap_args *));
  971 int     mprotect __P((struct proc *, struct mprotect_args *));
  972 int     madvise __P((struct proc *, struct madvise_args *));
  973 int     mincore __P((struct proc *, struct mincore_args *));
  974 int     getgroups __P((struct proc *, struct getgroups_args *));
  975 int     setgroups __P((struct proc *, struct setgroups_args *));
  976 int     getpgrp __P((struct proc *, struct getpgrp_args *));
  977 int     setpgid __P((struct proc *, struct setpgid_args *));
  978 int     setitimer __P((struct proc *, struct setitimer_args *));
  979 int     swapon __P((struct proc *, struct swapon_args *));
  980 int     getitimer __P((struct proc *, struct getitimer_args *));
  981 int     getdtablesize __P((struct proc *, struct getdtablesize_args *));
  982 int     dup2 __P((struct proc *, struct dup2_args *));
  983 int     fcntl __P((struct proc *, struct fcntl_args *));
  984 int     select __P((struct proc *, struct select_args *));
  985 int     fsync __P((struct proc *, struct fsync_args *));
  986 int     setpriority __P((struct proc *, struct setpriority_args *));
  987 int     socket __P((struct proc *, struct socket_args *));
  988 int     connect __P((struct proc *, struct connect_args *));
  989 int     getpriority __P((struct proc *, struct getpriority_args *));
  990 int     sigreturn __P((struct proc *, struct sigreturn_args *));
  991 int     bind __P((struct proc *, struct bind_args *));
  992 int     setsockopt __P((struct proc *, struct setsockopt_args *));
  993 int     listen __P((struct proc *, struct listen_args *));
  994 int     sigsuspend __P((struct proc *, struct sigsuspend_args *));
  995 int     gettimeofday __P((struct proc *, struct gettimeofday_args *));
  996 int     getrusage __P((struct proc *, struct getrusage_args *));
  997 int     getsockopt __P((struct proc *, struct getsockopt_args *));
  998 int     readv __P((struct proc *, struct readv_args *));
  999 int     writev __P((struct proc *, struct writev_args *));
 1000 int     settimeofday __P((struct proc *, struct settimeofday_args *));
 1001 int     fchown __P((struct proc *, struct fchown_args *));
 1002 int     fchmod __P((struct proc *, struct fchmod_args *));
 1003 int     setreuid __P((struct proc *, struct setreuid_args *));
 1004 int     setregid __P((struct proc *, struct setregid_args *));
 1005 int     rename __P((struct proc *, struct rename_args *));
 1006 int     flock __P((struct proc *, struct flock_args *));
 1007 int     mkfifo __P((struct proc *, struct mkfifo_args *));
 1008 int     sendto __P((struct proc *, struct sendto_args *));
 1009 int     shutdown __P((struct proc *, struct shutdown_args *));
 1010 int     socketpair __P((struct proc *, struct socketpair_args *));
 1011 int     mkdir __P((struct proc *, struct mkdir_args *));
 1012 int     rmdir __P((struct proc *, struct rmdir_args *));
 1013 int     utimes __P((struct proc *, struct utimes_args *));
 1014 int     adjtime __P((struct proc *, struct adjtime_args *));
 1015 int     setsid __P((struct proc *, struct setsid_args *));
 1016 int     quotactl __P((struct proc *, struct quotactl_args *));
 1017 int     nfssvc __P((struct proc *, struct nfssvc_args *));
 1018 int     statfs __P((struct proc *, struct statfs_args *));
 1019 int     fstatfs __P((struct proc *, struct fstatfs_args *));
 1020 int     getfh __P((struct proc *, struct getfh_args *));
 1021 int     getdomainname __P((struct proc *, struct getdomainname_args *));
 1022 int     setdomainname __P((struct proc *, struct setdomainname_args *));
 1023 int     uname __P((struct proc *, struct uname_args *));
 1024 int     sysarch __P((struct proc *, struct sysarch_args *));
 1025 int     rtprio __P((struct proc *, struct rtprio_args *));
 1026 int     semsys __P((struct proc *, struct semsys_args *));
 1027 int     msgsys __P((struct proc *, struct msgsys_args *));
 1028 int     shmsys __P((struct proc *, struct shmsys_args *));
 1029 int     pread __P((struct proc *, struct pread_args *));
 1030 int     pwrite __P((struct proc *, struct pwrite_args *));
 1031 int     ntp_adjtime __P((struct proc *, struct ntp_adjtime_args *));
 1032 int     setgid __P((struct proc *, struct setgid_args *));
 1033 int     setegid __P((struct proc *, struct setegid_args *));
 1034 int     seteuid __P((struct proc *, struct seteuid_args *));
 1035 int     stat __P((struct proc *, struct stat_args *));
 1036 int     fstat __P((struct proc *, struct fstat_args *));
 1037 int     lstat __P((struct proc *, struct lstat_args *));
 1038 int     pathconf __P((struct proc *, struct pathconf_args *));
 1039 int     fpathconf __P((struct proc *, struct fpathconf_args *));
 1040 int     getrlimit __P((struct proc *, struct __getrlimit_args *));
 1041 int     setrlimit __P((struct proc *, struct __setrlimit_args *));
 1042 int     getdirentries __P((struct proc *, struct getdirentries_args *));
 1043 int     mmap __P((struct proc *, struct mmap_args *));
 1044 int     lseek __P((struct proc *, struct lseek_args *));
 1045 int     truncate __P((struct proc *, struct truncate_args *));
 1046 int     ftruncate __P((struct proc *, struct ftruncate_args *));
 1047 int     __sysctl __P((struct proc *, struct sysctl_args *));
 1048 int     mlock __P((struct proc *, struct mlock_args *));
 1049 int     munlock __P((struct proc *, struct munlock_args *));
 1050 int     undelete __P((struct proc *, struct undelete_args *));
 1051 int     futimes __P((struct proc *, struct futimes_args *));
 1052 int     getpgid __P((struct proc *, struct getpgid_args *));
 1053 int     poll __P((struct proc *, struct poll_args *));
 1054 int     lkmnosys __P((struct proc *, struct nosys_args *));
 1055 int     __semctl __P((struct proc *, struct __semctl_args *));
 1056 int     semget __P((struct proc *, struct semget_args *));
 1057 int     semop __P((struct proc *, struct semop_args *));
 1058 int     msgctl __P((struct proc *, struct msgctl_args *));
 1059 int     msgget __P((struct proc *, struct msgget_args *));
 1060 int     msgsnd __P((struct proc *, struct msgsnd_args *));
 1061 int     msgrcv __P((struct proc *, struct msgrcv_args *));
 1062 int     shmat __P((struct proc *, struct shmat_args *));
 1063 int     shmctl __P((struct proc *, struct shmctl_args *));
 1064 int     shmdt __P((struct proc *, struct shmdt_args *));
 1065 int     shmget __P((struct proc *, struct shmget_args *));
 1066 int     clock_gettime __P((struct proc *, struct clock_gettime_args *));
 1067 int     clock_settime __P((struct proc *, struct clock_settime_args *));
 1068 int     clock_getres __P((struct proc *, struct clock_getres_args *));
 1069 int     nanosleep __P((struct proc *, struct nanosleep_args *));
 1070 int     minherit __P((struct proc *, struct minherit_args *));
 1071 int     rfork __P((struct proc *, struct rfork_args *));
 1072 int     openbsd_poll __P((struct proc *, struct openbsd_poll_args *));
 1073 int     issetugid __P((struct proc *, struct issetugid_args *));
 1074 int     lchown __P((struct proc *, struct lchown_args *));
 1075 int     getdents __P((struct proc *, struct getdents_args *));
 1076 int     lchmod __P((struct proc *, struct lchmod_args *));
 1077 int     lutimes __P((struct proc *, struct lutimes_args *));
 1078 int     nstat __P((struct proc *, struct nstat_args *));
 1079 int     nfstat __P((struct proc *, struct nfstat_args *));
 1080 int     nlstat __P((struct proc *, struct nlstat_args *));
 1081 int     modnext __P((struct proc *, struct modnext_args *));
 1082 int     modstat __P((struct proc *, struct modstat_args *));
 1083 int     modfnext __P((struct proc *, struct modfnext_args *));
 1084 int     modfind __P((struct proc *, struct modfind_args *));
 1085 int     kldload __P((struct proc *, struct kldload_args *));
 1086 int     kldunload __P((struct proc *, struct kldunload_args *));
 1087 int     kldfind __P((struct proc *, struct kldfind_args *));
 1088 int     kldnext __P((struct proc *, struct kldnext_args *));
 1089 int     kldstat __P((struct proc *, struct kldstat_args *));
 1090 int     kldfirstmod __P((struct proc *, struct kldfirstmod_args *));
 1091 int     getsid __P((struct proc *, struct getsid_args *));
 1092 int     aio_return __P((struct proc *, struct aio_return_args *));
 1093 int     aio_suspend __P((struct proc *, struct aio_suspend_args *));
 1094 int     aio_cancel __P((struct proc *, struct aio_cancel_args *));
 1095 int     aio_error __P((struct proc *, struct aio_error_args *));
 1096 int     aio_read __P((struct proc *, struct aio_read_args *));
 1097 int     aio_write __P((struct proc *, struct aio_write_args *));
 1098 int     lio_listio __P((struct proc *, struct lio_listio_args *));
 1099 int     yield __P((struct proc *, struct yield_args *));
 1100 int     thr_sleep __P((struct proc *, struct thr_sleep_args *));
 1101 int     thr_wakeup __P((struct proc *, struct thr_wakeup_args *));
 1102 int     mlockall __P((struct proc *, struct mlockall_args *));
 1103 int     munlockall __P((struct proc *, struct munlockall_args *));
 1104 int     __getcwd __P((struct proc *, struct __getcwd_args *));
 1105 int     sched_setparam __P((struct proc *, struct sched_setparam_args *));
 1106 int     sched_getparam __P((struct proc *, struct sched_getparam_args *));
 1107 int     sched_setscheduler __P((struct proc *, struct sched_setscheduler_args *));
 1108 int     sched_getscheduler __P((struct proc *, struct sched_getscheduler_args *));
 1109 int     sched_yield __P((struct proc *, struct sched_yield_args *));
 1110 int     sched_get_priority_max __P((struct proc *, struct sched_get_priority_max_args *));
 1111 int     sched_get_priority_min __P((struct proc *, struct sched_get_priority_min_args *));
 1112 int     sched_rr_get_interval __P((struct proc *, struct sched_rr_get_interval_args *));
 1113 int     utrace __P((struct proc *, struct utrace_args *));
 1114 int     sendfile __P((struct proc *, struct sendfile_args *));
 1115 int     kldsym __P((struct proc *, struct kldsym_args *));
 1116 
 1117 #ifdef COMPAT_43
 1118 
 1119 struct  ocreat_args {
 1120         char *  path;   char path_[PAD_(char *)];
 1121         int     mode;   char mode_[PAD_(int)];
 1122 };
 1123 struct  olseek_args {
 1124         int     fd;     char fd_[PAD_(int)];
 1125         long    offset; char offset_[PAD_(long)];
 1126         int     whence; char whence_[PAD_(int)];
 1127 };
 1128 struct  ostat_args {
 1129         char *  path;   char path_[PAD_(char *)];
 1130         struct ostat *  ub;     char ub_[PAD_(struct ostat *)];
 1131 };
 1132 struct  olstat_args {
 1133         char *  path;   char path_[PAD_(char *)];
 1134         struct ostat *  ub;     char ub_[PAD_(struct ostat *)];
 1135 };
 1136 struct  ofstat_args {
 1137         int     fd;     char fd_[PAD_(int)];
 1138         struct ostat *  sb;     char sb_[PAD_(struct ostat *)];
 1139 };
 1140 struct  getkerninfo_args {
 1141         int     op;     char op_[PAD_(int)];
 1142         char *  where;  char where_[PAD_(char *)];
 1143         size_t *        size;   char size_[PAD_(size_t *)];
 1144         int     arg;    char arg_[PAD_(int)];
 1145 };
 1146 struct  ommap_args {
 1147         void *  addr;   char addr_[PAD_(void *)];
 1148         int     len;    char len_[PAD_(int)];
 1149         int     prot;   char prot_[PAD_(int)];
 1150         int     flags;  char flags_[PAD_(int)];
 1151         int     fd;     char fd_[PAD_(int)];
 1152         long    pos;    char pos_[PAD_(long)];
 1153 };
 1154 struct  gethostname_args {
 1155         char *  hostname;       char hostname_[PAD_(char *)];
 1156         u_int   len;    char len_[PAD_(u_int)];
 1157 };
 1158 struct  sethostname_args {
 1159         char *  hostname;       char hostname_[PAD_(char *)];
 1160         u_int   len;    char len_[PAD_(u_int)];
 1161 };
 1162 struct  osend_args {
 1163         int     s;      char s_[PAD_(int)];
 1164         caddr_t buf;    char buf_[PAD_(caddr_t)];
 1165         int     len;    char len_[PAD_(int)];
 1166         int     flags;  char flags_[PAD_(int)];
 1167 };
 1168 struct  orecv_args {
 1169         int     s;      char s_[PAD_(int)];
 1170         caddr_t buf;    char buf_[PAD_(caddr_t)];
 1171         int     len;    char len_[PAD_(int)];
 1172         int     flags;  char flags_[PAD_(int)];
 1173 };
 1174 struct  osigvec_args {
 1175         int     signum; char signum_[PAD_(int)];
 1176         struct sigvec * nsv;    char nsv_[PAD_(struct sigvec *)];
 1177         struct sigvec * osv;    char osv_[PAD_(struct sigvec *)];
 1178 };
 1179 struct  osigblock_args {
 1180         int     mask;   char mask_[PAD_(int)];
 1181 };
 1182 struct  osigsetmask_args {
 1183         int     mask;   char mask_[PAD_(int)];
 1184 };
 1185 struct  osigstack_args {
 1186         struct sigstack *       nss;    char nss_[PAD_(struct sigstack *)];
 1187         struct sigstack *       oss;    char oss_[PAD_(struct sigstack *)];
 1188 };
 1189 struct  orecvmsg_args {
 1190         int     s;      char s_[PAD_(int)];
 1191         struct omsghdr *        msg;    char msg_[PAD_(struct omsghdr *)];
 1192         int     flags;  char flags_[PAD_(int)];
 1193 };
 1194 struct  osendmsg_args {
 1195         int     s;      char s_[PAD_(int)];
 1196         caddr_t msg;    char msg_[PAD_(caddr_t)];
 1197         int     flags;  char flags_[PAD_(int)];
 1198 };
 1199 struct  otruncate_args {
 1200         char *  path;   char path_[PAD_(char *)];
 1201         long    length; char length_[PAD_(long)];
 1202 };
 1203 struct  oftruncate_args {
 1204         int     fd;     char fd_[PAD_(int)];
 1205         long    length; char length_[PAD_(long)];
 1206 };
 1207 struct  ogetpeername_args {
 1208         int     fdes;   char fdes_[PAD_(int)];
 1209         caddr_t asa;    char asa_[PAD_(caddr_t)];
 1210         int *   alen;   char alen_[PAD_(int *)];
 1211 };
 1212 struct  osethostid_args {
 1213         long    hostid; char hostid_[PAD_(long)];
 1214 };
 1215 struct  ogetrlimit_args {
 1216         u_int   which;  char which_[PAD_(u_int)];
 1217         struct ogetrlimit *     rlp;    char rlp_[PAD_(struct ogetrlimit *)];
 1218 };
 1219 struct  osetrlimit_args {
 1220         u_int   which;  char which_[PAD_(u_int)];
 1221         struct ogetrlimit *     rlp;    char rlp_[PAD_(struct ogetrlimit *)];
 1222 };
 1223 struct  okillpg_args {
 1224         int     pgid;   char pgid_[PAD_(int)];
 1225         int     signum; char signum_[PAD_(int)];
 1226 };
 1227 struct  ogetdirentries_args {
 1228         int     fd;     char fd_[PAD_(int)];
 1229         char *  buf;    char buf_[PAD_(char *)];
 1230         u_int   count;  char count_[PAD_(u_int)];
 1231         long *  basep;  char basep_[PAD_(long *)];
 1232 };
 1233 int     ocreat __P((struct proc *, struct ocreat_args *));
 1234 int     olseek __P((struct proc *, struct olseek_args *));
 1235 int     ostat __P((struct proc *, struct ostat_args *));
 1236 int     olstat __P((struct proc *, struct olstat_args *));
 1237 int     ofstat __P((struct proc *, struct ofstat_args *));
 1238 int     ogetkerninfo __P((struct proc *, struct getkerninfo_args *));
 1239 int     ogetpagesize __P((struct proc *, struct getpagesize_args *));
 1240 int     ommap __P((struct proc *, struct ommap_args *));
 1241 int     owait __P((struct proc *, struct owait_args *));
 1242 int     ogethostname __P((struct proc *, struct gethostname_args *));
 1243 int     osethostname __P((struct proc *, struct sethostname_args *));
 1244 int     oaccept __P((struct proc *, struct accept_args *));
 1245 int     osend __P((struct proc *, struct osend_args *));
 1246 int     orecv __P((struct proc *, struct orecv_args *));
 1247 int     osigvec __P((struct proc *, struct osigvec_args *));
 1248 int     osigblock __P((struct proc *, struct osigblock_args *));
 1249 int     osigsetmask __P((struct proc *, struct osigsetmask_args *));
 1250 int     osigstack __P((struct proc *, struct osigstack_args *));
 1251 int     orecvmsg __P((struct proc *, struct orecvmsg_args *));
 1252 int     osendmsg __P((struct proc *, struct osendmsg_args *));
 1253 int     orecvfrom __P((struct proc *, struct recvfrom_args *));
 1254 int     otruncate __P((struct proc *, struct otruncate_args *));
 1255 int     oftruncate __P((struct proc *, struct oftruncate_args *));
 1256 int     ogetpeername __P((struct proc *, struct ogetpeername_args *));
 1257 int     ogethostid __P((struct proc *, struct ogethostid_args *));
 1258 int     osethostid __P((struct proc *, struct osethostid_args *));
 1259 int     ogetrlimit __P((struct proc *, struct ogetrlimit_args *));
 1260 int     osetrlimit __P((struct proc *, struct osetrlimit_args *));
 1261 int     okillpg __P((struct proc *, struct okillpg_args *));
 1262 int     oquota __P((struct proc *, struct oquota_args *));
 1263 int     ogetsockname __P((struct proc *, struct getsockname_args *));
 1264 int     ogetdirentries __P((struct proc *, struct ogetdirentries_args *));
 1265 
 1266 #endif /* COMPAT_43 */
 1267 
 1268 #undef PAD_
 1269 
 1270 #endif /* !_SYS_SYSPROTO_H_ */

Cache object: 61222e62dff167e052ebdee48bb46630


[ 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.