diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 3285e050cce1..63f0778cdfbf 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -29,473 +29,473 @@ /* The casts are bogus but will do for now. */ struct sysent sysent[] = { - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 0 = syscall */ - { AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_EXIT }, /* 1 = exit */ - { 0, (sy_call_t *)fork, AUE_FORK }, /* 2 = fork */ - { AS(read_args), (sy_call_t *)read, AUE_NULL }, /* 3 = read */ - { AS(write_args), (sy_call_t *)write, AUE_NULL }, /* 4 = write */ - { AS(open_args), (sy_call_t *)open, AUE_OPEN_RWTC }, /* 5 = open */ - { AS(close_args), (sy_call_t *)close, AUE_CLOSE }, /* 6 = close */ - { AS(wait_args), (sy_call_t *)wait4, AUE_WAIT4 }, /* 7 = wait4 */ - { compat(AS(ocreat_args),creat), AUE_O_CREAT }, /* 8 = old creat */ - { AS(link_args), (sy_call_t *)link, AUE_LINK }, /* 9 = link */ - { AS(unlink_args), (sy_call_t *)unlink, AUE_UNLINK }, /* 10 = unlink */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 11 = obsolete execv */ - { AS(chdir_args), (sy_call_t *)chdir, AUE_CHDIR }, /* 12 = chdir */ - { AS(fchdir_args), (sy_call_t *)fchdir, AUE_FCHDIR }, /* 13 = fchdir */ - { AS(mknod_args), (sy_call_t *)mknod, AUE_MKNOD }, /* 14 = mknod */ - { AS(chmod_args), (sy_call_t *)chmod, AUE_CHMOD }, /* 15 = chmod */ - { AS(chown_args), (sy_call_t *)chown, AUE_CHOWN }, /* 16 = chown */ - { AS(obreak_args), (sy_call_t *)obreak, AUE_NULL }, /* 17 = break */ - { compat4(AS(freebsd4_getfsstat_args),getfsstat), AUE_GETFSSTAT }, /* 18 = old getfsstat */ - { compat(AS(olseek_args),lseek), AUE_LSEEK }, /* 19 = old lseek */ - { 0, (sy_call_t *)getpid, AUE_GETPID }, /* 20 = getpid */ - { AS(mount_args), (sy_call_t *)mount, AUE_MOUNT }, /* 21 = mount */ - { AS(unmount_args), (sy_call_t *)unmount, AUE_UMOUNT }, /* 22 = unmount */ - { AS(setuid_args), (sy_call_t *)setuid, AUE_SETUID }, /* 23 = setuid */ - { 0, (sy_call_t *)getuid, AUE_GETUID }, /* 24 = getuid */ - { 0, (sy_call_t *)geteuid, AUE_GETEUID }, /* 25 = geteuid */ - { AS(ptrace_args), (sy_call_t *)ptrace, AUE_PTRACE }, /* 26 = ptrace */ - { AS(recvmsg_args), (sy_call_t *)recvmsg, AUE_RECVMSG }, /* 27 = recvmsg */ - { AS(sendmsg_args), (sy_call_t *)sendmsg, AUE_SENDMSG }, /* 28 = sendmsg */ - { AS(recvfrom_args), (sy_call_t *)recvfrom, AUE_RECVFROM }, /* 29 = recvfrom */ - { AS(accept_args), (sy_call_t *)accept, AUE_ACCEPT }, /* 30 = accept */ - { AS(getpeername_args), (sy_call_t *)getpeername, AUE_GETPEERNAME }, /* 31 = getpeername */ - { AS(getsockname_args), (sy_call_t *)getsockname, AUE_GETSOCKNAME }, /* 32 = getsockname */ - { AS(access_args), (sy_call_t *)access, AUE_ACCESS }, /* 33 = access */ - { AS(chflags_args), (sy_call_t *)chflags, AUE_CHFLAGS }, /* 34 = chflags */ - { AS(fchflags_args), (sy_call_t *)fchflags, AUE_FCHFLAGS }, /* 35 = fchflags */ - { 0, (sy_call_t *)sync, AUE_SYNC }, /* 36 = sync */ - { AS(kill_args), (sy_call_t *)kill, AUE_KILL }, /* 37 = kill */ - { compat(AS(ostat_args),stat), AUE_STAT }, /* 38 = old stat */ - { 0, (sy_call_t *)getppid, AUE_GETPPID }, /* 39 = getppid */ - { compat(AS(olstat_args),lstat), AUE_LSTAT }, /* 40 = old lstat */ - { AS(dup_args), (sy_call_t *)dup, AUE_DUP }, /* 41 = dup */ - { 0, (sy_call_t *)pipe, AUE_PIPE }, /* 42 = pipe */ - { 0, (sy_call_t *)getegid, AUE_GETEGID }, /* 43 = getegid */ - { AS(profil_args), (sy_call_t *)profil, AUE_PROFILE }, /* 44 = profil */ - { AS(ktrace_args), (sy_call_t *)ktrace, AUE_KTRACE }, /* 45 = ktrace */ - { compat(AS(osigaction_args),sigaction), AUE_SIGACTION }, /* 46 = old sigaction */ - { 0, (sy_call_t *)getgid, AUE_GETGID }, /* 47 = getgid */ - { compat(AS(osigprocmask_args),sigprocmask), AUE_SIGPROCMASK }, /* 48 = old sigprocmask */ - { AS(getlogin_args), (sy_call_t *)getlogin, AUE_GETLOGIN }, /* 49 = getlogin */ - { AS(setlogin_args), (sy_call_t *)setlogin, AUE_SETLOGIN }, /* 50 = setlogin */ - { AS(acct_args), (sy_call_t *)acct, AUE_ACCT }, /* 51 = acct */ - { compat(0,sigpending), AUE_SIGPENDING }, /* 52 = old sigpending */ - { AS(sigaltstack_args), (sy_call_t *)sigaltstack, AUE_SIGPENDING }, /* 53 = sigaltstack */ - { AS(ioctl_args), (sy_call_t *)ioctl, AUE_IOCTL }, /* 54 = ioctl */ - { AS(reboot_args), (sy_call_t *)reboot, AUE_REBOOT }, /* 55 = reboot */ - { AS(revoke_args), (sy_call_t *)revoke, AUE_REVOKE }, /* 56 = revoke */ - { AS(symlink_args), (sy_call_t *)symlink, AUE_SYMLINK }, /* 57 = symlink */ - { AS(readlink_args), (sy_call_t *)readlink, AUE_READLINK }, /* 58 = readlink */ - { AS(execve_args), (sy_call_t *)execve, AUE_EXECVE }, /* 59 = execve */ - { AS(umask_args), (sy_call_t *)umask, AUE_UMASK }, /* 60 = umask */ - { AS(chroot_args), (sy_call_t *)chroot, AUE_CHROOT }, /* 61 = chroot */ - { compat(AS(ofstat_args),fstat), AUE_FSTAT }, /* 62 = old fstat */ - { compat(AS(getkerninfo_args),getkerninfo), AUE_NULL }, /* 63 = old getkerninfo */ - { compat(0,getpagesize), AUE_O_GETPAGESIZE }, /* 64 = old getpagesize */ - { AS(msync_args), (sy_call_t *)msync, AUE_MSYNC }, /* 65 = msync */ - { 0, (sy_call_t *)vfork, AUE_VFORK }, /* 66 = vfork */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 67 = obsolete vread */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 68 = obsolete vwrite */ - { AS(sbrk_args), (sy_call_t *)sbrk, AUE_SBRK }, /* 69 = sbrk */ - { AS(sstk_args), (sy_call_t *)sstk, AUE_SSTK }, /* 70 = sstk */ - { compat(AS(ommap_args),mmap), AUE_MMAP }, /* 71 = old mmap */ - { AS(ovadvise_args), (sy_call_t *)ovadvise, AUE_O_VADVISE }, /* 72 = vadvise */ - { AS(munmap_args), (sy_call_t *)munmap, AUE_MUNMAP }, /* 73 = munmap */ - { AS(mprotect_args), (sy_call_t *)mprotect, AUE_MPROTECT }, /* 74 = mprotect */ - { AS(madvise_args), (sy_call_t *)madvise, AUE_MADVISE }, /* 75 = madvise */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 76 = obsolete vhangup */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 77 = obsolete vlimit */ - { AS(mincore_args), (sy_call_t *)mincore, AUE_MINCORE }, /* 78 = mincore */ - { AS(getgroups_args), (sy_call_t *)getgroups, AUE_GETGROUPS }, /* 79 = getgroups */ - { AS(setgroups_args), (sy_call_t *)setgroups, AUE_SETGROUPS }, /* 80 = setgroups */ - { 0, (sy_call_t *)getpgrp, AUE_GETPGRP }, /* 81 = getpgrp */ - { AS(setpgid_args), (sy_call_t *)setpgid, AUE_SETPGRP }, /* 82 = setpgid */ - { AS(setitimer_args), (sy_call_t *)setitimer, AUE_SETITIMER }, /* 83 = setitimer */ - { compat(0,wait), AUE_WAIT4 }, /* 84 = old wait */ - { AS(swapon_args), (sy_call_t *)swapon, AUE_SWAPON }, /* 85 = swapon */ - { AS(getitimer_args), (sy_call_t *)getitimer, AUE_GETITIMER }, /* 86 = getitimer */ - { compat(AS(gethostname_args),gethostname), AUE_SYSCTL }, /* 87 = old gethostname */ - { compat(AS(sethostname_args),sethostname), AUE_SYSCTL }, /* 88 = old sethostname */ - { 0, (sy_call_t *)getdtablesize, AUE_GETDTABLESIZE }, /* 89 = getdtablesize */ - { AS(dup2_args), (sy_call_t *)dup2, AUE_DUP2 }, /* 90 = dup2 */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 91 = getdopt */ - { AS(fcntl_args), (sy_call_t *)fcntl, AUE_FCNTL }, /* 92 = fcntl */ - { AS(select_args), (sy_call_t *)select, AUE_SELECT }, /* 93 = select */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 94 = setdopt */ - { AS(fsync_args), (sy_call_t *)fsync, AUE_FSYNC }, /* 95 = fsync */ - { AS(setpriority_args), (sy_call_t *)setpriority, AUE_SETPRIORITY }, /* 96 = setpriority */ - { AS(socket_args), (sy_call_t *)socket, AUE_SOCKET }, /* 97 = socket */ - { AS(connect_args), (sy_call_t *)connect, AUE_CONNECT }, /* 98 = connect */ - { compat(AS(accept_args),accept), AUE_ACCEPT }, /* 99 = old accept */ - { AS(getpriority_args), (sy_call_t *)getpriority, AUE_GETPRIORITY }, /* 100 = getpriority */ - { compat(AS(osend_args),send), AUE_SEND }, /* 101 = old send */ - { compat(AS(orecv_args),recv), AUE_RECV }, /* 102 = old recv */ - { compat(AS(osigreturn_args),sigreturn), AUE_SIGRETURN }, /* 103 = old sigreturn */ - { AS(bind_args), (sy_call_t *)bind, AUE_BIND }, /* 104 = bind */ - { AS(setsockopt_args), (sy_call_t *)setsockopt, AUE_SETSOCKOPT }, /* 105 = setsockopt */ - { AS(listen_args), (sy_call_t *)listen, AUE_LISTEN }, /* 106 = listen */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 107 = obsolete vtimes */ - { compat(AS(osigvec_args),sigvec), AUE_NULL }, /* 108 = old sigvec */ - { compat(AS(osigblock_args),sigblock), AUE_NULL }, /* 109 = old sigblock */ - { compat(AS(osigsetmask_args),sigsetmask), AUE_NULL }, /* 110 = old sigsetmask */ - { compat(AS(osigsuspend_args),sigsuspend), AUE_NULL }, /* 111 = old sigsuspend */ - { compat(AS(osigstack_args),sigstack), AUE_NULL }, /* 112 = old sigstack */ - { compat(AS(orecvmsg_args),recvmsg), AUE_RECVMSG }, /* 113 = old recvmsg */ - { compat(AS(osendmsg_args),sendmsg), AUE_SENDMSG }, /* 114 = old sendmsg */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 115 = obsolete vtrace */ - { AS(gettimeofday_args), (sy_call_t *)gettimeofday, AUE_GETTIMEOFDAY }, /* 116 = gettimeofday */ - { AS(getrusage_args), (sy_call_t *)getrusage, AUE_GETRUSAGE }, /* 117 = getrusage */ - { AS(getsockopt_args), (sy_call_t *)getsockopt, AUE_GETSOCKOPT }, /* 118 = getsockopt */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 119 = resuba */ - { AS(readv_args), (sy_call_t *)readv, AUE_READV }, /* 120 = readv */ - { AS(writev_args), (sy_call_t *)writev, AUE_WRITEV }, /* 121 = writev */ - { AS(settimeofday_args), (sy_call_t *)settimeofday, AUE_SETTIMEOFDAY }, /* 122 = settimeofday */ - { AS(fchown_args), (sy_call_t *)fchown, AUE_FCHOWN }, /* 123 = fchown */ - { AS(fchmod_args), (sy_call_t *)fchmod, AUE_FCHMOD }, /* 124 = fchmod */ - { compat(AS(recvfrom_args),recvfrom), AUE_RECVFROM }, /* 125 = old recvfrom */ - { AS(setreuid_args), (sy_call_t *)setreuid, AUE_SETREUID }, /* 126 = setreuid */ - { AS(setregid_args), (sy_call_t *)setregid, AUE_SETREGID }, /* 127 = setregid */ - { AS(rename_args), (sy_call_t *)rename, AUE_RENAME }, /* 128 = rename */ - { compat(AS(otruncate_args),truncate), AUE_TRUNCATE }, /* 129 = old truncate */ - { compat(AS(oftruncate_args),ftruncate), AUE_FTRUNCATE }, /* 130 = old ftruncate */ - { AS(flock_args), (sy_call_t *)flock, AUE_FLOCK }, /* 131 = flock */ - { AS(mkfifo_args), (sy_call_t *)mkfifo, AUE_MKFIFO }, /* 132 = mkfifo */ - { AS(sendto_args), (sy_call_t *)sendto, AUE_SENDTO }, /* 133 = sendto */ - { AS(shutdown_args), (sy_call_t *)shutdown, AUE_SHUTDOWN }, /* 134 = shutdown */ - { AS(socketpair_args), (sy_call_t *)socketpair, AUE_SOCKETPAIR }, /* 135 = socketpair */ - { AS(mkdir_args), (sy_call_t *)mkdir, AUE_MKDIR }, /* 136 = mkdir */ - { AS(rmdir_args), (sy_call_t *)rmdir, AUE_RMDIR }, /* 137 = rmdir */ - { AS(utimes_args), (sy_call_t *)utimes, AUE_UTIMES }, /* 138 = utimes */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 139 = obsolete 4.2 sigreturn */ - { AS(adjtime_args), (sy_call_t *)adjtime, AUE_ADJTIME }, /* 140 = adjtime */ - { compat(AS(ogetpeername_args),getpeername), AUE_GETPEERNAME }, /* 141 = old getpeername */ - { compat(0,gethostid), AUE_SYSCTL }, /* 142 = old gethostid */ - { compat(AS(osethostid_args),sethostid), AUE_SYSCTL }, /* 143 = old sethostid */ - { compat(AS(ogetrlimit_args),getrlimit), AUE_GETRLIMIT }, /* 144 = old getrlimit */ - { compat(AS(osetrlimit_args),setrlimit), AUE_SETRLIMIT }, /* 145 = old setrlimit */ - { compat(AS(okillpg_args),killpg), AUE_KILLPG }, /* 146 = old killpg */ - { 0, (sy_call_t *)setsid, AUE_SETSID }, /* 147 = setsid */ - { AS(quotactl_args), (sy_call_t *)quotactl, AUE_QUOTACTL }, /* 148 = quotactl */ - { compat(0,quota), AUE_O_QUOTA }, /* 149 = old quota */ - { compat(AS(getsockname_args),getsockname), AUE_GETSOCKNAME }, /* 150 = old getsockname */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 151 = sem_lock */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 152 = sem_wakeup */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 153 = asyncdaemon */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 154 = nosys */ - { AS(nfssvc_args), (sy_call_t *)nosys, AUE_NULL }, /* 155 = nfssvc */ - { compat(AS(ogetdirentries_args),getdirentries), AUE_GETDIRENTRIES }, /* 156 = old getdirentries */ - { compat4(AS(freebsd4_statfs_args),statfs), AUE_STATFS }, /* 157 = old statfs */ - { compat4(AS(freebsd4_fstatfs_args),fstatfs), AUE_FSTATFS }, /* 158 = old fstatfs */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 159 = nosys */ - { AS(lgetfh_args), (sy_call_t *)lgetfh, AUE_LGETFH }, /* 160 = lgetfh */ - { AS(getfh_args), (sy_call_t *)getfh, AUE_NFS_GETFH }, /* 161 = getfh */ - { AS(getdomainname_args), (sy_call_t *)getdomainname, AUE_SYSCTL }, /* 162 = getdomainname */ - { AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_SYSCTL }, /* 163 = setdomainname */ - { AS(uname_args), (sy_call_t *)uname, AUE_NULL }, /* 164 = uname */ - { AS(sysarch_args), (sy_call_t *)sysarch, AUE_NULL }, /* 165 = sysarch */ - { AS(rtprio_args), (sy_call_t *)rtprio, AUE_NULL }, /* 166 = rtprio */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 167 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 168 = nosys */ - { AS(semsys_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 169 = semsys */ - { AS(msgsys_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 170 = msgsys */ - { AS(shmsys_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 171 = shmsys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 172 = nosys */ - { AS(pread_args), (sy_call_t *)pread, AUE_PREAD }, /* 173 = pread */ - { AS(pwrite_args), (sy_call_t *)pwrite, AUE_PWRITE }, /* 174 = pwrite */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 175 = nosys */ - { AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime, AUE_ADJTIME }, /* 176 = ntp_adjtime */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 177 = sfork */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 178 = getdescriptor */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 179 = setdescriptor */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 180 = nosys */ - { AS(setgid_args), (sy_call_t *)setgid, AUE_SETGID }, /* 181 = setgid */ - { AS(setegid_args), (sy_call_t *)setegid, AUE_SETEGID }, /* 182 = setegid */ - { AS(seteuid_args), (sy_call_t *)seteuid, AUE_SETEUID }, /* 183 = seteuid */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 184 = lfs_bmapv */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 185 = lfs_markv */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 186 = lfs_segclean */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 187 = lfs_segwait */ - { AS(stat_args), (sy_call_t *)stat, AUE_STAT }, /* 188 = stat */ - { AS(fstat_args), (sy_call_t *)fstat, AUE_FSTAT }, /* 189 = fstat */ - { AS(lstat_args), (sy_call_t *)lstat, AUE_LSTAT }, /* 190 = lstat */ - { AS(pathconf_args), (sy_call_t *)pathconf, AUE_PATHCONF }, /* 191 = pathconf */ - { AS(fpathconf_args), (sy_call_t *)fpathconf, AUE_FPATHCONF }, /* 192 = fpathconf */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 193 = nosys */ - { AS(__getrlimit_args), (sy_call_t *)getrlimit, AUE_GETRLIMIT }, /* 194 = getrlimit */ - { AS(__setrlimit_args), (sy_call_t *)setrlimit, AUE_SETRLIMIT }, /* 195 = setrlimit */ - { AS(getdirentries_args), (sy_call_t *)getdirentries, AUE_GETDIRENTRIES }, /* 196 = getdirentries */ - { AS(mmap_args), (sy_call_t *)mmap, AUE_MMAP }, /* 197 = mmap */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 198 = __syscall */ - { AS(lseek_args), (sy_call_t *)lseek, AUE_LSEEK }, /* 199 = lseek */ - { AS(truncate_args), (sy_call_t *)truncate, AUE_TRUNCATE }, /* 200 = truncate */ - { AS(ftruncate_args), (sy_call_t *)ftruncate, AUE_FTRUNCATE }, /* 201 = ftruncate */ - { AS(sysctl_args), (sy_call_t *)__sysctl, AUE_SYSCTL }, /* 202 = __sysctl */ - { AS(mlock_args), (sy_call_t *)mlock, AUE_MLOCK }, /* 203 = mlock */ - { AS(munlock_args), (sy_call_t *)munlock, AUE_MUNLOCK }, /* 204 = munlock */ - { AS(undelete_args), (sy_call_t *)undelete, AUE_UNDELETE }, /* 205 = undelete */ - { AS(futimes_args), (sy_call_t *)futimes, AUE_FUTIMES }, /* 206 = futimes */ - { AS(getpgid_args), (sy_call_t *)getpgid, AUE_GETPGID }, /* 207 = getpgid */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 208 = newreboot */ - { AS(poll_args), (sy_call_t *)poll, AUE_POLL }, /* 209 = poll */ - { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 210 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 211 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 212 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 213 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 214 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 215 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 216 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 217 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 218 = lkmnosys */ - { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 219 = lkmnosys */ - { AS(__semctl_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 220 = __semctl */ - { AS(semget_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 221 = semget */ - { AS(semop_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 222 = semop */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 223 = semconfig */ - { AS(msgctl_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 224 = msgctl */ - { AS(msgget_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 225 = msgget */ - { AS(msgsnd_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 226 = msgsnd */ - { AS(msgrcv_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 227 = msgrcv */ - { AS(shmat_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 228 = shmat */ - { AS(shmctl_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 229 = shmctl */ - { AS(shmdt_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 230 = shmdt */ - { AS(shmget_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 231 = shmget */ - { AS(clock_gettime_args), (sy_call_t *)clock_gettime, AUE_NULL }, /* 232 = clock_gettime */ - { AS(clock_settime_args), (sy_call_t *)clock_settime, AUE_NULL }, /* 233 = clock_settime */ - { AS(clock_getres_args), (sy_call_t *)clock_getres, AUE_NULL }, /* 234 = clock_getres */ - { AS(ktimer_create_args), (sy_call_t *)ktimer_create, AUE_NULL }, /* 235 = ktimer_create */ - { AS(ktimer_delete_args), (sy_call_t *)ktimer_delete, AUE_NULL }, /* 236 = ktimer_delete */ - { AS(ktimer_settime_args), (sy_call_t *)ktimer_settime, AUE_NULL }, /* 237 = ktimer_settime */ - { AS(ktimer_gettime_args), (sy_call_t *)ktimer_gettime, AUE_NULL }, /* 238 = ktimer_gettime */ - { AS(ktimer_getoverrun_args), (sy_call_t *)ktimer_getoverrun, AUE_NULL }, /* 239 = ktimer_getoverrun */ - { AS(nanosleep_args), (sy_call_t *)nanosleep, AUE_NULL }, /* 240 = nanosleep */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 241 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 242 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 243 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 244 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 245 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 246 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 247 = nosys */ - { AS(ntp_gettime_args), (sy_call_t *)ntp_gettime, AUE_NULL }, /* 248 = ntp_gettime */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 249 = nosys */ - { AS(minherit_args), (sy_call_t *)minherit, AUE_MINHERIT }, /* 250 = minherit */ - { AS(rfork_args), (sy_call_t *)rfork, AUE_RFORK }, /* 251 = rfork */ - { AS(openbsd_poll_args), (sy_call_t *)openbsd_poll, AUE_POLL }, /* 252 = openbsd_poll */ - { 0, (sy_call_t *)issetugid, AUE_ISSETUGID }, /* 253 = issetugid */ - { AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN }, /* 254 = lchown */ - { AS(aio_read_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 255 = aio_read */ - { AS(aio_write_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 256 = aio_write */ - { AS(lio_listio_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 257 = lio_listio */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 258 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 259 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 260 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 261 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 262 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 263 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 264 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 265 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 266 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 267 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 268 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 269 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 270 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 271 = nosys */ - { AS(getdents_args), (sy_call_t *)getdents, AUE_O_GETDENTS }, /* 272 = getdents */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 273 = nosys */ - { AS(lchmod_args), (sy_call_t *)lchmod, AUE_LCHMOD }, /* 274 = lchmod */ - { AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN }, /* 275 = netbsd_lchown */ - { AS(lutimes_args), (sy_call_t *)lutimes, AUE_LUTIMES }, /* 276 = lutimes */ - { AS(msync_args), (sy_call_t *)msync, AUE_MSYNC }, /* 277 = netbsd_msync */ - { AS(nstat_args), (sy_call_t *)nstat, AUE_STAT }, /* 278 = nstat */ - { AS(nfstat_args), (sy_call_t *)nfstat, AUE_FSTAT }, /* 279 = nfstat */ - { AS(nlstat_args), (sy_call_t *)nlstat, AUE_LSTAT }, /* 280 = nlstat */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 281 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 282 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 283 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 284 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 285 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 286 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 287 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 288 = nosys */ - { AS(preadv_args), (sy_call_t *)preadv, AUE_NULL }, /* 289 = preadv */ - { AS(pwritev_args), (sy_call_t *)pwritev, AUE_NULL }, /* 290 = pwritev */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 291 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 292 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 293 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 294 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 295 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 296 = nosys */ - { compat4(AS(freebsd4_fhstatfs_args),fhstatfs), AUE_FHSTATFS }, /* 297 = old fhstatfs */ - { AS(fhopen_args), (sy_call_t *)fhopen, AUE_FHOPEN }, /* 298 = fhopen */ - { AS(fhstat_args), (sy_call_t *)fhstat, AUE_FHSTAT }, /* 299 = fhstat */ - { AS(modnext_args), (sy_call_t *)modnext, AUE_NULL }, /* 300 = modnext */ - { AS(modstat_args), (sy_call_t *)modstat, AUE_NULL }, /* 301 = modstat */ - { AS(modfnext_args), (sy_call_t *)modfnext, AUE_NULL }, /* 302 = modfnext */ - { AS(modfind_args), (sy_call_t *)modfind, AUE_NULL }, /* 303 = modfind */ - { AS(kldload_args), (sy_call_t *)kldload, AUE_MODLOAD }, /* 304 = kldload */ - { AS(kldunload_args), (sy_call_t *)kldunload, AUE_MODUNLOAD }, /* 305 = kldunload */ - { AS(kldfind_args), (sy_call_t *)kldfind, AUE_NULL }, /* 306 = kldfind */ - { AS(kldnext_args), (sy_call_t *)kldnext, AUE_NULL }, /* 307 = kldnext */ - { AS(kldstat_args), (sy_call_t *)kldstat, AUE_NULL }, /* 308 = kldstat */ - { AS(kldfirstmod_args), (sy_call_t *)kldfirstmod, AUE_NULL }, /* 309 = kldfirstmod */ - { AS(getsid_args), (sy_call_t *)getsid, AUE_GETSID }, /* 310 = getsid */ - { AS(setresuid_args), (sy_call_t *)setresuid, AUE_SETRESUID }, /* 311 = setresuid */ - { AS(setresgid_args), (sy_call_t *)setresgid, AUE_SETRESGID }, /* 312 = setresgid */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 313 = obsolete signanosleep */ - { AS(aio_return_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 314 = aio_return */ - { AS(aio_suspend_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 315 = aio_suspend */ - { AS(aio_cancel_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 316 = aio_cancel */ - { AS(aio_error_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 317 = aio_error */ - { AS(oaio_read_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 318 = oaio_read */ - { AS(oaio_write_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 319 = oaio_write */ - { AS(olio_listio_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 320 = olio_listio */ - { 0, (sy_call_t *)yield, AUE_NULL }, /* 321 = yield */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 322 = obsolete thr_sleep */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 323 = obsolete thr_wakeup */ - { AS(mlockall_args), (sy_call_t *)mlockall, AUE_MLOCKALL }, /* 324 = mlockall */ - { 0, (sy_call_t *)munlockall, AUE_MUNLOCKALL }, /* 325 = munlockall */ - { AS(__getcwd_args), (sy_call_t *)__getcwd, AUE_NULL }, /* 326 = __getcwd */ - { AS(sched_setparam_args), (sy_call_t *)sched_setparam, AUE_NULL }, /* 327 = sched_setparam */ - { AS(sched_getparam_args), (sy_call_t *)sched_getparam, AUE_NULL }, /* 328 = sched_getparam */ - { AS(sched_setscheduler_args), (sy_call_t *)sched_setscheduler, AUE_NULL }, /* 329 = sched_setscheduler */ - { AS(sched_getscheduler_args), (sy_call_t *)sched_getscheduler, AUE_NULL }, /* 330 = sched_getscheduler */ - { 0, (sy_call_t *)sched_yield, AUE_NULL }, /* 331 = sched_yield */ - { AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max, AUE_NULL }, /* 332 = sched_get_priority_max */ - { AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min, AUE_NULL }, /* 333 = sched_get_priority_min */ - { AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval, AUE_NULL }, /* 334 = sched_rr_get_interval */ - { AS(utrace_args), (sy_call_t *)utrace, AUE_NULL }, /* 335 = utrace */ - { compat4(AS(freebsd4_sendfile_args),sendfile), AUE_SENDFILE }, /* 336 = old sendfile */ - { AS(kldsym_args), (sy_call_t *)kldsym, AUE_NULL }, /* 337 = kldsym */ - { AS(jail_args), (sy_call_t *)jail, AUE_JAIL }, /* 338 = jail */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 339 = pioctl */ - { AS(sigprocmask_args), (sy_call_t *)sigprocmask, AUE_SIGPROCMASK }, /* 340 = sigprocmask */ - { AS(sigsuspend_args), (sy_call_t *)sigsuspend, AUE_SIGSUSPEND }, /* 341 = sigsuspend */ - { compat4(AS(freebsd4_sigaction_args),sigaction), AUE_SIGACTION }, /* 342 = old sigaction */ - { AS(sigpending_args), (sy_call_t *)sigpending, AUE_SIGPENDING }, /* 343 = sigpending */ - { compat4(AS(freebsd4_sigreturn_args),sigreturn), AUE_SIGRETURN }, /* 344 = old sigreturn */ - { AS(sigtimedwait_args), (sy_call_t *)sigtimedwait, AUE_SIGWAIT }, /* 345 = sigtimedwait */ - { AS(sigwaitinfo_args), (sy_call_t *)sigwaitinfo, AUE_NULL }, /* 346 = sigwaitinfo */ - { AS(__acl_get_file_args), (sy_call_t *)__acl_get_file, AUE_NULL }, /* 347 = __acl_get_file */ - { AS(__acl_set_file_args), (sy_call_t *)__acl_set_file, AUE_NULL }, /* 348 = __acl_set_file */ - { AS(__acl_get_fd_args), (sy_call_t *)__acl_get_fd, AUE_NULL }, /* 349 = __acl_get_fd */ - { AS(__acl_set_fd_args), (sy_call_t *)__acl_set_fd, AUE_NULL }, /* 350 = __acl_set_fd */ - { AS(__acl_delete_file_args), (sy_call_t *)__acl_delete_file, AUE_NULL }, /* 351 = __acl_delete_file */ - { AS(__acl_delete_fd_args), (sy_call_t *)__acl_delete_fd, AUE_NULL }, /* 352 = __acl_delete_fd */ - { AS(__acl_aclcheck_file_args), (sy_call_t *)__acl_aclcheck_file, AUE_NULL }, /* 353 = __acl_aclcheck_file */ - { AS(__acl_aclcheck_fd_args), (sy_call_t *)__acl_aclcheck_fd, AUE_NULL }, /* 354 = __acl_aclcheck_fd */ - { AS(extattrctl_args), (sy_call_t *)extattrctl, AUE_EXTATTRCTL }, /* 355 = extattrctl */ - { AS(extattr_set_file_args), (sy_call_t *)extattr_set_file, AUE_EXTATTR_SET_FILE }, /* 356 = extattr_set_file */ - { AS(extattr_get_file_args), (sy_call_t *)extattr_get_file, AUE_EXTATTR_GET_FILE }, /* 357 = extattr_get_file */ - { AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file, AUE_EXTATTR_DELETE_FILE }, /* 358 = extattr_delete_file */ - { AS(aio_waitcomplete_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 359 = aio_waitcomplete */ - { AS(getresuid_args), (sy_call_t *)getresuid, AUE_GETRESUID }, /* 360 = getresuid */ - { AS(getresgid_args), (sy_call_t *)getresgid, AUE_GETRESGID }, /* 361 = getresgid */ - { 0, (sy_call_t *)kqueue, AUE_NULL }, /* 362 = kqueue */ - { AS(kevent_args), (sy_call_t *)kevent, AUE_NULL }, /* 363 = kevent */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 364 = __cap_get_proc */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 365 = __cap_set_proc */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 366 = __cap_get_fd */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 367 = __cap_get_file */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 368 = __cap_set_fd */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 369 = __cap_set_file */ - { AS(nosys_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 370 = lkmressys */ - { AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd, AUE_EXTATTR_SET_FD }, /* 371 = extattr_set_fd */ - { AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd, AUE_EXTATTR_GET_FD }, /* 372 = extattr_get_fd */ - { AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd, AUE_EXTATTR_DELETE_FD }, /* 373 = extattr_delete_fd */ - { AS(__setugid_args), (sy_call_t *)__setugid, AUE_NULL }, /* 374 = __setugid */ - { AS(nfsclnt_args), (sy_call_t *)nosys, AUE_NULL }, /* 375 = nfsclnt */ - { AS(eaccess_args), (sy_call_t *)eaccess, AUE_EACCESS }, /* 376 = eaccess */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 377 = afs_syscall */ - { AS(nmount_args), (sy_call_t *)nmount, AUE_NMOUNT }, /* 378 = nmount */ - { 0, (sy_call_t *)kse_exit, AUE_NULL }, /* 379 = kse_exit */ - { AS(kse_wakeup_args), (sy_call_t *)kse_wakeup, AUE_NULL }, /* 380 = kse_wakeup */ - { AS(kse_create_args), (sy_call_t *)kse_create, AUE_NULL }, /* 381 = kse_create */ - { AS(kse_thr_interrupt_args), (sy_call_t *)kse_thr_interrupt, AUE_NULL }, /* 382 = kse_thr_interrupt */ - { AS(kse_release_args), (sy_call_t *)kse_release, AUE_NULL }, /* 383 = kse_release */ - { AS(__mac_get_proc_args), (sy_call_t *)__mac_get_proc, AUE_NULL }, /* 384 = __mac_get_proc */ - { AS(__mac_set_proc_args), (sy_call_t *)__mac_set_proc, AUE_NULL }, /* 385 = __mac_set_proc */ - { AS(__mac_get_fd_args), (sy_call_t *)__mac_get_fd, AUE_NULL }, /* 386 = __mac_get_fd */ - { AS(__mac_get_file_args), (sy_call_t *)__mac_get_file, AUE_NULL }, /* 387 = __mac_get_file */ - { AS(__mac_set_fd_args), (sy_call_t *)__mac_set_fd, AUE_NULL }, /* 388 = __mac_set_fd */ - { AS(__mac_set_file_args), (sy_call_t *)__mac_set_file, AUE_NULL }, /* 389 = __mac_set_file */ - { AS(kenv_args), (sy_call_t *)kenv, AUE_NULL }, /* 390 = kenv */ - { AS(lchflags_args), (sy_call_t *)lchflags, AUE_LCHFLAGS }, /* 391 = lchflags */ - { AS(uuidgen_args), (sy_call_t *)uuidgen, AUE_NULL }, /* 392 = uuidgen */ - { AS(sendfile_args), (sy_call_t *)sendfile, AUE_SENDFILE }, /* 393 = sendfile */ - { AS(mac_syscall_args), (sy_call_t *)mac_syscall, AUE_NULL }, /* 394 = mac_syscall */ - { AS(getfsstat_args), (sy_call_t *)getfsstat, AUE_GETFSSTAT }, /* 395 = getfsstat */ - { AS(statfs_args), (sy_call_t *)statfs, AUE_STATFS }, /* 396 = statfs */ - { AS(fstatfs_args), (sy_call_t *)fstatfs, AUE_FSTATFS }, /* 397 = fstatfs */ - { AS(fhstatfs_args), (sy_call_t *)fhstatfs, AUE_NULL }, /* 398 = fhstatfs */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 399 = nosys */ - { AS(ksem_close_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 400 = ksem_close */ - { AS(ksem_post_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 401 = ksem_post */ - { AS(ksem_wait_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 402 = ksem_wait */ - { AS(ksem_trywait_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 403 = ksem_trywait */ - { AS(ksem_init_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 404 = ksem_init */ - { AS(ksem_open_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 405 = ksem_open */ - { AS(ksem_unlink_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 406 = ksem_unlink */ - { AS(ksem_getvalue_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 407 = ksem_getvalue */ - { AS(ksem_destroy_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 408 = ksem_destroy */ - { AS(__mac_get_pid_args), (sy_call_t *)__mac_get_pid, AUE_NULL }, /* 409 = __mac_get_pid */ - { AS(__mac_get_link_args), (sy_call_t *)__mac_get_link, AUE_NULL }, /* 410 = __mac_get_link */ - { AS(__mac_set_link_args), (sy_call_t *)__mac_set_link, AUE_NULL }, /* 411 = __mac_set_link */ - { AS(extattr_set_link_args), (sy_call_t *)extattr_set_link, AUE_EXTATTR_SET_LINK }, /* 412 = extattr_set_link */ - { AS(extattr_get_link_args), (sy_call_t *)extattr_get_link, AUE_EXTATTR_GET_LINK }, /* 413 = extattr_get_link */ - { AS(extattr_delete_link_args), (sy_call_t *)extattr_delete_link, AUE_EXTATTR_DELETE_LINK }, /* 414 = extattr_delete_link */ - { AS(__mac_execve_args), (sy_call_t *)__mac_execve, AUE_NULL }, /* 415 = __mac_execve */ - { AS(sigaction_args), (sy_call_t *)sigaction, AUE_SIGACTION }, /* 416 = sigaction */ - { AS(sigreturn_args), (sy_call_t *)sigreturn, AUE_SIGRETURN }, /* 417 = sigreturn */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 418 = __xstat */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 419 = __xfstat */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 420 = __xlstat */ - { AS(getcontext_args), (sy_call_t *)getcontext, AUE_NULL }, /* 421 = getcontext */ - { AS(setcontext_args), (sy_call_t *)setcontext, AUE_NULL }, /* 422 = setcontext */ - { AS(swapcontext_args), (sy_call_t *)swapcontext, AUE_NULL }, /* 423 = swapcontext */ - { AS(swapoff_args), (sy_call_t *)swapoff, AUE_SWAPOFF }, /* 424 = swapoff */ - { AS(__acl_get_link_args), (sy_call_t *)__acl_get_link, AUE_NULL }, /* 425 = __acl_get_link */ - { AS(__acl_set_link_args), (sy_call_t *)__acl_set_link, AUE_NULL }, /* 426 = __acl_set_link */ - { AS(__acl_delete_link_args), (sy_call_t *)__acl_delete_link, AUE_NULL }, /* 427 = __acl_delete_link */ - { AS(__acl_aclcheck_link_args), (sy_call_t *)__acl_aclcheck_link, AUE_NULL }, /* 428 = __acl_aclcheck_link */ - { AS(sigwait_args), (sy_call_t *)sigwait, AUE_SIGWAIT }, /* 429 = sigwait */ - { AS(thr_create_args), (sy_call_t *)thr_create, AUE_NULL }, /* 430 = thr_create */ - { AS(thr_exit_args), (sy_call_t *)thr_exit, AUE_NULL }, /* 431 = thr_exit */ - { AS(thr_self_args), (sy_call_t *)thr_self, AUE_NULL }, /* 432 = thr_self */ - { AS(thr_kill_args), (sy_call_t *)thr_kill, AUE_NULL }, /* 433 = thr_kill */ - { AS(_umtx_lock_args), (sy_call_t *)_umtx_lock, AUE_NULL }, /* 434 = _umtx_lock */ - { AS(_umtx_unlock_args), (sy_call_t *)_umtx_unlock, AUE_NULL }, /* 435 = _umtx_unlock */ - { AS(jail_attach_args), (sy_call_t *)jail_attach, AUE_NULL }, /* 436 = jail_attach */ - { AS(extattr_list_fd_args), (sy_call_t *)extattr_list_fd, AUE_EXTATTR_LIST_FD }, /* 437 = extattr_list_fd */ - { AS(extattr_list_file_args), (sy_call_t *)extattr_list_file, AUE_EXTATTR_LIST_FILE }, /* 438 = extattr_list_file */ - { AS(extattr_list_link_args), (sy_call_t *)extattr_list_link, AUE_EXTATTR_LIST_LINK }, /* 439 = extattr_list_link */ - { AS(kse_switchin_args), (sy_call_t *)kse_switchin, AUE_NULL }, /* 440 = kse_switchin */ - { AS(ksem_timedwait_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 441 = ksem_timedwait */ - { AS(thr_suspend_args), (sy_call_t *)thr_suspend, AUE_NULL }, /* 442 = thr_suspend */ - { AS(thr_wake_args), (sy_call_t *)thr_wake, AUE_NULL }, /* 443 = thr_wake */ - { AS(kldunloadf_args), (sy_call_t *)kldunloadf, AUE_NULL }, /* 444 = kldunloadf */ - { AS(audit_args), (sy_call_t *)audit, AUE_AUDIT }, /* 445 = audit */ - { AS(auditon_args), (sy_call_t *)auditon, AUE_AUDITON }, /* 446 = auditon */ - { AS(getauid_args), (sy_call_t *)getauid, AUE_GETAUID }, /* 447 = getauid */ - { AS(setauid_args), (sy_call_t *)setauid, AUE_SETAUID }, /* 448 = setauid */ - { AS(getaudit_args), (sy_call_t *)getaudit, AUE_GETAUDIT }, /* 449 = getaudit */ - { AS(setaudit_args), (sy_call_t *)setaudit, AUE_SETAUDIT }, /* 450 = setaudit */ - { AS(getaudit_addr_args), (sy_call_t *)getaudit_addr, AUE_GETAUDIT_ADDR }, /* 451 = getaudit_addr */ - { AS(setaudit_addr_args), (sy_call_t *)setaudit_addr, AUE_SETAUDIT_ADDR }, /* 452 = setaudit_addr */ - { AS(auditctl_args), (sy_call_t *)auditctl, AUE_AUDITCTL }, /* 453 = auditctl */ - { AS(_umtx_op_args), (sy_call_t *)_umtx_op, AUE_NULL }, /* 454 = _umtx_op */ - { AS(thr_new_args), (sy_call_t *)thr_new, AUE_NULL }, /* 455 = thr_new */ - { AS(sigqueue_args), (sy_call_t *)sigqueue, AUE_NULL }, /* 456 = sigqueue */ - { AS(kmq_open_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 457 = kmq_open */ - { AS(kmq_setattr_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 458 = kmq_setattr */ - { AS(kmq_timedreceive_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 459 = kmq_timedreceive */ - { AS(kmq_timedsend_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 460 = kmq_timedsend */ - { AS(kmq_notify_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 461 = kmq_notify */ - { AS(kmq_unlink_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 462 = kmq_unlink */ - { AS(abort2_args), (sy_call_t *)abort2, AUE_NULL }, /* 463 = abort2 */ - { AS(thr_set_name_args), (sy_call_t *)thr_set_name, AUE_NULL }, /* 464 = thr_set_name */ - { AS(aio_fsync_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 465 = aio_fsync */ - { AS(thr_setscheduler_args), (sy_call_t *)thr_setscheduler, AUE_NULL }, /* 466 = thr_setscheduler */ - { AS(thr_getscheduler_args), (sy_call_t *)thr_getscheduler, AUE_NULL }, /* 467 = thr_getscheduler */ - { AS(thr_setschedparam_args), (sy_call_t *)thr_setschedparam, AUE_NULL }, /* 468 = thr_setschedparam */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 0 = syscall */ + { AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_EXIT, NULL, 0, 0 }, /* 1 = exit */ + { 0, (sy_call_t *)fork, AUE_FORK, NULL, 0, 0 }, /* 2 = fork */ + { AS(read_args), (sy_call_t *)read, AUE_NULL, NULL, 0, 0 }, /* 3 = read */ + { AS(write_args), (sy_call_t *)write, AUE_NULL, NULL, 0, 0 }, /* 4 = write */ + { AS(open_args), (sy_call_t *)open, AUE_OPEN_RWTC, NULL, 0, 0 }, /* 5 = open */ + { AS(close_args), (sy_call_t *)close, AUE_CLOSE, NULL, 0, 0 }, /* 6 = close */ + { AS(wait_args), (sy_call_t *)wait4, AUE_WAIT4, NULL, 0, 0 }, /* 7 = wait4 */ + { compat(AS(ocreat_args),creat), AUE_O_CREAT, NULL, 0, 0 }, /* 8 = old creat */ + { AS(link_args), (sy_call_t *)link, AUE_LINK, NULL, 0, 0 }, /* 9 = link */ + { AS(unlink_args), (sy_call_t *)unlink, AUE_UNLINK, NULL, 0, 0 }, /* 10 = unlink */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 11 = obsolete execv */ + { AS(chdir_args), (sy_call_t *)chdir, AUE_CHDIR, NULL, 0, 0 }, /* 12 = chdir */ + { AS(fchdir_args), (sy_call_t *)fchdir, AUE_FCHDIR, NULL, 0, 0 }, /* 13 = fchdir */ + { AS(mknod_args), (sy_call_t *)mknod, AUE_MKNOD, NULL, 0, 0 }, /* 14 = mknod */ + { AS(chmod_args), (sy_call_t *)chmod, AUE_CHMOD, NULL, 0, 0 }, /* 15 = chmod */ + { AS(chown_args), (sy_call_t *)chown, AUE_CHOWN, NULL, 0, 0 }, /* 16 = chown */ + { AS(obreak_args), (sy_call_t *)obreak, AUE_NULL, NULL, 0, 0 }, /* 17 = break */ + { compat4(AS(freebsd4_getfsstat_args),getfsstat), AUE_GETFSSTAT, NULL, 0, 0 }, /* 18 = old getfsstat */ + { compat(AS(olseek_args),lseek), AUE_LSEEK, NULL, 0, 0 }, /* 19 = old lseek */ + { 0, (sy_call_t *)getpid, AUE_GETPID, NULL, 0, 0 }, /* 20 = getpid */ + { AS(mount_args), (sy_call_t *)mount, AUE_MOUNT, NULL, 0, 0 }, /* 21 = mount */ + { AS(unmount_args), (sy_call_t *)unmount, AUE_UMOUNT, NULL, 0, 0 }, /* 22 = unmount */ + { AS(setuid_args), (sy_call_t *)setuid, AUE_SETUID, NULL, 0, 0 }, /* 23 = setuid */ + { 0, (sy_call_t *)getuid, AUE_GETUID, NULL, 0, 0 }, /* 24 = getuid */ + { 0, (sy_call_t *)geteuid, AUE_GETEUID, NULL, 0, 0 }, /* 25 = geteuid */ + { AS(ptrace_args), (sy_call_t *)ptrace, AUE_PTRACE, NULL, 0, 0 }, /* 26 = ptrace */ + { AS(recvmsg_args), (sy_call_t *)recvmsg, AUE_RECVMSG, NULL, 0, 0 }, /* 27 = recvmsg */ + { AS(sendmsg_args), (sy_call_t *)sendmsg, AUE_SENDMSG, NULL, 0, 0 }, /* 28 = sendmsg */ + { AS(recvfrom_args), (sy_call_t *)recvfrom, AUE_RECVFROM, NULL, 0, 0 }, /* 29 = recvfrom */ + { AS(accept_args), (sy_call_t *)accept, AUE_ACCEPT, NULL, 0, 0 }, /* 30 = accept */ + { AS(getpeername_args), (sy_call_t *)getpeername, AUE_GETPEERNAME, NULL, 0, 0 }, /* 31 = getpeername */ + { AS(getsockname_args), (sy_call_t *)getsockname, AUE_GETSOCKNAME, NULL, 0, 0 }, /* 32 = getsockname */ + { AS(access_args), (sy_call_t *)access, AUE_ACCESS, NULL, 0, 0 }, /* 33 = access */ + { AS(chflags_args), (sy_call_t *)chflags, AUE_CHFLAGS, NULL, 0, 0 }, /* 34 = chflags */ + { AS(fchflags_args), (sy_call_t *)fchflags, AUE_FCHFLAGS, NULL, 0, 0 }, /* 35 = fchflags */ + { 0, (sy_call_t *)sync, AUE_SYNC, NULL, 0, 0 }, /* 36 = sync */ + { AS(kill_args), (sy_call_t *)kill, AUE_KILL, NULL, 0, 0 }, /* 37 = kill */ + { compat(AS(ostat_args),stat), AUE_STAT, NULL, 0, 0 }, /* 38 = old stat */ + { 0, (sy_call_t *)getppid, AUE_GETPPID, NULL, 0, 0 }, /* 39 = getppid */ + { compat(AS(olstat_args),lstat), AUE_LSTAT, NULL, 0, 0 }, /* 40 = old lstat */ + { AS(dup_args), (sy_call_t *)dup, AUE_DUP, NULL, 0, 0 }, /* 41 = dup */ + { 0, (sy_call_t *)pipe, AUE_PIPE, NULL, 0, 0 }, /* 42 = pipe */ + { 0, (sy_call_t *)getegid, AUE_GETEGID, NULL, 0, 0 }, /* 43 = getegid */ + { AS(profil_args), (sy_call_t *)profil, AUE_PROFILE, NULL, 0, 0 }, /* 44 = profil */ + { AS(ktrace_args), (sy_call_t *)ktrace, AUE_KTRACE, NULL, 0, 0 }, /* 45 = ktrace */ + { compat(AS(osigaction_args),sigaction), AUE_SIGACTION, NULL, 0, 0 }, /* 46 = old sigaction */ + { 0, (sy_call_t *)getgid, AUE_GETGID, NULL, 0, 0 }, /* 47 = getgid */ + { compat(AS(osigprocmask_args),sigprocmask), AUE_SIGPROCMASK, NULL, 0, 0 }, /* 48 = old sigprocmask */ + { AS(getlogin_args), (sy_call_t *)getlogin, AUE_GETLOGIN, NULL, 0, 0 }, /* 49 = getlogin */ + { AS(setlogin_args), (sy_call_t *)setlogin, AUE_SETLOGIN, NULL, 0, 0 }, /* 50 = setlogin */ + { AS(acct_args), (sy_call_t *)acct, AUE_ACCT, NULL, 0, 0 }, /* 51 = acct */ + { compat(0,sigpending), AUE_SIGPENDING, NULL, 0, 0 }, /* 52 = old sigpending */ + { AS(sigaltstack_args), (sy_call_t *)sigaltstack, AUE_SIGPENDING, NULL, 0, 0 }, /* 53 = sigaltstack */ + { AS(ioctl_args), (sy_call_t *)ioctl, AUE_IOCTL, NULL, 0, 0 }, /* 54 = ioctl */ + { AS(reboot_args), (sy_call_t *)reboot, AUE_REBOOT, NULL, 0, 0 }, /* 55 = reboot */ + { AS(revoke_args), (sy_call_t *)revoke, AUE_REVOKE, NULL, 0, 0 }, /* 56 = revoke */ + { AS(symlink_args), (sy_call_t *)symlink, AUE_SYMLINK, NULL, 0, 0 }, /* 57 = symlink */ + { AS(readlink_args), (sy_call_t *)readlink, AUE_READLINK, NULL, 0, 0 }, /* 58 = readlink */ + { AS(execve_args), (sy_call_t *)execve, AUE_EXECVE, NULL, 0, 0 }, /* 59 = execve */ + { AS(umask_args), (sy_call_t *)umask, AUE_UMASK, NULL, 0, 0 }, /* 60 = umask */ + { AS(chroot_args), (sy_call_t *)chroot, AUE_CHROOT, NULL, 0, 0 }, /* 61 = chroot */ + { compat(AS(ofstat_args),fstat), AUE_FSTAT, NULL, 0, 0 }, /* 62 = old fstat */ + { compat(AS(getkerninfo_args),getkerninfo), AUE_NULL, NULL, 0, 0 }, /* 63 = old getkerninfo */ + { compat(0,getpagesize), AUE_O_GETPAGESIZE, NULL, 0, 0 }, /* 64 = old getpagesize */ + { AS(msync_args), (sy_call_t *)msync, AUE_MSYNC, NULL, 0, 0 }, /* 65 = msync */ + { 0, (sy_call_t *)vfork, AUE_VFORK, NULL, 0, 0 }, /* 66 = vfork */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 67 = obsolete vread */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 68 = obsolete vwrite */ + { AS(sbrk_args), (sy_call_t *)sbrk, AUE_SBRK, NULL, 0, 0 }, /* 69 = sbrk */ + { AS(sstk_args), (sy_call_t *)sstk, AUE_SSTK, NULL, 0, 0 }, /* 70 = sstk */ + { compat(AS(ommap_args),mmap), AUE_MMAP, NULL, 0, 0 }, /* 71 = old mmap */ + { AS(ovadvise_args), (sy_call_t *)ovadvise, AUE_O_VADVISE, NULL, 0, 0 }, /* 72 = vadvise */ + { AS(munmap_args), (sy_call_t *)munmap, AUE_MUNMAP, NULL, 0, 0 }, /* 73 = munmap */ + { AS(mprotect_args), (sy_call_t *)mprotect, AUE_MPROTECT, NULL, 0, 0 }, /* 74 = mprotect */ + { AS(madvise_args), (sy_call_t *)madvise, AUE_MADVISE, NULL, 0, 0 }, /* 75 = madvise */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 76 = obsolete vhangup */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 77 = obsolete vlimit */ + { AS(mincore_args), (sy_call_t *)mincore, AUE_MINCORE, NULL, 0, 0 }, /* 78 = mincore */ + { AS(getgroups_args), (sy_call_t *)getgroups, AUE_GETGROUPS, NULL, 0, 0 }, /* 79 = getgroups */ + { AS(setgroups_args), (sy_call_t *)setgroups, AUE_SETGROUPS, NULL, 0, 0 }, /* 80 = setgroups */ + { 0, (sy_call_t *)getpgrp, AUE_GETPGRP, NULL, 0, 0 }, /* 81 = getpgrp */ + { AS(setpgid_args), (sy_call_t *)setpgid, AUE_SETPGRP, NULL, 0, 0 }, /* 82 = setpgid */ + { AS(setitimer_args), (sy_call_t *)setitimer, AUE_SETITIMER, NULL, 0, 0 }, /* 83 = setitimer */ + { compat(0,wait), AUE_WAIT4, NULL, 0, 0 }, /* 84 = old wait */ + { AS(swapon_args), (sy_call_t *)swapon, AUE_SWAPON, NULL, 0, 0 }, /* 85 = swapon */ + { AS(getitimer_args), (sy_call_t *)getitimer, AUE_GETITIMER, NULL, 0, 0 }, /* 86 = getitimer */ + { compat(AS(gethostname_args),gethostname), AUE_SYSCTL, NULL, 0, 0 }, /* 87 = old gethostname */ + { compat(AS(sethostname_args),sethostname), AUE_SYSCTL, NULL, 0, 0 }, /* 88 = old sethostname */ + { 0, (sy_call_t *)getdtablesize, AUE_GETDTABLESIZE, NULL, 0, 0 }, /* 89 = getdtablesize */ + { AS(dup2_args), (sy_call_t *)dup2, AUE_DUP2, NULL, 0, 0 }, /* 90 = dup2 */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 91 = getdopt */ + { AS(fcntl_args), (sy_call_t *)fcntl, AUE_FCNTL, NULL, 0, 0 }, /* 92 = fcntl */ + { AS(select_args), (sy_call_t *)select, AUE_SELECT, NULL, 0, 0 }, /* 93 = select */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 94 = setdopt */ + { AS(fsync_args), (sy_call_t *)fsync, AUE_FSYNC, NULL, 0, 0 }, /* 95 = fsync */ + { AS(setpriority_args), (sy_call_t *)setpriority, AUE_SETPRIORITY, NULL, 0, 0 }, /* 96 = setpriority */ + { AS(socket_args), (sy_call_t *)socket, AUE_SOCKET, NULL, 0, 0 }, /* 97 = socket */ + { AS(connect_args), (sy_call_t *)connect, AUE_CONNECT, NULL, 0, 0 }, /* 98 = connect */ + { compat(AS(accept_args),accept), AUE_ACCEPT, NULL, 0, 0 }, /* 99 = old accept */ + { AS(getpriority_args), (sy_call_t *)getpriority, AUE_GETPRIORITY, NULL, 0, 0 }, /* 100 = getpriority */ + { compat(AS(osend_args),send), AUE_SEND, NULL, 0, 0 }, /* 101 = old send */ + { compat(AS(orecv_args),recv), AUE_RECV, NULL, 0, 0 }, /* 102 = old recv */ + { compat(AS(osigreturn_args),sigreturn), AUE_SIGRETURN, NULL, 0, 0 }, /* 103 = old sigreturn */ + { AS(bind_args), (sy_call_t *)bind, AUE_BIND, NULL, 0, 0 }, /* 104 = bind */ + { AS(setsockopt_args), (sy_call_t *)setsockopt, AUE_SETSOCKOPT, NULL, 0, 0 }, /* 105 = setsockopt */ + { AS(listen_args), (sy_call_t *)listen, AUE_LISTEN, NULL, 0, 0 }, /* 106 = listen */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 107 = obsolete vtimes */ + { compat(AS(osigvec_args),sigvec), AUE_NULL, NULL, 0, 0 }, /* 108 = old sigvec */ + { compat(AS(osigblock_args),sigblock), AUE_NULL, NULL, 0, 0 }, /* 109 = old sigblock */ + { compat(AS(osigsetmask_args),sigsetmask), AUE_NULL, NULL, 0, 0 }, /* 110 = old sigsetmask */ + { compat(AS(osigsuspend_args),sigsuspend), AUE_NULL, NULL, 0, 0 }, /* 111 = old sigsuspend */ + { compat(AS(osigstack_args),sigstack), AUE_NULL, NULL, 0, 0 }, /* 112 = old sigstack */ + { compat(AS(orecvmsg_args),recvmsg), AUE_RECVMSG, NULL, 0, 0 }, /* 113 = old recvmsg */ + { compat(AS(osendmsg_args),sendmsg), AUE_SENDMSG, NULL, 0, 0 }, /* 114 = old sendmsg */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 115 = obsolete vtrace */ + { AS(gettimeofday_args), (sy_call_t *)gettimeofday, AUE_GETTIMEOFDAY, NULL, 0, 0 }, /* 116 = gettimeofday */ + { AS(getrusage_args), (sy_call_t *)getrusage, AUE_GETRUSAGE, NULL, 0, 0 }, /* 117 = getrusage */ + { AS(getsockopt_args), (sy_call_t *)getsockopt, AUE_GETSOCKOPT, NULL, 0, 0 }, /* 118 = getsockopt */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 119 = resuba */ + { AS(readv_args), (sy_call_t *)readv, AUE_READV, NULL, 0, 0 }, /* 120 = readv */ + { AS(writev_args), (sy_call_t *)writev, AUE_WRITEV, NULL, 0, 0 }, /* 121 = writev */ + { AS(settimeofday_args), (sy_call_t *)settimeofday, AUE_SETTIMEOFDAY, NULL, 0, 0 }, /* 122 = settimeofday */ + { AS(fchown_args), (sy_call_t *)fchown, AUE_FCHOWN, NULL, 0, 0 }, /* 123 = fchown */ + { AS(fchmod_args), (sy_call_t *)fchmod, AUE_FCHMOD, NULL, 0, 0 }, /* 124 = fchmod */ + { compat(AS(recvfrom_args),recvfrom), AUE_RECVFROM, NULL, 0, 0 }, /* 125 = old recvfrom */ + { AS(setreuid_args), (sy_call_t *)setreuid, AUE_SETREUID, NULL, 0, 0 }, /* 126 = setreuid */ + { AS(setregid_args), (sy_call_t *)setregid, AUE_SETREGID, NULL, 0, 0 }, /* 127 = setregid */ + { AS(rename_args), (sy_call_t *)rename, AUE_RENAME, NULL, 0, 0 }, /* 128 = rename */ + { compat(AS(otruncate_args),truncate), AUE_TRUNCATE, NULL, 0, 0 }, /* 129 = old truncate */ + { compat(AS(oftruncate_args),ftruncate), AUE_FTRUNCATE, NULL, 0, 0 }, /* 130 = old ftruncate */ + { AS(flock_args), (sy_call_t *)flock, AUE_FLOCK, NULL, 0, 0 }, /* 131 = flock */ + { AS(mkfifo_args), (sy_call_t *)mkfifo, AUE_MKFIFO, NULL, 0, 0 }, /* 132 = mkfifo */ + { AS(sendto_args), (sy_call_t *)sendto, AUE_SENDTO, NULL, 0, 0 }, /* 133 = sendto */ + { AS(shutdown_args), (sy_call_t *)shutdown, AUE_SHUTDOWN, NULL, 0, 0 }, /* 134 = shutdown */ + { AS(socketpair_args), (sy_call_t *)socketpair, AUE_SOCKETPAIR, NULL, 0, 0 }, /* 135 = socketpair */ + { AS(mkdir_args), (sy_call_t *)mkdir, AUE_MKDIR, NULL, 0, 0 }, /* 136 = mkdir */ + { AS(rmdir_args), (sy_call_t *)rmdir, AUE_RMDIR, NULL, 0, 0 }, /* 137 = rmdir */ + { AS(utimes_args), (sy_call_t *)utimes, AUE_UTIMES, NULL, 0, 0 }, /* 138 = utimes */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 139 = obsolete 4.2 sigreturn */ + { AS(adjtime_args), (sy_call_t *)adjtime, AUE_ADJTIME, NULL, 0, 0 }, /* 140 = adjtime */ + { compat(AS(ogetpeername_args),getpeername), AUE_GETPEERNAME, NULL, 0, 0 }, /* 141 = old getpeername */ + { compat(0,gethostid), AUE_SYSCTL, NULL, 0, 0 }, /* 142 = old gethostid */ + { compat(AS(osethostid_args),sethostid), AUE_SYSCTL, NULL, 0, 0 }, /* 143 = old sethostid */ + { compat(AS(ogetrlimit_args),getrlimit), AUE_GETRLIMIT, NULL, 0, 0 }, /* 144 = old getrlimit */ + { compat(AS(osetrlimit_args),setrlimit), AUE_SETRLIMIT, NULL, 0, 0 }, /* 145 = old setrlimit */ + { compat(AS(okillpg_args),killpg), AUE_KILLPG, NULL, 0, 0 }, /* 146 = old killpg */ + { 0, (sy_call_t *)setsid, AUE_SETSID, NULL, 0, 0 }, /* 147 = setsid */ + { AS(quotactl_args), (sy_call_t *)quotactl, AUE_QUOTACTL, NULL, 0, 0 }, /* 148 = quotactl */ + { compat(0,quota), AUE_O_QUOTA, NULL, 0, 0 }, /* 149 = old quota */ + { compat(AS(getsockname_args),getsockname), AUE_GETSOCKNAME, NULL, 0, 0 }, /* 150 = old getsockname */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 151 = sem_lock */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 152 = sem_wakeup */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 153 = asyncdaemon */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 154 = nosys */ + { AS(nfssvc_args), (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 155 = nfssvc */ + { compat(AS(ogetdirentries_args),getdirentries), AUE_GETDIRENTRIES, NULL, 0, 0 }, /* 156 = old getdirentries */ + { compat4(AS(freebsd4_statfs_args),statfs), AUE_STATFS, NULL, 0, 0 }, /* 157 = old statfs */ + { compat4(AS(freebsd4_fstatfs_args),fstatfs), AUE_FSTATFS, NULL, 0, 0 }, /* 158 = old fstatfs */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 159 = nosys */ + { AS(lgetfh_args), (sy_call_t *)lgetfh, AUE_LGETFH, NULL, 0, 0 }, /* 160 = lgetfh */ + { AS(getfh_args), (sy_call_t *)getfh, AUE_NFS_GETFH, NULL, 0, 0 }, /* 161 = getfh */ + { AS(getdomainname_args), (sy_call_t *)getdomainname, AUE_SYSCTL, NULL, 0, 0 }, /* 162 = getdomainname */ + { AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_SYSCTL, NULL, 0, 0 }, /* 163 = setdomainname */ + { AS(uname_args), (sy_call_t *)uname, AUE_NULL, NULL, 0, 0 }, /* 164 = uname */ + { AS(sysarch_args), (sy_call_t *)sysarch, AUE_NULL, NULL, 0, 0 }, /* 165 = sysarch */ + { AS(rtprio_args), (sy_call_t *)rtprio, AUE_NULL, NULL, 0, 0 }, /* 166 = rtprio */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 167 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 168 = nosys */ + { AS(semsys_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 169 = semsys */ + { AS(msgsys_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 170 = msgsys */ + { AS(shmsys_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 171 = shmsys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 172 = nosys */ + { AS(pread_args), (sy_call_t *)pread, AUE_PREAD, NULL, 0, 0 }, /* 173 = pread */ + { AS(pwrite_args), (sy_call_t *)pwrite, AUE_PWRITE, NULL, 0, 0 }, /* 174 = pwrite */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 175 = nosys */ + { AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime, AUE_ADJTIME, NULL, 0, 0 }, /* 176 = ntp_adjtime */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 177 = sfork */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 178 = getdescriptor */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 179 = setdescriptor */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 180 = nosys */ + { AS(setgid_args), (sy_call_t *)setgid, AUE_SETGID, NULL, 0, 0 }, /* 181 = setgid */ + { AS(setegid_args), (sy_call_t *)setegid, AUE_SETEGID, NULL, 0, 0 }, /* 182 = setegid */ + { AS(seteuid_args), (sy_call_t *)seteuid, AUE_SETEUID, NULL, 0, 0 }, /* 183 = seteuid */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 184 = lfs_bmapv */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 185 = lfs_markv */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 186 = lfs_segclean */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 187 = lfs_segwait */ + { AS(stat_args), (sy_call_t *)stat, AUE_STAT, NULL, 0, 0 }, /* 188 = stat */ + { AS(fstat_args), (sy_call_t *)fstat, AUE_FSTAT, NULL, 0, 0 }, /* 189 = fstat */ + { AS(lstat_args), (sy_call_t *)lstat, AUE_LSTAT, NULL, 0, 0 }, /* 190 = lstat */ + { AS(pathconf_args), (sy_call_t *)pathconf, AUE_PATHCONF, NULL, 0, 0 }, /* 191 = pathconf */ + { AS(fpathconf_args), (sy_call_t *)fpathconf, AUE_FPATHCONF, NULL, 0, 0 }, /* 192 = fpathconf */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 193 = nosys */ + { AS(__getrlimit_args), (sy_call_t *)getrlimit, AUE_GETRLIMIT, NULL, 0, 0 }, /* 194 = getrlimit */ + { AS(__setrlimit_args), (sy_call_t *)setrlimit, AUE_SETRLIMIT, NULL, 0, 0 }, /* 195 = setrlimit */ + { AS(getdirentries_args), (sy_call_t *)getdirentries, AUE_GETDIRENTRIES, NULL, 0, 0 }, /* 196 = getdirentries */ + { AS(mmap_args), (sy_call_t *)mmap, AUE_MMAP, NULL, 0, 0 }, /* 197 = mmap */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 198 = __syscall */ + { AS(lseek_args), (sy_call_t *)lseek, AUE_LSEEK, NULL, 0, 0 }, /* 199 = lseek */ + { AS(truncate_args), (sy_call_t *)truncate, AUE_TRUNCATE, NULL, 0, 0 }, /* 200 = truncate */ + { AS(ftruncate_args), (sy_call_t *)ftruncate, AUE_FTRUNCATE, NULL, 0, 0 }, /* 201 = ftruncate */ + { AS(sysctl_args), (sy_call_t *)__sysctl, AUE_SYSCTL, NULL, 0, 0 }, /* 202 = __sysctl */ + { AS(mlock_args), (sy_call_t *)mlock, AUE_MLOCK, NULL, 0, 0 }, /* 203 = mlock */ + { AS(munlock_args), (sy_call_t *)munlock, AUE_MUNLOCK, NULL, 0, 0 }, /* 204 = munlock */ + { AS(undelete_args), (sy_call_t *)undelete, AUE_UNDELETE, NULL, 0, 0 }, /* 205 = undelete */ + { AS(futimes_args), (sy_call_t *)futimes, AUE_FUTIMES, NULL, 0, 0 }, /* 206 = futimes */ + { AS(getpgid_args), (sy_call_t *)getpgid, AUE_GETPGID, NULL, 0, 0 }, /* 207 = getpgid */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 208 = newreboot */ + { AS(poll_args), (sy_call_t *)poll, AUE_POLL, NULL, 0, 0 }, /* 209 = poll */ + { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 }, /* 210 = lkmnosys */ + { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 }, /* 211 = lkmnosys */ + { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 }, /* 212 = lkmnosys */ + { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 }, /* 213 = lkmnosys */ + { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 }, /* 214 = lkmnosys */ + { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 }, /* 215 = lkmnosys */ + { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 }, /* 216 = lkmnosys */ + { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 }, /* 217 = lkmnosys */ + { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 }, /* 218 = lkmnosys */ + { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 }, /* 219 = lkmnosys */ + { AS(__semctl_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 220 = __semctl */ + { AS(semget_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 221 = semget */ + { AS(semop_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 222 = semop */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 223 = semconfig */ + { AS(msgctl_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 224 = msgctl */ + { AS(msgget_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 225 = msgget */ + { AS(msgsnd_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 226 = msgsnd */ + { AS(msgrcv_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 227 = msgrcv */ + { AS(shmat_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 228 = shmat */ + { AS(shmctl_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 229 = shmctl */ + { AS(shmdt_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 230 = shmdt */ + { AS(shmget_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 231 = shmget */ + { AS(clock_gettime_args), (sy_call_t *)clock_gettime, AUE_NULL, NULL, 0, 0 }, /* 232 = clock_gettime */ + { AS(clock_settime_args), (sy_call_t *)clock_settime, AUE_NULL, NULL, 0, 0 }, /* 233 = clock_settime */ + { AS(clock_getres_args), (sy_call_t *)clock_getres, AUE_NULL, NULL, 0, 0 }, /* 234 = clock_getres */ + { AS(ktimer_create_args), (sy_call_t *)ktimer_create, AUE_NULL, NULL, 0, 0 }, /* 235 = ktimer_create */ + { AS(ktimer_delete_args), (sy_call_t *)ktimer_delete, AUE_NULL, NULL, 0, 0 }, /* 236 = ktimer_delete */ + { AS(ktimer_settime_args), (sy_call_t *)ktimer_settime, AUE_NULL, NULL, 0, 0 }, /* 237 = ktimer_settime */ + { AS(ktimer_gettime_args), (sy_call_t *)ktimer_gettime, AUE_NULL, NULL, 0, 0 }, /* 238 = ktimer_gettime */ + { AS(ktimer_getoverrun_args), (sy_call_t *)ktimer_getoverrun, AUE_NULL, NULL, 0, 0 }, /* 239 = ktimer_getoverrun */ + { AS(nanosleep_args), (sy_call_t *)nanosleep, AUE_NULL, NULL, 0, 0 }, /* 240 = nanosleep */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 241 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 242 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 243 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 244 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 245 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 246 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 247 = nosys */ + { AS(ntp_gettime_args), (sy_call_t *)ntp_gettime, AUE_NULL, NULL, 0, 0 }, /* 248 = ntp_gettime */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 249 = nosys */ + { AS(minherit_args), (sy_call_t *)minherit, AUE_MINHERIT, NULL, 0, 0 }, /* 250 = minherit */ + { AS(rfork_args), (sy_call_t *)rfork, AUE_RFORK, NULL, 0, 0 }, /* 251 = rfork */ + { AS(openbsd_poll_args), (sy_call_t *)openbsd_poll, AUE_POLL, NULL, 0, 0 }, /* 252 = openbsd_poll */ + { 0, (sy_call_t *)issetugid, AUE_ISSETUGID, NULL, 0, 0 }, /* 253 = issetugid */ + { AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN, NULL, 0, 0 }, /* 254 = lchown */ + { AS(aio_read_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 255 = aio_read */ + { AS(aio_write_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 256 = aio_write */ + { AS(lio_listio_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 257 = lio_listio */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 258 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 259 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 260 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 261 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 262 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 263 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 264 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 265 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 266 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 267 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 268 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 269 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 270 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 271 = nosys */ + { AS(getdents_args), (sy_call_t *)getdents, AUE_O_GETDENTS, NULL, 0, 0 }, /* 272 = getdents */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 273 = nosys */ + { AS(lchmod_args), (sy_call_t *)lchmod, AUE_LCHMOD, NULL, 0, 0 }, /* 274 = lchmod */ + { AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN, NULL, 0, 0 }, /* 275 = netbsd_lchown */ + { AS(lutimes_args), (sy_call_t *)lutimes, AUE_LUTIMES, NULL, 0, 0 }, /* 276 = lutimes */ + { AS(msync_args), (sy_call_t *)msync, AUE_MSYNC, NULL, 0, 0 }, /* 277 = netbsd_msync */ + { AS(nstat_args), (sy_call_t *)nstat, AUE_STAT, NULL, 0, 0 }, /* 278 = nstat */ + { AS(nfstat_args), (sy_call_t *)nfstat, AUE_FSTAT, NULL, 0, 0 }, /* 279 = nfstat */ + { AS(nlstat_args), (sy_call_t *)nlstat, AUE_LSTAT, NULL, 0, 0 }, /* 280 = nlstat */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 281 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 282 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 283 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 284 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 285 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 286 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 287 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 288 = nosys */ + { AS(preadv_args), (sy_call_t *)preadv, AUE_NULL, NULL, 0, 0 }, /* 289 = preadv */ + { AS(pwritev_args), (sy_call_t *)pwritev, AUE_NULL, NULL, 0, 0 }, /* 290 = pwritev */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 291 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 292 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 293 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 294 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 295 = nosys */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 296 = nosys */ + { compat4(AS(freebsd4_fhstatfs_args),fhstatfs), AUE_FHSTATFS, NULL, 0, 0 }, /* 297 = old fhstatfs */ + { AS(fhopen_args), (sy_call_t *)fhopen, AUE_FHOPEN, NULL, 0, 0 }, /* 298 = fhopen */ + { AS(fhstat_args), (sy_call_t *)fhstat, AUE_FHSTAT, NULL, 0, 0 }, /* 299 = fhstat */ + { AS(modnext_args), (sy_call_t *)modnext, AUE_NULL, NULL, 0, 0 }, /* 300 = modnext */ + { AS(modstat_args), (sy_call_t *)modstat, AUE_NULL, NULL, 0, 0 }, /* 301 = modstat */ + { AS(modfnext_args), (sy_call_t *)modfnext, AUE_NULL, NULL, 0, 0 }, /* 302 = modfnext */ + { AS(modfind_args), (sy_call_t *)modfind, AUE_NULL, NULL, 0, 0 }, /* 303 = modfind */ + { AS(kldload_args), (sy_call_t *)kldload, AUE_MODLOAD, NULL, 0, 0 }, /* 304 = kldload */ + { AS(kldunload_args), (sy_call_t *)kldunload, AUE_MODUNLOAD, NULL, 0, 0 }, /* 305 = kldunload */ + { AS(kldfind_args), (sy_call_t *)kldfind, AUE_NULL, NULL, 0, 0 }, /* 306 = kldfind */ + { AS(kldnext_args), (sy_call_t *)kldnext, AUE_NULL, NULL, 0, 0 }, /* 307 = kldnext */ + { AS(kldstat_args), (sy_call_t *)kldstat, AUE_NULL, NULL, 0, 0 }, /* 308 = kldstat */ + { AS(kldfirstmod_args), (sy_call_t *)kldfirstmod, AUE_NULL, NULL, 0, 0 }, /* 309 = kldfirstmod */ + { AS(getsid_args), (sy_call_t *)getsid, AUE_GETSID, NULL, 0, 0 }, /* 310 = getsid */ + { AS(setresuid_args), (sy_call_t *)setresuid, AUE_SETRESUID, NULL, 0, 0 }, /* 311 = setresuid */ + { AS(setresgid_args), (sy_call_t *)setresgid, AUE_SETRESGID, NULL, 0, 0 }, /* 312 = setresgid */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 313 = obsolete signanosleep */ + { AS(aio_return_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 314 = aio_return */ + { AS(aio_suspend_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 315 = aio_suspend */ + { AS(aio_cancel_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 316 = aio_cancel */ + { AS(aio_error_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 317 = aio_error */ + { AS(oaio_read_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 318 = oaio_read */ + { AS(oaio_write_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 319 = oaio_write */ + { AS(olio_listio_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 320 = olio_listio */ + { 0, (sy_call_t *)yield, AUE_NULL, NULL, 0, 0 }, /* 321 = yield */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 322 = obsolete thr_sleep */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 323 = obsolete thr_wakeup */ + { AS(mlockall_args), (sy_call_t *)mlockall, AUE_MLOCKALL, NULL, 0, 0 }, /* 324 = mlockall */ + { 0, (sy_call_t *)munlockall, AUE_MUNLOCKALL, NULL, 0, 0 }, /* 325 = munlockall */ + { AS(__getcwd_args), (sy_call_t *)__getcwd, AUE_NULL, NULL, 0, 0 }, /* 326 = __getcwd */ + { AS(sched_setparam_args), (sy_call_t *)sched_setparam, AUE_NULL, NULL, 0, 0 }, /* 327 = sched_setparam */ + { AS(sched_getparam_args), (sy_call_t *)sched_getparam, AUE_NULL, NULL, 0, 0 }, /* 328 = sched_getparam */ + { AS(sched_setscheduler_args), (sy_call_t *)sched_setscheduler, AUE_NULL, NULL, 0, 0 }, /* 329 = sched_setscheduler */ + { AS(sched_getscheduler_args), (sy_call_t *)sched_getscheduler, AUE_NULL, NULL, 0, 0 }, /* 330 = sched_getscheduler */ + { 0, (sy_call_t *)sched_yield, AUE_NULL, NULL, 0, 0 }, /* 331 = sched_yield */ + { AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max, AUE_NULL, NULL, 0, 0 }, /* 332 = sched_get_priority_max */ + { AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min, AUE_NULL, NULL, 0, 0 }, /* 333 = sched_get_priority_min */ + { AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval, AUE_NULL, NULL, 0, 0 }, /* 334 = sched_rr_get_interval */ + { AS(utrace_args), (sy_call_t *)utrace, AUE_NULL, NULL, 0, 0 }, /* 335 = utrace */ + { compat4(AS(freebsd4_sendfile_args),sendfile), AUE_SENDFILE, NULL, 0, 0 }, /* 336 = old sendfile */ + { AS(kldsym_args), (sy_call_t *)kldsym, AUE_NULL, NULL, 0, 0 }, /* 337 = kldsym */ + { AS(jail_args), (sy_call_t *)jail, AUE_JAIL, NULL, 0, 0 }, /* 338 = jail */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 339 = pioctl */ + { AS(sigprocmask_args), (sy_call_t *)sigprocmask, AUE_SIGPROCMASK, NULL, 0, 0 }, /* 340 = sigprocmask */ + { AS(sigsuspend_args), (sy_call_t *)sigsuspend, AUE_SIGSUSPEND, NULL, 0, 0 }, /* 341 = sigsuspend */ + { compat4(AS(freebsd4_sigaction_args),sigaction), AUE_SIGACTION, NULL, 0, 0 }, /* 342 = old sigaction */ + { AS(sigpending_args), (sy_call_t *)sigpending, AUE_SIGPENDING, NULL, 0, 0 }, /* 343 = sigpending */ + { compat4(AS(freebsd4_sigreturn_args),sigreturn), AUE_SIGRETURN, NULL, 0, 0 }, /* 344 = old sigreturn */ + { AS(sigtimedwait_args), (sy_call_t *)sigtimedwait, AUE_SIGWAIT, NULL, 0, 0 }, /* 345 = sigtimedwait */ + { AS(sigwaitinfo_args), (sy_call_t *)sigwaitinfo, AUE_NULL, NULL, 0, 0 }, /* 346 = sigwaitinfo */ + { AS(__acl_get_file_args), (sy_call_t *)__acl_get_file, AUE_NULL, NULL, 0, 0 }, /* 347 = __acl_get_file */ + { AS(__acl_set_file_args), (sy_call_t *)__acl_set_file, AUE_NULL, NULL, 0, 0 }, /* 348 = __acl_set_file */ + { AS(__acl_get_fd_args), (sy_call_t *)__acl_get_fd, AUE_NULL, NULL, 0, 0 }, /* 349 = __acl_get_fd */ + { AS(__acl_set_fd_args), (sy_call_t *)__acl_set_fd, AUE_NULL, NULL, 0, 0 }, /* 350 = __acl_set_fd */ + { AS(__acl_delete_file_args), (sy_call_t *)__acl_delete_file, AUE_NULL, NULL, 0, 0 }, /* 351 = __acl_delete_file */ + { AS(__acl_delete_fd_args), (sy_call_t *)__acl_delete_fd, AUE_NULL, NULL, 0, 0 }, /* 352 = __acl_delete_fd */ + { AS(__acl_aclcheck_file_args), (sy_call_t *)__acl_aclcheck_file, AUE_NULL, NULL, 0, 0 }, /* 353 = __acl_aclcheck_file */ + { AS(__acl_aclcheck_fd_args), (sy_call_t *)__acl_aclcheck_fd, AUE_NULL, NULL, 0, 0 }, /* 354 = __acl_aclcheck_fd */ + { AS(extattrctl_args), (sy_call_t *)extattrctl, AUE_EXTATTRCTL, NULL, 0, 0 }, /* 355 = extattrctl */ + { AS(extattr_set_file_args), (sy_call_t *)extattr_set_file, AUE_EXTATTR_SET_FILE, NULL, 0, 0 }, /* 356 = extattr_set_file */ + { AS(extattr_get_file_args), (sy_call_t *)extattr_get_file, AUE_EXTATTR_GET_FILE, NULL, 0, 0 }, /* 357 = extattr_get_file */ + { AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file, AUE_EXTATTR_DELETE_FILE, NULL, 0, 0 }, /* 358 = extattr_delete_file */ + { AS(aio_waitcomplete_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 359 = aio_waitcomplete */ + { AS(getresuid_args), (sy_call_t *)getresuid, AUE_GETRESUID, NULL, 0, 0 }, /* 360 = getresuid */ + { AS(getresgid_args), (sy_call_t *)getresgid, AUE_GETRESGID, NULL, 0, 0 }, /* 361 = getresgid */ + { 0, (sy_call_t *)kqueue, AUE_NULL, NULL, 0, 0 }, /* 362 = kqueue */ + { AS(kevent_args), (sy_call_t *)kevent, AUE_NULL, NULL, 0, 0 }, /* 363 = kevent */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 364 = __cap_get_proc */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 365 = __cap_set_proc */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 366 = __cap_get_fd */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 367 = __cap_get_file */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 368 = __cap_set_fd */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 369 = __cap_set_file */ + { AS(nosys_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 370 = lkmressys */ + { AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd, AUE_EXTATTR_SET_FD, NULL, 0, 0 }, /* 371 = extattr_set_fd */ + { AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd, AUE_EXTATTR_GET_FD, NULL, 0, 0 }, /* 372 = extattr_get_fd */ + { AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd, AUE_EXTATTR_DELETE_FD, NULL, 0, 0 }, /* 373 = extattr_delete_fd */ + { AS(__setugid_args), (sy_call_t *)__setugid, AUE_NULL, NULL, 0, 0 }, /* 374 = __setugid */ + { AS(nfsclnt_args), (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 375 = nfsclnt */ + { AS(eaccess_args), (sy_call_t *)eaccess, AUE_EACCESS, NULL, 0, 0 }, /* 376 = eaccess */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 377 = afs_syscall */ + { AS(nmount_args), (sy_call_t *)nmount, AUE_NMOUNT, NULL, 0, 0 }, /* 378 = nmount */ + { 0, (sy_call_t *)kse_exit, AUE_NULL, NULL, 0, 0 }, /* 379 = kse_exit */ + { AS(kse_wakeup_args), (sy_call_t *)kse_wakeup, AUE_NULL, NULL, 0, 0 }, /* 380 = kse_wakeup */ + { AS(kse_create_args), (sy_call_t *)kse_create, AUE_NULL, NULL, 0, 0 }, /* 381 = kse_create */ + { AS(kse_thr_interrupt_args), (sy_call_t *)kse_thr_interrupt, AUE_NULL, NULL, 0, 0 }, /* 382 = kse_thr_interrupt */ + { AS(kse_release_args), (sy_call_t *)kse_release, AUE_NULL, NULL, 0, 0 }, /* 383 = kse_release */ + { AS(__mac_get_proc_args), (sy_call_t *)__mac_get_proc, AUE_NULL, NULL, 0, 0 }, /* 384 = __mac_get_proc */ + { AS(__mac_set_proc_args), (sy_call_t *)__mac_set_proc, AUE_NULL, NULL, 0, 0 }, /* 385 = __mac_set_proc */ + { AS(__mac_get_fd_args), (sy_call_t *)__mac_get_fd, AUE_NULL, NULL, 0, 0 }, /* 386 = __mac_get_fd */ + { AS(__mac_get_file_args), (sy_call_t *)__mac_get_file, AUE_NULL, NULL, 0, 0 }, /* 387 = __mac_get_file */ + { AS(__mac_set_fd_args), (sy_call_t *)__mac_set_fd, AUE_NULL, NULL, 0, 0 }, /* 388 = __mac_set_fd */ + { AS(__mac_set_file_args), (sy_call_t *)__mac_set_file, AUE_NULL, NULL, 0, 0 }, /* 389 = __mac_set_file */ + { AS(kenv_args), (sy_call_t *)kenv, AUE_NULL, NULL, 0, 0 }, /* 390 = kenv */ + { AS(lchflags_args), (sy_call_t *)lchflags, AUE_LCHFLAGS, NULL, 0, 0 }, /* 391 = lchflags */ + { AS(uuidgen_args), (sy_call_t *)uuidgen, AUE_NULL, NULL, 0, 0 }, /* 392 = uuidgen */ + { AS(sendfile_args), (sy_call_t *)sendfile, AUE_SENDFILE, NULL, 0, 0 }, /* 393 = sendfile */ + { AS(mac_syscall_args), (sy_call_t *)mac_syscall, AUE_NULL, NULL, 0, 0 }, /* 394 = mac_syscall */ + { AS(getfsstat_args), (sy_call_t *)getfsstat, AUE_GETFSSTAT, NULL, 0, 0 }, /* 395 = getfsstat */ + { AS(statfs_args), (sy_call_t *)statfs, AUE_STATFS, NULL, 0, 0 }, /* 396 = statfs */ + { AS(fstatfs_args), (sy_call_t *)fstatfs, AUE_FSTATFS, NULL, 0, 0 }, /* 397 = fstatfs */ + { AS(fhstatfs_args), (sy_call_t *)fhstatfs, AUE_NULL, NULL, 0, 0 }, /* 398 = fhstatfs */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 399 = nosys */ + { AS(ksem_close_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 400 = ksem_close */ + { AS(ksem_post_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 401 = ksem_post */ + { AS(ksem_wait_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 402 = ksem_wait */ + { AS(ksem_trywait_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 403 = ksem_trywait */ + { AS(ksem_init_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 404 = ksem_init */ + { AS(ksem_open_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 405 = ksem_open */ + { AS(ksem_unlink_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 406 = ksem_unlink */ + { AS(ksem_getvalue_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 407 = ksem_getvalue */ + { AS(ksem_destroy_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 408 = ksem_destroy */ + { AS(__mac_get_pid_args), (sy_call_t *)__mac_get_pid, AUE_NULL, NULL, 0, 0 }, /* 409 = __mac_get_pid */ + { AS(__mac_get_link_args), (sy_call_t *)__mac_get_link, AUE_NULL, NULL, 0, 0 }, /* 410 = __mac_get_link */ + { AS(__mac_set_link_args), (sy_call_t *)__mac_set_link, AUE_NULL, NULL, 0, 0 }, /* 411 = __mac_set_link */ + { AS(extattr_set_link_args), (sy_call_t *)extattr_set_link, AUE_EXTATTR_SET_LINK, NULL, 0, 0 }, /* 412 = extattr_set_link */ + { AS(extattr_get_link_args), (sy_call_t *)extattr_get_link, AUE_EXTATTR_GET_LINK, NULL, 0, 0 }, /* 413 = extattr_get_link */ + { AS(extattr_delete_link_args), (sy_call_t *)extattr_delete_link, AUE_EXTATTR_DELETE_LINK, NULL, 0, 0 }, /* 414 = extattr_delete_link */ + { AS(__mac_execve_args), (sy_call_t *)__mac_execve, AUE_NULL, NULL, 0, 0 }, /* 415 = __mac_execve */ + { AS(sigaction_args), (sy_call_t *)sigaction, AUE_SIGACTION, NULL, 0, 0 }, /* 416 = sigaction */ + { AS(sigreturn_args), (sy_call_t *)sigreturn, AUE_SIGRETURN, NULL, 0, 0 }, /* 417 = sigreturn */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 418 = __xstat */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 419 = __xfstat */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 420 = __xlstat */ + { AS(getcontext_args), (sy_call_t *)getcontext, AUE_NULL, NULL, 0, 0 }, /* 421 = getcontext */ + { AS(setcontext_args), (sy_call_t *)setcontext, AUE_NULL, NULL, 0, 0 }, /* 422 = setcontext */ + { AS(swapcontext_args), (sy_call_t *)swapcontext, AUE_NULL, NULL, 0, 0 }, /* 423 = swapcontext */ + { AS(swapoff_args), (sy_call_t *)swapoff, AUE_SWAPOFF, NULL, 0, 0 }, /* 424 = swapoff */ + { AS(__acl_get_link_args), (sy_call_t *)__acl_get_link, AUE_NULL, NULL, 0, 0 }, /* 425 = __acl_get_link */ + { AS(__acl_set_link_args), (sy_call_t *)__acl_set_link, AUE_NULL, NULL, 0, 0 }, /* 426 = __acl_set_link */ + { AS(__acl_delete_link_args), (sy_call_t *)__acl_delete_link, AUE_NULL, NULL, 0, 0 }, /* 427 = __acl_delete_link */ + { AS(__acl_aclcheck_link_args), (sy_call_t *)__acl_aclcheck_link, AUE_NULL, NULL, 0, 0 }, /* 428 = __acl_aclcheck_link */ + { AS(sigwait_args), (sy_call_t *)sigwait, AUE_SIGWAIT, NULL, 0, 0 }, /* 429 = sigwait */ + { AS(thr_create_args), (sy_call_t *)thr_create, AUE_NULL, NULL, 0, 0 }, /* 430 = thr_create */ + { AS(thr_exit_args), (sy_call_t *)thr_exit, AUE_NULL, NULL, 0, 0 }, /* 431 = thr_exit */ + { AS(thr_self_args), (sy_call_t *)thr_self, AUE_NULL, NULL, 0, 0 }, /* 432 = thr_self */ + { AS(thr_kill_args), (sy_call_t *)thr_kill, AUE_NULL, NULL, 0, 0 }, /* 433 = thr_kill */ + { AS(_umtx_lock_args), (sy_call_t *)_umtx_lock, AUE_NULL, NULL, 0, 0 }, /* 434 = _umtx_lock */ + { AS(_umtx_unlock_args), (sy_call_t *)_umtx_unlock, AUE_NULL, NULL, 0, 0 }, /* 435 = _umtx_unlock */ + { AS(jail_attach_args), (sy_call_t *)jail_attach, AUE_NULL, NULL, 0, 0 }, /* 436 = jail_attach */ + { AS(extattr_list_fd_args), (sy_call_t *)extattr_list_fd, AUE_EXTATTR_LIST_FD, NULL, 0, 0 }, /* 437 = extattr_list_fd */ + { AS(extattr_list_file_args), (sy_call_t *)extattr_list_file, AUE_EXTATTR_LIST_FILE, NULL, 0, 0 }, /* 438 = extattr_list_file */ + { AS(extattr_list_link_args), (sy_call_t *)extattr_list_link, AUE_EXTATTR_LIST_LINK, NULL, 0, 0 }, /* 439 = extattr_list_link */ + { AS(kse_switchin_args), (sy_call_t *)kse_switchin, AUE_NULL, NULL, 0, 0 }, /* 440 = kse_switchin */ + { AS(ksem_timedwait_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 441 = ksem_timedwait */ + { AS(thr_suspend_args), (sy_call_t *)thr_suspend, AUE_NULL, NULL, 0, 0 }, /* 442 = thr_suspend */ + { AS(thr_wake_args), (sy_call_t *)thr_wake, AUE_NULL, NULL, 0, 0 }, /* 443 = thr_wake */ + { AS(kldunloadf_args), (sy_call_t *)kldunloadf, AUE_NULL, NULL, 0, 0 }, /* 444 = kldunloadf */ + { AS(audit_args), (sy_call_t *)audit, AUE_AUDIT, NULL, 0, 0 }, /* 445 = audit */ + { AS(auditon_args), (sy_call_t *)auditon, AUE_AUDITON, NULL, 0, 0 }, /* 446 = auditon */ + { AS(getauid_args), (sy_call_t *)getauid, AUE_GETAUID, NULL, 0, 0 }, /* 447 = getauid */ + { AS(setauid_args), (sy_call_t *)setauid, AUE_SETAUID, NULL, 0, 0 }, /* 448 = setauid */ + { AS(getaudit_args), (sy_call_t *)getaudit, AUE_GETAUDIT, NULL, 0, 0 }, /* 449 = getaudit */ + { AS(setaudit_args), (sy_call_t *)setaudit, AUE_SETAUDIT, NULL, 0, 0 }, /* 450 = setaudit */ + { AS(getaudit_addr_args), (sy_call_t *)getaudit_addr, AUE_GETAUDIT_ADDR, NULL, 0, 0 }, /* 451 = getaudit_addr */ + { AS(setaudit_addr_args), (sy_call_t *)setaudit_addr, AUE_SETAUDIT_ADDR, NULL, 0, 0 }, /* 452 = setaudit_addr */ + { AS(auditctl_args), (sy_call_t *)auditctl, AUE_AUDITCTL, NULL, 0, 0 }, /* 453 = auditctl */ + { AS(_umtx_op_args), (sy_call_t *)_umtx_op, AUE_NULL, NULL, 0, 0 }, /* 454 = _umtx_op */ + { AS(thr_new_args), (sy_call_t *)thr_new, AUE_NULL, NULL, 0, 0 }, /* 455 = thr_new */ + { AS(sigqueue_args), (sy_call_t *)sigqueue, AUE_NULL, NULL, 0, 0 }, /* 456 = sigqueue */ + { AS(kmq_open_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 457 = kmq_open */ + { AS(kmq_setattr_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 458 = kmq_setattr */ + { AS(kmq_timedreceive_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 459 = kmq_timedreceive */ + { AS(kmq_timedsend_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 460 = kmq_timedsend */ + { AS(kmq_notify_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 461 = kmq_notify */ + { AS(kmq_unlink_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 462 = kmq_unlink */ + { AS(abort2_args), (sy_call_t *)abort2, AUE_NULL, NULL, 0, 0 }, /* 463 = abort2 */ + { AS(thr_set_name_args), (sy_call_t *)thr_set_name, AUE_NULL, NULL, 0, 0 }, /* 464 = thr_set_name */ + { AS(aio_fsync_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 465 = aio_fsync */ + { AS(thr_setscheduler_args), (sy_call_t *)thr_setscheduler, AUE_NULL, NULL, 0, 0 }, /* 466 = thr_setscheduler */ + { AS(thr_getscheduler_args), (sy_call_t *)thr_getscheduler, AUE_NULL, NULL, 0, 0 }, /* 467 = thr_getscheduler */ + { AS(thr_setschedparam_args), (sy_call_t *)thr_setschedparam, AUE_NULL, NULL, 0, 0 }, /* 468 = thr_setschedparam */ }; diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c new file mode 100644 index 000000000000..f7e2ad360fe6 --- /dev/null +++ b/sys/kern/systrace_args.c @@ -0,0 +1,2785 @@ +/* + * System call argument to DTrace register array converstion. + * + * DO NOT EDIT-- this file is automatically generated. + * $FreeBSD$ + * This file is part of the DTrace syscall provider. + */ + +static void +systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args) +{ + int64_t *iarg = (int64_t *) uarg; + switch (sysnum) { + /* nosys */ + case 0: { + *n_args = 0; + break; + } + /* sys_exit */ + case 1: { + struct sys_exit_args *p = params; + iarg[0] = p->rval; /* int */ + *n_args = 1; + break; + } + /* fork */ + case 2: { + *n_args = 0; + break; + } + /* read */ + case 3: { + struct read_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->buf; /* void * */ + uarg[2] = p->nbyte; /* size_t */ + *n_args = 3; + break; + } + /* write */ + case 4: { + struct write_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->buf; /* const void * */ + uarg[2] = p->nbyte; /* size_t */ + *n_args = 3; + break; + } + /* open */ + case 5: { + struct open_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->flags; /* int */ + iarg[2] = p->mode; /* int */ + *n_args = 3; + break; + } + /* close */ + case 6: { + struct close_args *p = params; + iarg[0] = p->fd; /* int */ + *n_args = 1; + break; + } + /* wait4 */ + case 7: { + struct wait_args *p = params; + iarg[0] = p->pid; /* int */ + uarg[1] = (intptr_t) p->status; /* int * */ + iarg[2] = p->options; /* int */ + uarg[3] = (intptr_t) p->rusage; /* struct rusage * */ + *n_args = 4; + break; + } + /* link */ + case 9: { + struct link_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + uarg[1] = (intptr_t) p->link; /* char * */ + *n_args = 2; + break; + } + /* unlink */ + case 10: { + struct unlink_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + *n_args = 1; + break; + } + /* chdir */ + case 12: { + struct chdir_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + *n_args = 1; + break; + } + /* fchdir */ + case 13: { + struct fchdir_args *p = params; + iarg[0] = p->fd; /* int */ + *n_args = 1; + break; + } + /* mknod */ + case 14: { + struct mknod_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->mode; /* int */ + iarg[2] = p->dev; /* int */ + *n_args = 3; + break; + } + /* chmod */ + case 15: { + struct chmod_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->mode; /* int */ + *n_args = 2; + break; + } + /* chown */ + case 16: { + struct chown_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->uid; /* int */ + iarg[2] = p->gid; /* int */ + *n_args = 3; + break; + } + /* obreak */ + case 17: { + struct obreak_args *p = params; + uarg[0] = (intptr_t) p->nsize; /* char * */ + *n_args = 1; + break; + } + /* getpid */ + case 20: { + *n_args = 0; + break; + } + /* mount */ + case 21: { + struct mount_args *p = params; + uarg[0] = (intptr_t) p->type; /* char * */ + uarg[1] = (intptr_t) p->path; /* char * */ + iarg[2] = p->flags; /* int */ + uarg[3] = (intptr_t) p->data; /* caddr_t */ + *n_args = 4; + break; + } + /* unmount */ + case 22: { + struct unmount_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->flags; /* int */ + *n_args = 2; + break; + } + /* setuid */ + case 23: { + struct setuid_args *p = params; + uarg[0] = p->uid; /* uid_t */ + *n_args = 1; + break; + } + /* getuid */ + case 24: { + *n_args = 0; + break; + } + /* geteuid */ + case 25: { + *n_args = 0; + break; + } + /* ptrace */ + case 26: { + struct ptrace_args *p = params; + iarg[0] = p->req; /* int */ + iarg[1] = p->pid; /* pid_t */ + uarg[2] = (intptr_t) p->addr; /* caddr_t */ + iarg[3] = p->data; /* int */ + *n_args = 4; + break; + } + /* recvmsg */ + case 27: { + struct recvmsg_args *p = params; + iarg[0] = p->s; /* int */ + uarg[1] = (intptr_t) p->msg; /* struct msghdr * */ + iarg[2] = p->flags; /* int */ + *n_args = 3; + break; + } + /* sendmsg */ + case 28: { + struct sendmsg_args *p = params; + iarg[0] = p->s; /* int */ + uarg[1] = (intptr_t) p->msg; /* struct msghdr * */ + iarg[2] = p->flags; /* int */ + *n_args = 3; + break; + } + /* recvfrom */ + case 29: { + struct recvfrom_args *p = params; + iarg[0] = p->s; /* int */ + uarg[1] = (intptr_t) p->buf; /* caddr_t */ + uarg[2] = p->len; /* size_t */ + iarg[3] = p->flags; /* int */ + uarg[4] = (intptr_t) p->from; /* struct sockaddr *__restrict */ + uarg[5] = (intptr_t) p->fromlenaddr; /* __socklen_t *__restrict */ + *n_args = 6; + break; + } + /* accept */ + case 30: { + struct accept_args *p = params; + iarg[0] = p->s; /* int */ + uarg[1] = (intptr_t) p->name; /* struct sockaddr *__restrict */ + uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */ + *n_args = 3; + break; + } + /* getpeername */ + case 31: { + struct getpeername_args *p = params; + iarg[0] = p->fdes; /* int */ + uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */ + uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */ + *n_args = 3; + break; + } + /* getsockname */ + case 32: { + struct getsockname_args *p = params; + iarg[0] = p->fdes; /* int */ + uarg[1] = (intptr_t) p->asa; /* struct sockaddr *__restrict */ + uarg[2] = (intptr_t) p->alen; /* __socklen_t *__restrict */ + *n_args = 3; + break; + } + /* access */ + case 33: { + struct access_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->flags; /* int */ + *n_args = 2; + break; + } + /* chflags */ + case 34: { + struct chflags_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->flags; /* int */ + *n_args = 2; + break; + } + /* fchflags */ + case 35: { + struct fchflags_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->flags; /* int */ + *n_args = 2; + break; + } + /* sync */ + case 36: { + *n_args = 0; + break; + } + /* kill */ + case 37: { + struct kill_args *p = params; + iarg[0] = p->pid; /* int */ + iarg[1] = p->signum; /* int */ + *n_args = 2; + break; + } + /* getppid */ + case 39: { + *n_args = 0; + break; + } + /* dup */ + case 41: { + struct dup_args *p = params; + uarg[0] = p->fd; /* u_int */ + *n_args = 1; + break; + } + /* pipe */ + case 42: { + *n_args = 0; + break; + } + /* getegid */ + case 43: { + *n_args = 0; + break; + } + /* profil */ + case 44: { + struct profil_args *p = params; + uarg[0] = (intptr_t) p->samples; /* caddr_t */ + uarg[1] = p->size; /* size_t */ + uarg[2] = p->offset; /* size_t */ + uarg[3] = p->scale; /* u_int */ + *n_args = 4; + break; + } + /* ktrace */ + case 45: { + struct ktrace_args *p = params; + uarg[0] = (intptr_t) p->fname; /* const char * */ + iarg[1] = p->ops; /* int */ + iarg[2] = p->facs; /* int */ + iarg[3] = p->pid; /* int */ + *n_args = 4; + break; + } + /* getgid */ + case 47: { + *n_args = 0; + break; + } + /* getlogin */ + case 49: { + struct getlogin_args *p = params; + uarg[0] = (intptr_t) p->namebuf; /* char * */ + uarg[1] = p->namelen; /* u_int */ + *n_args = 2; + break; + } + /* setlogin */ + case 50: { + struct setlogin_args *p = params; + uarg[0] = (intptr_t) p->namebuf; /* char * */ + *n_args = 1; + break; + } + /* acct */ + case 51: { + struct acct_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + *n_args = 1; + break; + } + /* sigaltstack */ + case 53: { + struct sigaltstack_args *p = params; + uarg[0] = (intptr_t) p->ss; /* stack_t * */ + uarg[1] = (intptr_t) p->oss; /* stack_t * */ + *n_args = 2; + break; + } + /* ioctl */ + case 54: { + struct ioctl_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = p->com; /* u_long */ + uarg[2] = (intptr_t) p->data; /* caddr_t */ + *n_args = 3; + break; + } + /* reboot */ + case 55: { + struct reboot_args *p = params; + iarg[0] = p->opt; /* int */ + *n_args = 1; + break; + } + /* revoke */ + case 56: { + struct revoke_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + *n_args = 1; + break; + } + /* symlink */ + case 57: { + struct symlink_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + uarg[1] = (intptr_t) p->link; /* char * */ + *n_args = 2; + break; + } + /* readlink */ + case 58: { + struct readlink_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + uarg[1] = (intptr_t) p->buf; /* char * */ + iarg[2] = p->count; /* int */ + *n_args = 3; + break; + } + /* execve */ + case 59: { + struct execve_args *p = params; + uarg[0] = (intptr_t) p->fname; /* char * */ + uarg[1] = (intptr_t) p->argv; /* char ** */ + uarg[2] = (intptr_t) p->envv; /* char ** */ + *n_args = 3; + break; + } + /* umask */ + case 60: { + struct umask_args *p = params; + iarg[0] = p->newmask; /* int */ + *n_args = 1; + break; + } + /* chroot */ + case 61: { + struct chroot_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + *n_args = 1; + break; + } + /* msync */ + case 65: { + struct msync_args *p = params; + uarg[0] = (intptr_t) p->addr; /* void * */ + uarg[1] = p->len; /* size_t */ + iarg[2] = p->flags; /* int */ + *n_args = 3; + break; + } + /* vfork */ + case 66: { + *n_args = 0; + break; + } + /* sbrk */ + case 69: { + struct sbrk_args *p = params; + iarg[0] = p->incr; /* int */ + *n_args = 1; + break; + } + /* sstk */ + case 70: { + struct sstk_args *p = params; + iarg[0] = p->incr; /* int */ + *n_args = 1; + break; + } + /* ovadvise */ + case 72: { + struct ovadvise_args *p = params; + iarg[0] = p->anom; /* int */ + *n_args = 1; + break; + } + /* munmap */ + case 73: { + struct munmap_args *p = params; + uarg[0] = (intptr_t) p->addr; /* void * */ + uarg[1] = p->len; /* size_t */ + *n_args = 2; + break; + } + /* mprotect */ + case 74: { + struct mprotect_args *p = params; + uarg[0] = (intptr_t) p->addr; /* const void * */ + uarg[1] = p->len; /* size_t */ + iarg[2] = p->prot; /* int */ + *n_args = 3; + break; + } + /* madvise */ + case 75: { + struct madvise_args *p = params; + uarg[0] = (intptr_t) p->addr; /* void * */ + uarg[1] = p->len; /* size_t */ + iarg[2] = p->behav; /* int */ + *n_args = 3; + break; + } + /* mincore */ + case 78: { + struct mincore_args *p = params; + uarg[0] = (intptr_t) p->addr; /* const void * */ + uarg[1] = p->len; /* size_t */ + uarg[2] = (intptr_t) p->vec; /* char * */ + *n_args = 3; + break; + } + /* getgroups */ + case 79: { + struct getgroups_args *p = params; + uarg[0] = p->gidsetsize; /* u_int */ + uarg[1] = (intptr_t) p->gidset; /* gid_t * */ + *n_args = 2; + break; + } + /* setgroups */ + case 80: { + struct setgroups_args *p = params; + uarg[0] = p->gidsetsize; /* u_int */ + uarg[1] = (intptr_t) p->gidset; /* gid_t * */ + *n_args = 2; + break; + } + /* getpgrp */ + case 81: { + *n_args = 0; + break; + } + /* setpgid */ + case 82: { + struct setpgid_args *p = params; + iarg[0] = p->pid; /* int */ + iarg[1] = p->pgid; /* int */ + *n_args = 2; + break; + } + /* setitimer */ + case 83: { + struct setitimer_args *p = params; + uarg[0] = p->which; /* u_int */ + uarg[1] = (intptr_t) p->itv; /* struct itimerval * */ + uarg[2] = (intptr_t) p->oitv; /* struct itimerval * */ + *n_args = 3; + break; + } + /* swapon */ + case 85: { + struct swapon_args *p = params; + uarg[0] = (intptr_t) p->name; /* char * */ + *n_args = 1; + break; + } + /* getitimer */ + case 86: { + struct getitimer_args *p = params; + uarg[0] = p->which; /* u_int */ + uarg[1] = (intptr_t) p->itv; /* struct itimerval * */ + *n_args = 2; + break; + } + /* getdtablesize */ + case 89: { + *n_args = 0; + break; + } + /* dup2 */ + case 90: { + struct dup2_args *p = params; + uarg[0] = p->from; /* u_int */ + uarg[1] = p->to; /* u_int */ + *n_args = 2; + break; + } + /* fcntl */ + case 92: { + struct fcntl_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->cmd; /* int */ + iarg[2] = p->arg; /* long */ + *n_args = 3; + break; + } + /* select */ + case 93: { + struct select_args *p = params; + iarg[0] = p->nd; /* int */ + uarg[1] = (intptr_t) p->in; /* fd_set * */ + uarg[2] = (intptr_t) p->ou; /* fd_set * */ + uarg[3] = (intptr_t) p->ex; /* fd_set * */ + uarg[4] = (intptr_t) p->tv; /* struct timeval * */ + *n_args = 5; + break; + } + /* fsync */ + case 95: { + struct fsync_args *p = params; + iarg[0] = p->fd; /* int */ + *n_args = 1; + break; + } + /* setpriority */ + case 96: { + struct setpriority_args *p = params; + iarg[0] = p->which; /* int */ + iarg[1] = p->who; /* int */ + iarg[2] = p->prio; /* int */ + *n_args = 3; + break; + } + /* socket */ + case 97: { + struct socket_args *p = params; + iarg[0] = p->domain; /* int */ + iarg[1] = p->type; /* int */ + iarg[2] = p->protocol; /* int */ + *n_args = 3; + break; + } + /* connect */ + case 98: { + struct connect_args *p = params; + iarg[0] = p->s; /* int */ + uarg[1] = (intptr_t) p->name; /* caddr_t */ + iarg[2] = p->namelen; /* int */ + *n_args = 3; + break; + } + /* getpriority */ + case 100: { + struct getpriority_args *p = params; + iarg[0] = p->which; /* int */ + iarg[1] = p->who; /* int */ + *n_args = 2; + break; + } + /* bind */ + case 104: { + struct bind_args *p = params; + iarg[0] = p->s; /* int */ + uarg[1] = (intptr_t) p->name; /* caddr_t */ + iarg[2] = p->namelen; /* int */ + *n_args = 3; + break; + } + /* setsockopt */ + case 105: { + struct setsockopt_args *p = params; + iarg[0] = p->s; /* int */ + iarg[1] = p->level; /* int */ + iarg[2] = p->name; /* int */ + uarg[3] = (intptr_t) p->val; /* caddr_t */ + iarg[4] = p->valsize; /* int */ + *n_args = 5; + break; + } + /* listen */ + case 106: { + struct listen_args *p = params; + iarg[0] = p->s; /* int */ + iarg[1] = p->backlog; /* int */ + *n_args = 2; + break; + } + /* gettimeofday */ + case 116: { + struct gettimeofday_args *p = params; + uarg[0] = (intptr_t) p->tp; /* struct timeval * */ + uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ + *n_args = 2; + break; + } + /* getrusage */ + case 117: { + struct getrusage_args *p = params; + iarg[0] = p->who; /* int */ + uarg[1] = (intptr_t) p->rusage; /* struct rusage * */ + *n_args = 2; + break; + } + /* getsockopt */ + case 118: { + struct getsockopt_args *p = params; + iarg[0] = p->s; /* int */ + iarg[1] = p->level; /* int */ + iarg[2] = p->name; /* int */ + uarg[3] = (intptr_t) p->val; /* caddr_t */ + uarg[4] = (intptr_t) p->avalsize; /* int * */ + *n_args = 5; + break; + } + /* readv */ + case 120: { + struct readv_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ + uarg[2] = p->iovcnt; /* u_int */ + *n_args = 3; + break; + } + /* writev */ + case 121: { + struct writev_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ + uarg[2] = p->iovcnt; /* u_int */ + *n_args = 3; + break; + } + /* settimeofday */ + case 122: { + struct settimeofday_args *p = params; + uarg[0] = (intptr_t) p->tv; /* struct timeval * */ + uarg[1] = (intptr_t) p->tzp; /* struct timezone * */ + *n_args = 2; + break; + } + /* fchown */ + case 123: { + struct fchown_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->uid; /* int */ + iarg[2] = p->gid; /* int */ + *n_args = 3; + break; + } + /* fchmod */ + case 124: { + struct fchmod_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->mode; /* int */ + *n_args = 2; + break; + } + /* setreuid */ + case 126: { + struct setreuid_args *p = params; + iarg[0] = p->ruid; /* int */ + iarg[1] = p->euid; /* int */ + *n_args = 2; + break; + } + /* setregid */ + case 127: { + struct setregid_args *p = params; + iarg[0] = p->rgid; /* int */ + iarg[1] = p->egid; /* int */ + *n_args = 2; + break; + } + /* rename */ + case 128: { + struct rename_args *p = params; + uarg[0] = (intptr_t) p->from; /* char * */ + uarg[1] = (intptr_t) p->to; /* char * */ + *n_args = 2; + break; + } + /* flock */ + case 131: { + struct flock_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->how; /* int */ + *n_args = 2; + break; + } + /* mkfifo */ + case 132: { + struct mkfifo_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->mode; /* int */ + *n_args = 2; + break; + } + /* sendto */ + case 133: { + struct sendto_args *p = params; + iarg[0] = p->s; /* int */ + uarg[1] = (intptr_t) p->buf; /* caddr_t */ + uarg[2] = p->len; /* size_t */ + iarg[3] = p->flags; /* int */ + uarg[4] = (intptr_t) p->to; /* caddr_t */ + iarg[5] = p->tolen; /* int */ + *n_args = 6; + break; + } + /* shutdown */ + case 134: { + struct shutdown_args *p = params; + iarg[0] = p->s; /* int */ + iarg[1] = p->how; /* int */ + *n_args = 2; + break; + } + /* socketpair */ + case 135: { + struct socketpair_args *p = params; + iarg[0] = p->domain; /* int */ + iarg[1] = p->type; /* int */ + iarg[2] = p->protocol; /* int */ + uarg[3] = (intptr_t) p->rsv; /* int * */ + *n_args = 4; + break; + } + /* mkdir */ + case 136: { + struct mkdir_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->mode; /* int */ + *n_args = 2; + break; + } + /* rmdir */ + case 137: { + struct rmdir_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + *n_args = 1; + break; + } + /* utimes */ + case 138: { + struct utimes_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + uarg[1] = (intptr_t) p->tptr; /* struct timeval * */ + *n_args = 2; + break; + } + /* adjtime */ + case 140: { + struct adjtime_args *p = params; + uarg[0] = (intptr_t) p->delta; /* struct timeval * */ + uarg[1] = (intptr_t) p->olddelta; /* struct timeval * */ + *n_args = 2; + break; + } + /* setsid */ + case 147: { + *n_args = 0; + break; + } + /* quotactl */ + case 148: { + struct quotactl_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->cmd; /* int */ + iarg[2] = p->uid; /* int */ + uarg[3] = (intptr_t) p->arg; /* caddr_t */ + *n_args = 4; + break; + } + /* nfssvc */ + case 155: { + struct nfssvc_args *p = params; + iarg[0] = p->flag; /* int */ + uarg[1] = (intptr_t) p->argp; /* caddr_t */ + *n_args = 2; + break; + } + /* lgetfh */ + case 160: { + struct lgetfh_args *p = params; + uarg[0] = (intptr_t) p->fname; /* char * */ + uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */ + *n_args = 2; + break; + } + /* getfh */ + case 161: { + struct getfh_args *p = params; + uarg[0] = (intptr_t) p->fname; /* char * */ + uarg[1] = (intptr_t) p->fhp; /* struct fhandle * */ + *n_args = 2; + break; + } + /* getdomainname */ + case 162: { + struct getdomainname_args *p = params; + uarg[0] = (intptr_t) p->domainname; /* char * */ + iarg[1] = p->len; /* int */ + *n_args = 2; + break; + } + /* setdomainname */ + case 163: { + struct setdomainname_args *p = params; + uarg[0] = (intptr_t) p->domainname; /* char * */ + iarg[1] = p->len; /* int */ + *n_args = 2; + break; + } + /* uname */ + case 164: { + struct uname_args *p = params; + uarg[0] = (intptr_t) p->name; /* struct utsname * */ + *n_args = 1; + break; + } + /* sysarch */ + case 165: { + struct sysarch_args *p = params; + iarg[0] = p->op; /* int */ + uarg[1] = (intptr_t) p->parms; /* char * */ + *n_args = 2; + break; + } + /* rtprio */ + case 166: { + struct rtprio_args *p = params; + iarg[0] = p->function; /* int */ + iarg[1] = p->pid; /* pid_t */ + uarg[2] = (intptr_t) p->rtp; /* struct rtprio * */ + *n_args = 3; + break; + } + /* semsys */ + case 169: { + struct semsys_args *p = params; + iarg[0] = p->which; /* int */ + iarg[1] = p->a2; /* int */ + iarg[2] = p->a3; /* int */ + iarg[3] = p->a4; /* int */ + iarg[4] = p->a5; /* int */ + *n_args = 5; + break; + } + /* msgsys */ + case 170: { + struct msgsys_args *p = params; + iarg[0] = p->which; /* int */ + iarg[1] = p->a2; /* int */ + iarg[2] = p->a3; /* int */ + iarg[3] = p->a4; /* int */ + iarg[4] = p->a5; /* int */ + iarg[5] = p->a6; /* int */ + *n_args = 6; + break; + } + /* shmsys */ + case 171: { + struct shmsys_args *p = params; + iarg[0] = p->which; /* int */ + iarg[1] = p->a2; /* int */ + iarg[2] = p->a3; /* int */ + iarg[3] = p->a4; /* int */ + *n_args = 4; + break; + } + /* pread */ + case 173: { + struct pread_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->buf; /* void * */ + uarg[2] = p->nbyte; /* size_t */ + iarg[3] = p->pad; /* int */ + iarg[4] = p->offset; /* off_t */ + *n_args = 5; + break; + } + /* pwrite */ + case 174: { + struct pwrite_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->buf; /* const void * */ + uarg[2] = p->nbyte; /* size_t */ + iarg[3] = p->pad; /* int */ + iarg[4] = p->offset; /* off_t */ + *n_args = 5; + break; + } + /* ntp_adjtime */ + case 176: { + struct ntp_adjtime_args *p = params; + uarg[0] = (intptr_t) p->tp; /* struct timex * */ + *n_args = 1; + break; + } + /* setgid */ + case 181: { + struct setgid_args *p = params; + iarg[0] = p->gid; /* gid_t */ + *n_args = 1; + break; + } + /* setegid */ + case 182: { + struct setegid_args *p = params; + iarg[0] = p->egid; /* gid_t */ + *n_args = 1; + break; + } + /* seteuid */ + case 183: { + struct seteuid_args *p = params; + uarg[0] = p->euid; /* uid_t */ + *n_args = 1; + break; + } + /* stat */ + case 188: { + struct stat_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + uarg[1] = (intptr_t) p->ub; /* struct stat * */ + *n_args = 2; + break; + } + /* fstat */ + case 189: { + struct fstat_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->sb; /* struct stat * */ + *n_args = 2; + break; + } + /* lstat */ + case 190: { + struct lstat_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + uarg[1] = (intptr_t) p->ub; /* struct stat * */ + *n_args = 2; + break; + } + /* pathconf */ + case 191: { + struct pathconf_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->name; /* int */ + *n_args = 2; + break; + } + /* fpathconf */ + case 192: { + struct fpathconf_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->name; /* int */ + *n_args = 2; + break; + } + /* getrlimit */ + case 194: { + struct __getrlimit_args *p = params; + uarg[0] = p->which; /* u_int */ + uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */ + *n_args = 2; + break; + } + /* setrlimit */ + case 195: { + struct __setrlimit_args *p = params; + uarg[0] = p->which; /* u_int */ + uarg[1] = (intptr_t) p->rlp; /* struct rlimit * */ + *n_args = 2; + break; + } + /* getdirentries */ + case 196: { + struct getdirentries_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->buf; /* char * */ + uarg[2] = p->count; /* u_int */ + uarg[3] = (intptr_t) p->basep; /* long * */ + *n_args = 4; + break; + } + /* mmap */ + case 197: { + struct mmap_args *p = params; + uarg[0] = (intptr_t) p->addr; /* caddr_t */ + uarg[1] = p->len; /* size_t */ + iarg[2] = p->prot; /* int */ + iarg[3] = p->flags; /* int */ + iarg[4] = p->fd; /* int */ + iarg[5] = p->pad; /* int */ + iarg[6] = p->pos; /* off_t */ + *n_args = 7; + break; + } + /* nosys */ + case 198: { + *n_args = 0; + break; + } + /* lseek */ + case 199: { + struct lseek_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->pad; /* int */ + iarg[2] = p->offset; /* off_t */ + iarg[3] = p->whence; /* int */ + *n_args = 4; + break; + } + /* truncate */ + case 200: { + struct truncate_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->pad; /* int */ + iarg[2] = p->length; /* off_t */ + *n_args = 3; + break; + } + /* ftruncate */ + case 201: { + struct ftruncate_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->pad; /* int */ + iarg[2] = p->length; /* off_t */ + *n_args = 3; + break; + } + /* __sysctl */ + case 202: { + struct sysctl_args *p = params; + uarg[0] = (intptr_t) p->name; /* int * */ + uarg[1] = p->namelen; /* u_int */ + uarg[2] = (intptr_t) p->old; /* void * */ + uarg[3] = (intptr_t) p->oldlenp; /* size_t * */ + uarg[4] = (intptr_t) p->new; /* void * */ + uarg[5] = p->newlen; /* size_t */ + *n_args = 6; + break; + } + /* mlock */ + case 203: { + struct mlock_args *p = params; + uarg[0] = (intptr_t) p->addr; /* const void * */ + uarg[1] = p->len; /* size_t */ + *n_args = 2; + break; + } + /* munlock */ + case 204: { + struct munlock_args *p = params; + uarg[0] = (intptr_t) p->addr; /* const void * */ + uarg[1] = p->len; /* size_t */ + *n_args = 2; + break; + } + /* undelete */ + case 205: { + struct undelete_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + *n_args = 1; + break; + } + /* futimes */ + case 206: { + struct futimes_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->tptr; /* struct timeval * */ + *n_args = 2; + break; + } + /* getpgid */ + case 207: { + struct getpgid_args *p = params; + iarg[0] = p->pid; /* pid_t */ + *n_args = 1; + break; + } + /* poll */ + case 209: { + struct poll_args *p = params; + uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ + uarg[1] = p->nfds; /* u_int */ + iarg[2] = p->timeout; /* int */ + *n_args = 3; + break; + } + /* lkmnosys */ + case 210: { + *n_args = 0; + break; + } + /* lkmnosys */ + case 211: { + *n_args = 0; + break; + } + /* lkmnosys */ + case 212: { + *n_args = 0; + break; + } + /* lkmnosys */ + case 213: { + *n_args = 0; + break; + } + /* lkmnosys */ + case 214: { + *n_args = 0; + break; + } + /* lkmnosys */ + case 215: { + *n_args = 0; + break; + } + /* lkmnosys */ + case 216: { + *n_args = 0; + break; + } + /* lkmnosys */ + case 217: { + *n_args = 0; + break; + } + /* lkmnosys */ + case 218: { + *n_args = 0; + break; + } + /* lkmnosys */ + case 219: { + *n_args = 0; + break; + } + /* __semctl */ + case 220: { + struct __semctl_args *p = params; + iarg[0] = p->semid; /* int */ + iarg[1] = p->semnum; /* int */ + iarg[2] = p->cmd; /* int */ + uarg[3] = (intptr_t) p->arg; /* union semun * */ + *n_args = 4; + break; + } + /* semget */ + case 221: { + struct semget_args *p = params; + iarg[0] = p->key; /* key_t */ + iarg[1] = p->nsems; /* int */ + iarg[2] = p->semflg; /* int */ + *n_args = 3; + break; + } + /* semop */ + case 222: { + struct semop_args *p = params; + iarg[0] = p->semid; /* int */ + uarg[1] = (intptr_t) p->sops; /* struct sembuf * */ + uarg[2] = p->nsops; /* size_t */ + *n_args = 3; + break; + } + /* msgctl */ + case 224: { + struct msgctl_args *p = params; + iarg[0] = p->msqid; /* int */ + iarg[1] = p->cmd; /* int */ + uarg[2] = (intptr_t) p->buf; /* struct msqid_ds * */ + *n_args = 3; + break; + } + /* msgget */ + case 225: { + struct msgget_args *p = params; + iarg[0] = p->key; /* key_t */ + iarg[1] = p->msgflg; /* int */ + *n_args = 2; + break; + } + /* msgsnd */ + case 226: { + struct msgsnd_args *p = params; + iarg[0] = p->msqid; /* int */ + uarg[1] = (intptr_t) p->msgp; /* const void * */ + uarg[2] = p->msgsz; /* size_t */ + iarg[3] = p->msgflg; /* int */ + *n_args = 4; + break; + } + /* msgrcv */ + case 227: { + struct msgrcv_args *p = params; + iarg[0] = p->msqid; /* int */ + uarg[1] = (intptr_t) p->msgp; /* void * */ + uarg[2] = p->msgsz; /* size_t */ + iarg[3] = p->msgtyp; /* long */ + iarg[4] = p->msgflg; /* int */ + *n_args = 5; + break; + } + /* shmat */ + case 228: { + struct shmat_args *p = params; + iarg[0] = p->shmid; /* int */ + uarg[1] = (intptr_t) p->shmaddr; /* const void * */ + iarg[2] = p->shmflg; /* int */ + *n_args = 3; + break; + } + /* shmctl */ + case 229: { + struct shmctl_args *p = params; + iarg[0] = p->shmid; /* int */ + iarg[1] = p->cmd; /* int */ + uarg[2] = (intptr_t) p->buf; /* struct shmid_ds * */ + *n_args = 3; + break; + } + /* shmdt */ + case 230: { + struct shmdt_args *p = params; + uarg[0] = (intptr_t) p->shmaddr; /* const void * */ + *n_args = 1; + break; + } + /* shmget */ + case 231: { + struct shmget_args *p = params; + iarg[0] = p->key; /* key_t */ + uarg[1] = p->size; /* size_t */ + iarg[2] = p->shmflg; /* int */ + *n_args = 3; + break; + } + /* clock_gettime */ + case 232: { + struct clock_gettime_args *p = params; + iarg[0] = p->clock_id; /* clockid_t */ + uarg[1] = (intptr_t) p->tp; /* struct timespec * */ + *n_args = 2; + break; + } + /* clock_settime */ + case 233: { + struct clock_settime_args *p = params; + iarg[0] = p->clock_id; /* clockid_t */ + uarg[1] = (intptr_t) p->tp; /* const struct timespec * */ + *n_args = 2; + break; + } + /* clock_getres */ + case 234: { + struct clock_getres_args *p = params; + iarg[0] = p->clock_id; /* clockid_t */ + uarg[1] = (intptr_t) p->tp; /* struct timespec * */ + *n_args = 2; + break; + } + /* ktimer_create */ + case 235: { + struct ktimer_create_args *p = params; + iarg[0] = p->clock_id; /* clockid_t */ + uarg[1] = (intptr_t) p->evp; /* struct sigevent * */ + uarg[2] = (intptr_t) p->timerid; /* int * */ + *n_args = 3; + break; + } + /* ktimer_delete */ + case 236: { + struct ktimer_delete_args *p = params; + iarg[0] = p->timerid; /* int */ + *n_args = 1; + break; + } + /* ktimer_settime */ + case 237: { + struct ktimer_settime_args *p = params; + iarg[0] = p->timerid; /* int */ + iarg[1] = p->flags; /* int */ + uarg[2] = (intptr_t) p->value; /* const struct itimerspec * */ + uarg[3] = (intptr_t) p->ovalue; /* struct itimerspec * */ + *n_args = 4; + break; + } + /* ktimer_gettime */ + case 238: { + struct ktimer_gettime_args *p = params; + iarg[0] = p->timerid; /* int */ + uarg[1] = (intptr_t) p->value; /* struct itimerspec * */ + *n_args = 2; + break; + } + /* ktimer_getoverrun */ + case 239: { + struct ktimer_getoverrun_args *p = params; + iarg[0] = p->timerid; /* int */ + *n_args = 1; + break; + } + /* nanosleep */ + case 240: { + struct nanosleep_args *p = params; + uarg[0] = (intptr_t) p->rqtp; /* const struct timespec * */ + uarg[1] = (intptr_t) p->rmtp; /* struct timespec * */ + *n_args = 2; + break; + } + /* ntp_gettime */ + case 248: { + struct ntp_gettime_args *p = params; + uarg[0] = (intptr_t) p->ntvp; /* struct ntptimeval * */ + *n_args = 1; + break; + } + /* minherit */ + case 250: { + struct minherit_args *p = params; + uarg[0] = (intptr_t) p->addr; /* void * */ + uarg[1] = p->len; /* size_t */ + iarg[2] = p->inherit; /* int */ + *n_args = 3; + break; + } + /* rfork */ + case 251: { + struct rfork_args *p = params; + iarg[0] = p->flags; /* int */ + *n_args = 1; + break; + } + /* openbsd_poll */ + case 252: { + struct openbsd_poll_args *p = params; + uarg[0] = (intptr_t) p->fds; /* struct pollfd * */ + uarg[1] = p->nfds; /* u_int */ + iarg[2] = p->timeout; /* int */ + *n_args = 3; + break; + } + /* issetugid */ + case 253: { + *n_args = 0; + break; + } + /* lchown */ + case 254: { + struct lchown_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->uid; /* int */ + iarg[2] = p->gid; /* int */ + *n_args = 3; + break; + } + /* aio_read */ + case 255: { + struct aio_read_args *p = params; + uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ + *n_args = 1; + break; + } + /* aio_write */ + case 256: { + struct aio_write_args *p = params; + uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ + *n_args = 1; + break; + } + /* lio_listio */ + case 257: { + struct lio_listio_args *p = params; + iarg[0] = p->mode; /* int */ + uarg[1] = (intptr_t) p->acb_list; /* struct aiocb *const * */ + iarg[2] = p->nent; /* int */ + uarg[3] = (intptr_t) p->sig; /* struct sigevent * */ + *n_args = 4; + break; + } + /* getdents */ + case 272: { + struct getdents_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->buf; /* char * */ + uarg[2] = p->count; /* size_t */ + *n_args = 3; + break; + } + /* lchmod */ + case 274: { + struct lchmod_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->mode; /* mode_t */ + *n_args = 2; + break; + } + /* lchown */ + case 275: { + struct lchown_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + uarg[1] = p->uid; /* uid_t */ + iarg[2] = p->gid; /* gid_t */ + *n_args = 3; + break; + } + /* lutimes */ + case 276: { + struct lutimes_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + uarg[1] = (intptr_t) p->tptr; /* struct timeval * */ + *n_args = 2; + break; + } + /* msync */ + case 277: { + struct msync_args *p = params; + uarg[0] = (intptr_t) p->addr; /* void * */ + uarg[1] = p->len; /* size_t */ + iarg[2] = p->flags; /* int */ + *n_args = 3; + break; + } + /* nstat */ + case 278: { + struct nstat_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + uarg[1] = (intptr_t) p->ub; /* struct nstat * */ + *n_args = 2; + break; + } + /* nfstat */ + case 279: { + struct nfstat_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->sb; /* struct nstat * */ + *n_args = 2; + break; + } + /* nlstat */ + case 280: { + struct nlstat_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + uarg[1] = (intptr_t) p->ub; /* struct nstat * */ + *n_args = 2; + break; + } + /* preadv */ + case 289: { + struct preadv_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ + uarg[2] = p->iovcnt; /* u_int */ + iarg[3] = p->offset; /* off_t */ + *n_args = 4; + break; + } + /* pwritev */ + case 290: { + struct pwritev_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->iovp; /* struct iovec * */ + uarg[2] = p->iovcnt; /* u_int */ + iarg[3] = p->offset; /* off_t */ + *n_args = 4; + break; + } + /* fhopen */ + case 298: { + struct fhopen_args *p = params; + uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ + iarg[1] = p->flags; /* int */ + *n_args = 2; + break; + } + /* fhstat */ + case 299: { + struct fhstat_args *p = params; + uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ + uarg[1] = (intptr_t) p->sb; /* struct stat * */ + *n_args = 2; + break; + } + /* modnext */ + case 300: { + struct modnext_args *p = params; + iarg[0] = p->modid; /* int */ + *n_args = 1; + break; + } + /* modstat */ + case 301: { + struct modstat_args *p = params; + iarg[0] = p->modid; /* int */ + uarg[1] = (intptr_t) p->stat; /* struct module_stat * */ + *n_args = 2; + break; + } + /* modfnext */ + case 302: { + struct modfnext_args *p = params; + iarg[0] = p->modid; /* int */ + *n_args = 1; + break; + } + /* modfind */ + case 303: { + struct modfind_args *p = params; + uarg[0] = (intptr_t) p->name; /* const char * */ + *n_args = 1; + break; + } + /* kldload */ + case 304: { + struct kldload_args *p = params; + uarg[0] = (intptr_t) p->file; /* const char * */ + *n_args = 1; + break; + } + /* kldunload */ + case 305: { + struct kldunload_args *p = params; + iarg[0] = p->fileid; /* int */ + *n_args = 1; + break; + } + /* kldfind */ + case 306: { + struct kldfind_args *p = params; + uarg[0] = (intptr_t) p->file; /* const char * */ + *n_args = 1; + break; + } + /* kldnext */ + case 307: { + struct kldnext_args *p = params; + iarg[0] = p->fileid; /* int */ + *n_args = 1; + break; + } + /* kldstat */ + case 308: { + struct kldstat_args *p = params; + iarg[0] = p->fileid; /* int */ + uarg[1] = (intptr_t) p->stat; /* struct kld_file_stat * */ + *n_args = 2; + break; + } + /* kldfirstmod */ + case 309: { + struct kldfirstmod_args *p = params; + iarg[0] = p->fileid; /* int */ + *n_args = 1; + break; + } + /* getsid */ + case 310: { + struct getsid_args *p = params; + iarg[0] = p->pid; /* pid_t */ + *n_args = 1; + break; + } + /* setresuid */ + case 311: { + struct setresuid_args *p = params; + uarg[0] = p->ruid; /* uid_t */ + uarg[1] = p->euid; /* uid_t */ + uarg[2] = p->suid; /* uid_t */ + *n_args = 3; + break; + } + /* setresgid */ + case 312: { + struct setresgid_args *p = params; + iarg[0] = p->rgid; /* gid_t */ + iarg[1] = p->egid; /* gid_t */ + iarg[2] = p->sgid; /* gid_t */ + *n_args = 3; + break; + } + /* aio_return */ + case 314: { + struct aio_return_args *p = params; + uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ + *n_args = 1; + break; + } + /* aio_suspend */ + case 315: { + struct aio_suspend_args *p = params; + uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb *const * */ + iarg[1] = p->nent; /* int */ + uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */ + *n_args = 3; + break; + } + /* aio_cancel */ + case 316: { + struct aio_cancel_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */ + *n_args = 2; + break; + } + /* aio_error */ + case 317: { + struct aio_error_args *p = params; + uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb * */ + *n_args = 1; + break; + } + /* oaio_read */ + case 318: { + struct oaio_read_args *p = params; + uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */ + *n_args = 1; + break; + } + /* oaio_write */ + case 319: { + struct oaio_write_args *p = params; + uarg[0] = (intptr_t) p->aiocbp; /* struct oaiocb * */ + *n_args = 1; + break; + } + /* olio_listio */ + case 320: { + struct olio_listio_args *p = params; + iarg[0] = p->mode; /* int */ + uarg[1] = (intptr_t) p->acb_list; /* struct oaiocb *const * */ + iarg[2] = p->nent; /* int */ + uarg[3] = (intptr_t) p->sig; /* struct osigevent * */ + *n_args = 4; + break; + } + /* yield */ + case 321: { + *n_args = 0; + break; + } + /* mlockall */ + case 324: { + struct mlockall_args *p = params; + iarg[0] = p->how; /* int */ + *n_args = 1; + break; + } + /* munlockall */ + case 325: { + *n_args = 0; + break; + } + /* __getcwd */ + case 326: { + struct __getcwd_args *p = params; + uarg[0] = (intptr_t) p->buf; /* u_char * */ + uarg[1] = p->buflen; /* u_int */ + *n_args = 2; + break; + } + /* sched_setparam */ + case 327: { + struct sched_setparam_args *p = params; + iarg[0] = p->pid; /* pid_t */ + uarg[1] = (intptr_t) p->param; /* const struct sched_param * */ + *n_args = 2; + break; + } + /* sched_getparam */ + case 328: { + struct sched_getparam_args *p = params; + iarg[0] = p->pid; /* pid_t */ + uarg[1] = (intptr_t) p->param; /* struct sched_param * */ + *n_args = 2; + break; + } + /* sched_setscheduler */ + case 329: { + struct sched_setscheduler_args *p = params; + iarg[0] = p->pid; /* pid_t */ + iarg[1] = p->policy; /* int */ + uarg[2] = (intptr_t) p->param; /* const struct sched_param * */ + *n_args = 3; + break; + } + /* sched_getscheduler */ + case 330: { + struct sched_getscheduler_args *p = params; + iarg[0] = p->pid; /* pid_t */ + *n_args = 1; + break; + } + /* sched_yield */ + case 331: { + *n_args = 0; + break; + } + /* sched_get_priority_max */ + case 332: { + struct sched_get_priority_max_args *p = params; + iarg[0] = p->policy; /* int */ + *n_args = 1; + break; + } + /* sched_get_priority_min */ + case 333: { + struct sched_get_priority_min_args *p = params; + iarg[0] = p->policy; /* int */ + *n_args = 1; + break; + } + /* sched_rr_get_interval */ + case 334: { + struct sched_rr_get_interval_args *p = params; + iarg[0] = p->pid; /* pid_t */ + uarg[1] = (intptr_t) p->interval; /* struct timespec * */ + *n_args = 2; + break; + } + /* utrace */ + case 335: { + struct utrace_args *p = params; + uarg[0] = (intptr_t) p->addr; /* const void * */ + uarg[1] = p->len; /* size_t */ + *n_args = 2; + break; + } + /* kldsym */ + case 337: { + struct kldsym_args *p = params; + iarg[0] = p->fileid; /* int */ + iarg[1] = p->cmd; /* int */ + uarg[2] = (intptr_t) p->data; /* void * */ + *n_args = 3; + break; + } + /* jail */ + case 338: { + struct jail_args *p = params; + uarg[0] = (intptr_t) p->jail; /* struct jail * */ + *n_args = 1; + break; + } + /* sigprocmask */ + case 340: { + struct sigprocmask_args *p = params; + iarg[0] = p->how; /* int */ + uarg[1] = (intptr_t) p->set; /* const sigset_t * */ + uarg[2] = (intptr_t) p->oset; /* sigset_t * */ + *n_args = 3; + break; + } + /* sigsuspend */ + case 341: { + struct sigsuspend_args *p = params; + uarg[0] = (intptr_t) p->sigmask; /* const sigset_t * */ + *n_args = 1; + break; + } + /* sigpending */ + case 343: { + struct sigpending_args *p = params; + uarg[0] = (intptr_t) p->set; /* sigset_t * */ + *n_args = 1; + break; + } + /* sigtimedwait */ + case 345: { + struct sigtimedwait_args *p = params; + uarg[0] = (intptr_t) p->set; /* const sigset_t * */ + uarg[1] = (intptr_t) p->info; /* siginfo_t * */ + uarg[2] = (intptr_t) p->timeout; /* const struct timespec * */ + *n_args = 3; + break; + } + /* sigwaitinfo */ + case 346: { + struct sigwaitinfo_args *p = params; + uarg[0] = (intptr_t) p->set; /* const sigset_t * */ + uarg[1] = (intptr_t) p->info; /* siginfo_t * */ + *n_args = 2; + break; + } + /* __acl_get_file */ + case 347: { + struct __acl_get_file_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->type; /* acl_type_t */ + uarg[2] = (intptr_t) p->aclp; /* struct acl * */ + *n_args = 3; + break; + } + /* __acl_set_file */ + case 348: { + struct __acl_set_file_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->type; /* acl_type_t */ + uarg[2] = (intptr_t) p->aclp; /* struct acl * */ + *n_args = 3; + break; + } + /* __acl_get_fd */ + case 349: { + struct __acl_get_fd_args *p = params; + iarg[0] = p->filedes; /* int */ + iarg[1] = p->type; /* acl_type_t */ + uarg[2] = (intptr_t) p->aclp; /* struct acl * */ + *n_args = 3; + break; + } + /* __acl_set_fd */ + case 350: { + struct __acl_set_fd_args *p = params; + iarg[0] = p->filedes; /* int */ + iarg[1] = p->type; /* acl_type_t */ + uarg[2] = (intptr_t) p->aclp; /* struct acl * */ + *n_args = 3; + break; + } + /* __acl_delete_file */ + case 351: { + struct __acl_delete_file_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->type; /* acl_type_t */ + *n_args = 2; + break; + } + /* __acl_delete_fd */ + case 352: { + struct __acl_delete_fd_args *p = params; + iarg[0] = p->filedes; /* int */ + iarg[1] = p->type; /* acl_type_t */ + *n_args = 2; + break; + } + /* __acl_aclcheck_file */ + case 353: { + struct __acl_aclcheck_file_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->type; /* acl_type_t */ + uarg[2] = (intptr_t) p->aclp; /* struct acl * */ + *n_args = 3; + break; + } + /* __acl_aclcheck_fd */ + case 354: { + struct __acl_aclcheck_fd_args *p = params; + iarg[0] = p->filedes; /* int */ + iarg[1] = p->type; /* acl_type_t */ + uarg[2] = (intptr_t) p->aclp; /* struct acl * */ + *n_args = 3; + break; + } + /* extattrctl */ + case 355: { + struct extattrctl_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->cmd; /* int */ + uarg[2] = (intptr_t) p->filename; /* const char * */ + iarg[3] = p->attrnamespace; /* int */ + uarg[4] = (intptr_t) p->attrname; /* const char * */ + *n_args = 5; + break; + } + /* extattr_set_file */ + case 356: { + struct extattr_set_file_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->attrname; /* const char * */ + uarg[3] = (intptr_t) p->data; /* void * */ + uarg[4] = p->nbytes; /* size_t */ + *n_args = 5; + break; + } + /* extattr_get_file */ + case 357: { + struct extattr_get_file_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->attrname; /* const char * */ + uarg[3] = (intptr_t) p->data; /* void * */ + uarg[4] = p->nbytes; /* size_t */ + *n_args = 5; + break; + } + /* extattr_delete_file */ + case 358: { + struct extattr_delete_file_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->attrname; /* const char * */ + *n_args = 3; + break; + } + /* aio_waitcomplete */ + case 359: { + struct aio_waitcomplete_args *p = params; + uarg[0] = (intptr_t) p->aiocbp; /* struct aiocb ** */ + uarg[1] = (intptr_t) p->timeout; /* struct timespec * */ + *n_args = 2; + break; + } + /* getresuid */ + case 360: { + struct getresuid_args *p = params; + uarg[0] = (intptr_t) p->ruid; /* uid_t * */ + uarg[1] = (intptr_t) p->euid; /* uid_t * */ + uarg[2] = (intptr_t) p->suid; /* uid_t * */ + *n_args = 3; + break; + } + /* getresgid */ + case 361: { + struct getresgid_args *p = params; + uarg[0] = (intptr_t) p->rgid; /* gid_t * */ + uarg[1] = (intptr_t) p->egid; /* gid_t * */ + uarg[2] = (intptr_t) p->sgid; /* gid_t * */ + *n_args = 3; + break; + } + /* kqueue */ + case 362: { + *n_args = 0; + break; + } + /* kevent */ + case 363: { + struct kevent_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->changelist; /* struct kevent * */ + iarg[2] = p->nchanges; /* int */ + uarg[3] = (intptr_t) p->eventlist; /* struct kevent * */ + iarg[4] = p->nevents; /* int */ + uarg[5] = (intptr_t) p->timeout; /* const struct timespec * */ + *n_args = 6; + break; + } + /* lkmressys */ + case 370: { + *n_args = 0; + break; + } + /* extattr_set_fd */ + case 371: { + struct extattr_set_fd_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->attrname; /* const char * */ + uarg[3] = (intptr_t) p->data; /* void * */ + uarg[4] = p->nbytes; /* size_t */ + *n_args = 5; + break; + } + /* extattr_get_fd */ + case 372: { + struct extattr_get_fd_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->attrname; /* const char * */ + uarg[3] = (intptr_t) p->data; /* void * */ + uarg[4] = p->nbytes; /* size_t */ + *n_args = 5; + break; + } + /* extattr_delete_fd */ + case 373: { + struct extattr_delete_fd_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->attrname; /* const char * */ + *n_args = 3; + break; + } + /* __setugid */ + case 374: { + struct __setugid_args *p = params; + iarg[0] = p->flag; /* int */ + *n_args = 1; + break; + } + /* nfsclnt */ + case 375: { + struct nfsclnt_args *p = params; + iarg[0] = p->flag; /* int */ + uarg[1] = (intptr_t) p->argp; /* caddr_t */ + *n_args = 2; + break; + } + /* eaccess */ + case 376: { + struct eaccess_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + iarg[1] = p->flags; /* int */ + *n_args = 2; + break; + } + /* nmount */ + case 378: { + struct nmount_args *p = params; + uarg[0] = (intptr_t) p->iovp; /* struct iovec * */ + uarg[1] = p->iovcnt; /* unsigned int */ + iarg[2] = p->flags; /* int */ + *n_args = 3; + break; + } + /* kse_exit */ + case 379: { + *n_args = 0; + break; + } + /* kse_wakeup */ + case 380: { + struct kse_wakeup_args *p = params; + uarg[0] = (intptr_t) p->mbx; /* struct kse_mailbox * */ + *n_args = 1; + break; + } + /* kse_create */ + case 381: { + struct kse_create_args *p = params; + uarg[0] = (intptr_t) p->mbx; /* struct kse_mailbox * */ + iarg[1] = p->newgroup; /* int */ + *n_args = 2; + break; + } + /* kse_thr_interrupt */ + case 382: { + struct kse_thr_interrupt_args *p = params; + uarg[0] = (intptr_t) p->tmbx; /* struct kse_thr_mailbox * */ + iarg[1] = p->cmd; /* int */ + iarg[2] = p->data; /* long */ + *n_args = 3; + break; + } + /* kse_release */ + case 383: { + struct kse_release_args *p = params; + uarg[0] = (intptr_t) p->timeout; /* struct timespec * */ + *n_args = 1; + break; + } + /* __mac_get_proc */ + case 384: { + struct __mac_get_proc_args *p = params; + uarg[0] = (intptr_t) p->mac_p; /* struct mac * */ + *n_args = 1; + break; + } + /* __mac_set_proc */ + case 385: { + struct __mac_set_proc_args *p = params; + uarg[0] = (intptr_t) p->mac_p; /* struct mac * */ + *n_args = 1; + break; + } + /* __mac_get_fd */ + case 386: { + struct __mac_get_fd_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ + *n_args = 2; + break; + } + /* __mac_get_file */ + case 387: { + struct __mac_get_file_args *p = params; + uarg[0] = (intptr_t) p->path_p; /* const char * */ + uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ + *n_args = 2; + break; + } + /* __mac_set_fd */ + case 388: { + struct __mac_set_fd_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ + *n_args = 2; + break; + } + /* __mac_set_file */ + case 389: { + struct __mac_set_file_args *p = params; + uarg[0] = (intptr_t) p->path_p; /* const char * */ + uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ + *n_args = 2; + break; + } + /* kenv */ + case 390: { + struct kenv_args *p = params; + iarg[0] = p->what; /* int */ + uarg[1] = (intptr_t) p->name; /* const char * */ + uarg[2] = (intptr_t) p->value; /* char * */ + iarg[3] = p->len; /* int */ + *n_args = 4; + break; + } + /* lchflags */ + case 391: { + struct lchflags_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->flags; /* int */ + *n_args = 2; + break; + } + /* uuidgen */ + case 392: { + struct uuidgen_args *p = params; + uarg[0] = (intptr_t) p->store; /* struct uuid * */ + iarg[1] = p->count; /* int */ + *n_args = 2; + break; + } + /* sendfile */ + case 393: { + struct sendfile_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->s; /* int */ + iarg[2] = p->offset; /* off_t */ + uarg[3] = p->nbytes; /* size_t */ + uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */ + uarg[5] = (intptr_t) p->sbytes; /* off_t * */ + iarg[6] = p->flags; /* int */ + *n_args = 7; + break; + } + /* mac_syscall */ + case 394: { + struct mac_syscall_args *p = params; + uarg[0] = (intptr_t) p->policy; /* const char * */ + iarg[1] = p->call; /* int */ + uarg[2] = (intptr_t) p->arg; /* void * */ + *n_args = 3; + break; + } + /* getfsstat */ + case 395: { + struct getfsstat_args *p = params; + uarg[0] = (intptr_t) p->buf; /* struct statfs * */ + iarg[1] = p->bufsize; /* long */ + iarg[2] = p->flags; /* int */ + *n_args = 3; + break; + } + /* statfs */ + case 396: { + struct statfs_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + uarg[1] = (intptr_t) p->buf; /* struct statfs * */ + *n_args = 2; + break; + } + /* fstatfs */ + case 397: { + struct fstatfs_args *p = params; + iarg[0] = p->fd; /* int */ + uarg[1] = (intptr_t) p->buf; /* struct statfs * */ + *n_args = 2; + break; + } + /* fhstatfs */ + case 398: { + struct fhstatfs_args *p = params; + uarg[0] = (intptr_t) p->u_fhp; /* const struct fhandle * */ + uarg[1] = (intptr_t) p->buf; /* struct statfs * */ + *n_args = 2; + break; + } + /* ksem_close */ + case 400: { + struct ksem_close_args *p = params; + iarg[0] = p->id; /* semid_t */ + *n_args = 1; + break; + } + /* ksem_post */ + case 401: { + struct ksem_post_args *p = params; + iarg[0] = p->id; /* semid_t */ + *n_args = 1; + break; + } + /* ksem_wait */ + case 402: { + struct ksem_wait_args *p = params; + iarg[0] = p->id; /* semid_t */ + *n_args = 1; + break; + } + /* ksem_trywait */ + case 403: { + struct ksem_trywait_args *p = params; + iarg[0] = p->id; /* semid_t */ + *n_args = 1; + break; + } + /* ksem_init */ + case 404: { + struct ksem_init_args *p = params; + uarg[0] = (intptr_t) p->idp; /* semid_t * */ + uarg[1] = p->value; /* unsigned int */ + *n_args = 2; + break; + } + /* ksem_open */ + case 405: { + struct ksem_open_args *p = params; + uarg[0] = (intptr_t) p->idp; /* semid_t * */ + uarg[1] = (intptr_t) p->name; /* const char * */ + iarg[2] = p->oflag; /* int */ + iarg[3] = p->mode; /* mode_t */ + uarg[4] = p->value; /* unsigned int */ + *n_args = 5; + break; + } + /* ksem_unlink */ + case 406: { + struct ksem_unlink_args *p = params; + uarg[0] = (intptr_t) p->name; /* const char * */ + *n_args = 1; + break; + } + /* ksem_getvalue */ + case 407: { + struct ksem_getvalue_args *p = params; + iarg[0] = p->id; /* semid_t */ + uarg[1] = (intptr_t) p->val; /* int * */ + *n_args = 2; + break; + } + /* ksem_destroy */ + case 408: { + struct ksem_destroy_args *p = params; + iarg[0] = p->id; /* semid_t */ + *n_args = 1; + break; + } + /* __mac_get_pid */ + case 409: { + struct __mac_get_pid_args *p = params; + iarg[0] = p->pid; /* pid_t */ + uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ + *n_args = 2; + break; + } + /* __mac_get_link */ + case 410: { + struct __mac_get_link_args *p = params; + uarg[0] = (intptr_t) p->path_p; /* const char * */ + uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ + *n_args = 2; + break; + } + /* __mac_set_link */ + case 411: { + struct __mac_set_link_args *p = params; + uarg[0] = (intptr_t) p->path_p; /* const char * */ + uarg[1] = (intptr_t) p->mac_p; /* struct mac * */ + *n_args = 2; + break; + } + /* extattr_set_link */ + case 412: { + struct extattr_set_link_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->attrname; /* const char * */ + uarg[3] = (intptr_t) p->data; /* void * */ + uarg[4] = p->nbytes; /* size_t */ + *n_args = 5; + break; + } + /* extattr_get_link */ + case 413: { + struct extattr_get_link_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->attrname; /* const char * */ + uarg[3] = (intptr_t) p->data; /* void * */ + uarg[4] = p->nbytes; /* size_t */ + *n_args = 5; + break; + } + /* extattr_delete_link */ + case 414: { + struct extattr_delete_link_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->attrname; /* const char * */ + *n_args = 3; + break; + } + /* __mac_execve */ + case 415: { + struct __mac_execve_args *p = params; + uarg[0] = (intptr_t) p->fname; /* char * */ + uarg[1] = (intptr_t) p->argv; /* char ** */ + uarg[2] = (intptr_t) p->envv; /* char ** */ + uarg[3] = (intptr_t) p->mac_p; /* struct mac * */ + *n_args = 4; + break; + } + /* sigaction */ + case 416: { + struct sigaction_args *p = params; + iarg[0] = p->sig; /* int */ + uarg[1] = (intptr_t) p->act; /* const struct sigaction * */ + uarg[2] = (intptr_t) p->oact; /* struct sigaction * */ + *n_args = 3; + break; + } + /* sigreturn */ + case 417: { + struct sigreturn_args *p = params; + uarg[0] = (intptr_t) p->sigcntxp; /* const struct __ucontext * */ + *n_args = 1; + break; + } + /* getcontext */ + case 421: { + struct getcontext_args *p = params; + uarg[0] = (intptr_t) p->ucp; /* struct __ucontext * */ + *n_args = 1; + break; + } + /* setcontext */ + case 422: { + struct setcontext_args *p = params; + uarg[0] = (intptr_t) p->ucp; /* const struct __ucontext * */ + *n_args = 1; + break; + } + /* swapcontext */ + case 423: { + struct swapcontext_args *p = params; + uarg[0] = (intptr_t) p->oucp; /* struct __ucontext * */ + uarg[1] = (intptr_t) p->ucp; /* const struct __ucontext * */ + *n_args = 2; + break; + } + /* swapoff */ + case 424: { + struct swapoff_args *p = params; + uarg[0] = (intptr_t) p->name; /* const char * */ + *n_args = 1; + break; + } + /* __acl_get_link */ + case 425: { + struct __acl_get_link_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->type; /* acl_type_t */ + uarg[2] = (intptr_t) p->aclp; /* struct acl * */ + *n_args = 3; + break; + } + /* __acl_set_link */ + case 426: { + struct __acl_set_link_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->type; /* acl_type_t */ + uarg[2] = (intptr_t) p->aclp; /* struct acl * */ + *n_args = 3; + break; + } + /* __acl_delete_link */ + case 427: { + struct __acl_delete_link_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->type; /* acl_type_t */ + *n_args = 2; + break; + } + /* __acl_aclcheck_link */ + case 428: { + struct __acl_aclcheck_link_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->type; /* acl_type_t */ + uarg[2] = (intptr_t) p->aclp; /* struct acl * */ + *n_args = 3; + break; + } + /* sigwait */ + case 429: { + struct sigwait_args *p = params; + uarg[0] = (intptr_t) p->set; /* const sigset_t * */ + uarg[1] = (intptr_t) p->sig; /* int * */ + *n_args = 2; + break; + } + /* thr_create */ + case 430: { + struct thr_create_args *p = params; + uarg[0] = (intptr_t) p->ctx; /* ucontext_t * */ + uarg[1] = (intptr_t) p->id; /* long * */ + iarg[2] = p->flags; /* int */ + *n_args = 3; + break; + } + /* thr_exit */ + case 431: { + struct thr_exit_args *p = params; + uarg[0] = (intptr_t) p->state; /* long * */ + *n_args = 1; + break; + } + /* thr_self */ + case 432: { + struct thr_self_args *p = params; + uarg[0] = (intptr_t) p->id; /* long * */ + *n_args = 1; + break; + } + /* thr_kill */ + case 433: { + struct thr_kill_args *p = params; + iarg[0] = p->id; /* long */ + iarg[1] = p->sig; /* int */ + *n_args = 2; + break; + } + /* _umtx_lock */ + case 434: { + struct _umtx_lock_args *p = params; + uarg[0] = (intptr_t) p->umtx; /* struct umtx * */ + *n_args = 1; + break; + } + /* _umtx_unlock */ + case 435: { + struct _umtx_unlock_args *p = params; + uarg[0] = (intptr_t) p->umtx; /* struct umtx * */ + *n_args = 1; + break; + } + /* jail_attach */ + case 436: { + struct jail_attach_args *p = params; + iarg[0] = p->jid; /* int */ + *n_args = 1; + break; + } + /* extattr_list_fd */ + case 437: { + struct extattr_list_fd_args *p = params; + iarg[0] = p->fd; /* int */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->data; /* void * */ + uarg[3] = p->nbytes; /* size_t */ + *n_args = 4; + break; + } + /* extattr_list_file */ + case 438: { + struct extattr_list_file_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->data; /* void * */ + uarg[3] = p->nbytes; /* size_t */ + *n_args = 4; + break; + } + /* extattr_list_link */ + case 439: { + struct extattr_list_link_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->attrnamespace; /* int */ + uarg[2] = (intptr_t) p->data; /* void * */ + uarg[3] = p->nbytes; /* size_t */ + *n_args = 4; + break; + } + /* kse_switchin */ + case 440: { + struct kse_switchin_args *p = params; + uarg[0] = (intptr_t) p->tmbx; /* struct kse_thr_mailbox * */ + iarg[1] = p->flags; /* int */ + *n_args = 2; + break; + } + /* ksem_timedwait */ + case 441: { + struct ksem_timedwait_args *p = params; + iarg[0] = p->id; /* semid_t */ + uarg[1] = (intptr_t) p->abstime; /* const struct timespec * */ + *n_args = 2; + break; + } + /* thr_suspend */ + case 442: { + struct thr_suspend_args *p = params; + uarg[0] = (intptr_t) p->timeout; /* const struct timespec * */ + *n_args = 1; + break; + } + /* thr_wake */ + case 443: { + struct thr_wake_args *p = params; + iarg[0] = p->id; /* long */ + *n_args = 1; + break; + } + /* kldunloadf */ + case 444: { + struct kldunloadf_args *p = params; + iarg[0] = p->fileid; /* int */ + iarg[1] = p->flags; /* int */ + *n_args = 2; + break; + } + /* audit */ + case 445: { + struct audit_args *p = params; + uarg[0] = (intptr_t) p->record; /* const void * */ + uarg[1] = p->length; /* u_int */ + *n_args = 2; + break; + } + /* auditon */ + case 446: { + struct auditon_args *p = params; + iarg[0] = p->cmd; /* int */ + uarg[1] = (intptr_t) p->data; /* void * */ + uarg[2] = p->length; /* u_int */ + *n_args = 3; + break; + } + /* getauid */ + case 447: { + struct getauid_args *p = params; + uarg[0] = (intptr_t) p->auid; /* uid_t * */ + *n_args = 1; + break; + } + /* setauid */ + case 448: { + struct setauid_args *p = params; + uarg[0] = (intptr_t) p->auid; /* uid_t * */ + *n_args = 1; + break; + } + /* getaudit */ + case 449: { + struct getaudit_args *p = params; + uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */ + *n_args = 1; + break; + } + /* setaudit */ + case 450: { + struct setaudit_args *p = params; + uarg[0] = (intptr_t) p->auditinfo; /* struct auditinfo * */ + *n_args = 1; + break; + } + /* getaudit_addr */ + case 451: { + struct getaudit_addr_args *p = params; + uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */ + uarg[1] = p->length; /* u_int */ + *n_args = 2; + break; + } + /* setaudit_addr */ + case 452: { + struct setaudit_addr_args *p = params; + uarg[0] = (intptr_t) p->auditinfo_addr; /* struct auditinfo_addr * */ + uarg[1] = p->length; /* u_int */ + *n_args = 2; + break; + } + /* auditctl */ + case 453: { + struct auditctl_args *p = params; + uarg[0] = (intptr_t) p->path; /* char * */ + *n_args = 1; + break; + } + /* _umtx_op */ + case 454: { + struct _umtx_op_args *p = params; + uarg[0] = (intptr_t) p->umtx; /* struct umtx * */ + iarg[1] = p->op; /* int */ + iarg[2] = p->id; /* long */ + uarg[3] = (intptr_t) p->uaddr; /* void * */ + uarg[4] = (intptr_t) p->uaddr2; /* void * */ + *n_args = 5; + break; + } + /* thr_new */ + case 455: { + struct thr_new_args *p = params; + uarg[0] = (intptr_t) p->param; /* struct thr_param * */ + iarg[1] = p->param_size; /* int */ + *n_args = 2; + break; + } + /* sigqueue */ + case 456: { + struct sigqueue_args *p = params; + iarg[0] = p->pid; /* pid_t */ + iarg[1] = p->signum; /* int */ + uarg[2] = (intptr_t) p->value; /* void * */ + *n_args = 3; + break; + } + /* kmq_open */ + case 457: { + struct kmq_open_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->flags; /* int */ + iarg[2] = p->mode; /* mode_t */ + uarg[3] = (intptr_t) p->attr; /* const struct mq_attr * */ + *n_args = 4; + break; + } + /* kmq_setattr */ + case 458: { + struct kmq_setattr_args *p = params; + iarg[0] = p->mqd; /* int */ + uarg[1] = (intptr_t) p->attr; /* const struct mq_attr * */ + uarg[2] = (intptr_t) p->oattr; /* struct mq_attr * */ + *n_args = 3; + break; + } + /* kmq_timedreceive */ + case 459: { + struct kmq_timedreceive_args *p = params; + iarg[0] = p->mqd; /* int */ + uarg[1] = (intptr_t) p->msg_ptr; /* char * */ + uarg[2] = p->msg_len; /* size_t */ + uarg[3] = (intptr_t) p->msg_prio; /* unsigned * */ + uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */ + *n_args = 5; + break; + } + /* kmq_timedsend */ + case 460: { + struct kmq_timedsend_args *p = params; + iarg[0] = p->mqd; /* int */ + uarg[1] = (intptr_t) p->msg_ptr; /* const char * */ + uarg[2] = p->msg_len; /* size_t */ + uarg[3] = p->msg_prio; /* unsigned */ + uarg[4] = (intptr_t) p->abs_timeout; /* const struct timespec * */ + *n_args = 5; + break; + } + /* kmq_notify */ + case 461: { + struct kmq_notify_args *p = params; + iarg[0] = p->mqd; /* int */ + uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */ + *n_args = 2; + break; + } + /* kmq_unlink */ + case 462: { + struct kmq_unlink_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + *n_args = 1; + break; + } + /* abort2 */ + case 463: { + struct abort2_args *p = params; + uarg[0] = (intptr_t) p->why; /* const char * */ + iarg[1] = p->nargs; /* int */ + uarg[2] = (intptr_t) p->args; /* void ** */ + *n_args = 3; + break; + } + /* thr_set_name */ + case 464: { + struct thr_set_name_args *p = params; + iarg[0] = p->id; /* long */ + uarg[1] = (intptr_t) p->name; /* const char * */ + *n_args = 2; + break; + } + /* aio_fsync */ + case 465: { + struct aio_fsync_args *p = params; + iarg[0] = p->op; /* int */ + uarg[1] = (intptr_t) p->aiocbp; /* struct aiocb * */ + *n_args = 2; + break; + } + /* thr_setscheduler */ + case 466: { + struct thr_setscheduler_args *p = params; + iarg[0] = p->id; /* long */ + iarg[1] = p->policy; /* int */ + uarg[2] = (intptr_t) p->param; /* const struct sched_param * */ + iarg[3] = p->param_size; /* int */ + *n_args = 4; + break; + } + /* thr_getscheduler */ + case 467: { + struct thr_getscheduler_args *p = params; + iarg[0] = p->id; /* long */ + uarg[1] = (intptr_t) p->policy; /* int * */ + uarg[2] = (intptr_t) p->param; /* struct sched_param * */ + iarg[3] = p->param_size; /* int */ + *n_args = 4; + break; + } + /* thr_setschedparam */ + case 468: { + struct thr_setschedparam_args *p = params; + iarg[0] = p->id; /* long */ + uarg[1] = (intptr_t) p->param; /* const struct sched_param * */ + iarg[2] = p->param_size; /* int */ + *n_args = 3; + break; + } + default: + *n_args = 0; + break; + }; +}