Home | History | Annotate | Line # | Download | only in freebsd
freebsd_syscallargs.h revision 1.51
      1 /* $NetBSD: freebsd_syscallargs.h,v 1.51 2003/01/18 07:33:53 thorpej Exp $ */
      2 
      3 /*
      4  * System call argument lists.
      5  *
      6  * DO NOT EDIT-- this file is automatically generated.
      7  * created from	NetBSD
      8  */
      9 
     10 #ifndef _FREEBSD_SYS__SYSCALLARGS_H_
     11 #define	_FREEBSD_SYS__SYSCALLARGS_H_
     12 
     13 #ifdef	syscallarg
     14 #undef	syscallarg
     15 #endif
     16 
     17 #define	syscallarg(x)							\
     18 	union {								\
     19 		register_t pad;						\
     20 		struct { x datum; } le;					\
     21 		struct { /* LINTED zero array dimension */		\
     22 			int8_t pad[  /* CONSTCOND */			\
     23 				(sizeof (register_t) < sizeof (x))	\
     24 				? 0					\
     25 				: sizeof (register_t) - sizeof (x)];	\
     26 			x datum;					\
     27 		} be;							\
     28 	}
     29 
     30 struct freebsd_sys_open_args {
     31 	syscallarg(const char *) path;
     32 	syscallarg(int) flags;
     33 	syscallarg(int) mode;
     34 };
     35 
     36 struct compat_43_freebsd_sys_creat_args {
     37 	syscallarg(const char *) path;
     38 	syscallarg(int) mode;
     39 };
     40 
     41 struct freebsd_sys_link_args {
     42 	syscallarg(const char *) path;
     43 	syscallarg(const char *) link;
     44 };
     45 
     46 struct freebsd_sys_unlink_args {
     47 	syscallarg(const char *) path;
     48 };
     49 
     50 struct freebsd_sys_chdir_args {
     51 	syscallarg(const char *) path;
     52 };
     53 
     54 struct freebsd_sys_mknod_args {
     55 	syscallarg(const char *) path;
     56 	syscallarg(int) mode;
     57 	syscallarg(int) dev;
     58 };
     59 
     60 struct freebsd_sys_chmod_args {
     61 	syscallarg(const char *) path;
     62 	syscallarg(int) mode;
     63 };
     64 
     65 struct freebsd_sys_chown_args {
     66 	syscallarg(const char *) path;
     67 	syscallarg(int) uid;
     68 	syscallarg(int) gid;
     69 };
     70 
     71 struct freebsd_sys_mount_args {
     72 	syscallarg(int) type;
     73 	syscallarg(const char *) path;
     74 	syscallarg(int) flags;
     75 	syscallarg(caddr_t) data;
     76 };
     77 
     78 struct freebsd_sys_unmount_args {
     79 	syscallarg(const char *) path;
     80 	syscallarg(int) flags;
     81 };
     82 
     83 struct freebsd_sys_ptrace_args {
     84 	syscallarg(int) req;
     85 	syscallarg(pid_t) pid;
     86 	syscallarg(caddr_t) addr;
     87 	syscallarg(int) data;
     88 };
     89 
     90 struct freebsd_sys_access_args {
     91 	syscallarg(const char *) path;
     92 	syscallarg(int) flags;
     93 };
     94 
     95 struct freebsd_sys_chflags_args {
     96 	syscallarg(const char *) path;
     97 	syscallarg(int) flags;
     98 };
     99 
    100 struct compat_43_freebsd_sys_stat_args {
    101 	syscallarg(const char *) path;
    102 	syscallarg(struct stat43 *) ub;
    103 };
    104 
    105 struct compat_43_freebsd_sys_lstat_args {
    106 	syscallarg(const char *) path;
    107 	syscallarg(struct stat43 *) ub;
    108 };
    109 
    110 struct freebsd_sys_ioctl_args {
    111 	syscallarg(int) fd;
    112 	syscallarg(u_long) com;
    113 	syscallarg(caddr_t) data;
    114 };
    115 
    116 struct freebsd_sys_revoke_args {
    117 	syscallarg(const char *) path;
    118 };
    119 
    120 struct freebsd_sys_symlink_args {
    121 	syscallarg(const char *) path;
    122 	syscallarg(const char *) link;
    123 };
    124 
    125 struct freebsd_sys_readlink_args {
    126 	syscallarg(const char *) path;
    127 	syscallarg(char *) buf;
    128 	syscallarg(int) count;
    129 };
    130 
    131 struct freebsd_sys_execve_args {
    132 	syscallarg(const char *) path;
    133 	syscallarg(char **) argp;
    134 	syscallarg(char **) envp;
    135 };
    136 
    137 struct freebsd_sys_chroot_args {
    138 	syscallarg(const char *) path;
    139 };
    140 
    141 struct freebsd_sys_msync_args {
    142 	syscallarg(caddr_t) addr;
    143 	syscallarg(size_t) len;
    144 	syscallarg(int) flags;
    145 };
    146 
    147 struct freebsd_sys_sigreturn_args {
    148 	syscallarg(struct freebsd_sigcontext *) scp;
    149 };
    150 
    151 struct freebsd_sys_rename_args {
    152 	syscallarg(const char *) from;
    153 	syscallarg(const char *) to;
    154 };
    155 
    156 struct compat_43_freebsd_sys_truncate_args {
    157 	syscallarg(const char *) path;
    158 	syscallarg(long) length;
    159 };
    160 
    161 struct freebsd_sys_mkfifo_args {
    162 	syscallarg(const char *) path;
    163 	syscallarg(int) mode;
    164 };
    165 
    166 struct freebsd_sys_mkdir_args {
    167 	syscallarg(const char *) path;
    168 	syscallarg(int) mode;
    169 };
    170 
    171 struct freebsd_sys_rmdir_args {
    172 	syscallarg(const char *) path;
    173 };
    174 
    175 struct freebsd_sys_statfs_args {
    176 	syscallarg(const char *) path;
    177 	syscallarg(struct statfs *) buf;
    178 };
    179 
    180 struct freebsd_sys_getfh_args {
    181 	syscallarg(const char *) fname;
    182 	syscallarg(fhandle_t *) fhp;
    183 };
    184 
    185 struct freebsd_sys_rtprio_args {
    186 	syscallarg(int) function;
    187 	syscallarg(pid_t) pid;
    188 	syscallarg(struct freebsd_rtprio *) rtp;
    189 };
    190 
    191 struct freebsd_sys_semsys_args {
    192 	syscallarg(int) which;
    193 	syscallarg(int) a2;
    194 	syscallarg(int) a3;
    195 	syscallarg(int) a4;
    196 	syscallarg(int) a5;
    197 };
    198 
    199 struct freebsd_sys_msgsys_args {
    200 	syscallarg(int) which;
    201 	syscallarg(int) a2;
    202 	syscallarg(int) a3;
    203 	syscallarg(int) a4;
    204 	syscallarg(int) a5;
    205 	syscallarg(int) a6;
    206 };
    207 
    208 struct freebsd_sys_shmsys_args {
    209 	syscallarg(int) which;
    210 	syscallarg(int) a2;
    211 	syscallarg(int) a3;
    212 	syscallarg(int) a4;
    213 };
    214 
    215 struct freebsd_ntp_adjtime_args {
    216 	syscallarg(struct freebsd_timex *) tp;
    217 };
    218 
    219 struct freebsd_sys_stat_args {
    220 	syscallarg(const char *) path;
    221 	syscallarg(struct stat12 *) ub;
    222 };
    223 
    224 struct freebsd_sys_lstat_args {
    225 	syscallarg(const char *) path;
    226 	syscallarg(struct stat12 *) ub;
    227 };
    228 
    229 struct freebsd_sys_pathconf_args {
    230 	syscallarg(const char *) path;
    231 	syscallarg(int) name;
    232 };
    233 
    234 struct freebsd_sys_truncate_args {
    235 	syscallarg(const char *) path;
    236 	syscallarg(int) pad;
    237 	syscallarg(off_t) length;
    238 };
    239 
    240 struct freebsd_sys_undelete_args {
    241 	syscallarg(char *) path;
    242 };
    243 
    244 struct freebsd_sys_rfork_args {
    245 	syscallarg(int) flags;
    246 };
    247 
    248 struct freebsd_sys_lchown_args {
    249 	syscallarg(const char *) path;
    250 	syscallarg(int) uid;
    251 	syscallarg(int) gid;
    252 };
    253 
    254 struct freebsd_sys_sched_setparam_args {
    255 	syscallarg(pid_t) pid;
    256 	syscallarg(const struct freebsd_sched_param *) sp;
    257 };
    258 
    259 struct freebsd_sys_sched_getparam_args {
    260 	syscallarg(pid_t) pid;
    261 	syscallarg(struct freebsd_sched_param *) sp;
    262 };
    263 
    264 struct freebsd_sys_sched_setscheduler_args {
    265 	syscallarg(pid_t) pid;
    266 	syscallarg(int) policy;
    267 	syscallarg(const struct sched_param *) sp;
    268 };
    269 
    270 struct freebsd_sys_sched_getscheduler_args {
    271 	syscallarg(pid_t) pid;
    272 };
    273 
    274 struct freebsd_sys_sched_get_priority_max_args {
    275 	syscallarg(int) policy;
    276 };
    277 
    278 struct freebsd_sys_sched_get_priority_min_args {
    279 	syscallarg(int) policy;
    280 };
    281 
    282 struct freebsd_sys_utrace_args {
    283 	syscallarg(void *) addr;
    284 	syscallarg(size_t) len;
    285 };
    286 
    287 struct freebsd_sys_sigaction4_args {
    288 	syscallarg(int) signum;
    289 	syscallarg(const struct freebsd_sigaction4 *) nsa;
    290 	syscallarg(struct freebsd_sigaction4 *) osa;
    291 };
    292 
    293 /*
    294  * System call prototypes.
    295  */
    296 
    297 int	sys_nosys(struct lwp *, void *, register_t *);
    298 int	sys_exit(struct lwp *, void *, register_t *);
    299 int	sys_fork(struct lwp *, void *, register_t *);
    300 int	sys_read(struct lwp *, void *, register_t *);
    301 int	sys_write(struct lwp *, void *, register_t *);
    302 int	freebsd_sys_open(struct lwp *, void *, register_t *);
    303 int	sys_close(struct lwp *, void *, register_t *);
    304 int	sys_wait4(struct lwp *, void *, register_t *);
    305 int	compat_43_freebsd_sys_creat(struct lwp *, void *, register_t *);
    306 int	freebsd_sys_link(struct lwp *, void *, register_t *);
    307 int	freebsd_sys_unlink(struct lwp *, void *, register_t *);
    308 int	freebsd_sys_chdir(struct lwp *, void *, register_t *);
    309 int	sys_fchdir(struct lwp *, void *, register_t *);
    310 int	freebsd_sys_mknod(struct lwp *, void *, register_t *);
    311 int	freebsd_sys_chmod(struct lwp *, void *, register_t *);
    312 int	freebsd_sys_chown(struct lwp *, void *, register_t *);
    313 int	sys_obreak(struct lwp *, void *, register_t *);
    314 int	sys_getfsstat(struct lwp *, void *, register_t *);
    315 int	compat_43_sys_lseek(struct lwp *, void *, register_t *);
    316 int	sys_getpid_with_ppid(struct lwp *, void *, register_t *);
    317 int	freebsd_sys_mount(struct lwp *, void *, register_t *);
    318 int	freebsd_sys_unmount(struct lwp *, void *, register_t *);
    319 int	sys_setuid(struct lwp *, void *, register_t *);
    320 int	sys_getuid_with_euid(struct lwp *, void *, register_t *);
    321 int	sys_geteuid(struct lwp *, void *, register_t *);
    322 int	freebsd_sys_ptrace(struct lwp *, void *, register_t *);
    323 int	sys_recvmsg(struct lwp *, void *, register_t *);
    324 int	sys_sendmsg(struct lwp *, void *, register_t *);
    325 int	sys_recvfrom(struct lwp *, void *, register_t *);
    326 int	sys_accept(struct lwp *, void *, register_t *);
    327 int	sys_getpeername(struct lwp *, void *, register_t *);
    328 int	sys_getsockname(struct lwp *, void *, register_t *);
    329 int	freebsd_sys_access(struct lwp *, void *, register_t *);
    330 int	freebsd_sys_chflags(struct lwp *, void *, register_t *);
    331 int	sys_fchflags(struct lwp *, void *, register_t *);
    332 int	sys_sync(struct lwp *, void *, register_t *);
    333 int	sys_kill(struct lwp *, void *, register_t *);
    334 int	compat_43_freebsd_sys_stat(struct lwp *, void *, register_t *);
    335 int	sys_getppid(struct lwp *, void *, register_t *);
    336 int	compat_43_freebsd_sys_lstat(struct lwp *, void *, register_t *);
    337 int	sys_dup(struct lwp *, void *, register_t *);
    338 int	sys_pipe(struct lwp *, void *, register_t *);
    339 int	sys_getegid(struct lwp *, void *, register_t *);
    340 int	sys_profil(struct lwp *, void *, register_t *);
    341 #ifdef KTRACE
    342 int	sys_ktrace(struct lwp *, void *, register_t *);
    343 #else
    344 #endif
    345 int	compat_13_sys_sigaction(struct lwp *, void *, register_t *);
    346 int	sys_getgid_with_egid(struct lwp *, void *, register_t *);
    347 int	compat_13_sys_sigprocmask(struct lwp *, void *, register_t *);
    348 int	sys___getlogin(struct lwp *, void *, register_t *);
    349 int	sys___setlogin(struct lwp *, void *, register_t *);
    350 int	sys_acct(struct lwp *, void *, register_t *);
    351 int	compat_13_sys_sigpending(struct lwp *, void *, register_t *);
    352 int	compat_13_sys_sigaltstack(struct lwp *, void *, register_t *);
    353 int	freebsd_sys_ioctl(struct lwp *, void *, register_t *);
    354 int	sys_reboot(struct lwp *, void *, register_t *);
    355 int	freebsd_sys_revoke(struct lwp *, void *, register_t *);
    356 int	freebsd_sys_symlink(struct lwp *, void *, register_t *);
    357 int	freebsd_sys_readlink(struct lwp *, void *, register_t *);
    358 int	freebsd_sys_execve(struct lwp *, void *, register_t *);
    359 int	sys_umask(struct lwp *, void *, register_t *);
    360 int	freebsd_sys_chroot(struct lwp *, void *, register_t *);
    361 int	compat_43_sys_fstat(struct lwp *, void *, register_t *);
    362 int	compat_43_sys_getkerninfo(struct lwp *, void *, register_t *);
    363 int	compat_43_sys_getpagesize(struct lwp *, void *, register_t *);
    364 int	freebsd_sys_msync(struct lwp *, void *, register_t *);
    365 int	sys_vfork(struct lwp *, void *, register_t *);
    366 int	sys_sbrk(struct lwp *, void *, register_t *);
    367 int	sys_sstk(struct lwp *, void *, register_t *);
    368 int	compat_43_sys_mmap(struct lwp *, void *, register_t *);
    369 int	sys_ovadvise(struct lwp *, void *, register_t *);
    370 int	sys_munmap(struct lwp *, void *, register_t *);
    371 int	sys_mprotect(struct lwp *, void *, register_t *);
    372 int	sys_madvise(struct lwp *, void *, register_t *);
    373 int	sys_mincore(struct lwp *, void *, register_t *);
    374 int	sys_getgroups(struct lwp *, void *, register_t *);
    375 int	sys_setgroups(struct lwp *, void *, register_t *);
    376 int	sys_getpgrp(struct lwp *, void *, register_t *);
    377 int	sys_setpgid(struct lwp *, void *, register_t *);
    378 int	sys_setitimer(struct lwp *, void *, register_t *);
    379 int	compat_43_sys_wait(struct lwp *, void *, register_t *);
    380 int	compat_12_sys_swapon(struct lwp *, void *, register_t *);
    381 int	sys_getitimer(struct lwp *, void *, register_t *);
    382 int	compat_43_sys_gethostname(struct lwp *, void *, register_t *);
    383 int	compat_43_sys_sethostname(struct lwp *, void *, register_t *);
    384 int	compat_43_sys_getdtablesize(struct lwp *, void *, register_t *);
    385 int	sys_dup2(struct lwp *, void *, register_t *);
    386 int	sys_fcntl(struct lwp *, void *, register_t *);
    387 int	sys_select(struct lwp *, void *, register_t *);
    388 int	sys_fsync(struct lwp *, void *, register_t *);
    389 int	sys_setpriority(struct lwp *, void *, register_t *);
    390 int	sys_socket(struct lwp *, void *, register_t *);
    391 int	sys_connect(struct lwp *, void *, register_t *);
    392 int	compat_43_sys_accept(struct lwp *, void *, register_t *);
    393 int	sys_getpriority(struct lwp *, void *, register_t *);
    394 int	compat_43_sys_send(struct lwp *, void *, register_t *);
    395 int	compat_43_sys_recv(struct lwp *, void *, register_t *);
    396 int	freebsd_sys_sigreturn(struct lwp *, void *, register_t *);
    397 int	sys_bind(struct lwp *, void *, register_t *);
    398 int	sys_setsockopt(struct lwp *, void *, register_t *);
    399 int	sys_listen(struct lwp *, void *, register_t *);
    400 int	compat_43_sys_sigvec(struct lwp *, void *, register_t *);
    401 int	compat_43_sys_sigblock(struct lwp *, void *, register_t *);
    402 int	compat_43_sys_sigsetmask(struct lwp *, void *, register_t *);
    403 int	compat_13_sys_sigsuspend(struct lwp *, void *, register_t *);
    404 int	compat_43_sys_sigstack(struct lwp *, void *, register_t *);
    405 int	compat_43_sys_recvmsg(struct lwp *, void *, register_t *);
    406 int	compat_43_sys_sendmsg(struct lwp *, void *, register_t *);
    407 #ifdef TRACE
    408 int	sys_vtrace(struct lwp *, void *, register_t *);
    409 #else
    410 #endif
    411 int	sys_gettimeofday(struct lwp *, void *, register_t *);
    412 int	sys_getrusage(struct lwp *, void *, register_t *);
    413 int	sys_getsockopt(struct lwp *, void *, register_t *);
    414 int	sys_readv(struct lwp *, void *, register_t *);
    415 int	sys_writev(struct lwp *, void *, register_t *);
    416 int	sys_settimeofday(struct lwp *, void *, register_t *);
    417 int	sys_fchown(struct lwp *, void *, register_t *);
    418 int	sys_fchmod(struct lwp *, void *, register_t *);
    419 int	compat_43_sys_recvfrom(struct lwp *, void *, register_t *);
    420 int	sys_setreuid(struct lwp *, void *, register_t *);
    421 int	sys_setregid(struct lwp *, void *, register_t *);
    422 int	freebsd_sys_rename(struct lwp *, void *, register_t *);
    423 int	compat_43_freebsd_sys_truncate(struct lwp *, void *, register_t *);
    424 int	compat_43_sys_ftruncate(struct lwp *, void *, register_t *);
    425 int	sys_flock(struct lwp *, void *, register_t *);
    426 int	freebsd_sys_mkfifo(struct lwp *, void *, register_t *);
    427 int	sys_sendto(struct lwp *, void *, register_t *);
    428 int	sys_shutdown(struct lwp *, void *, register_t *);
    429 int	sys_socketpair(struct lwp *, void *, register_t *);
    430 int	freebsd_sys_mkdir(struct lwp *, void *, register_t *);
    431 int	freebsd_sys_rmdir(struct lwp *, void *, register_t *);
    432 int	sys_utimes(struct lwp *, void *, register_t *);
    433 int	sys_adjtime(struct lwp *, void *, register_t *);
    434 int	compat_43_sys_getpeername(struct lwp *, void *, register_t *);
    435 int	compat_43_sys_gethostid(struct lwp *, void *, register_t *);
    436 int	compat_43_sys_sethostid(struct lwp *, void *, register_t *);
    437 int	compat_43_sys_getrlimit(struct lwp *, void *, register_t *);
    438 int	compat_43_sys_setrlimit(struct lwp *, void *, register_t *);
    439 int	compat_43_sys_killpg(struct lwp *, void *, register_t *);
    440 int	sys_setsid(struct lwp *, void *, register_t *);
    441 int	sys_quotactl(struct lwp *, void *, register_t *);
    442 int	compat_43_sys_quota(struct lwp *, void *, register_t *);
    443 int	compat_43_sys_getsockname(struct lwp *, void *, register_t *);
    444 #if defined(NFS) || defined(NFSSERVER)
    445 int	sys_nfssvc(struct lwp *, void *, register_t *);
    446 #else
    447 #endif
    448 int	compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
    449 int	freebsd_sys_statfs(struct lwp *, void *, register_t *);
    450 int	sys_fstatfs(struct lwp *, void *, register_t *);
    451 #ifdef NFS
    452 int	freebsd_sys_getfh(struct lwp *, void *, register_t *);
    453 #else
    454 #endif
    455 int	compat_09_sys_getdomainname(struct lwp *, void *, register_t *);
    456 int	compat_09_sys_setdomainname(struct lwp *, void *, register_t *);
    457 int	compat_09_sys_uname(struct lwp *, void *, register_t *);
    458 int	sys_sysarch(struct lwp *, void *, register_t *);
    459 int	freebsd_sys_rtprio(struct lwp *, void *, register_t *);
    460 #if defined(SYSVSEM) && !defined(_LP64)
    461 int	freebsd_sys_semsys(struct lwp *, void *, register_t *);
    462 #else
    463 #endif
    464 #if defined(SYSVMSG) && !defined(_LP64)
    465 int	freebsd_sys_msgsys(struct lwp *, void *, register_t *);
    466 #else
    467 #endif
    468 #if defined(SYSVSHM) && !defined(_LP64)
    469 int	freebsd_sys_shmsys(struct lwp *, void *, register_t *);
    470 #else
    471 #endif
    472 int	sys_pread(struct lwp *, void *, register_t *);
    473 int	sys_pwrite(struct lwp *, void *, register_t *);
    474 #ifdef NTP
    475 int	freebsd_ntp_adjtime(struct lwp *, void *, register_t *);
    476 #else
    477 #endif
    478 int	sys_setgid(struct lwp *, void *, register_t *);
    479 int	sys_setegid(struct lwp *, void *, register_t *);
    480 int	sys_seteuid(struct lwp *, void *, register_t *);
    481 #ifdef LFS
    482 int	sys_lfs_bmapv(struct lwp *, void *, register_t *);
    483 int	sys_lfs_markv(struct lwp *, void *, register_t *);
    484 int	sys_lfs_segclean(struct lwp *, void *, register_t *);
    485 int	sys_lfs_segwait(struct lwp *, void *, register_t *);
    486 #else
    487 #endif
    488 int	freebsd_sys_stat(struct lwp *, void *, register_t *);
    489 int	compat_12_sys_fstat(struct lwp *, void *, register_t *);
    490 int	freebsd_sys_lstat(struct lwp *, void *, register_t *);
    491 int	freebsd_sys_pathconf(struct lwp *, void *, register_t *);
    492 int	sys_fpathconf(struct lwp *, void *, register_t *);
    493 int	sys_getrlimit(struct lwp *, void *, register_t *);
    494 int	sys_setrlimit(struct lwp *, void *, register_t *);
    495 int	compat_12_sys_getdirentries(struct lwp *, void *, register_t *);
    496 int	sys_mmap(struct lwp *, void *, register_t *);
    497 int	sys_nosys(struct lwp *, void *, register_t *);
    498 int	sys_lseek(struct lwp *, void *, register_t *);
    499 int	freebsd_sys_truncate(struct lwp *, void *, register_t *);
    500 int	sys_ftruncate(struct lwp *, void *, register_t *);
    501 int	sys___sysctl(struct lwp *, void *, register_t *);
    502 int	sys_mlock(struct lwp *, void *, register_t *);
    503 int	sys_munlock(struct lwp *, void *, register_t *);
    504 #ifdef FREEBSD_BASED_ON_44LITE_R2
    505 int	freebsd_sys_undelete(struct lwp *, void *, register_t *);
    506 #else
    507 #endif
    508 int	sys_futimes(struct lwp *, void *, register_t *);
    509 int	sys_getpgid(struct lwp *, void *, register_t *);
    510 #if 0
    511 int	sys_reboot(struct lwp *, void *, register_t *);
    512 #else
    513 #endif
    514 int	sys_poll(struct lwp *, void *, register_t *);
    515 #ifdef SYSVSEM
    516 int	compat_14_sys___semctl(struct lwp *, void *, register_t *);
    517 int	sys_semget(struct lwp *, void *, register_t *);
    518 int	sys_semop(struct lwp *, void *, register_t *);
    519 int	sys_semconfig(struct lwp *, void *, register_t *);
    520 #else
    521 #endif
    522 #ifdef SYSVMSG
    523 int	compat_14_sys_msgctl(struct lwp *, void *, register_t *);
    524 int	sys_msgget(struct lwp *, void *, register_t *);
    525 int	sys_msgsnd(struct lwp *, void *, register_t *);
    526 int	sys_msgrcv(struct lwp *, void *, register_t *);
    527 #else
    528 #endif
    529 #ifdef SYSVSHM
    530 int	sys_shmat(struct lwp *, void *, register_t *);
    531 int	compat_14_sys_shmctl(struct lwp *, void *, register_t *);
    532 int	sys_shmdt(struct lwp *, void *, register_t *);
    533 int	sys_shmget(struct lwp *, void *, register_t *);
    534 #else
    535 #endif
    536 int	sys_clock_gettime(struct lwp *, void *, register_t *);
    537 int	sys_clock_settime(struct lwp *, void *, register_t *);
    538 int	sys_clock_getres(struct lwp *, void *, register_t *);
    539 int	sys_nanosleep(struct lwp *, void *, register_t *);
    540 int	sys_minherit(struct lwp *, void *, register_t *);
    541 int	freebsd_sys_rfork(struct lwp *, void *, register_t *);
    542 int	sys_issetugid(struct lwp *, void *, register_t *);
    543 int	freebsd_sys_lchown(struct lwp *, void *, register_t *);
    544 int	sys_getdents(struct lwp *, void *, register_t *);
    545 int	sys_lchmod(struct lwp *, void *, register_t *);
    546 int	sys_lchown(struct lwp *, void *, register_t *);
    547 int	sys_lutimes(struct lwp *, void *, register_t *);
    548 int	sys___msync13(struct lwp *, void *, register_t *);
    549 int	sys___stat13(struct lwp *, void *, register_t *);
    550 int	sys___fstat13(struct lwp *, void *, register_t *);
    551 int	sys___lstat13(struct lwp *, void *, register_t *);
    552 int	sys_fhstatfs(struct lwp *, void *, register_t *);
    553 int	sys_fhopen(struct lwp *, void *, register_t *);
    554 int	sys_fhstat(struct lwp *, void *, register_t *);
    555 int	sys_getsid(struct lwp *, void *, register_t *);
    556 int	freebsd_sys_yield(struct lwp *, void *, register_t *);
    557 int	sys_mlockall(struct lwp *, void *, register_t *);
    558 int	sys_munlockall(struct lwp *, void *, register_t *);
    559 int	sys___getcwd(struct lwp *, void *, register_t *);
    560 int	freebsd_sys_sched_setparam(struct lwp *, void *, register_t *);
    561 int	freebsd_sys_sched_getparam(struct lwp *, void *, register_t *);
    562 int	freebsd_sys_sched_setscheduler(struct lwp *, void *, register_t *);
    563 int	freebsd_sys_sched_getscheduler(struct lwp *, void *, register_t *);
    564 int	freebsd_sys_sched_yield(struct lwp *, void *, register_t *);
    565 int	freebsd_sys_sched_get_priority_max(struct lwp *, void *, register_t *);
    566 int	freebsd_sys_sched_get_priority_min(struct lwp *, void *, register_t *);
    567 int	freebsd_sys_utrace(struct lwp *, void *, register_t *);
    568 int	sys___sigprocmask14(struct lwp *, void *, register_t *);
    569 int	sys___sigsuspend14(struct lwp *, void *, register_t *);
    570 int	freebsd_sys_sigaction4(struct lwp *, void *, register_t *);
    571 int	sys___sigpending14(struct lwp *, void *, register_t *);
    572 #endif /* _FREEBSD_SYS__SYSCALLARGS_H_ */
    573