File:  [DragonFly] / src / sys / sys / sysproto.h
Revision 1.16: download - view: text, annotated - select for diffs
Tue Jan 20 18:41:51 2004 UTC (10 years, 11 months ago) by dillon
Branches: MAIN
CVS tags: HEAD
Resident executable support stage 1/4: Add kernel bits and syscall support
for in-kernel caching of vmspace structures.  The main purpose of this
feature is to make it possible to run dynamically linked programs as fast
as if they were statically linked, by vmspace_fork()ing their vmspace and
saving the copy in the kernel, then using that whenever the program is
exec'd.

    1: /*
    2:  * System call prototypes.
    3:  *
    4:  * DO NOT EDIT-- this file is automatically generated.
    5:  * $DragonFly: src/sys/sys/sysproto.h,v 1.16 2004/01/20 18:41:51 dillon Exp $
    6:  * created from DragonFly: src/sys/kern/syscalls.master,v 1.10 2004/01/18 12:31:08 dillon Exp 
    7:  */
    8: 
    9: #ifndef _SYS_SYSPROTO_H_
   10: #define	_SYS_SYSPROTO_H_
   11: 
   12: #include <sys/signal.h>
   13: 
   14: #include <sys/acl.h>
   15: 
   16: #include <sys/msgport.h>
   17: 
   18: #include <sys/sysmsg.h>
   19: 
   20: #define	PAD_(t)	(sizeof(register_t) <= sizeof(t) ? \
   21: 		0 : sizeof(register_t) - sizeof(t))
   22: 
   23: struct	nosys_args {
   24: #ifdef _KERNEL
   25: 	struct sysmsg sysmsg;
   26: #endif
   27: 	union usrmsg usrmsg;
   28: 	register_t dummy;
   29: };
   30: struct	sys_exit_args {
   31: #ifdef _KERNEL
   32: 	struct sysmsg sysmsg;
   33: #endif
   34: 	union usrmsg usrmsg;
   35: 	int	rval;	char rval_[PAD_(int)];
   36: };
   37: struct	fork_args {
   38: #ifdef _KERNEL
   39: 	struct sysmsg sysmsg;
   40: #endif
   41: 	union usrmsg usrmsg;
   42: 	register_t dummy;
   43: };
   44: struct	read_args {
   45: #ifdef _KERNEL
   46: 	struct sysmsg sysmsg;
   47: #endif
   48: 	union usrmsg usrmsg;
   49: 	int	fd;	char fd_[PAD_(int)];
   50: 	void *	buf;	char buf_[PAD_(void *)];
   51: 	size_t	nbyte;	char nbyte_[PAD_(size_t)];
   52: };
   53: struct	write_args {
   54: #ifdef _KERNEL
   55: 	struct sysmsg sysmsg;
   56: #endif
   57: 	union usrmsg usrmsg;
   58: 	int	fd;	char fd_[PAD_(int)];
   59: 	const void *	buf;	char buf_[PAD_(const void *)];
   60: 	size_t	nbyte;	char nbyte_[PAD_(size_t)];
   61: };
   62: struct	open_args {
   63: #ifdef _KERNEL
   64: 	struct sysmsg sysmsg;
   65: #endif
   66: 	union usrmsg usrmsg;
   67: 	char *	path;	char path_[PAD_(char *)];
   68: 	int	flags;	char flags_[PAD_(int)];
   69: 	int	mode;	char mode_[PAD_(int)];
   70: };
   71: struct	close_args {
   72: #ifdef _KERNEL
   73: 	struct sysmsg sysmsg;
   74: #endif
   75: 	union usrmsg usrmsg;
   76: 	int	fd;	char fd_[PAD_(int)];
   77: };
   78: struct	wait_args {
   79: #ifdef _KERNEL
   80: 	struct sysmsg sysmsg;
   81: #endif
   82: 	union usrmsg usrmsg;
   83: 	int	pid;	char pid_[PAD_(int)];
   84: 	int *	status;	char status_[PAD_(int *)];
   85: 	int	options;	char options_[PAD_(int)];
   86: 	struct rusage *	rusage;	char rusage_[PAD_(struct rusage *)];
   87: };
   88: struct	link_args {
   89: #ifdef _KERNEL
   90: 	struct sysmsg sysmsg;
   91: #endif
   92: 	union usrmsg usrmsg;
   93: 	char *	path;	char path_[PAD_(char *)];
   94: 	char *	link;	char link_[PAD_(char *)];
   95: };
   96: struct	unlink_args {
   97: #ifdef _KERNEL
   98: 	struct sysmsg sysmsg;
   99: #endif
  100: 	union usrmsg usrmsg;
  101: 	char *	path;	char path_[PAD_(char *)];
  102: };
  103: struct	chdir_args {
  104: #ifdef _KERNEL
  105: 	struct sysmsg sysmsg;
  106: #endif
  107: 	union usrmsg usrmsg;
  108: 	char *	path;	char path_[PAD_(char *)];
  109: };
  110: struct	fchdir_args {
  111: #ifdef _KERNEL
  112: 	struct sysmsg sysmsg;
  113: #endif
  114: 	union usrmsg usrmsg;
  115: 	int	fd;	char fd_[PAD_(int)];
  116: };
  117: struct	mknod_args {
  118: #ifdef _KERNEL
  119: 	struct sysmsg sysmsg;
  120: #endif
  121: 	union usrmsg usrmsg;
  122: 	char *	path;	char path_[PAD_(char *)];
  123: 	int	mode;	char mode_[PAD_(int)];
  124: 	int	dev;	char dev_[PAD_(int)];
  125: };
  126: struct	chmod_args {
  127: #ifdef _KERNEL
  128: 	struct sysmsg sysmsg;
  129: #endif
  130: 	union usrmsg usrmsg;
  131: 	char *	path;	char path_[PAD_(char *)];
  132: 	int	mode;	char mode_[PAD_(int)];
  133: };
  134: struct	chown_args {
  135: #ifdef _KERNEL
  136: 	struct sysmsg sysmsg;
  137: #endif
  138: 	union usrmsg usrmsg;
  139: 	char *	path;	char path_[PAD_(char *)];
  140: 	int	uid;	char uid_[PAD_(int)];
  141: 	int	gid;	char gid_[PAD_(int)];
  142: };
  143: struct	obreak_args {
  144: #ifdef _KERNEL
  145: 	struct sysmsg sysmsg;
  146: #endif
  147: 	union usrmsg usrmsg;
  148: 	char *	nsize;	char nsize_[PAD_(char *)];
  149: };
  150: struct	getfsstat_args {
  151: #ifdef _KERNEL
  152: 	struct sysmsg sysmsg;
  153: #endif
  154: 	union usrmsg usrmsg;
  155: 	struct statfs *	buf;	char buf_[PAD_(struct statfs *)];
  156: 	long	bufsize;	char bufsize_[PAD_(long)];
  157: 	int	flags;	char flags_[PAD_(int)];
  158: };
  159: struct	getpid_args {
  160: #ifdef _KERNEL
  161: 	struct sysmsg sysmsg;
  162: #endif
  163: 	union usrmsg usrmsg;
  164: 	register_t dummy;
  165: };
  166: struct	mount_args {
  167: #ifdef _KERNEL
  168: 	struct sysmsg sysmsg;
  169: #endif
  170: 	union usrmsg usrmsg;
  171: 	char *	type;	char type_[PAD_(char *)];
  172: 	char *	path;	char path_[PAD_(char *)];
  173: 	int	flags;	char flags_[PAD_(int)];
  174: 	caddr_t	data;	char data_[PAD_(caddr_t)];
  175: };
  176: struct	unmount_args {
  177: #ifdef _KERNEL
  178: 	struct sysmsg sysmsg;
  179: #endif
  180: 	union usrmsg usrmsg;
  181: 	char *	path;	char path_[PAD_(char *)];
  182: 	int	flags;	char flags_[PAD_(int)];
  183: };
  184: struct	setuid_args {
  185: #ifdef _KERNEL
  186: 	struct sysmsg sysmsg;
  187: #endif
  188: 	union usrmsg usrmsg;
  189: 	uid_t	uid;	char uid_[PAD_(uid_t)];
  190: };
  191: struct	getuid_args {
  192: #ifdef _KERNEL
  193: 	struct sysmsg sysmsg;
  194: #endif
  195: 	union usrmsg usrmsg;
  196: 	register_t dummy;
  197: };
  198: struct	geteuid_args {
  199: #ifdef _KERNEL
  200: 	struct sysmsg sysmsg;
  201: #endif
  202: 	union usrmsg usrmsg;
  203: 	register_t dummy;
  204: };
  205: struct	ptrace_args {
  206: #ifdef _KERNEL
  207: 	struct sysmsg sysmsg;
  208: #endif
  209: 	union usrmsg usrmsg;
  210: 	int	req;	char req_[PAD_(int)];
  211: 	pid_t	pid;	char pid_[PAD_(pid_t)];
  212: 	caddr_t	addr;	char addr_[PAD_(caddr_t)];
  213: 	int	data;	char data_[PAD_(int)];
  214: };
  215: struct	recvmsg_args {
  216: #ifdef _KERNEL
  217: 	struct sysmsg sysmsg;
  218: #endif
  219: 	union usrmsg usrmsg;
  220: 	int	s;	char s_[PAD_(int)];
  221: 	struct msghdr *	msg;	char msg_[PAD_(struct msghdr *)];
  222: 	int	flags;	char flags_[PAD_(int)];
  223: };
  224: struct	sendmsg_args {
  225: #ifdef _KERNEL
  226: 	struct sysmsg sysmsg;
  227: #endif
  228: 	union usrmsg usrmsg;
  229: 	int	s;	char s_[PAD_(int)];
  230: 	caddr_t	msg;	char msg_[PAD_(caddr_t)];
  231: 	int	flags;	char flags_[PAD_(int)];
  232: };
  233: struct	recvfrom_args {
  234: #ifdef _KERNEL
  235: 	struct sysmsg sysmsg;
  236: #endif
  237: 	union usrmsg usrmsg;
  238: 	int	s;	char s_[PAD_(int)];
  239: 	caddr_t	buf;	char buf_[PAD_(caddr_t)];
  240: 	size_t	len;	char len_[PAD_(size_t)];
  241: 	int	flags;	char flags_[PAD_(int)];
  242: 	caddr_t	from;	char from_[PAD_(caddr_t)];
  243: 	int *	fromlenaddr;	char fromlenaddr_[PAD_(int *)];
  244: };
  245: struct	accept_args {
  246: #ifdef _KERNEL
  247: 	struct sysmsg sysmsg;
  248: #endif
  249: 	union usrmsg usrmsg;
  250: 	int	s;	char s_[PAD_(int)];
  251: 	caddr_t	name;	char name_[PAD_(caddr_t)];
  252: 	int *	anamelen;	char anamelen_[PAD_(int *)];
  253: };
  254: struct	getpeername_args {
  255: #ifdef _KERNEL
  256: 	struct sysmsg sysmsg;
  257: #endif
  258: 	union usrmsg usrmsg;
  259: 	int	fdes;	char fdes_[PAD_(int)];
  260: 	caddr_t	asa;	char asa_[PAD_(caddr_t)];
  261: 	int *	alen;	char alen_[PAD_(int *)];
  262: };
  263: struct	getsockname_args {
  264: #ifdef _KERNEL
  265: 	struct sysmsg sysmsg;
  266: #endif
  267: 	union usrmsg usrmsg;
  268: 	int	fdes;	char fdes_[PAD_(int)];
  269: 	caddr_t	asa;	char asa_[PAD_(caddr_t)];
  270: 	int *	alen;	char alen_[PAD_(int *)];
  271: };
  272: struct	access_args {
  273: #ifdef _KERNEL
  274: 	struct sysmsg sysmsg;
  275: #endif
  276: 	union usrmsg usrmsg;
  277: 	char *	path;	char path_[PAD_(char *)];
  278: 	int	flags;	char flags_[PAD_(int)];
  279: };
  280: struct	chflags_args {
  281: #ifdef _KERNEL
  282: 	struct sysmsg sysmsg;
  283: #endif
  284: 	union usrmsg usrmsg;
  285: 	char *	path;	char path_[PAD_(char *)];
  286: 	int	flags;	char flags_[PAD_(int)];
  287: };
  288: struct	fchflags_args {
  289: #ifdef _KERNEL
  290: 	struct sysmsg sysmsg;
  291: #endif
  292: 	union usrmsg usrmsg;
  293: 	int	fd;	char fd_[PAD_(int)];
  294: 	int	flags;	char flags_[PAD_(int)];
  295: };
  296: struct	sync_args {
  297: #ifdef _KERNEL
  298: 	struct sysmsg sysmsg;
  299: #endif
  300: 	union usrmsg usrmsg;
  301: 	register_t dummy;
  302: };
  303: struct	kill_args {
  304: #ifdef _KERNEL
  305: 	struct sysmsg sysmsg;
  306: #endif
  307: 	union usrmsg usrmsg;
  308: 	int	pid;	char pid_[PAD_(int)];
  309: 	int	signum;	char signum_[PAD_(int)];
  310: };
  311: struct	getppid_args {
  312: #ifdef _KERNEL
  313: 	struct sysmsg sysmsg;
  314: #endif
  315: 	union usrmsg usrmsg;
  316: 	register_t dummy;
  317: };
  318: struct	dup_args {
  319: #ifdef _KERNEL
  320: 	struct sysmsg sysmsg;
  321: #endif
  322: 	union usrmsg usrmsg;
  323: 	u_int	fd;	char fd_[PAD_(u_int)];
  324: };
  325: struct	pipe_args {
  326: #ifdef _KERNEL
  327: 	struct sysmsg sysmsg;
  328: #endif
  329: 	union usrmsg usrmsg;
  330: 	register_t dummy;
  331: };
  332: struct	getegid_args {
  333: #ifdef _KERNEL
  334: 	struct sysmsg sysmsg;
  335: #endif
  336: 	union usrmsg usrmsg;
  337: 	register_t dummy;
  338: };
  339: struct	profil_args {
  340: #ifdef _KERNEL
  341: 	struct sysmsg sysmsg;
  342: #endif
  343: 	union usrmsg usrmsg;
  344: 	caddr_t	samples;	char samples_[PAD_(caddr_t)];
  345: 	size_t	size;	char size_[PAD_(size_t)];
  346: 	size_t	offset;	char offset_[PAD_(size_t)];
  347: 	u_int	scale;	char scale_[PAD_(u_int)];
  348: };
  349: struct	ktrace_args {
  350: #ifdef _KERNEL
  351: 	struct sysmsg sysmsg;
  352: #endif
  353: 	union usrmsg usrmsg;
  354: 	const char *	fname;	char fname_[PAD_(const char *)];
  355: 	int	ops;	char ops_[PAD_(int)];
  356: 	int	facs;	char facs_[PAD_(int)];
  357: 	int	pid;	char pid_[PAD_(int)];
  358: };
  359: struct	getgid_args {
  360: #ifdef _KERNEL
  361: 	struct sysmsg sysmsg;
  362: #endif
  363: 	union usrmsg usrmsg;
  364: 	register_t dummy;
  365: };
  366: struct	getlogin_args {
  367: #ifdef _KERNEL
  368: 	struct sysmsg sysmsg;
  369: #endif
  370: 	union usrmsg usrmsg;
  371: 	char *	namebuf;	char namebuf_[PAD_(char *)];
  372: 	u_int	namelen;	char namelen_[PAD_(u_int)];
  373: };
  374: struct	setlogin_args {
  375: #ifdef _KERNEL
  376: 	struct sysmsg sysmsg;
  377: #endif
  378: 	union usrmsg usrmsg;
  379: 	char *	namebuf;	char namebuf_[PAD_(char *)];
  380: };
  381: struct	acct_args {
  382: #ifdef _KERNEL
  383: 	struct sysmsg sysmsg;
  384: #endif
  385: 	union usrmsg usrmsg;
  386: 	char *	path;	char path_[PAD_(char *)];
  387: };
  388: struct	sigaltstack_args {
  389: #ifdef _KERNEL
  390: 	struct sysmsg sysmsg;
  391: #endif
  392: 	union usrmsg usrmsg;
  393: 	stack_t *	ss;	char ss_[PAD_(stack_t *)];
  394: 	stack_t *	oss;	char oss_[PAD_(stack_t *)];
  395: };
  396: struct	ioctl_args {
  397: #ifdef _KERNEL
  398: 	struct sysmsg sysmsg;
  399: #endif
  400: 	union usrmsg usrmsg;
  401: 	int	fd;	char fd_[PAD_(int)];
  402: 	u_long	com;	char com_[PAD_(u_long)];
  403: 	caddr_t	data;	char data_[PAD_(caddr_t)];
  404: };
  405: struct	reboot_args {
  406: #ifdef _KERNEL
  407: 	struct sysmsg sysmsg;
  408: #endif
  409: 	union usrmsg usrmsg;
  410: 	int	opt;	char opt_[PAD_(int)];
  411: };
  412: struct	revoke_args {
  413: #ifdef _KERNEL
  414: 	struct sysmsg sysmsg;
  415: #endif
  416: 	union usrmsg usrmsg;
  417: 	char *	path;	char path_[PAD_(char *)];
  418: };
  419: struct	symlink_args {
  420: #ifdef _KERNEL
  421: 	struct sysmsg sysmsg;
  422: #endif
  423: 	union usrmsg usrmsg;
  424: 	char *	path;	char path_[PAD_(char *)];
  425: 	char *	link;	char link_[PAD_(char *)];
  426: };
  427: struct	readlink_args {
  428: #ifdef _KERNEL
  429: 	struct sysmsg sysmsg;
  430: #endif
  431: 	union usrmsg usrmsg;
  432: 	char *	path;	char path_[PAD_(char *)];
  433: 	char *	buf;	char buf_[PAD_(char *)];
  434: 	int	count;	char count_[PAD_(int)];
  435: };
  436: struct	execve_args {
  437: #ifdef _KERNEL
  438: 	struct sysmsg sysmsg;
  439: #endif
  440: 	union usrmsg usrmsg;
  441: 	char *	fname;	char fname_[PAD_(char *)];
  442: 	char **	argv;	char argv_[PAD_(char **)];
  443: 	char **	envv;	char envv_[PAD_(char **)];
  444: };
  445: struct	umask_args {
  446: #ifdef _KERNEL
  447: 	struct sysmsg sysmsg;
  448: #endif
  449: 	union usrmsg usrmsg;
  450: 	int	newmask;	char newmask_[PAD_(int)];
  451: };
  452: struct	chroot_args {
  453: #ifdef _KERNEL
  454: 	struct sysmsg sysmsg;
  455: #endif
  456: 	union usrmsg usrmsg;
  457: 	char *	path;	char path_[PAD_(char *)];
  458: };
  459: struct	getpagesize_args {
  460: #ifdef _KERNEL
  461: 	struct sysmsg sysmsg;
  462: #endif
  463: 	union usrmsg usrmsg;
  464: 	register_t dummy;
  465: };
  466: struct	msync_args {
  467: #ifdef _KERNEL
  468: 	struct sysmsg sysmsg;
  469: #endif
  470: 	union usrmsg usrmsg;
  471: 	void *	addr;	char addr_[PAD_(void *)];
  472: 	size_t	len;	char len_[PAD_(size_t)];
  473: 	int	flags;	char flags_[PAD_(int)];
  474: };
  475: struct	vfork_args {
  476: #ifdef _KERNEL
  477: 	struct sysmsg sysmsg;
  478: #endif
  479: 	union usrmsg usrmsg;
  480: 	register_t dummy;
  481: };
  482: struct	sbrk_args {
  483: #ifdef _KERNEL
  484: 	struct sysmsg sysmsg;
  485: #endif
  486: 	union usrmsg usrmsg;
  487: 	int	incr;	char incr_[PAD_(int)];
  488: };
  489: struct	sstk_args {
  490: #ifdef _KERNEL
  491: 	struct sysmsg sysmsg;
  492: #endif
  493: 	union usrmsg usrmsg;
  494: 	int	incr;	char incr_[PAD_(int)];
  495: };
  496: struct	ovadvise_args {
  497: #ifdef _KERNEL
  498: 	struct sysmsg sysmsg;
  499: #endif
  500: 	union usrmsg usrmsg;
  501: 	int	anom;	char anom_[PAD_(int)];
  502: };
  503: struct	munmap_args {
  504: #ifdef _KERNEL
  505: 	struct sysmsg sysmsg;
  506: #endif
  507: 	union usrmsg usrmsg;
  508: 	void *	addr;	char addr_[PAD_(void *)];
  509: 	size_t	len;	char len_[PAD_(size_t)];
  510: };
  511: struct	mprotect_args {
  512: #ifdef _KERNEL
  513: 	struct sysmsg sysmsg;
  514: #endif
  515: 	union usrmsg usrmsg;
  516: 	const void *	addr;	char addr_[PAD_(const void *)];
  517: 	size_t	len;	char len_[PAD_(size_t)];
  518: 	int	prot;	char prot_[PAD_(int)];
  519: };
  520: struct	madvise_args {
  521: #ifdef _KERNEL
  522: 	struct sysmsg sysmsg;
  523: #endif
  524: 	union usrmsg usrmsg;
  525: 	void *	addr;	char addr_[PAD_(void *)];
  526: 	size_t	len;	char len_[PAD_(size_t)];
  527: 	int	behav;	char behav_[PAD_(int)];
  528: };
  529: struct	mincore_args {
  530: #ifdef _KERNEL
  531: 	struct sysmsg sysmsg;
  532: #endif
  533: 	union usrmsg usrmsg;
  534: 	const void *	addr;	char addr_[PAD_(const void *)];
  535: 	size_t	len;	char len_[PAD_(size_t)];
  536: 	char *	vec;	char vec_[PAD_(char *)];
  537: };
  538: struct	getgroups_args {
  539: #ifdef _KERNEL
  540: 	struct sysmsg sysmsg;
  541: #endif
  542: 	union usrmsg usrmsg;
  543: 	u_int	gidsetsize;	char gidsetsize_[PAD_(u_int)];
  544: 	gid_t *	gidset;	char gidset_[PAD_(gid_t *)];
  545: };
  546: struct	setgroups_args {
  547: #ifdef _KERNEL
  548: 	struct sysmsg sysmsg;
  549: #endif
  550: 	union usrmsg usrmsg;
  551: 	u_int	gidsetsize;	char gidsetsize_[PAD_(u_int)];
  552: 	gid_t *	gidset;	char gidset_[PAD_(gid_t *)];
  553: };
  554: struct	getpgrp_args {
  555: #ifdef _KERNEL
  556: 	struct sysmsg sysmsg;
  557: #endif
  558: 	union usrmsg usrmsg;
  559: 	register_t dummy;
  560: };
  561: struct	setpgid_args {
  562: #ifdef _KERNEL
  563: 	struct sysmsg sysmsg;
  564: #endif
  565: 	union usrmsg usrmsg;
  566: 	int	pid;	char pid_[PAD_(int)];
  567: 	int	pgid;	char pgid_[PAD_(int)];
  568: };
  569: struct	setitimer_args {
  570: #ifdef _KERNEL
  571: 	struct sysmsg sysmsg;
  572: #endif
  573: 	union usrmsg usrmsg;
  574: 	u_int	which;	char which_[PAD_(u_int)];
  575: 	struct itimerval *	itv;	char itv_[PAD_(struct itimerval *)];
  576: 	struct itimerval *	oitv;	char oitv_[PAD_(struct itimerval *)];
  577: };
  578: struct	owait_args {
  579: #ifdef _KERNEL
  580: 	struct sysmsg sysmsg;
  581: #endif
  582: 	union usrmsg usrmsg;
  583: 	register_t dummy;
  584: };
  585: struct	swapon_args {
  586: #ifdef _KERNEL
  587: 	struct sysmsg sysmsg;
  588: #endif
  589: 	union usrmsg usrmsg;
  590: 	char *	name;	char name_[PAD_(char *)];
  591: };
  592: struct	getitimer_args {
  593: #ifdef _KERNEL
  594: 	struct sysmsg sysmsg;
  595: #endif
  596: 	union usrmsg usrmsg;
  597: 	u_int	which;	char which_[PAD_(u_int)];
  598: 	struct itimerval *	itv;	char itv_[PAD_(struct itimerval *)];
  599: };
  600: struct	getdtablesize_args {
  601: #ifdef _KERNEL
  602: 	struct sysmsg sysmsg;
  603: #endif
  604: 	union usrmsg usrmsg;
  605: 	register_t dummy;
  606: };
  607: struct	dup2_args {
  608: #ifdef _KERNEL
  609: 	struct sysmsg sysmsg;
  610: #endif
  611: 	union usrmsg usrmsg;
  612: 	u_int	from;	char from_[PAD_(u_int)];
  613: 	u_int	to;	char to_[PAD_(u_int)];
  614: };
  615: struct	fcntl_args {
  616: #ifdef _KERNEL
  617: 	struct sysmsg sysmsg;
  618: #endif
  619: 	union usrmsg usrmsg;
  620: 	int	fd;	char fd_[PAD_(int)];
  621: 	int	cmd;	char cmd_[PAD_(int)];
  622: 	long	arg;	char arg_[PAD_(long)];
  623: };
  624: struct	select_args {
  625: #ifdef _KERNEL
  626: 	struct sysmsg sysmsg;
  627: #endif
  628: 	union usrmsg usrmsg;
  629: 	int	nd;	char nd_[PAD_(int)];
  630: 	fd_set *	in;	char in_[PAD_(fd_set *)];
  631: 	fd_set *	ou;	char ou_[PAD_(fd_set *)];
  632: 	fd_set *	ex;	char ex_[PAD_(fd_set *)];
  633: 	struct timeval *	tv;	char tv_[PAD_(struct timeval *)];
  634: };
  635: struct	fsync_args {
  636: #ifdef _KERNEL
  637: 	struct sysmsg sysmsg;
  638: #endif
  639: 	union usrmsg usrmsg;
  640: 	int	fd;	char fd_[PAD_(int)];
  641: };
  642: struct	setpriority_args {
  643: #ifdef _KERNEL
  644: 	struct sysmsg sysmsg;
  645: #endif
  646: 	union usrmsg usrmsg;
  647: 	int	which;	char which_[PAD_(int)];
  648: 	int	who;	char who_[PAD_(int)];
  649: 	int	prio;	char prio_[PAD_(int)];
  650: };
  651: struct	socket_args {
  652: #ifdef _KERNEL
  653: 	struct sysmsg sysmsg;
  654: #endif
  655: 	union usrmsg usrmsg;
  656: 	int	domain;	char domain_[PAD_(int)];
  657: 	int	type;	char type_[PAD_(int)];
  658: 	int	protocol;	char protocol_[PAD_(int)];
  659: };
  660: struct	connect_args {
  661: #ifdef _KERNEL
  662: 	struct sysmsg sysmsg;
  663: #endif
  664: 	union usrmsg usrmsg;
  665: 	int	s;	char s_[PAD_(int)];
  666: 	caddr_t	name;	char name_[PAD_(caddr_t)];
  667: 	int	namelen;	char namelen_[PAD_(int)];
  668: };
  669: struct	getpriority_args {
  670: #ifdef _KERNEL
  671: 	struct sysmsg sysmsg;
  672: #endif
  673: 	union usrmsg usrmsg;
  674: 	int	which;	char which_[PAD_(int)];
  675: 	int	who;	char who_[PAD_(int)];
  676: };
  677: struct	bind_args {
  678: #ifdef _KERNEL
  679: 	struct sysmsg sysmsg;
  680: #endif
  681: 	union usrmsg usrmsg;
  682: 	int	s;	char s_[PAD_(int)];
  683: 	caddr_t	name;	char name_[PAD_(caddr_t)];
  684: 	int	namelen;	char namelen_[PAD_(int)];
  685: };
  686: struct	setsockopt_args {
  687: #ifdef _KERNEL
  688: 	struct sysmsg sysmsg;
  689: #endif
  690: 	union usrmsg usrmsg;
  691: 	int	s;	char s_[PAD_(int)];
  692: 	int	level;	char level_[PAD_(int)];
  693: 	int	name;	char name_[PAD_(int)];
  694: 	caddr_t	val;	char val_[PAD_(caddr_t)];
  695: 	int	valsize;	char valsize_[PAD_(int)];
  696: };
  697: struct	listen_args {
  698: #ifdef _KERNEL
  699: 	struct sysmsg sysmsg;
  700: #endif
  701: 	union usrmsg usrmsg;
  702: 	int	s;	char s_[PAD_(int)];
  703: 	int	backlog;	char backlog_[PAD_(int)];
  704: };
  705: struct	gettimeofday_args {
  706: #ifdef _KERNEL
  707: 	struct sysmsg sysmsg;
  708: #endif
  709: 	union usrmsg usrmsg;
  710: 	struct timeval *	tp;	char tp_[PAD_(struct timeval *)];
  711: 	struct timezone *	tzp;	char tzp_[PAD_(struct timezone *)];
  712: };
  713: struct	getrusage_args {
  714: #ifdef _KERNEL
  715: 	struct sysmsg sysmsg;
  716: #endif
  717: 	union usrmsg usrmsg;
  718: 	int	who;	char who_[PAD_(int)];
  719: 	struct rusage *	rusage;	char rusage_[PAD_(struct rusage *)];
  720: };
  721: struct	getsockopt_args {
  722: #ifdef _KERNEL
  723: 	struct sysmsg sysmsg;
  724: #endif
  725: 	union usrmsg usrmsg;
  726: 	int	s;	char s_[PAD_(int)];
  727: 	int	level;	char level_[PAD_(int)];
  728: 	int	name;	char name_[PAD_(int)];
  729: 	caddr_t	val;	char val_[PAD_(caddr_t)];
  730: 	int *	avalsize;	char avalsize_[PAD_(int *)];
  731: };
  732: struct	readv_args {
  733: #ifdef _KERNEL
  734: 	struct sysmsg sysmsg;
  735: #endif
  736: 	union usrmsg usrmsg;
  737: 	int	fd;	char fd_[PAD_(int)];
  738: 	struct iovec *	iovp;	char iovp_[PAD_(struct iovec *)];
  739: 	u_int	iovcnt;	char iovcnt_[PAD_(u_int)];
  740: };
  741: struct	writev_args {
  742: #ifdef _KERNEL
  743: 	struct sysmsg sysmsg;
  744: #endif
  745: 	union usrmsg usrmsg;
  746: 	int	fd;	char fd_[PAD_(int)];
  747: 	struct iovec *	iovp;	char iovp_[PAD_(struct iovec *)];
  748: 	u_int	iovcnt;	char iovcnt_[PAD_(u_int)];
  749: };
  750: struct	settimeofday_args {
  751: #ifdef _KERNEL
  752: 	struct sysmsg sysmsg;
  753: #endif
  754: 	union usrmsg usrmsg;
  755: 	struct timeval *	tv;	char tv_[PAD_(struct timeval *)];
  756: 	struct timezone *	tzp;	char tzp_[PAD_(struct timezone *)];
  757: };
  758: struct	fchown_args {
  759: #ifdef _KERNEL
  760: 	struct sysmsg sysmsg;
  761: #endif
  762: 	union usrmsg usrmsg;
  763: 	int	fd;	char fd_[PAD_(int)];
  764: 	int	uid;	char uid_[PAD_(int)];
  765: 	int	gid;	char gid_[PAD_(int)];
  766: };
  767: struct	fchmod_args {
  768: #ifdef _KERNEL
  769: 	struct sysmsg sysmsg;
  770: #endif
  771: 	union usrmsg usrmsg;
  772: 	int	fd;	char fd_[PAD_(int)];
  773: 	int	mode;	char mode_[PAD_(int)];
  774: };
  775: struct	setreuid_args {
  776: #ifdef _KERNEL
  777: 	struct sysmsg sysmsg;
  778: #endif
  779: 	union usrmsg usrmsg;
  780: 	int	ruid;	char ruid_[PAD_(int)];
  781: 	int	euid;	char euid_[PAD_(int)];
  782: };
  783: struct	setregid_args {
  784: #ifdef _KERNEL
  785: 	struct sysmsg sysmsg;
  786: #endif
  787: 	union usrmsg usrmsg;
  788: 	int	rgid;	char rgid_[PAD_(int)];
  789: 	int	egid;	char egid_[PAD_(int)];
  790: };
  791: struct	rename_args {
  792: #ifdef _KERNEL
  793: 	struct sysmsg sysmsg;
  794: #endif
  795: 	union usrmsg usrmsg;
  796: 	char *	from;	char from_[PAD_(char *)];
  797: 	char *	to;	char to_[PAD_(char *)];
  798: };
  799: struct	flock_args {
  800: #ifdef _KERNEL
  801: 	struct sysmsg sysmsg;
  802: #endif
  803: 	union usrmsg usrmsg;
  804: 	int	fd;	char fd_[PAD_(int)];
  805: 	int	how;	char how_[PAD_(int)];
  806: };
  807: struct	mkfifo_args {
  808: #ifdef _KERNEL
  809: 	struct sysmsg sysmsg;
  810: #endif
  811: 	union usrmsg usrmsg;
  812: 	char *	path;	char path_[PAD_(char *)];
  813: 	int	mode;	char mode_[PAD_(int)];
  814: };
  815: struct	sendto_args {
  816: #ifdef _KERNEL
  817: 	struct sysmsg sysmsg;
  818: #endif
  819: 	union usrmsg usrmsg;
  820: 	int	s;	char s_[PAD_(int)];
  821: 	caddr_t	buf;	char buf_[PAD_(caddr_t)];
  822: 	size_t	len;	char len_[PAD_(size_t)];
  823: 	int	flags;	char flags_[PAD_(int)];
  824: 	caddr_t	to;	char to_[PAD_(caddr_t)];
  825: 	int	tolen;	char tolen_[PAD_(int)];
  826: };
  827: struct	shutdown_args {
  828: #ifdef _KERNEL
  829: 	struct sysmsg sysmsg;
  830: #endif
  831: 	union usrmsg usrmsg;
  832: 	int	s;	char s_[PAD_(int)];
  833: 	int	how;	char how_[PAD_(int)];
  834: };
  835: struct	socketpair_args {
  836: #ifdef _KERNEL
  837: 	struct sysmsg sysmsg;
  838: #endif
  839: 	union usrmsg usrmsg;
  840: 	int	domain;	char domain_[PAD_(int)];
  841: 	int	type;	char type_[PAD_(int)];
  842: 	int	protocol;	char protocol_[PAD_(int)];
  843: 	int *	rsv;	char rsv_[PAD_(int *)];
  844: };
  845: struct	mkdir_args {
  846: #ifdef _KERNEL
  847: 	struct sysmsg sysmsg;
  848: #endif
  849: 	union usrmsg usrmsg;
  850: 	char *	path;	char path_[PAD_(char *)];
  851: 	int	mode;	char mode_[PAD_(int)];
  852: };
  853: struct	rmdir_args {
  854: #ifdef _KERNEL
  855: 	struct sysmsg sysmsg;
  856: #endif
  857: 	union usrmsg usrmsg;
  858: 	char *	path;	char path_[PAD_(char *)];
  859: };
  860: struct	utimes_args {
  861: #ifdef _KERNEL
  862: 	struct sysmsg sysmsg;
  863: #endif
  864: 	union usrmsg usrmsg;
  865: 	char *	path;	char path_[PAD_(char *)];
  866: 	struct timeval *	tptr;	char tptr_[PAD_(struct timeval *)];
  867: };
  868: struct	adjtime_args {
  869: #ifdef _KERNEL
  870: 	struct sysmsg sysmsg;
  871: #endif
  872: 	union usrmsg usrmsg;
  873: 	struct timeval *	delta;	char delta_[PAD_(struct timeval *)];
  874: 	struct timeval *	olddelta;	char olddelta_[PAD_(struct timeval *)];
  875: };
  876: struct	ogethostid_args {
  877: #ifdef _KERNEL
  878: 	struct sysmsg sysmsg;
  879: #endif
  880: 	union usrmsg usrmsg;
  881: 	register_t dummy;
  882: };
  883: struct	setsid_args {
  884: #ifdef _KERNEL
  885: 	struct sysmsg sysmsg;
  886: #endif
  887: 	union usrmsg usrmsg;
  888: 	register_t dummy;
  889: };
  890: struct	quotactl_args {
  891: #ifdef _KERNEL
  892: 	struct sysmsg sysmsg;
  893: #endif
  894: 	union usrmsg usrmsg;
  895: 	char *	path;	char path_[PAD_(char *)];
  896: 	int	cmd;	char cmd_[PAD_(int)];
  897: 	int	uid;	char uid_[PAD_(int)];
  898: 	caddr_t	arg;	char arg_[PAD_(caddr_t)];
  899: };
  900: struct	oquota_args {
  901: #ifdef _KERNEL
  902: 	struct sysmsg sysmsg;
  903: #endif
  904: 	union usrmsg usrmsg;
  905: 	register_t dummy;
  906: };
  907: struct	nfssvc_args {
  908: #ifdef _KERNEL
  909: 	struct sysmsg sysmsg;
  910: #endif
  911: 	union usrmsg usrmsg;
  912: 	int	flag;	char flag_[PAD_(int)];
  913: 	caddr_t	argp;	char argp_[PAD_(caddr_t)];
  914: };
  915: struct	statfs_args {
  916: #ifdef _KERNEL
  917: 	struct sysmsg sysmsg;
  918: #endif
  919: 	union usrmsg usrmsg;
  920: 	char *	path;	char path_[PAD_(char *)];
  921: 	struct statfs *	buf;	char buf_[PAD_(struct statfs *)];
  922: };
  923: struct	fstatfs_args {
  924: #ifdef _KERNEL
  925: 	struct sysmsg sysmsg;
  926: #endif
  927: 	union usrmsg usrmsg;
  928: 	int	fd;	char fd_[PAD_(int)];
  929: 	struct statfs *	buf;	char buf_[PAD_(struct statfs *)];
  930: };
  931: struct	getfh_args {
  932: #ifdef _KERNEL
  933: 	struct sysmsg sysmsg;
  934: #endif
  935: 	union usrmsg usrmsg;
  936: 	char *	fname;	char fname_[PAD_(char *)];
  937: 	struct fhandle *	fhp;	char fhp_[PAD_(struct fhandle *)];
  938: };
  939: struct	getdomainname_args {
  940: #ifdef _KERNEL
  941: 	struct sysmsg sysmsg;
  942: #endif
  943: 	union usrmsg usrmsg;
  944: 	char *	domainname;	char domainname_[PAD_(char *)];
  945: 	int	len;	char len_[PAD_(int)];
  946: };
  947: struct	setdomainname_args {
  948: #ifdef _KERNEL
  949: 	struct sysmsg sysmsg;
  950: #endif
  951: 	union usrmsg usrmsg;
  952: 	char *	domainname;	char domainname_[PAD_(char *)];
  953: 	int	len;	char len_[PAD_(int)];
  954: };
  955: struct	uname_args {
  956: #ifdef _KERNEL
  957: 	struct sysmsg sysmsg;
  958: #endif
  959: 	union usrmsg usrmsg;
  960: 	struct utsname *	name;	char name_[PAD_(struct utsname *)];
  961: };
  962: struct	sysarch_args {
  963: #ifdef _KERNEL
  964: 	struct sysmsg sysmsg;
  965: #endif
  966: 	union usrmsg usrmsg;
  967: 	int	op;	char op_[PAD_(int)];
  968: 	char *	parms;	char parms_[PAD_(char *)];
  969: };
  970: struct	rtprio_args {
  971: #ifdef _KERNEL
  972: 	struct sysmsg sysmsg;
  973: #endif
  974: 	union usrmsg usrmsg;
  975: 	int	function;	char function_[PAD_(int)];
  976: 	pid_t	pid;	char pid_[PAD_(pid_t)];
  977: 	struct rtprio *	rtp;	char rtp_[PAD_(struct rtprio *)];
  978: };
  979: struct	semsys_args {
  980: #ifdef _KERNEL
  981: 	struct sysmsg sysmsg;
  982: #endif
  983: 	union usrmsg usrmsg;
  984: 	int	which;	char which_[PAD_(int)];
  985: 	int	a2;	char a2_[PAD_(int)];
  986: 	int	a3;	char a3_[PAD_(int)];
  987: 	int	a4;	char a4_[PAD_(int)];
  988: 	int	a5;	char a5_[PAD_(int)];
  989: };
  990: struct	msgsys_args {
  991: #ifdef _KERNEL
  992: 	struct sysmsg sysmsg;
  993: #endif
  994: 	union usrmsg usrmsg;
  995: 	int	which;	char which_[PAD_(int)];
  996: 	int	a2;	char a2_[PAD_(int)];
  997: 	int	a3;	char a3_[PAD_(int)];
  998: 	int	a4;	char a4_[PAD_(int)];
  999: 	int	a5;	char a5_[PAD_(int)];
 1000: 	int	a6;	char a6_[PAD_(int)];
 1001: };
 1002: struct	shmsys_args {
 1003: #ifdef _KERNEL
 1004: 	struct sysmsg sysmsg;
 1005: #endif
 1006: 	union usrmsg usrmsg;
 1007: 	int	which;	char which_[PAD_(int)];
 1008: 	int	a2;	char a2_[PAD_(int)];
 1009: 	int	a3;	char a3_[PAD_(int)];
 1010: 	int	a4;	char a4_[PAD_(int)];
 1011: };
 1012: struct	pread_args {
 1013: #ifdef _KERNEL
 1014: 	struct sysmsg sysmsg;
 1015: #endif
 1016: 	union usrmsg usrmsg;
 1017: 	int	fd;	char fd_[PAD_(int)];
 1018: 	void *	buf;	char buf_[PAD_(void *)];
 1019: 	size_t	nbyte;	char nbyte_[PAD_(size_t)];
 1020: 	int	pad;	char pad_[PAD_(int)];
 1021: 	off_t	offset;	char offset_[PAD_(off_t)];
 1022: };
 1023: struct	pwrite_args {
 1024: #ifdef _KERNEL
 1025: 	struct sysmsg sysmsg;
 1026: #endif
 1027: 	union usrmsg usrmsg;
 1028: 	int	fd;	char fd_[PAD_(int)];
 1029: 	const void *	buf;	char buf_[PAD_(const void *)];
 1030: 	size_t	nbyte;	char nbyte_[PAD_(size_t)];
 1031: 	int	pad;	char pad_[PAD_(int)];
 1032: 	off_t	offset;	char offset_[PAD_(off_t)];
 1033: };
 1034: struct	ntp_adjtime_args {
 1035: #ifdef _KERNEL
 1036: 	struct sysmsg sysmsg;
 1037: #endif
 1038: 	union usrmsg usrmsg;
 1039: 	struct timex *	tp;	char tp_[PAD_(struct timex *)];
 1040: };
 1041: struct	setgid_args {
 1042: #ifdef _KERNEL
 1043: 	struct sysmsg sysmsg;
 1044: #endif
 1045: 	union usrmsg usrmsg;
 1046: 	gid_t	gid;	char gid_[PAD_(gid_t)];
 1047: };
 1048: struct	setegid_args {
 1049: #ifdef _KERNEL
 1050: 	struct sysmsg sysmsg;
 1051: #endif
 1052: 	union usrmsg usrmsg;
 1053: 	gid_t	egid;	char egid_[PAD_(gid_t)];
 1054: };
 1055: struct	seteuid_args {
 1056: #ifdef _KERNEL
 1057: 	struct sysmsg sysmsg;
 1058: #endif
 1059: 	union usrmsg usrmsg;
 1060: 	uid_t	euid;	char euid_[PAD_(uid_t)];
 1061: };
 1062: struct	stat_args {
 1063: #ifdef _KERNEL
 1064: 	struct sysmsg sysmsg;
 1065: #endif
 1066: 	union usrmsg usrmsg;
 1067: 	char *	path;	char path_[PAD_(char *)];
 1068: 	struct stat *	ub;	char ub_[PAD_(struct stat *)];
 1069: };
 1070: struct	fstat_args {
 1071: #ifdef _KERNEL
 1072: 	struct sysmsg sysmsg;
 1073: #endif
 1074: 	union usrmsg usrmsg;
 1075: 	int	fd;	char fd_[PAD_(int)];
 1076: 	struct stat *	sb;	char sb_[PAD_(struct stat *)];
 1077: };
 1078: struct	lstat_args {
 1079: #ifdef _KERNEL
 1080: 	struct sysmsg sysmsg;
 1081: #endif
 1082: 	union usrmsg usrmsg;
 1083: 	char *	path;	char path_[PAD_(char *)];
 1084: 	struct stat *	ub;	char ub_[PAD_(struct stat *)];
 1085: };
 1086: struct	pathconf_args {
 1087: #ifdef _KERNEL
 1088: 	struct sysmsg sysmsg;
 1089: #endif
 1090: 	union usrmsg usrmsg;
 1091: 	char *	path;	char path_[PAD_(char *)];
 1092: 	int	name;	char name_[PAD_(int)];
 1093: };
 1094: struct	fpathconf_args {
 1095: #ifdef _KERNEL
 1096: 	struct sysmsg sysmsg;
 1097: #endif
 1098: 	union usrmsg usrmsg;
 1099: 	int	fd;	char fd_[PAD_(int)];
 1100: 	int	name;	char name_[PAD_(int)];
 1101: };
 1102: struct	__getrlimit_args {
 1103: #ifdef _KERNEL
 1104: 	struct sysmsg sysmsg;
 1105: #endif
 1106: 	union usrmsg usrmsg;
 1107: 	u_int	which;	char which_[PAD_(u_int)];
 1108: 	struct rlimit *	rlp;	char rlp_[PAD_(struct rlimit *)];
 1109: };
 1110: struct	__setrlimit_args {
 1111: #ifdef _KERNEL
 1112: 	struct sysmsg sysmsg;
 1113: #endif
 1114: 	union usrmsg usrmsg;
 1115: 	u_int	which;	char which_[PAD_(u_int)];
 1116: 	struct rlimit *	rlp;	char rlp_[PAD_(struct rlimit *)];
 1117: };
 1118: struct	getdirentries_args {
 1119: #ifdef _KERNEL
 1120: 	struct sysmsg sysmsg;
 1121: #endif
 1122: 	union usrmsg usrmsg;
 1123: 	int	fd;	char fd_[PAD_(int)];
 1124: 	char *	buf;	char buf_[PAD_(char *)];
 1125: 	u_int	count;	char count_[PAD_(u_int)];
 1126: 	long *	basep;	char basep_[PAD_(long *)];
 1127: };
 1128: struct	mmap_args {
 1129: #ifdef _KERNEL
 1130: 	struct sysmsg sysmsg;
 1131: #endif
 1132: 	union usrmsg usrmsg;
 1133: 	caddr_t	addr;	char addr_[PAD_(caddr_t)];
 1134: 	size_t	len;	char len_[PAD_(size_t)];
 1135: 	int	prot;	char prot_[PAD_(int)];
 1136: 	int	flags;	char flags_[PAD_(int)];
 1137: 	int	fd;	char fd_[PAD_(int)];
 1138: 	int	pad;	char pad_[PAD_(int)];
 1139: 	off_t	pos;	char pos_[PAD_(off_t)];
 1140: };
 1141: struct	lseek_args {
 1142: #ifdef _KERNEL
 1143: 	struct sysmsg sysmsg;
 1144: #endif
 1145: 	union usrmsg usrmsg;
 1146: 	int	fd;	char fd_[PAD_(int)];
 1147: 	int	pad;	char pad_[PAD_(int)];
 1148: 	off_t	offset;	char offset_[PAD_(off_t)];
 1149: 	int	whence;	char whence_[PAD_(int)];
 1150: };
 1151: struct	truncate_args {
 1152: #ifdef _KERNEL
 1153: 	struct sysmsg sysmsg;
 1154: #endif
 1155: 	union usrmsg usrmsg;
 1156: 	char *	path;	char path_[PAD_(char *)];
 1157: 	int	pad;	char pad_[PAD_(int)];
 1158: 	off_t	length;	char length_[PAD_(off_t)];
 1159: };
 1160: struct	ftruncate_args {
 1161: #ifdef _KERNEL
 1162: 	struct sysmsg sysmsg;
 1163: #endif
 1164: 	union usrmsg usrmsg;
 1165: 	int	fd;	char fd_[PAD_(int)];
 1166: 	int	pad;	char pad_[PAD_(int)];
 1167: 	off_t	length;	char length_[PAD_(off_t)];
 1168: };
 1169: struct	sysctl_args {
 1170: #ifdef _KERNEL
 1171: 	struct sysmsg sysmsg;
 1172: #endif
 1173: 	union usrmsg usrmsg;
 1174: 	int *	name;	char name_[PAD_(int *)];
 1175: 	u_int	namelen;	char namelen_[PAD_(u_int)];
 1176: 	void *	old;	char old_[PAD_(void *)];
 1177: 	size_t *	oldlenp;	char oldlenp_[PAD_(size_t *)];
 1178: 	void *	new;	char new_[PAD_(void *)];
 1179: 	size_t	newlen;	char newlen_[PAD_(size_t)];
 1180: };
 1181: struct	mlock_args {
 1182: #ifdef _KERNEL
 1183: 	struct sysmsg sysmsg;
 1184: #endif
 1185: 	union usrmsg usrmsg;
 1186: 	const void *	addr;	char addr_[PAD_(const void *)];
 1187: 	size_t	len;	char len_[PAD_(size_t)];
 1188: };
 1189: struct	munlock_args {
 1190: #ifdef _KERNEL
 1191: 	struct sysmsg sysmsg;
 1192: #endif
 1193: 	union usrmsg usrmsg;
 1194: 	const void *	addr;	char addr_[PAD_(const void *)];
 1195: 	size_t	len;	char len_[PAD_(size_t)];
 1196: };
 1197: struct	undelete_args {
 1198: #ifdef _KERNEL
 1199: 	struct sysmsg sysmsg;
 1200: #endif
 1201: 	union usrmsg usrmsg;
 1202: 	char *	path;	char path_[PAD_(char *)];
 1203: };
 1204: struct	futimes_args {
 1205: #ifdef _KERNEL
 1206: 	struct sysmsg sysmsg;
 1207: #endif
 1208: 	union usrmsg usrmsg;
 1209: 	int	fd;	char fd_[PAD_(int)];
 1210: 	struct timeval *	tptr;	char tptr_[PAD_(struct timeval *)];
 1211: };
 1212: struct	getpgid_args {
 1213: #ifdef _KERNEL
 1214: 	struct sysmsg sysmsg;
 1215: #endif
 1216: 	union usrmsg usrmsg;
 1217: 	pid_t	pid;	char pid_[PAD_(pid_t)];
 1218: };
 1219: struct	poll_args {
 1220: #ifdef _KERNEL
 1221: 	struct sysmsg sysmsg;
 1222: #endif
 1223: 	union usrmsg usrmsg;
 1224: 	struct pollfd *	fds;	char fds_[PAD_(struct pollfd *)];
 1225: 	u_int	nfds;	char nfds_[PAD_(u_int)];
 1226: 	int	timeout;	char timeout_[PAD_(int)];
 1227: };
 1228: struct	__semctl_args {
 1229: #ifdef _KERNEL
 1230: 	struct sysmsg sysmsg;
 1231: #endif
 1232: 	union usrmsg usrmsg;
 1233: 	int	semid;	char semid_[PAD_(int)];
 1234: 	int	semnum;	char semnum_[PAD_(int)];
 1235: 	int	cmd;	char cmd_[PAD_(int)];
 1236: 	union semun *	arg;	char arg_[PAD_(union semun *)];
 1237: };
 1238: struct	semget_args {
 1239: #ifdef _KERNEL
 1240: 	struct sysmsg sysmsg;
 1241: #endif
 1242: 	union usrmsg usrmsg;
 1243: 	key_t	key;	char key_[PAD_(key_t)];
 1244: 	int	nsems;	char nsems_[PAD_(int)];
 1245: 	int	semflg;	char semflg_[PAD_(int)];
 1246: };
 1247: struct	semop_args {
 1248: #ifdef _KERNEL
 1249: 	struct sysmsg sysmsg;
 1250: #endif
 1251: 	union usrmsg usrmsg;
 1252: 	int	semid;	char semid_[PAD_(int)];
 1253: 	struct sembuf *	sops;	char sops_[PAD_(struct sembuf *)];
 1254: 	u_int	nsops;	char nsops_[PAD_(u_int)];
 1255: };
 1256: struct	msgctl_args {
 1257: #ifdef _KERNEL
 1258: 	struct sysmsg sysmsg;
 1259: #endif
 1260: 	union usrmsg usrmsg;
 1261: 	int	msqid;	char msqid_[PAD_(int)];
 1262: 	int	cmd;	char cmd_[PAD_(int)];
 1263: 	struct msqid_ds *	buf;	char buf_[PAD_(struct msqid_ds *)];
 1264: };
 1265: struct	msgget_args {
 1266: #ifdef _KERNEL
 1267: 	struct sysmsg sysmsg;
 1268: #endif
 1269: 	union usrmsg usrmsg;
 1270: 	key_t	key;	char key_[PAD_(key_t)];
 1271: 	int	msgflg;	char msgflg_[PAD_(int)];
 1272: };
 1273: struct	msgsnd_args {
 1274: #ifdef _KERNEL
 1275: 	struct sysmsg sysmsg;
 1276: #endif
 1277: 	union usrmsg usrmsg;
 1278: 	int	msqid;	char msqid_[PAD_(int)];
 1279: 	void *	msgp;	char msgp_[PAD_(void *)];
 1280: 	size_t	msgsz;	char msgsz_[PAD_(size_t)];
 1281: 	int	msgflg;	char msgflg_[PAD_(int)];
 1282: };
 1283: struct	msgrcv_args {
 1284: #ifdef _KERNEL
 1285: 	struct sysmsg sysmsg;
 1286: #endif
 1287: 	union usrmsg usrmsg;
 1288: 	int	msqid;	char msqid_[PAD_(int)];
 1289: 	void *	msgp;	char msgp_[PAD_(void *)];
 1290: 	size_t	msgsz;	char msgsz_[PAD_(size_t)];
 1291: 	long	msgtyp;	char msgtyp_[PAD_(long)];
 1292: 	int	msgflg;	char msgflg_[PAD_(int)];
 1293: };
 1294: struct	shmat_args {
 1295: #ifdef _KERNEL
 1296: 	struct sysmsg sysmsg;
 1297: #endif
 1298: 	union usrmsg usrmsg;
 1299: 	int	shmid;	char shmid_[PAD_(int)];
 1300: 	void *	shmaddr;	char shmaddr_[PAD_(void *)];
 1301: 	int	shmflg;	char shmflg_[PAD_(int)];
 1302: };
 1303: struct	shmctl_args {
 1304: #ifdef _KERNEL
 1305: 	struct sysmsg sysmsg;
 1306: #endif
 1307: 	union usrmsg usrmsg;
 1308: 	int	shmid;	char shmid_[PAD_(int)];
 1309: 	int	cmd;	char cmd_[PAD_(int)];
 1310: 	struct shmid_ds *	buf;	char buf_[PAD_(struct shmid_ds *)];
 1311: };
 1312: struct	shmdt_args {
 1313: #ifdef _KERNEL
 1314: 	struct sysmsg sysmsg;
 1315: #endif
 1316: 	union usrmsg usrmsg;
 1317: 	void *	shmaddr;	char shmaddr_[PAD_(void *)];
 1318: };
 1319: struct	shmget_args {
 1320: #ifdef _KERNEL
 1321: 	struct sysmsg sysmsg;
 1322: #endif
 1323: 	union usrmsg usrmsg;
 1324: 	key_t	key;	char key_[PAD_(key_t)];
 1325: 	int	size;	char size_[PAD_(int)];
 1326: 	int	shmflg;	char shmflg_[PAD_(int)];
 1327: };
 1328: struct	clock_gettime_args {
 1329: #ifdef _KERNEL
 1330: 	struct sysmsg sysmsg;
 1331: #endif
 1332: 	union usrmsg usrmsg;
 1333: 	clockid_t	clock_id;	char clock_id_[PAD_(clockid_t)];
 1334: 	struct timespec *	tp;	char tp_[PAD_(struct timespec *)];
 1335: };
 1336: struct	clock_settime_args {
 1337: #ifdef _KERNEL
 1338: 	struct sysmsg sysmsg;
 1339: #endif
 1340: 	union usrmsg usrmsg;
 1341: 	clockid_t	clock_id;	char clock_id_[PAD_(clockid_t)];
 1342: 	const struct timespec *	tp;	char tp_[PAD_(const struct timespec *)];
 1343: };
 1344: struct	clock_getres_args {
 1345: #ifdef _KERNEL
 1346: 	struct sysmsg sysmsg;
 1347: #endif
 1348: 	union usrmsg usrmsg;
 1349: 	clockid_t	clock_id;	char clock_id_[PAD_(clockid_t)];
 1350: 	struct timespec *	tp;	char tp_[PAD_(struct timespec *)];
 1351: };
 1352: struct	nanosleep_args {
 1353: #ifdef _KERNEL
 1354: 	struct sysmsg sysmsg;
 1355: #endif
 1356: 	union usrmsg usrmsg;
 1357: 	const struct timespec *	rqtp;	char rqtp_[PAD_(const struct timespec *)];
 1358: 	struct timespec *	rmtp;	char rmtp_[PAD_(struct timespec *)];
 1359: };
 1360: struct	minherit_args {
 1361: #ifdef _KERNEL
 1362: 	struct sysmsg sysmsg;
 1363: #endif
 1364: 	union usrmsg usrmsg;
 1365: 	void *	addr;	char addr_[PAD_(void *)];
 1366: 	size_t	len;	char len_[PAD_(size_t)];
 1367: 	int	inherit;	char inherit_[PAD_(int)];
 1368: };
 1369: struct	rfork_args {
 1370: #ifdef _KERNEL
 1371: 	struct sysmsg sysmsg;
 1372: #endif
 1373: 	union usrmsg usrmsg;
 1374: 	int	flags;	char flags_[PAD_(int)];
 1375: };
 1376: struct	openbsd_poll_args {
 1377: #ifdef _KERNEL
 1378: 	struct sysmsg sysmsg;
 1379: #endif
 1380: 	union usrmsg usrmsg;
 1381: 	struct pollfd *	fds;	char fds_[PAD_(struct pollfd *)];
 1382: 	u_int	nfds;	char nfds_[PAD_(u_int)];
 1383: 	int	timeout;	char timeout_[PAD_(int)];
 1384: };
 1385: struct	issetugid_args {
 1386: #ifdef _KERNEL
 1387: 	struct sysmsg sysmsg;
 1388: #endif
 1389: 	union usrmsg usrmsg;
 1390: 	register_t dummy;
 1391: };
 1392: struct	lchown_args {
 1393: #ifdef _KERNEL
 1394: 	struct sysmsg sysmsg;
 1395: #endif
 1396: 	union usrmsg usrmsg;
 1397: 	char *	path;	char path_[PAD_(char *)];
 1398: 	int	uid;	char uid_[PAD_(int)];
 1399: 	int	gid;	char gid_[PAD_(int)];
 1400: };
 1401: struct	getdents_args {
 1402: #ifdef _KERNEL
 1403: 	struct sysmsg sysmsg;
 1404: #endif
 1405: 	union usrmsg usrmsg;
 1406: 	int	fd;	char fd_[PAD_(int)];
 1407: 	char *	buf;	char buf_[PAD_(char *)];
 1408: 	size_t	count;	char count_[PAD_(size_t)];
 1409: };
 1410: struct	lchmod_args {
 1411: #ifdef _KERNEL
 1412: 	struct sysmsg sysmsg;
 1413: #endif
 1414: 	union usrmsg usrmsg;
 1415: 	char *	path;	char path_[PAD_(char *)];
 1416: 	mode_t	mode;	char mode_[PAD_(mode_t)];
 1417: };
 1418: struct	lutimes_args {
 1419: #ifdef _KERNEL
 1420: 	struct sysmsg sysmsg;
 1421: #endif
 1422: 	union usrmsg usrmsg;
 1423: 	char *	path;	char path_[PAD_(char *)];
 1424: 	struct timeval *	tptr;	char tptr_[PAD_(struct timeval *)];
 1425: };
 1426: struct	nstat_args {
 1427: #ifdef _KERNEL
 1428: 	struct sysmsg sysmsg;
 1429: #endif
 1430: 	union usrmsg usrmsg;
 1431: 	char *	path;	char path_[PAD_(char *)];
 1432: 	struct nstat *	ub;	char ub_[PAD_(struct nstat *)];
 1433: };
 1434: struct	nfstat_args {
 1435: #ifdef _KERNEL
 1436: 	struct sysmsg sysmsg;
 1437: #endif
 1438: 	union usrmsg usrmsg;
 1439: 	int	fd;	char fd_[PAD_(int)];
 1440: 	struct nstat *	sb;	char sb_[PAD_(struct nstat *)];
 1441: };
 1442: struct	nlstat_args {
 1443: #ifdef _KERNEL
 1444: 	struct sysmsg sysmsg;
 1445: #endif
 1446: 	union usrmsg usrmsg;
 1447: 	char *	path;	char path_[PAD_(char *)];
 1448: 	struct nstat *	ub;	char ub_[PAD_(struct nstat *)];
 1449: };
 1450: struct	fhstatfs_args {
 1451: #ifdef _KERNEL
 1452: 	struct sysmsg sysmsg;
 1453: #endif
 1454: 	union usrmsg usrmsg;
 1455: 	const struct fhandle *	u_fhp;	char u_fhp_[PAD_(const struct fhandle *)];
 1456: 	struct statfs *	buf;	char buf_[PAD_(struct statfs *)];
 1457: };
 1458: struct	fhopen_args {
 1459: #ifdef _KERNEL
 1460: 	struct sysmsg sysmsg;
 1461: #endif
 1462: 	union usrmsg usrmsg;
 1463: 	const struct fhandle *	u_fhp;	char u_fhp_[PAD_(const struct fhandle *)];
 1464: 	int	flags;	char flags_[PAD_(int)];
 1465: };
 1466: struct	fhstat_args {
 1467: #ifdef _KERNEL
 1468: 	struct sysmsg sysmsg;
 1469: #endif
 1470: 	union usrmsg usrmsg;
 1471: 	const struct fhandle *	u_fhp;	char u_fhp_[PAD_(const struct fhandle *)];
 1472: 	struct stat *	sb;	char sb_[PAD_(struct stat *)];
 1473: };
 1474: struct	modnext_args {
 1475: #ifdef _KERNEL
 1476: 	struct sysmsg sysmsg;
 1477: #endif
 1478: 	union usrmsg usrmsg;
 1479: 	int	modid;	char modid_[PAD_(int)];
 1480: };
 1481: struct	modstat_args {
 1482: #ifdef _KERNEL
 1483: 	struct sysmsg sysmsg;
 1484: #endif
 1485: 	union usrmsg usrmsg;
 1486: 	int	modid;	char modid_[PAD_(int)];
 1487: 	struct module_stat *	stat;	char stat_[PAD_(struct module_stat *)];
 1488: };
 1489: struct	modfnext_args {
 1490: #ifdef _KERNEL
 1491: 	struct sysmsg sysmsg;
 1492: #endif
 1493: 	union usrmsg usrmsg;
 1494: 	int	modid;	char modid_[PAD_(int)];
 1495: };
 1496: struct	modfind_args {
 1497: #ifdef _KERNEL
 1498: 	struct sysmsg sysmsg;
 1499: #endif
 1500: 	union usrmsg usrmsg;
 1501: 	const char *	name;	char name_[PAD_(const char *)];
 1502: };
 1503: struct	kldload_args {
 1504: #ifdef _KERNEL
 1505: 	struct sysmsg sysmsg;
 1506: #endif
 1507: 	union usrmsg usrmsg;
 1508: 	const char *	file;	char file_[PAD_(const char *)];
 1509: };
 1510: struct	kldunload_args {
 1511: #ifdef _KERNEL
 1512: 	struct sysmsg sysmsg;
 1513: #endif
 1514: 	union usrmsg usrmsg;
 1515: 	int	fileid;	char fileid_[PAD_(int)];
 1516: };
 1517: struct	kldfind_args {
 1518: #ifdef _KERNEL
 1519: 	struct sysmsg sysmsg;
 1520: #endif
 1521: 	union usrmsg usrmsg;
 1522: 	const char *	file;	char file_[PAD_(const char *)];
 1523: };
 1524: struct	kldnext_args {
 1525: #ifdef _KERNEL
 1526: 	struct sysmsg sysmsg;
 1527: #endif
 1528: 	union usrmsg usrmsg;
 1529: 	int	fileid;	char fileid_[PAD_(int)];
 1530: };
 1531: struct	kldstat_args {
 1532: #ifdef _KERNEL
 1533: 	struct sysmsg sysmsg;
 1534: #endif
 1535: 	union usrmsg usrmsg;
 1536: 	int	fileid;	char fileid_[PAD_(int)];
 1537: 	struct kld_file_stat *	stat;	char stat_[PAD_(struct kld_file_stat *)];
 1538: };
 1539: struct	kldfirstmod_args {
 1540: #ifdef _KERNEL
 1541: 	struct sysmsg sysmsg;
 1542: #endif
 1543: 	union usrmsg usrmsg;
 1544: 	int	fileid;	char fileid_[PAD_(int)];
 1545: };
 1546: struct	getsid_args {
 1547: #ifdef _KERNEL
 1548: 	struct sysmsg sysmsg;
 1549: #endif
 1550: 	union usrmsg usrmsg;
 1551: 	pid_t	pid;	char pid_[PAD_(pid_t)];
 1552: };
 1553: struct	setresuid_args {
 1554: #ifdef _KERNEL
 1555: 	struct sysmsg sysmsg;
 1556: #endif
 1557: 	union usrmsg usrmsg;
 1558: 	uid_t	ruid;	char ruid_[PAD_(uid_t)];
 1559: 	uid_t	euid;	char euid_[PAD_(uid_t)];
 1560: 	uid_t	suid;	char suid_[PAD_(uid_t)];
 1561: };
 1562: struct	setresgid_args {
 1563: #ifdef _KERNEL
 1564: 	struct sysmsg sysmsg;
 1565: #endif
 1566: 	union usrmsg usrmsg;
 1567: 	gid_t	rgid;	char rgid_[PAD_(gid_t)];
 1568: 	gid_t	egid;	char egid_[PAD_(gid_t)];
 1569: 	gid_t	sgid;	char sgid_[PAD_(gid_t)];
 1570: };
 1571: struct	aio_return_args {
 1572: #ifdef _KERNEL
 1573: 	struct sysmsg sysmsg;
 1574: #endif
 1575: 	union usrmsg usrmsg;
 1576: 	struct aiocb *	aiocbp;	char aiocbp_[PAD_(struct aiocb *)];
 1577: };
 1578: struct	aio_suspend_args {
 1579: #ifdef _KERNEL
 1580: 	struct sysmsg sysmsg;
 1581: #endif
 1582: 	union usrmsg usrmsg;
 1583: 	struct aiocb *const *	aiocbp;	char aiocbp_[PAD_(struct aiocb *const *)];
 1584: 	int	nent;	char nent_[PAD_(int)];
 1585: 	const struct timespec *	timeout;	char timeout_[PAD_(const struct timespec *)];
 1586: };
 1587: struct	aio_cancel_args {
 1588: #ifdef _KERNEL
 1589: 	struct sysmsg sysmsg;
 1590: #endif
 1591: 	union usrmsg usrmsg;
 1592: 	int	fd;	char fd_[PAD_(int)];
 1593: 	struct aiocb *	aiocbp;	char aiocbp_[PAD_(struct aiocb *)];
 1594: };
 1595: struct	aio_error_args {
 1596: #ifdef _KERNEL
 1597: 	struct sysmsg sysmsg;
 1598: #endif
 1599: 	union usrmsg usrmsg;
 1600: 	struct aiocb *	aiocbp;	char aiocbp_[PAD_(struct aiocb *)];
 1601: };
 1602: struct	aio_read_args {
 1603: #ifdef _KERNEL
 1604: 	struct sysmsg sysmsg;
 1605: #endif
 1606: 	union usrmsg usrmsg;
 1607: 	struct aiocb *	aiocbp;	char aiocbp_[PAD_(struct aiocb *)];
 1608: };
 1609: struct	aio_write_args {
 1610: #ifdef _KERNEL
 1611: 	struct sysmsg sysmsg;
 1612: #endif
 1613: 	union usrmsg usrmsg;
 1614: 	struct aiocb *	aiocbp;	char aiocbp_[PAD_(struct aiocb *)];
 1615: };
 1616: struct	lio_listio_args {
 1617: #ifdef _KERNEL
 1618: 	struct sysmsg sysmsg;
 1619: #endif
 1620: 	union usrmsg usrmsg;
 1621: 	int	mode;	char mode_[PAD_(int)];
 1622: 	struct aiocb *const *	acb_list;	char acb_list_[PAD_(struct aiocb *const *)];
 1623: 	int	nent;	char nent_[PAD_(int)];
 1624: 	struct sigevent *	sig;	char sig_[PAD_(struct sigevent *)];
 1625: };
 1626: struct	yield_args {
 1627: #ifdef _KERNEL
 1628: 	struct sysmsg sysmsg;
 1629: #endif
 1630: 	union usrmsg usrmsg;
 1631: 	register_t dummy;
 1632: };
 1633: struct	thr_sleep_args {
 1634: #ifdef _KERNEL
 1635: 	struct sysmsg sysmsg;
 1636: #endif
 1637: 	union usrmsg usrmsg;
 1638: 	const struct timespec *	timeout;	char timeout_[PAD_(const struct timespec *)];
 1639: };
 1640: struct	thr_wakeup_args {
 1641: #ifdef _KERNEL
 1642: 	struct sysmsg sysmsg;
 1643: #endif
 1644: 	union usrmsg usrmsg;
 1645: 	pid_t	pid;	char pid_[PAD_(pid_t)];
 1646: };
 1647: struct	mlockall_args {
 1648: #ifdef _KERNEL
 1649: 	struct sysmsg sysmsg;
 1650: #endif
 1651: 	union usrmsg usrmsg;
 1652: 	int	how;	char how_[PAD_(int)];
 1653: };
 1654: struct	munlockall_args {
 1655: #ifdef _KERNEL
 1656: 	struct sysmsg sysmsg;
 1657: #endif
 1658: 	union usrmsg usrmsg;
 1659: 	register_t dummy;
 1660: };
 1661: struct	__getcwd_args {
 1662: #ifdef _KERNEL
 1663: 	struct sysmsg sysmsg;
 1664: #endif
 1665: 	union usrmsg usrmsg;
 1666: 	u_char *	buf;	char buf_[PAD_(u_char *)];
 1667: 	u_int	buflen;	char buflen_[PAD_(u_int)];
 1668: };
 1669: struct	sched_setparam_args {
 1670: #ifdef _KERNEL
 1671: 	struct sysmsg sysmsg;
 1672: #endif
 1673: 	union usrmsg usrmsg;
 1674: 	pid_t	pid;	char pid_[PAD_(pid_t)];
 1675: 	const struct sched_param *	param;	char param_[PAD_(const struct sched_param *)];
 1676: };
 1677: struct	sched_getparam_args {
 1678: #ifdef _KERNEL
 1679: 	struct sysmsg sysmsg;
 1680: #endif
 1681: 	union usrmsg usrmsg;
 1682: 	pid_t	pid;	char pid_[PAD_(pid_t)];
 1683: 	struct sched_param *	param;	char param_[PAD_(struct sched_param *)];
 1684: };
 1685: struct	sched_setscheduler_args {
 1686: #ifdef _KERNEL
 1687: 	struct sysmsg sysmsg;
 1688: #endif
 1689: 	union usrmsg usrmsg;
 1690: 	pid_t	pid;	char pid_[PAD_(pid_t)];
 1691: 	int	policy;	char policy_[PAD_(int)];
 1692: 	const struct sched_param *	param;	char param_[PAD_(const struct sched_param *)];
 1693: };
 1694: struct	sched_getscheduler_args {
 1695: #ifdef _KERNEL
 1696: 	struct sysmsg sysmsg;
 1697: #endif
 1698: 	union usrmsg usrmsg;
 1699: 	pid_t	pid;	char pid_[PAD_(pid_t)];
 1700: };
 1701: struct	sched_yield_args {
 1702: #ifdef _KERNEL
 1703: 	struct sysmsg sysmsg;
 1704: #endif
 1705: 	union usrmsg usrmsg;
 1706: 	register_t dummy;
 1707: };
 1708: struct	sched_get_priority_max_args {
 1709: #ifdef _KERNEL
 1710: 	struct sysmsg sysmsg;
 1711: #endif
 1712: 	union usrmsg usrmsg;
 1713: 	int	policy;	char policy_[PAD_(int)];
 1714: };
 1715: struct	sched_get_priority_min_args {
 1716: #ifdef _KERNEL
 1717: 	struct sysmsg sysmsg;
 1718: #endif
 1719: 	union usrmsg usrmsg;
 1720: 	int	policy;	char policy_[PAD_(int)];
 1721: };
 1722: struct	sched_rr_get_interval_args {
 1723: #ifdef _KERNEL
 1724: 	struct sysmsg sysmsg;
 1725: #endif
 1726: 	union usrmsg usrmsg;
 1727: 	pid_t	pid;	char pid_[PAD_(pid_t)];
 1728: 	struct timespec *	interval;	char interval_[PAD_(struct timespec *)];
 1729: };
 1730: struct	utrace_args {
 1731: #ifdef _KERNEL
 1732: 	struct sysmsg sysmsg;
 1733: #endif
 1734: 	union usrmsg usrmsg;
 1735: 	const void *	addr;	char addr_[PAD_(const void *)];
 1736: 	size_t	len;	char len_[PAD_(size_t)];
 1737: };
 1738: struct	kldsym_args {
 1739: #ifdef _KERNEL
 1740: 	struct sysmsg sysmsg;
 1741: #endif
 1742: 	union usrmsg usrmsg;
 1743: 	int	fileid;	char fileid_[PAD_(int)];
 1744: 	int	cmd;	char cmd_[PAD_(int)];
 1745: 	void *	data;	char data_[PAD_(void *)];
 1746: };
 1747: struct	jail_args {
 1748: #ifdef _KERNEL
 1749: 	struct sysmsg sysmsg;
 1750: #endif
 1751: 	union usrmsg usrmsg;
 1752: 	struct jail *	jail;	char jail_[PAD_(struct jail *)];
 1753: };
 1754: struct	sigprocmask_args {
 1755: #ifdef _KERNEL
 1756: 	struct sysmsg sysmsg;
 1757: #endif
 1758: 	union usrmsg usrmsg;
 1759: 	int	how;	char how_[PAD_(int)];
 1760: 	const sigset_t *	set;	char set_[PAD_(const sigset_t *)];
 1761: 	sigset_t *	oset;	char oset_[PAD_(sigset_t *)];
 1762: };
 1763: struct	sigsuspend_args {
 1764: #ifdef _KERNEL
 1765: 	struct sysmsg sysmsg;
 1766: #endif
 1767: 	union usrmsg usrmsg;
 1768: 	const sigset_t *	sigmask;	char sigmask_[PAD_(const sigset_t *)];
 1769: };
 1770: struct	sigaction_args {
 1771: #ifdef _KERNEL
 1772: 	struct sysmsg sysmsg;
 1773: #endif
 1774: 	union usrmsg usrmsg;
 1775: 	int	sig;	char sig_[PAD_(int)];
 1776: 	const struct sigaction *	act;	char act_[PAD_(const struct sigaction *)];
 1777: 	struct sigaction *	oact;	char oact_[PAD_(struct sigaction *)];
 1778: };
 1779: struct	sigpending_args {
 1780: #ifdef _KERNEL
 1781: 	struct sysmsg sysmsg;
 1782: #endif
 1783: 	union usrmsg usrmsg;
 1784: 	sigset_t *	set;	char set_[PAD_(sigset_t *)];
 1785: };
 1786: struct	sigreturn_args {
 1787: #ifdef _KERNEL
 1788: 	struct sysmsg sysmsg;
 1789: #endif
 1790: 	union usrmsg usrmsg;
 1791: 	ucontext_t *	sigcntxp;	char sigcntxp_[PAD_(ucontext_t *)];
 1792: };
 1793: struct	__acl_get_file_args {
 1794: #ifdef _KERNEL
 1795: 	struct sysmsg sysmsg;
 1796: #endif
 1797: 	union usrmsg usrmsg;
 1798: 	const char *	path;	char path_[PAD_(const char *)];
 1799: 	acl_type_t	type;	char type_[PAD_(acl_type_t)];
 1800: 	struct acl *	aclp;	char aclp_[PAD_(struct acl *)];
 1801: };
 1802: struct	__acl_set_file_args {
 1803: #ifdef _KERNEL
 1804: 	struct sysmsg sysmsg;
 1805: #endif
 1806: 	union usrmsg usrmsg;
 1807: 	const char *	path;	char path_[PAD_(const char *)];
 1808: 	acl_type_t	type;	char type_[PAD_(acl_type_t)];
 1809: 	struct acl *	aclp;	char aclp_[PAD_(struct acl *)];
 1810: };
 1811: struct	__acl_get_fd_args {
 1812: #ifdef _KERNEL
 1813: 	struct sysmsg sysmsg;
 1814: #endif
 1815: 	union usrmsg usrmsg;
 1816: 	int	filedes;	char filedes_[PAD_(int)];
 1817: 	acl_type_t	type;	char type_[PAD_(acl_type_t)];
 1818: 	struct acl *	aclp;	char aclp_[PAD_(struct acl *)];
 1819: };
 1820: struct	__acl_set_fd_args {
 1821: #ifdef _KERNEL
 1822: 	struct sysmsg sysmsg;
 1823: #endif
 1824: 	union usrmsg usrmsg;
 1825: 	int	filedes;	char filedes_[PAD_(int)];
 1826: 	acl_type_t	type;	char type_[PAD_(acl_type_t)];
 1827: 	struct acl *	aclp;	char aclp_[PAD_(struct acl *)];
 1828: };
 1829: struct	__acl_delete_file_args {
 1830: #ifdef _KERNEL
 1831: 	struct sysmsg sysmsg;
 1832: #endif
 1833: 	union usrmsg usrmsg;
 1834: 	const char *	path;	char path_[PAD_(const char *)];
 1835: 	acl_type_t	type;	char type_[PAD_(acl_type_t)];
 1836: };
 1837: struct	__acl_delete_fd_args {
 1838: #ifdef _KERNEL
 1839: 	struct sysmsg sysmsg;
 1840: #endif
 1841: 	union usrmsg usrmsg;
 1842: 	int	filedes;	char filedes_[PAD_(int)];
 1843: 	acl_type_t	type;	char type_[PAD_(acl_type_t)];
 1844: };
 1845: struct	__acl_aclcheck_file_args {
 1846: #ifdef _KERNEL
 1847: 	struct sysmsg sysmsg;
 1848: #endif
 1849: 	union usrmsg usrmsg;
 1850: 	const char *	path;	char path_[PAD_(const char *)];
 1851: 	acl_type_t	type;	char type_[PAD_(acl_type_t)];
 1852: 	struct acl *	aclp;	char aclp_[PAD_(struct acl *)];
 1853: };
 1854: struct	__acl_aclcheck_fd_args {
 1855: #ifdef _KERNEL
 1856: 	struct sysmsg sysmsg;
 1857: #endif
 1858: 	union usrmsg usrmsg;
 1859: 	int	filedes;	char filedes_[PAD_(int)];
 1860: 	acl_type_t	type;	char type_[PAD_(acl_type_t)];
 1861: 	struct acl *	aclp;	char aclp_[PAD_(struct acl *)];
 1862: };
 1863: struct	extattrctl_args {
 1864: #ifdef _KERNEL
 1865: 	struct sysmsg sysmsg;
 1866: #endif
 1867: 	union usrmsg usrmsg;
 1868: 	const char *	path;	char path_[PAD_(const char *)];
 1869: 	int	cmd;	char cmd_[PAD_(int)];
 1870: 	const char *	attrname;	char attrname_[PAD_(const char *)];
 1871: 	char *	arg;	char arg_[PAD_(char *)];
 1872: };
 1873: struct	extattr_set_file_args {
 1874: #ifdef _KERNEL
 1875: 	struct sysmsg sysmsg;
 1876: #endif
 1877: 	union usrmsg usrmsg;
 1878: 	const char *	path;	char path_[PAD_(const char *)];
 1879: 	const char *	attrname;	char attrname_[PAD_(const char *)];
 1880: 	struct iovec *	iovp;	char iovp_[PAD_(struct iovec *)];
 1881: 	unsigned	iovcnt;	char iovcnt_[PAD_(unsigned)];
 1882: };
 1883: struct	extattr_get_file_args {
 1884: #ifdef _KERNEL
 1885: 	struct sysmsg sysmsg;
 1886: #endif
 1887: 	union usrmsg usrmsg;
 1888: 	const char *	path;	char path_[PAD_(const char *)];
 1889: 	const char *	attrname;	char attrname_[PAD_(const char *)];
 1890: 	struct iovec *	iovp;	char iovp_[PAD_(struct iovec *)];
 1891: 	unsigned	iovcnt;	char iovcnt_[PAD_(unsigned)];
 1892: };
 1893: struct	extattr_delete_file_args {
 1894: #ifdef _KERNEL
 1895: 	struct sysmsg sysmsg;
 1896: #endif
 1897: 	union usrmsg usrmsg;
 1898: 	const char *	path;	char path_[PAD_(const char *)];
 1899: 	const char *	attrname;	char attrname_[PAD_(const char *)];
 1900: };
 1901: struct	aio_waitcomplete_args {
 1902: #ifdef _KERNEL
 1903: 	struct sysmsg sysmsg;
 1904: #endif
 1905: 	union usrmsg usrmsg;
 1906: 	struct aiocb **	aiocbp;	char aiocbp_[PAD_(struct aiocb **)];
 1907: 	struct timespec *	timeout;	char timeout_[PAD_(struct timespec *)];
 1908: };
 1909: struct	getresuid_args {
 1910: #ifdef _KERNEL
 1911: 	struct sysmsg sysmsg;
 1912: #endif
 1913: 	union usrmsg usrmsg;
 1914: 	uid_t *	ruid;	char ruid_[PAD_(uid_t *)];
 1915: 	uid_t *	euid;	char euid_[PAD_(uid_t *)];
 1916: 	uid_t *	suid;	char suid_[PAD_(uid_t *)];
 1917: };
 1918: struct	getresgid_args {
 1919: #ifdef _KERNEL
 1920: 	struct sysmsg sysmsg;
 1921: #endif
 1922: 	union usrmsg usrmsg;
 1923: 	gid_t *	rgid;	char rgid_[PAD_(gid_t *)];
 1924: 	gid_t *	egid;	char egid_[PAD_(gid_t *)];
 1925: 	gid_t *	sgid;	char sgid_[PAD_(gid_t *)];
 1926: };
 1927: struct	kqueue_args {
 1928: #ifdef _KERNEL
 1929: 	struct sysmsg sysmsg;
 1930: #endif
 1931: 	union usrmsg usrmsg;
 1932: 	register_t dummy;
 1933: };
 1934: struct	kevent_args {
 1935: #ifdef _KERNEL
 1936: 	struct sysmsg sysmsg;
 1937: #endif
 1938: 	union usrmsg usrmsg;
 1939: 	int	fd;	char fd_[PAD_(int)];
 1940: 	const struct kevent *	changelist;	char changelist_[PAD_(const struct kevent *)];
 1941: 	int	nchanges;	char nchanges_[PAD_(int)];
 1942: 	struct kevent *	eventlist;	char eventlist_[PAD_(struct kevent *)];
 1943: 	int	nevents;	char nevents_[PAD_(int)];
 1944: 	const struct timespec *	timeout;	char timeout_[PAD_(const struct timespec *)];
 1945: };
 1946: struct	sendfile_args {
 1947: #ifdef _KERNEL
 1948: 	struct sysmsg sysmsg;
 1949: #endif
 1950: 	union usrmsg usrmsg;
 1951: 	int	fd;	char fd_[PAD_(int)];
 1952: 	int	s;	char s_[PAD_(int)];
 1953: 	off_t	offset;	char offset_[PAD_(off_t)];
 1954: 	size_t	nbytes;	char nbytes_[PAD_(size_t)];
 1955: 	struct sf_hdtr *	hdtr;	char hdtr_[PAD_(struct sf_hdtr *)];
 1956: 	off_t *	sbytes;	char sbytes_[PAD_(off_t *)];
 1957: 	int	flags;	char flags_[PAD_(int)];
 1958: };
 1959: struct	varsym_set_args {
 1960: #ifdef _KERNEL
 1961: 	struct sysmsg sysmsg;
 1962: #endif
 1963: 	union usrmsg usrmsg;
 1964: 	int	level;	char level_[PAD_(int)];
 1965: 	const char *	name;	char name_[PAD_(const char *)];
 1966: 	const char *	data;	char data_[PAD_(const char *)];
 1967: };
 1968: struct	varsym_get_args {
 1969: #ifdef _KERNEL
 1970: 	struct sysmsg sysmsg;
 1971: #endif
 1972: 	union usrmsg usrmsg;
 1973: 	int	mask;	char mask_[PAD_(int)];
 1974: 	const char *	wild;	char wild_[PAD_(const char *)];
 1975: 	char *	buf;	char buf_[PAD_(char *)];
 1976: 	int	bufsize;	char bufsize_[PAD_(int)];
 1977: };
 1978: struct	varsym_list_args {
 1979: #ifdef _KERNEL
 1980: 	struct sysmsg sysmsg;
 1981: #endif
 1982: 	union usrmsg usrmsg;
 1983: 	int	level;	char level_[PAD_(int)];
 1984: 	char *	buf;	char buf_[PAD_(char *)];
 1985: 	int	maxsize;	char maxsize_[PAD_(int)];
 1986: 	int *	marker;	char marker_[PAD_(int *)];
 1987: };
 1988: struct	upc_register_args {
 1989: #ifdef _KERNEL
 1990: 	struct sysmsg sysmsg;
 1991: #endif
 1992: 	union usrmsg usrmsg;
 1993: 	struct upcall *	upc;	char upc_[PAD_(struct upcall *)];
 1994: 	void *	ctxfunc;	char ctxfunc_[PAD_(void *)];
 1995: 	void *	func;	char func_[PAD_(void *)];
 1996: 	void *	data;	char data_[PAD_(void *)];
 1997: };
 1998: struct	upc_control_args {
 1999: #ifdef _KERNEL
 2000: 	struct sysmsg sysmsg;
 2001: #endif
 2002: 	union usrmsg usrmsg;
 2003: 	int	cmd;	char cmd_[PAD_(int)];
 2004: 	int	upcid;	char upcid_[PAD_(int)];
 2005: 	void *	data;	char data_[PAD_(void *)];
 2006: };
 2007: struct	caps_sys_service_args {
 2008: #ifdef _KERNEL
 2009: 	struct sysmsg sysmsg;
 2010: #endif
 2011: 	union usrmsg usrmsg;
 2012: 	const char *	name;	char name_[PAD_(const char *)];
 2013: 	uid_t	uid;	char uid_[PAD_(uid_t)];
 2014: 	gid_t	gid;	char gid_[PAD_(gid_t)];
 2015: 	int	upcid;	char upcid_[PAD_(int)];
 2016: 	int	flags;	char flags_[PAD_(int)];
 2017: };
 2018: struct	caps_sys_client_args {
 2019: #ifdef _KERNEL
 2020: 	struct sysmsg sysmsg;
 2021: #endif
 2022: 	union usrmsg usrmsg;
 2023: 	const char *	name;	char name_[PAD_(const char *)];
 2024: 	uid_t	uid;	char uid_[PAD_(uid_t)];
 2025: 	gid_t	gid;	char gid_[PAD_(gid_t)];
 2026: 	int	upcid;	char upcid_[PAD_(int)];
 2027: 	int	flags;	char flags_[PAD_(int)];
 2028: };
 2029: struct	caps_sys_close_args {
 2030: #ifdef _KERNEL
 2031: 	struct sysmsg sysmsg;
 2032: #endif
 2033: 	union usrmsg usrmsg;
 2034: 	int	portid;	char portid_[PAD_(int)];
 2035: };
 2036: struct	caps_sys_put_args {
 2037: #ifdef _KERNEL
 2038: 	struct sysmsg sysmsg;
 2039: #endif
 2040: 	union usrmsg usrmsg;
 2041: 	int	portid;	char portid_[PAD_(int)];
 2042: 	void *	msg;	char msg_[PAD_(void *)];
 2043: 	int	msgsize;	char msgsize_[PAD_(int)];
 2044: };
 2045: struct	caps_sys_reply_args {
 2046: #ifdef _KERNEL
 2047: 	struct sysmsg sysmsg;
 2048: #endif
 2049: 	union usrmsg usrmsg;
 2050: 	int	portid;	char portid_[PAD_(int)];
 2051: 	void *	msg;	char msg_[PAD_(void *)];
 2052: 	int	msgsize;	char msgsize_[PAD_(int)];
 2053: 	off_t	msgcid;	char msgcid_[PAD_(off_t)];
 2054: };
 2055: struct	caps_sys_get_args {
 2056: #ifdef _KERNEL
 2057: 	struct sysmsg sysmsg;
 2058: #endif
 2059: 	union usrmsg usrmsg;
 2060: 	int	portid;	char portid_[PAD_(int)];
 2061: 	void *	msg;	char msg_[PAD_(void *)];
 2062: 	int	maxsize;	char maxsize_[PAD_(int)];
 2063: 	struct caps_msgid *	msgid;	char msgid_[PAD_(struct caps_msgid *)];
 2064: 	struct caps_cred *	ccr;	char ccr_[PAD_(struct caps_cred *)];
 2065: };
 2066: struct	caps_sys_wait_args {
 2067: #ifdef _KERNEL
 2068: 	struct sysmsg sysmsg;
 2069: #endif
 2070: 	union usrmsg usrmsg;
 2071: 	int	portid;	char portid_[PAD_(int)];
 2072: 	void *	msg;	char msg_[PAD_(void *)];
 2073: 	int	maxsize;	char maxsize_[PAD_(int)];
 2074: 	struct caps_msgid *	msgid;	char msgid_[PAD_(struct caps_msgid *)];
 2075: 	struct caps_cred *	ccr;	char ccr_[PAD_(struct caps_cred *)];
 2076: };
 2077: struct	caps_sys_abort_args {
 2078: #ifdef _KERNEL
 2079: 	struct sysmsg sysmsg;
 2080: #endif
 2081: 	union usrmsg usrmsg;
 2082: 	int	portid;	char portid_[PAD_(int)];
 2083: 	off_t	msgcid;	char msgcid_[PAD_(off_t)];
 2084: 	int	flags;	char flags_[PAD_(int)];
 2085: };
 2086: struct	exec_sys_register_args {
 2087: #ifdef _KERNEL
 2088: 	struct sysmsg sysmsg;
 2089: #endif
 2090: 	union usrmsg usrmsg;
 2091: 	void *	entry;	char entry_[PAD_(void *)];
 2092: };
 2093: struct	exec_sys_unregister_args {
 2094: #ifdef _KERNEL
 2095: 	struct sysmsg sysmsg;
 2096: #endif
 2097: 	union usrmsg usrmsg;
 2098: 	int	id;	char id_[PAD_(int)];
 2099: };
 2100: 
 2101: #ifdef _KERNEL
 2102: 
 2103: int	nosys (struct nosys_args *);
 2104: void	sys_exit (struct sys_exit_args *);
 2105: int	fork (struct fork_args *);
 2106: int	read (struct read_args *);
 2107: int	write (struct write_args *);
 2108: int	open (struct open_args *);
 2109: int	close (struct close_args *);
 2110: int	wait4 (struct wait_args *);
 2111: int	link (struct link_args *);
 2112: int	unlink (struct unlink_args *);
 2113: int	chdir (struct chdir_args *);
 2114: int	fchdir (struct fchdir_args *);
 2115: int	mknod (struct mknod_args *);
 2116: int	chmod (struct chmod_args *);
 2117: int	chown (struct chown_args *);
 2118: int	obreak (struct obreak_args *);
 2119: int	getfsstat (struct getfsstat_args *);
 2120: int	getpid (struct getpid_args *);
 2121: int	mount (struct mount_args *);
 2122: int	unmount (struct unmount_args *);
 2123: int	setuid (struct setuid_args *);
 2124: int	getuid (struct getuid_args *);
 2125: int	geteuid (struct geteuid_args *);
 2126: int	ptrace (struct ptrace_args *);
 2127: int	recvmsg (struct recvmsg_args *);
 2128: int	sendmsg (struct sendmsg_args *);
 2129: int	recvfrom (struct recvfrom_args *);
 2130: int	accept (struct accept_args *);
 2131: int	getpeername (struct getpeername_args *);
 2132: int	getsockname (struct getsockname_args *);
 2133: int	access (struct access_args *);
 2134: int	chflags (struct chflags_args *);
 2135: int	fchflags (struct fchflags_args *);
 2136: int	sync (struct sync_args *);
 2137: int	kill (struct kill_args *);
 2138: int	getppid (struct getppid_args *);
 2139: int	dup (struct dup_args *);
 2140: int	pipe (struct pipe_args *);
 2141: int	getegid (struct getegid_args *);
 2142: int	profil (struct profil_args *);
 2143: int	ktrace (struct ktrace_args *);
 2144: int	getgid (struct getgid_args *);
 2145: int	getlogin (struct getlogin_args *);
 2146: int	setlogin (struct setlogin_args *);
 2147: int	acct (struct acct_args *);
 2148: int	sigaltstack (struct sigaltstack_args *);
 2149: int	ioctl (struct ioctl_args *);
 2150: int	reboot (struct reboot_args *);
 2151: int	revoke (struct revoke_args *);
 2152: int	symlink (struct symlink_args *);
 2153: int	readlink (struct readlink_args *);
 2154: int	execve (struct execve_args *);
 2155: int	umask (struct umask_args *);
 2156: int	chroot (struct chroot_args *);
 2157: int	msync (struct msync_args *);
 2158: int	vfork (struct vfork_args *);
 2159: int	sbrk (struct sbrk_args *);
 2160: int	sstk (struct sstk_args *);
 2161: int	ovadvise (struct ovadvise_args *);
 2162: int	munmap (struct munmap_args *);
 2163: int	mprotect (struct mprotect_args *);
 2164: int	madvise (struct madvise_args *);
 2165: int	mincore (struct mincore_args *);
 2166: int	getgroups (struct getgroups_args *);
 2167: int	setgroups (struct setgroups_args *);
 2168: int	getpgrp (struct getpgrp_args *);
 2169: int	setpgid (struct setpgid_args *);
 2170: int	setitimer (struct setitimer_args *);
 2171: int	swapon (struct swapon_args *);
 2172: int	getitimer (struct getitimer_args *);
 2173: int	getdtablesize (struct getdtablesize_args *);
 2174: int	dup2 (struct dup2_args *);
 2175: int	fcntl (struct fcntl_args *);
 2176: int	select (struct select_args *);
 2177: int	fsync (struct fsync_args *);
 2178: int	setpriority (struct setpriority_args *);
 2179: int	socket (struct socket_args *);
 2180: int	connect (struct connect_args *);
 2181: int	getpriority (struct getpriority_args *);
 2182: int	bind (struct bind_args *);
 2183: int	setsockopt (struct setsockopt_args *);
 2184: int	listen (struct listen_args *);
 2185: int	gettimeofday (struct gettimeofday_args *);
 2186: int	getrusage (struct getrusage_args *);
 2187: int	getsockopt (struct getsockopt_args *);
 2188: int	readv (struct readv_args *);
 2189: int	writev (struct writev_args *);
 2190: int	settimeofday (struct settimeofday_args *);
 2191: int	fchown (struct fchown_args *);
 2192: int	fchmod (struct fchmod_args *);
 2193: int	setreuid (struct setreuid_args *);
 2194: int	setregid (struct setregid_args *);
 2195: int	rename (struct rename_args *);
 2196: int	flock (struct flock_args *);
 2197: int	mkfifo (struct mkfifo_args *);
 2198: int	sendto (struct sendto_args *);
 2199: int	shutdown (struct shutdown_args *);
 2200: int	socketpair (struct socketpair_args *);
 2201: int	mkdir (struct mkdir_args *);
 2202: int	rmdir (struct rmdir_args *);
 2203: int	utimes (struct utimes_args *);
 2204: int	adjtime (struct adjtime_args *);
 2205: int	setsid (struct setsid_args *);
 2206: int	quotactl (struct quotactl_args *);
 2207: int	nfssvc (struct nfssvc_args *);
 2208: int	statfs (struct statfs_args *);
 2209: int	fstatfs (struct fstatfs_args *);
 2210: int	getfh (struct getfh_args *);
 2211: int	getdomainname (struct getdomainname_args *);
 2212: int	setdomainname (struct setdomainname_args *);
 2213: int	uname (struct uname_args *);
 2214: int	sysarch (struct sysarch_args *);
 2215: int	rtprio (struct rtprio_args *);
 2216: int	semsys (struct semsys_args *);
 2217: int	msgsys (struct msgsys_args *);
 2218: int	shmsys (struct shmsys_args *);
 2219: int	pread (struct pread_args *);
 2220: int	pwrite (struct pwrite_args *);
 2221: int	ntp_adjtime (struct ntp_adjtime_args *);
 2222: int	setgid (struct setgid_args *);
 2223: int	setegid (struct setegid_args *);
 2224: int	seteuid (struct seteuid_args *);
 2225: int	stat (struct stat_args *);
 2226: int	fstat (struct fstat_args *);
 2227: int	lstat (struct lstat_args *);
 2228: int	pathconf (struct pathconf_args *);
 2229: int	fpathconf (struct fpathconf_args *);
 2230: int	getrlimit (struct __getrlimit_args *);
 2231: int	setrlimit (struct __setrlimit_args *);
 2232: int	getdirentries (struct getdirentries_args *);
 2233: int	mmap (struct mmap_args *);
 2234: int	lseek (struct lseek_args *);
 2235: int	truncate (struct truncate_args *);
 2236: int	ftruncate (struct ftruncate_args *);
 2237: int	__sysctl (struct sysctl_args *);
 2238: int	mlock (struct mlock_args *);
 2239: int	munlock (struct munlock_args *);
 2240: int	undelete (struct undelete_args *);
 2241: int	futimes (struct futimes_args *);
 2242: int	getpgid (struct getpgid_args *);
 2243: int	poll (struct poll_args *);
 2244: int	lkmnosys (struct nosys_args *);
 2245: int	__semctl (struct __semctl_args *);
 2246: int	semget (struct semget_args *);
 2247: int	semop (struct semop_args *);
 2248: int	msgctl (struct msgctl_args *);
 2249: int	msgget (struct msgget_args *);
 2250: int	msgsnd (struct msgsnd_args *);
 2251: int	msgrcv (struct msgrcv_args *);
 2252: int	shmat (struct shmat_args *);
 2253: int	shmctl (struct shmctl_args *);
 2254: int	shmdt (struct shmdt_args *);
 2255: int	shmget (struct shmget_args *);
 2256: int	clock_gettime (struct clock_gettime_args *);
 2257: int	clock_settime (struct clock_settime_args *);
 2258: int	clock_getres (struct clock_getres_args *);
 2259: int	nanosleep (struct nanosleep_args *);
 2260: int	minherit (struct minherit_args *);
 2261: int	rfork (struct rfork_args *);
 2262: int	openbsd_poll (struct openbsd_poll_args *);
 2263: int	issetugid (struct issetugid_args *);
 2264: int	lchown (struct lchown_args *);
 2265: int	getdents (struct getdents_args *);
 2266: int	lchmod (struct lchmod_args *);
 2267: int	lutimes (struct lutimes_args *);
 2268: int	nstat (struct nstat_args *);
 2269: int	nfstat (struct nfstat_args *);
 2270: int	nlstat (struct nlstat_args *);
 2271: int	fhstatfs (struct fhstatfs_args *);
 2272: int	fhopen (struct fhopen_args *);
 2273: int	fhstat (struct fhstat_args *);
 2274: int	modnext (struct modnext_args *);
 2275: int	modstat (struct modstat_args *);
 2276: int	modfnext (struct modfnext_args *);
 2277: int	modfind (struct modfind_args *);
 2278: int	kldload (struct kldload_args *);
 2279: int	kldunload (struct kldunload_args *);
 2280: int	kldfind (struct kldfind_args *);
 2281: int	kldnext (struct kldnext_args *);
 2282: int	kldstat (struct kldstat_args *);
 2283: int	kldfirstmod (struct kldfirstmod_args *);
 2284: int	getsid (struct getsid_args *);
 2285: int	setresuid (struct setresuid_args *);
 2286: int	setresgid (struct setresgid_args *);
 2287: int	aio_return (struct aio_return_args *);
 2288: int	aio_suspend (struct aio_suspend_args *);
 2289: int	aio_cancel (struct aio_cancel_args *);
 2290: int	aio_error (struct aio_error_args *);
 2291: int	aio_read (struct aio_read_args *);
 2292: int	aio_write (struct aio_write_args *);
 2293: int	lio_listio (struct lio_listio_args *);
 2294: int	yield (struct yield_args *);
 2295: int	thr_sleep (struct thr_sleep_args *);
 2296: int	thr_wakeup (struct thr_wakeup_args *);
 2297: int	mlockall (struct mlockall_args *);
 2298: int	munlockall (struct munlockall_args *);
 2299: int	__getcwd (struct __getcwd_args *);
 2300: int	sched_setparam (struct sched_setparam_args *);
 2301: int	sched_getparam (struct sched_getparam_args *);
 2302: int	sched_setscheduler (struct sched_setscheduler_args *);
 2303: int	sched_getscheduler (struct sched_getscheduler_args *);
 2304: int	sched_yield (struct sched_yield_args *);
 2305: int	sched_get_priority_max (struct sched_get_priority_max_args *);
 2306: int	sched_get_priority_min (struct sched_get_priority_min_args *);
 2307: int	sched_rr_get_interval (struct sched_rr_get_interval_args *);
 2308: int	utrace (struct utrace_args *);
 2309: int	kldsym (struct kldsym_args *);
 2310: int	jail (struct jail_args *);
 2311: int	sigprocmask (struct sigprocmask_args *);
 2312: int	sigsuspend (struct sigsuspend_args *);
 2313: int	sigaction (struct sigaction_args *);
 2314: int	sigpending (struct sigpending_args *);
 2315: int	sigreturn (struct sigreturn_args *);
 2316: int	__acl_get_file (struct __acl_get_file_args *);
 2317: int	__acl_set_file (struct __acl_set_file_args *);
 2318: int	__acl_get_fd (struct __acl_get_fd_args *);
 2319: int	__acl_set_fd (struct __acl_set_fd_args *);
 2320: int	__acl_delete_file (struct __acl_delete_file_args *);
 2321: int	__acl_delete_fd (struct __acl_delete_fd_args *);
 2322: int	__acl_aclcheck_file (struct __acl_aclcheck_file_args *);
 2323: int	__acl_aclcheck_fd (struct __acl_aclcheck_fd_args *);
 2324: int	extattrctl (struct extattrctl_args *);
 2325: int	extattr_set_file (struct extattr_set_file_args *);
 2326: int	extattr_get_file (struct extattr_get_file_args *);
 2327: int	extattr_delete_file (struct extattr_delete_file_args *);
 2328: int	aio_waitcomplete (struct aio_waitcomplete_args *);
 2329: int	getresuid (struct getresuid_args *);
 2330: int	getresgid (struct getresgid_args *);
 2331: int	kqueue (struct kqueue_args *);
 2332: int	kevent (struct kevent_args *);
 2333: int	sendfile (struct sendfile_args *);
 2334: int	varsym_set (struct varsym_set_args *);
 2335: int	varsym_get (struct varsym_get_args *);
 2336: int	varsym_list (struct varsym_list_args *);
 2337: int	upc_register (struct upc_register_args *);
 2338: int	upc_control (struct upc_control_args *);
 2339: int	caps_sys_service (struct caps_sys_service_args *);
 2340: int	caps_sys_client (struct caps_sys_client_args *);
 2341: int	caps_sys_close (struct caps_sys_close_args *);
 2342: int	caps_sys_put (struct caps_sys_put_args *);
 2343: int	caps_sys_reply (struct caps_sys_reply_args *);
 2344: int	caps_sys_get (struct caps_sys_get_args *);
 2345: int	caps_sys_wait (struct caps_sys_wait_args *);
 2346: int	caps_sys_abort (struct caps_sys_abort_args *);
 2347: int	exec_sys_register (struct exec_sys_register_args *);
 2348: int	exec_sys_unregister (struct exec_sys_unregister_args *);
 2349: 
 2350: #endif /* _KERNEL */
 2351: 
 2352: #ifdef COMPAT_43
 2353: 
 2354: struct	ocreat_args {
 2355: #ifdef _KERNEL
 2356: 	struct sysmsg sysmsg;
 2357: #endif
 2358: 	union usrmsg usrmsg;
 2359: 	char *	path;	char path_[PAD_(char *)];
 2360: 	int	mode;	char mode_[PAD_(int)];
 2361: };
 2362: struct	olseek_args {
 2363: #ifdef _KERNEL
 2364: 	struct sysmsg sysmsg;
 2365: #endif
 2366: 	union usrmsg usrmsg;
 2367: 	int	fd;	char fd_[PAD_(int)];
 2368: 	long	offset;	char offset_[PAD_(long)];
 2369: 	int	whence;	char whence_[PAD_(int)];
 2370: };
 2371: struct	ostat_args {
 2372: #ifdef _KERNEL
 2373: 	struct sysmsg sysmsg;
 2374: #endif
 2375: 	union usrmsg usrmsg;
 2376: 	char *	path;	char path_[PAD_(char *)];
 2377: 	struct ostat *	ub;	char ub_[PAD_(struct ostat *)];
 2378: };
 2379: struct	olstat_args {
 2380: #ifdef _KERNEL
 2381: 	struct sysmsg sysmsg;
 2382: #endif
 2383: 	union usrmsg usrmsg;
 2384: 	char *	path;	char path_[PAD_(char *)];
 2385: 	struct ostat *	ub;	char ub_[PAD_(struct ostat *)];
 2386: };
 2387: struct	ofstat_args {
 2388: #ifdef _KERNEL
 2389: 	struct sysmsg sysmsg;
 2390: #endif
 2391: 	union usrmsg usrmsg;
 2392: 	int	fd;	char fd_[PAD_(int)];
 2393: 	struct ostat *	sb;	char sb_[PAD_(struct ostat *)];
 2394: };
 2395: struct	getkerninfo_args {
 2396: #ifdef _KERNEL
 2397: 	struct sysmsg sysmsg;
 2398: #endif
 2399: 	union usrmsg usrmsg;
 2400: 	int	op;	char op_[PAD_(int)];
 2401: 	char *	where;	char where_[PAD_(char *)];
 2402: 	size_t *	size;	char size_[PAD_(size_t *)];
 2403: 	int	arg;	char arg_[PAD_(int)];
 2404: };
 2405: struct	ommap_args {
 2406: #ifdef _KERNEL
 2407: 	struct sysmsg sysmsg;
 2408: #endif
 2409: 	union usrmsg usrmsg;
 2410: 	void *	addr;	char addr_[PAD_(void *)];
 2411: 	int	len;	char len_[PAD_(int)];
 2412: 	int	prot;	char prot_[PAD_(int)];
 2413: 	int	flags;	char flags_[PAD_(int)];
 2414: 	int	fd;	char fd_[PAD_(int)];
 2415: 	long	pos;	char pos_[PAD_(long)];
 2416: };
 2417: struct	gethostname_args {
 2418: #ifdef _KERNEL
 2419: 	struct sysmsg sysmsg;
 2420: #endif
 2421: 	union usrmsg usrmsg;
 2422: 	char *	hostname;	char hostname_[PAD_(char *)];
 2423: 	u_int	len;	char len_[PAD_(u_int)];
 2424: };
 2425: struct	sethostname_args {
 2426: #ifdef _KERNEL
 2427: 	struct sysmsg sysmsg;
 2428: #endif
 2429: 	union usrmsg usrmsg;
 2430: 	char *	hostname;	char hostname_[PAD_(char *)];
 2431: 	u_int	len;	char len_[PAD_(u_int)];
 2432: };
 2433: struct	osend_args {
 2434: #ifdef _KERNEL
 2435: 	struct sysmsg sysmsg;
 2436: #endif
 2437: 	union usrmsg usrmsg;
 2438: 	int	s;	char s_[PAD_(int)];
 2439: 	caddr_t	buf;	char buf_[PAD_(caddr_t)];
 2440: 	int	len;	char len_[PAD_(int)];
 2441: 	int	flags;	char flags_[PAD_(int)];
 2442: };
 2443: struct	orecv_args {
 2444: #ifdef _KERNEL
 2445: 	struct sysmsg sysmsg;
 2446: #endif
 2447: 	union usrmsg usrmsg;
 2448: 	int	s;	char s_[PAD_(int)];
 2449: 	caddr_t	buf;	char buf_[PAD_(caddr_t)];
 2450: 	int	len;	char len_[PAD_(int)];
 2451: 	int	flags;	char flags_[PAD_(int)];
 2452: };
 2453: struct	osigvec_args {
 2454: #ifdef _KERNEL
 2455: 	struct sysmsg sysmsg;
 2456: #endif
 2457: 	union usrmsg usrmsg;
 2458: 	int	signum;	char signum_[PAD_(int)];
 2459: 	struct sigvec *	nsv;	char nsv_[PAD_(struct sigvec *)];
 2460: 	struct sigvec *	osv;	char osv_[PAD_(struct sigvec *)];
 2461: };
 2462: struct	osigblock_args {
 2463: #ifdef _KERNEL
 2464: 	struct sysmsg sysmsg;
 2465: #endif
 2466: 	union usrmsg usrmsg;
 2467: 	int	mask;	char mask_[PAD_(int)];
 2468: };
 2469: struct	osigsetmask_args {
 2470: #ifdef _KERNEL
 2471: 	struct sysmsg sysmsg;
 2472: #endif
 2473: 	union usrmsg usrmsg;
 2474: 	int	mask;	char mask_[PAD_(int)];
 2475: };
 2476: struct	osigstack_args {
 2477: #ifdef _KERNEL
 2478: 	struct sysmsg sysmsg;
 2479: #endif
 2480: 	union usrmsg usrmsg;
 2481: 	struct sigstack *	nss;	char nss_[PAD_(struct sigstack *)];
 2482: 	struct sigstack *	oss;	char oss_[PAD_(struct sigstack *)];
 2483: };
 2484: struct	orecvmsg_args {
 2485: #ifdef _KERNEL
 2486: 	struct sysmsg sysmsg;
 2487: #endif
 2488: 	union usrmsg usrmsg;
 2489: 	int	s;	char s_[PAD_(int)];
 2490: 	struct omsghdr *	msg;	char msg_[PAD_(struct omsghdr *)];
 2491: 	int	flags;	char flags_[PAD_(int)];
 2492: };
 2493: struct	osendmsg_args {
 2494: #ifdef _KERNEL
 2495: 	struct sysmsg sysmsg;
 2496: #endif
 2497: 	union usrmsg usrmsg;
 2498: 	int	s;	char s_[PAD_(int)];
 2499: 	caddr_t	msg;	char msg_[PAD_(caddr_t)];
 2500: 	int	flags;	char flags_[PAD_(int)];
 2501: };
 2502: struct	otruncate_args {
 2503: #ifdef _KERNEL
 2504: 	struct sysmsg sysmsg;
 2505: #endif
 2506: 	union usrmsg usrmsg;
 2507: 	char *	path;	char path_[PAD_(char *)];
 2508: 	long	length;	char length_[PAD_(long)];
 2509: };
 2510: struct	oftruncate_args {
 2511: #ifdef _KERNEL
 2512: 	struct sysmsg sysmsg;
 2513: #endif
 2514: 	union usrmsg usrmsg;
 2515: 	int	fd;	char fd_[PAD_(int)];
 2516: 	long	length;	char length_[PAD_(long)];
 2517: };
 2518: struct	ogetpeername_args {
 2519: #ifdef _KERNEL
 2520: 	struct sysmsg sysmsg;
 2521: #endif
 2522: 	union usrmsg usrmsg;
 2523: 	int	fdes;	char fdes_[PAD_(int)];
 2524: 	caddr_t	asa;	char asa_[PAD_(caddr_t)];
 2525: 	int *	alen;	char alen_[PAD_(int *)];
 2526: };
 2527: struct	osethostid_args {
 2528: #ifdef _KERNEL
 2529: 	struct sysmsg sysmsg;
 2530: #endif
 2531: 	union usrmsg usrmsg;
 2532: 	long	hostid;	char hostid_[PAD_(long)];
 2533: };
 2534: struct	ogetrlimit_args {
 2535: #ifdef _KERNEL
 2536: 	struct sysmsg sysmsg;
 2537: #endif
 2538: 	union usrmsg usrmsg;
 2539: 	u_int	which;	char which_[PAD_(u_int)];
 2540: 	struct orlimit *	rlp;	char rlp_[PAD_(struct orlimit *)];
 2541: };
 2542: struct	osetrlimit_args {
 2543: #ifdef _KERNEL
 2544: 	struct sysmsg sysmsg;
 2545: #endif
 2546: 	union usrmsg usrmsg;
 2547: 	u_int	which;	char which_[PAD_(u_int)];
 2548: 	struct orlimit *	rlp;	char rlp_[PAD_(struct orlimit *)];
 2549: };
 2550: struct	okillpg_args {
 2551: #ifdef _KERNEL
 2552: 	struct sysmsg sysmsg;
 2553: #endif
 2554: 	union usrmsg usrmsg;
 2555: 	int	pgid;	char pgid_[PAD_(int)];
 2556: 	int	signum;	char signum_[PAD_(int)];
 2557: };
 2558: struct	ogetdirentries_args {
 2559: #ifdef _KERNEL
 2560: 	struct sysmsg sysmsg;
 2561: #endif
 2562: 	union usrmsg usrmsg;
 2563: 	int	fd;	char fd_[PAD_(int)];
 2564: 	char *	buf;	char buf_[PAD_(char *)];
 2565: 	u_int	count;	char count_[PAD_(u_int)];
 2566: 	long *	basep;	char basep_[PAD_(long *)];
 2567: };
 2568: 
 2569: #ifdef _KERNEL
 2570: 
 2571: int	ocreat (struct ocreat_args *);
 2572: int	olseek (struct olseek_args *);
 2573: int	ostat (struct ostat_args *);
 2574: int	olstat (struct olstat_args *);
 2575: int	ofstat (struct ofstat_args *);
 2576: int	ogetkerninfo (struct getkerninfo_args *);
 2577: int	ogetpagesize (struct getpagesize_args *);
 2578: int	ommap (struct ommap_args *);
 2579: int	owait (struct owait_args *);
 2580: int	ogethostname (struct gethostname_args *);
 2581: int	osethostname (struct sethostname_args *);
 2582: int	oaccept (struct accept_args *);
 2583: int	osend (struct osend_args *);
 2584: int	orecv (struct orecv_args *);
 2585: int	osigvec (struct osigvec_args *);
 2586: int	osigblock (struct osigblock_args *);
 2587: int	osigsetmask (struct osigsetmask_args *);
 2588: int	osigstack (struct osigstack_args *);
 2589: int	orecvmsg (struct orecvmsg_args *);
 2590: int	osendmsg (struct osendmsg_args *);
 2591: int	orecvfrom (struct recvfrom_args *);
 2592: int	otruncate (struct otruncate_args *);
 2593: int	oftruncate (struct oftruncate_args *);
 2594: int	ogetpeername (struct ogetpeername_args *);
 2595: int	ogethostid (struct ogethostid_args *);
 2596: int	osethostid (struct osethostid_args *);
 2597: int	ogetrlimit (struct ogetrlimit_args *);
 2598: int	osetrlimit (struct osetrlimit_args *);
 2599: int	okillpg (struct okillpg_args *);
 2600: int	oquota (struct oquota_args *);
 2601: int	ogetsockname (struct getsockname_args *);
 2602: int	ogetdirentries (struct ogetdirentries_args *);
 2603: 
 2604: #endif /* _KERNEL */
 2605: 
 2606: #endif /* COMPAT_43 */
 2607: 
 2608: #undef PAD_
 2609: 
 2610: #endif /* !_SYS_SYSPROTO_H_ */