init_sysent.c (0cc009051796057d5e9da68f589815dd689a97db) | init_sysent.c (3984b2328c055e9b6082bbc50d09ae630c1050b1) |
---|---|
1/* 2 * System call switch table. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ | 1/* 2 * System call switch table. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ |
6 * created from FreeBSD: src/sys/kern/syscalls.master,v 1.194 2005/05/28 14:35:05 rwatson Exp | 6 * created from FreeBSD: src/sys/kern/syscalls.master,v 1.196 2005/05/30 15:09:18 rwatson Exp |
7 */ 8 9#include "opt_compat.h" 10 | 7 */ 8 9#include "opt_compat.h" 10 |
11#include <bsm/audit_kevents.h> |
|
11#include <sys/param.h> 12#include <sys/sysent.h> 13#include <sys/sysproto.h> 14 15#define AS(name) (sizeof(struct name) / sizeof(register_t)) 16 17#ifdef COMPAT_43 18#define compat(n, name) n, (sy_call_t *)__CONCAT(o,name) --- 4 unchanged lines hidden (view full) --- 23#ifdef COMPAT_FREEBSD4 24#define compat4(n, name) n, (sy_call_t *)__CONCAT(freebsd4_,name) 25#else 26#define compat4(n, name) 0, (sy_call_t *)nosys 27#endif 28 29/* The casts are bogus but will do for now. */ 30struct sysent sysent[] = { | 12#include <sys/param.h> 13#include <sys/sysent.h> 14#include <sys/sysproto.h> 15 16#define AS(name) (sizeof(struct name) / sizeof(register_t)) 17 18#ifdef COMPAT_43 19#define compat(n, name) n, (sy_call_t *)__CONCAT(o,name) --- 4 unchanged lines hidden (view full) --- 24#ifdef COMPAT_FREEBSD4 25#define compat4(n, name) n, (sy_call_t *)__CONCAT(freebsd4_,name) 26#else 27#define compat4(n, name) 0, (sy_call_t *)nosys 28#endif 29 30/* The casts are bogus but will do for now. */ 31struct sysent sysent[] = { |
31 { SYF_MPSAFE | 0, (sy_call_t *)nosys }, /* 0 = syscall */ 32 { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */ 33 { SYF_MPSAFE | 0, (sy_call_t *)fork }, /* 2 = fork */ 34 { SYF_MPSAFE | AS(read_args), (sy_call_t *)read }, /* 3 = read */ 35 { SYF_MPSAFE | AS(write_args), (sy_call_t *)write }, /* 4 = write */ 36 { SYF_MPSAFE | AS(open_args), (sy_call_t *)open }, /* 5 = open */ 37 { SYF_MPSAFE | AS(close_args), (sy_call_t *)close }, /* 6 = close */ 38 { SYF_MPSAFE | AS(wait_args), (sy_call_t *)wait4 }, /* 7 = wait4 */ 39 { compat(SYF_MPSAFE | AS(ocreat_args),creat) }, /* 8 = old creat */ 40 { SYF_MPSAFE | AS(link_args), (sy_call_t *)link }, /* 9 = link */ 41 { SYF_MPSAFE | AS(unlink_args), (sy_call_t *)unlink }, /* 10 = unlink */ 42 { 0, (sy_call_t *)nosys }, /* 11 = obsolete execv */ 43 { SYF_MPSAFE | AS(chdir_args), (sy_call_t *)chdir }, /* 12 = chdir */ 44 { SYF_MPSAFE | AS(fchdir_args), (sy_call_t *)fchdir }, /* 13 = fchdir */ 45 { SYF_MPSAFE | AS(mknod_args), (sy_call_t *)mknod }, /* 14 = mknod */ 46 { SYF_MPSAFE | AS(chmod_args), (sy_call_t *)chmod }, /* 15 = chmod */ 47 { SYF_MPSAFE | AS(chown_args), (sy_call_t *)chown }, /* 16 = chown */ 48 { SYF_MPSAFE | AS(obreak_args), (sy_call_t *)obreak }, /* 17 = break */ 49 { compat4(SYF_MPSAFE | AS(freebsd4_getfsstat_args),getfsstat) }, /* 18 = old getfsstat */ 50 { compat(SYF_MPSAFE | AS(olseek_args),lseek) }, /* 19 = old lseek */ 51 { SYF_MPSAFE | 0, (sy_call_t *)getpid }, /* 20 = getpid */ 52 { AS(mount_args), (sy_call_t *)mount }, /* 21 = mount */ 53 { AS(unmount_args), (sy_call_t *)unmount }, /* 22 = unmount */ 54 { SYF_MPSAFE | AS(setuid_args), (sy_call_t *)setuid }, /* 23 = setuid */ 55 { SYF_MPSAFE | 0, (sy_call_t *)getuid }, /* 24 = getuid */ 56 { SYF_MPSAFE | 0, (sy_call_t *)geteuid }, /* 25 = geteuid */ 57 { SYF_MPSAFE | AS(ptrace_args), (sy_call_t *)ptrace }, /* 26 = ptrace */ 58 { SYF_MPSAFE | AS(recvmsg_args), (sy_call_t *)recvmsg }, /* 27 = recvmsg */ 59 { SYF_MPSAFE | AS(sendmsg_args), (sy_call_t *)sendmsg }, /* 28 = sendmsg */ 60 { SYF_MPSAFE | AS(recvfrom_args), (sy_call_t *)recvfrom }, /* 29 = recvfrom */ 61 { SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept }, /* 30 = accept */ 62 { SYF_MPSAFE | AS(getpeername_args), (sy_call_t *)getpeername }, /* 31 = getpeername */ 63 { SYF_MPSAFE | AS(getsockname_args), (sy_call_t *)getsockname }, /* 32 = getsockname */ 64 { SYF_MPSAFE | AS(access_args), (sy_call_t *)access }, /* 33 = access */ 65 { SYF_MPSAFE | AS(chflags_args), (sy_call_t *)chflags }, /* 34 = chflags */ 66 { SYF_MPSAFE | AS(fchflags_args), (sy_call_t *)fchflags }, /* 35 = fchflags */ 67 { SYF_MPSAFE | 0, (sy_call_t *)sync }, /* 36 = sync */ 68 { SYF_MPSAFE | AS(kill_args), (sy_call_t *)kill }, /* 37 = kill */ 69 { compat(SYF_MPSAFE | AS(ostat_args),stat) }, /* 38 = old stat */ 70 { SYF_MPSAFE | 0, (sy_call_t *)getppid }, /* 39 = getppid */ 71 { compat(SYF_MPSAFE | AS(olstat_args),lstat) }, /* 40 = old lstat */ 72 { SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */ 73 { SYF_MPSAFE | 0, (sy_call_t *)pipe }, /* 42 = pipe */ 74 { SYF_MPSAFE | 0, (sy_call_t *)getegid }, /* 43 = getegid */ 75 { SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil }, /* 44 = profil */ 76 { SYF_MPSAFE | AS(ktrace_args), (sy_call_t *)ktrace }, /* 45 = ktrace */ 77 { compat(SYF_MPSAFE | AS(osigaction_args),sigaction) }, /* 46 = old sigaction */ 78 { SYF_MPSAFE | 0, (sy_call_t *)getgid }, /* 47 = getgid */ 79 { compat(SYF_MPSAFE | AS(osigprocmask_args),sigprocmask) }, /* 48 = old sigprocmask */ 80 { SYF_MPSAFE | AS(getlogin_args), (sy_call_t *)getlogin }, /* 49 = getlogin */ 81 { SYF_MPSAFE | AS(setlogin_args), (sy_call_t *)setlogin }, /* 50 = setlogin */ 82 { SYF_MPSAFE | AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */ 83 { compat(SYF_MPSAFE | 0,sigpending) }, /* 52 = old sigpending */ 84 { SYF_MPSAFE | AS(sigaltstack_args), (sy_call_t *)sigaltstack }, /* 53 = sigaltstack */ 85 { SYF_MPSAFE | AS(ioctl_args), (sy_call_t *)ioctl }, /* 54 = ioctl */ 86 { SYF_MPSAFE | AS(reboot_args), (sy_call_t *)reboot }, /* 55 = reboot */ 87 { SYF_MPSAFE | AS(revoke_args), (sy_call_t *)revoke }, /* 56 = revoke */ 88 { SYF_MPSAFE | AS(symlink_args), (sy_call_t *)symlink }, /* 57 = symlink */ 89 { SYF_MPSAFE | AS(readlink_args), (sy_call_t *)readlink }, /* 58 = readlink */ 90 { SYF_MPSAFE | AS(execve_args), (sy_call_t *)execve }, /* 59 = execve */ 91 { SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */ 92 { SYF_MPSAFE | AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */ 93 { compat(SYF_MPSAFE | AS(ofstat_args),fstat) }, /* 62 = old fstat */ 94 { compat(SYF_MPSAFE | AS(getkerninfo_args),getkerninfo) }, /* 63 = old getkerninfo */ 95 { compat(SYF_MPSAFE | 0,getpagesize) }, /* 64 = old getpagesize */ 96 { SYF_MPSAFE | AS(msync_args), (sy_call_t *)msync }, /* 65 = msync */ 97 { SYF_MPSAFE | 0, (sy_call_t *)vfork }, /* 66 = vfork */ 98 { 0, (sy_call_t *)nosys }, /* 67 = obsolete vread */ 99 { 0, (sy_call_t *)nosys }, /* 68 = obsolete vwrite */ 100 { SYF_MPSAFE | AS(sbrk_args), (sy_call_t *)sbrk }, /* 69 = sbrk */ 101 { SYF_MPSAFE | AS(sstk_args), (sy_call_t *)sstk }, /* 70 = sstk */ 102 { compat(SYF_MPSAFE | AS(ommap_args),mmap) }, /* 71 = old mmap */ 103 { SYF_MPSAFE | AS(ovadvise_args), (sy_call_t *)ovadvise }, /* 72 = vadvise */ 104 { SYF_MPSAFE | AS(munmap_args), (sy_call_t *)munmap }, /* 73 = munmap */ 105 { SYF_MPSAFE | AS(mprotect_args), (sy_call_t *)mprotect }, /* 74 = mprotect */ 106 { SYF_MPSAFE | AS(madvise_args), (sy_call_t *)madvise }, /* 75 = madvise */ 107 { 0, (sy_call_t *)nosys }, /* 76 = obsolete vhangup */ 108 { 0, (sy_call_t *)nosys }, /* 77 = obsolete vlimit */ 109 { SYF_MPSAFE | AS(mincore_args), (sy_call_t *)mincore }, /* 78 = mincore */ 110 { SYF_MPSAFE | AS(getgroups_args), (sy_call_t *)getgroups }, /* 79 = getgroups */ 111 { SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups }, /* 80 = setgroups */ 112 { SYF_MPSAFE | 0, (sy_call_t *)getpgrp }, /* 81 = getpgrp */ 113 { SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid }, /* 82 = setpgid */ 114 { SYF_MPSAFE | AS(setitimer_args), (sy_call_t *)setitimer }, /* 83 = setitimer */ 115 { compat(SYF_MPSAFE | 0,wait) }, /* 84 = old wait */ 116 { SYF_MPSAFE | AS(swapon_args), (sy_call_t *)swapon }, /* 85 = swapon */ 117 { SYF_MPSAFE | AS(getitimer_args), (sy_call_t *)getitimer }, /* 86 = getitimer */ 118 { compat(SYF_MPSAFE | AS(gethostname_args),gethostname) }, /* 87 = old gethostname */ 119 { compat(SYF_MPSAFE | AS(sethostname_args),sethostname) }, /* 88 = old sethostname */ 120 { SYF_MPSAFE | 0, (sy_call_t *)getdtablesize }, /* 89 = getdtablesize */ 121 { SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2 }, /* 90 = dup2 */ 122 { 0, (sy_call_t *)nosys }, /* 91 = getdopt */ 123 { SYF_MPSAFE | AS(fcntl_args), (sy_call_t *)fcntl }, /* 92 = fcntl */ 124 { SYF_MPSAFE | AS(select_args), (sy_call_t *)select }, /* 93 = select */ 125 { 0, (sy_call_t *)nosys }, /* 94 = setdopt */ 126 { SYF_MPSAFE | AS(fsync_args), (sy_call_t *)fsync }, /* 95 = fsync */ 127 { SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority }, /* 96 = setpriority */ 128 { SYF_MPSAFE | AS(socket_args), (sy_call_t *)socket }, /* 97 = socket */ 129 { SYF_MPSAFE | AS(connect_args), (sy_call_t *)connect }, /* 98 = connect */ 130 { compat(SYF_MPSAFE | AS(accept_args),accept) }, /* 99 = old accept */ 131 { SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority }, /* 100 = getpriority */ 132 { compat(SYF_MPSAFE | AS(osend_args),send) }, /* 101 = old send */ 133 { compat(SYF_MPSAFE | AS(orecv_args),recv) }, /* 102 = old recv */ 134 { compat(SYF_MPSAFE | AS(osigreturn_args),sigreturn) }, /* 103 = old sigreturn */ 135 { SYF_MPSAFE | AS(bind_args), (sy_call_t *)bind }, /* 104 = bind */ 136 { SYF_MPSAFE | AS(setsockopt_args), (sy_call_t *)setsockopt }, /* 105 = setsockopt */ 137 { SYF_MPSAFE | AS(listen_args), (sy_call_t *)listen }, /* 106 = listen */ 138 { 0, (sy_call_t *)nosys }, /* 107 = obsolete vtimes */ 139 { compat(SYF_MPSAFE | AS(osigvec_args),sigvec) }, /* 108 = old sigvec */ 140 { compat(SYF_MPSAFE | AS(osigblock_args),sigblock) }, /* 109 = old sigblock */ 141 { compat(SYF_MPSAFE | AS(osigsetmask_args),sigsetmask) }, /* 110 = old sigsetmask */ 142 { compat(SYF_MPSAFE | AS(osigsuspend_args),sigsuspend) }, /* 111 = old sigsuspend */ 143 { compat(SYF_MPSAFE | AS(osigstack_args),sigstack) }, /* 112 = old sigstack */ 144 { compat(SYF_MPSAFE | AS(orecvmsg_args),recvmsg) }, /* 113 = old recvmsg */ 145 { compat(SYF_MPSAFE | AS(osendmsg_args),sendmsg) }, /* 114 = old sendmsg */ 146 { 0, (sy_call_t *)nosys }, /* 115 = obsolete vtrace */ 147 { SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)gettimeofday }, /* 116 = gettimeofday */ 148 { SYF_MPSAFE | AS(getrusage_args), (sy_call_t *)getrusage }, /* 117 = getrusage */ 149 { SYF_MPSAFE | AS(getsockopt_args), (sy_call_t *)getsockopt }, /* 118 = getsockopt */ 150 { 0, (sy_call_t *)nosys }, /* 119 = resuba */ 151 { SYF_MPSAFE | AS(readv_args), (sy_call_t *)readv }, /* 120 = readv */ 152 { SYF_MPSAFE | AS(writev_args), (sy_call_t *)writev }, /* 121 = writev */ 153 { SYF_MPSAFE | AS(settimeofday_args), (sy_call_t *)settimeofday }, /* 122 = settimeofday */ 154 { SYF_MPSAFE | AS(fchown_args), (sy_call_t *)fchown }, /* 123 = fchown */ 155 { SYF_MPSAFE | AS(fchmod_args), (sy_call_t *)fchmod }, /* 124 = fchmod */ 156 { compat(SYF_MPSAFE | AS(recvfrom_args),recvfrom) }, /* 125 = old recvfrom */ 157 { SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid }, /* 126 = setreuid */ 158 { SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid }, /* 127 = setregid */ 159 { SYF_MPSAFE | AS(rename_args), (sy_call_t *)rename }, /* 128 = rename */ 160 { compat(SYF_MPSAFE | AS(otruncate_args),truncate) }, /* 129 = old truncate */ 161 { compat(SYF_MPSAFE | AS(oftruncate_args),ftruncate) }, /* 130 = old ftruncate */ 162 { SYF_MPSAFE | AS(flock_args), (sy_call_t *)flock }, /* 131 = flock */ 163 { SYF_MPSAFE | AS(mkfifo_args), (sy_call_t *)mkfifo }, /* 132 = mkfifo */ 164 { SYF_MPSAFE | AS(sendto_args), (sy_call_t *)sendto }, /* 133 = sendto */ 165 { SYF_MPSAFE | AS(shutdown_args), (sy_call_t *)shutdown }, /* 134 = shutdown */ 166 { SYF_MPSAFE | AS(socketpair_args), (sy_call_t *)socketpair }, /* 135 = socketpair */ 167 { SYF_MPSAFE | AS(mkdir_args), (sy_call_t *)mkdir }, /* 136 = mkdir */ 168 { SYF_MPSAFE | AS(rmdir_args), (sy_call_t *)rmdir }, /* 137 = rmdir */ 169 { SYF_MPSAFE | AS(utimes_args), (sy_call_t *)utimes }, /* 138 = utimes */ 170 { 0, (sy_call_t *)nosys }, /* 139 = obsolete 4.2 sigreturn */ 171 { SYF_MPSAFE | AS(adjtime_args), (sy_call_t *)adjtime }, /* 140 = adjtime */ 172 { compat(SYF_MPSAFE | AS(ogetpeername_args),getpeername) }, /* 141 = old getpeername */ 173 { compat(SYF_MPSAFE | 0,gethostid) }, /* 142 = old gethostid */ 174 { compat(SYF_MPSAFE | AS(osethostid_args),sethostid) }, /* 143 = old sethostid */ 175 { compat(SYF_MPSAFE | AS(ogetrlimit_args),getrlimit) }, /* 144 = old getrlimit */ 176 { compat(SYF_MPSAFE | AS(osetrlimit_args),setrlimit) }, /* 145 = old setrlimit */ 177 { compat(SYF_MPSAFE | AS(okillpg_args),killpg) }, /* 146 = old killpg */ 178 { SYF_MPSAFE | 0, (sy_call_t *)setsid }, /* 147 = setsid */ 179 { SYF_MPSAFE | AS(quotactl_args), (sy_call_t *)quotactl }, /* 148 = quotactl */ 180 { compat(SYF_MPSAFE | 0,quota) }, /* 149 = old quota */ 181 { compat(SYF_MPSAFE | AS(getsockname_args),getsockname) }, /* 150 = old getsockname */ 182 { 0, (sy_call_t *)nosys }, /* 151 = sem_lock */ 183 { 0, (sy_call_t *)nosys }, /* 152 = sem_wakeup */ 184 { 0, (sy_call_t *)nosys }, /* 153 = asyncdaemon */ 185 { 0, (sy_call_t *)nosys }, /* 154 = nosys */ 186 { SYF_MPSAFE | AS(nfssvc_args), (sy_call_t *)nosys }, /* 155 = nfssvc */ 187 { compat(AS(ogetdirentries_args),getdirentries) }, /* 156 = old getdirentries */ 188 { compat4(SYF_MPSAFE | AS(freebsd4_statfs_args),statfs) }, /* 157 = old statfs */ 189 { compat4(SYF_MPSAFE | AS(freebsd4_fstatfs_args),fstatfs) }, /* 158 = old fstatfs */ 190 { 0, (sy_call_t *)nosys }, /* 159 = nosys */ 191 { SYF_MPSAFE | AS(lgetfh_args), (sy_call_t *)lgetfh }, /* 160 = lgetfh */ 192 { SYF_MPSAFE | AS(getfh_args), (sy_call_t *)getfh }, /* 161 = getfh */ 193 { SYF_MPSAFE | AS(getdomainname_args), (sy_call_t *)getdomainname }, /* 162 = getdomainname */ 194 { SYF_MPSAFE | AS(setdomainname_args), (sy_call_t *)setdomainname }, /* 163 = setdomainname */ 195 { SYF_MPSAFE | AS(uname_args), (sy_call_t *)uname }, /* 164 = uname */ 196 { SYF_MPSAFE | AS(sysarch_args), (sy_call_t *)sysarch }, /* 165 = sysarch */ 197 { SYF_MPSAFE | AS(rtprio_args), (sy_call_t *)rtprio }, /* 166 = rtprio */ 198 { 0, (sy_call_t *)nosys }, /* 167 = nosys */ 199 { 0, (sy_call_t *)nosys }, /* 168 = nosys */ 200 { SYF_MPSAFE | AS(semsys_args), (sy_call_t *)lkmressys }, /* 169 = semsys */ 201 { SYF_MPSAFE | AS(msgsys_args), (sy_call_t *)lkmressys }, /* 170 = msgsys */ 202 { SYF_MPSAFE | AS(shmsys_args), (sy_call_t *)lkmressys }, /* 171 = shmsys */ 203 { 0, (sy_call_t *)nosys }, /* 172 = nosys */ 204 { SYF_MPSAFE | AS(pread_args), (sy_call_t *)pread }, /* 173 = pread */ 205 { SYF_MPSAFE | AS(pwrite_args), (sy_call_t *)pwrite }, /* 174 = pwrite */ 206 { 0, (sy_call_t *)nosys }, /* 175 = nosys */ 207 { SYF_MPSAFE | AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime }, /* 176 = ntp_adjtime */ 208 { 0, (sy_call_t *)nosys }, /* 177 = sfork */ 209 { 0, (sy_call_t *)nosys }, /* 178 = getdescriptor */ 210 { 0, (sy_call_t *)nosys }, /* 179 = setdescriptor */ 211 { 0, (sy_call_t *)nosys }, /* 180 = nosys */ 212 { SYF_MPSAFE | AS(setgid_args), (sy_call_t *)setgid }, /* 181 = setgid */ 213 { SYF_MPSAFE | AS(setegid_args), (sy_call_t *)setegid }, /* 182 = setegid */ 214 { SYF_MPSAFE | AS(seteuid_args), (sy_call_t *)seteuid }, /* 183 = seteuid */ 215 { 0, (sy_call_t *)nosys }, /* 184 = lfs_bmapv */ 216 { 0, (sy_call_t *)nosys }, /* 185 = lfs_markv */ 217 { 0, (sy_call_t *)nosys }, /* 186 = lfs_segclean */ 218 { 0, (sy_call_t *)nosys }, /* 187 = lfs_segwait */ 219 { SYF_MPSAFE | AS(stat_args), (sy_call_t *)stat }, /* 188 = stat */ 220 { SYF_MPSAFE | AS(fstat_args), (sy_call_t *)fstat }, /* 189 = fstat */ 221 { SYF_MPSAFE | AS(lstat_args), (sy_call_t *)lstat }, /* 190 = lstat */ 222 { SYF_MPSAFE | AS(pathconf_args), (sy_call_t *)pathconf }, /* 191 = pathconf */ 223 { SYF_MPSAFE | AS(fpathconf_args), (sy_call_t *)fpathconf }, /* 192 = fpathconf */ 224 { 0, (sy_call_t *)nosys }, /* 193 = nosys */ 225 { SYF_MPSAFE | AS(__getrlimit_args), (sy_call_t *)getrlimit }, /* 194 = getrlimit */ 226 { SYF_MPSAFE | AS(__setrlimit_args), (sy_call_t *)setrlimit }, /* 195 = setrlimit */ 227 { SYF_MPSAFE | AS(getdirentries_args), (sy_call_t *)getdirentries }, /* 196 = getdirentries */ 228 { SYF_MPSAFE | AS(mmap_args), (sy_call_t *)mmap }, /* 197 = mmap */ 229 { SYF_MPSAFE | 0, (sy_call_t *)nosys }, /* 198 = __syscall */ 230 { SYF_MPSAFE | AS(lseek_args), (sy_call_t *)lseek }, /* 199 = lseek */ 231 { SYF_MPSAFE | AS(truncate_args), (sy_call_t *)truncate }, /* 200 = truncate */ 232 { SYF_MPSAFE | AS(ftruncate_args), (sy_call_t *)ftruncate }, /* 201 = ftruncate */ 233 { SYF_MPSAFE | AS(sysctl_args), (sy_call_t *)__sysctl }, /* 202 = __sysctl */ 234 { SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock }, /* 203 = mlock */ 235 { SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock }, /* 204 = munlock */ 236 { SYF_MPSAFE | AS(undelete_args), (sy_call_t *)undelete }, /* 205 = undelete */ 237 { SYF_MPSAFE | AS(futimes_args), (sy_call_t *)futimes }, /* 206 = futimes */ 238 { SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid }, /* 207 = getpgid */ 239 { 0, (sy_call_t *)nosys }, /* 208 = newreboot */ 240 { SYF_MPSAFE | AS(poll_args), (sy_call_t *)poll }, /* 209 = poll */ 241 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 210 = lkmnosys */ 242 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 211 = lkmnosys */ 243 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 212 = lkmnosys */ 244 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 213 = lkmnosys */ 245 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 214 = lkmnosys */ 246 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 215 = lkmnosys */ 247 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 216 = lkmnosys */ 248 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 217 = lkmnosys */ 249 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 218 = lkmnosys */ 250 { AS(nosys_args), (sy_call_t *)lkmnosys }, /* 219 = lkmnosys */ 251 { SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)lkmressys }, /* 220 = __semctl */ 252 { SYF_MPSAFE | AS(semget_args), (sy_call_t *)lkmressys }, /* 221 = semget */ 253 { SYF_MPSAFE | AS(semop_args), (sy_call_t *)lkmressys }, /* 222 = semop */ 254 { 0, (sy_call_t *)nosys }, /* 223 = semconfig */ 255 { SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)lkmressys }, /* 224 = msgctl */ 256 { SYF_MPSAFE | AS(msgget_args), (sy_call_t *)lkmressys }, /* 225 = msgget */ 257 { SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)lkmressys }, /* 226 = msgsnd */ 258 { SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)lkmressys }, /* 227 = msgrcv */ 259 { SYF_MPSAFE | AS(shmat_args), (sy_call_t *)lkmressys }, /* 228 = shmat */ 260 { SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)lkmressys }, /* 229 = shmctl */ 261 { SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)lkmressys }, /* 230 = shmdt */ 262 { SYF_MPSAFE | AS(shmget_args), (sy_call_t *)lkmressys }, /* 231 = shmget */ 263 { SYF_MPSAFE | AS(clock_gettime_args), (sy_call_t *)clock_gettime }, /* 232 = clock_gettime */ 264 { SYF_MPSAFE | AS(clock_settime_args), (sy_call_t *)clock_settime }, /* 233 = clock_settime */ 265 { SYF_MPSAFE | AS(clock_getres_args), (sy_call_t *)clock_getres }, /* 234 = clock_getres */ 266 { 0, (sy_call_t *)nosys }, /* 235 = timer_create */ 267 { 0, (sy_call_t *)nosys }, /* 236 = timer_delete */ 268 { 0, (sy_call_t *)nosys }, /* 237 = timer_settime */ 269 { 0, (sy_call_t *)nosys }, /* 238 = timer_gettime */ 270 { 0, (sy_call_t *)nosys }, /* 239 = timer_getoverrun */ 271 { SYF_MPSAFE | AS(nanosleep_args), (sy_call_t *)nanosleep }, /* 240 = nanosleep */ 272 { 0, (sy_call_t *)nosys }, /* 241 = nosys */ 273 { 0, (sy_call_t *)nosys }, /* 242 = nosys */ 274 { 0, (sy_call_t *)nosys }, /* 243 = nosys */ 275 { 0, (sy_call_t *)nosys }, /* 244 = nosys */ 276 { 0, (sy_call_t *)nosys }, /* 245 = nosys */ 277 { 0, (sy_call_t *)nosys }, /* 246 = nosys */ 278 { 0, (sy_call_t *)nosys }, /* 247 = nosys */ 279 { SYF_MPSAFE | AS(ntp_gettime_args), (sy_call_t *)ntp_gettime }, /* 248 = ntp_gettime */ 280 { 0, (sy_call_t *)nosys }, /* 249 = nosys */ 281 { SYF_MPSAFE | AS(minherit_args), (sy_call_t *)minherit }, /* 250 = minherit */ 282 { SYF_MPSAFE | AS(rfork_args), (sy_call_t *)rfork }, /* 251 = rfork */ 283 { SYF_MPSAFE | AS(openbsd_poll_args), (sy_call_t *)openbsd_poll }, /* 252 = openbsd_poll */ 284 { SYF_MPSAFE | 0, (sy_call_t *)issetugid }, /* 253 = issetugid */ 285 { SYF_MPSAFE | AS(lchown_args), (sy_call_t *)lchown }, /* 254 = lchown */ 286 { 0, (sy_call_t *)nosys }, /* 255 = nosys */ 287 { 0, (sy_call_t *)nosys }, /* 256 = nosys */ 288 { 0, (sy_call_t *)nosys }, /* 257 = nosys */ 289 { 0, (sy_call_t *)nosys }, /* 258 = nosys */ 290 { 0, (sy_call_t *)nosys }, /* 259 = nosys */ 291 { 0, (sy_call_t *)nosys }, /* 260 = nosys */ 292 { 0, (sy_call_t *)nosys }, /* 261 = nosys */ 293 { 0, (sy_call_t *)nosys }, /* 262 = nosys */ 294 { 0, (sy_call_t *)nosys }, /* 263 = nosys */ 295 { 0, (sy_call_t *)nosys }, /* 264 = nosys */ 296 { 0, (sy_call_t *)nosys }, /* 265 = nosys */ 297 { 0, (sy_call_t *)nosys }, /* 266 = nosys */ 298 { 0, (sy_call_t *)nosys }, /* 267 = nosys */ 299 { 0, (sy_call_t *)nosys }, /* 268 = nosys */ 300 { 0, (sy_call_t *)nosys }, /* 269 = nosys */ 301 { 0, (sy_call_t *)nosys }, /* 270 = nosys */ 302 { 0, (sy_call_t *)nosys }, /* 271 = nosys */ 303 { SYF_MPSAFE | AS(getdents_args), (sy_call_t *)getdents }, /* 272 = getdents */ 304 { 0, (sy_call_t *)nosys }, /* 273 = nosys */ 305 { SYF_MPSAFE | AS(lchmod_args), (sy_call_t *)lchmod }, /* 274 = lchmod */ 306 { AS(lchown_args), (sy_call_t *)lchown }, /* 275 = netbsd_lchown */ 307 { SYF_MPSAFE | AS(lutimes_args), (sy_call_t *)lutimes }, /* 276 = lutimes */ 308 { SYF_MPSAFE | AS(msync_args), (sy_call_t *)msync }, /* 277 = netbsd_msync */ 309 { SYF_MPSAFE | AS(nstat_args), (sy_call_t *)nstat }, /* 278 = nstat */ 310 { SYF_MPSAFE | AS(nfstat_args), (sy_call_t *)nfstat }, /* 279 = nfstat */ 311 { SYF_MPSAFE | AS(nlstat_args), (sy_call_t *)nlstat }, /* 280 = nlstat */ 312 { 0, (sy_call_t *)nosys }, /* 281 = nosys */ 313 { 0, (sy_call_t *)nosys }, /* 282 = nosys */ 314 { 0, (sy_call_t *)nosys }, /* 283 = nosys */ 315 { 0, (sy_call_t *)nosys }, /* 284 = nosys */ 316 { 0, (sy_call_t *)nosys }, /* 285 = nosys */ 317 { 0, (sy_call_t *)nosys }, /* 286 = nosys */ 318 { 0, (sy_call_t *)nosys }, /* 287 = nosys */ 319 { 0, (sy_call_t *)nosys }, /* 288 = nosys */ 320 { 0, (sy_call_t *)nosys }, /* 289 = nosys */ 321 { 0, (sy_call_t *)nosys }, /* 290 = nosys */ 322 { 0, (sy_call_t *)nosys }, /* 291 = nosys */ 323 { 0, (sy_call_t *)nosys }, /* 292 = nosys */ 324 { 0, (sy_call_t *)nosys }, /* 293 = nosys */ 325 { 0, (sy_call_t *)nosys }, /* 294 = nosys */ 326 { 0, (sy_call_t *)nosys }, /* 295 = nosys */ 327 { 0, (sy_call_t *)nosys }, /* 296 = nosys */ 328 { compat4(SYF_MPSAFE | AS(freebsd4_fhstatfs_args),fhstatfs) }, /* 297 = old fhstatfs */ 329 { SYF_MPSAFE | AS(fhopen_args), (sy_call_t *)fhopen }, /* 298 = fhopen */ 330 { SYF_MPSAFE | AS(fhstat_args), (sy_call_t *)fhstat }, /* 299 = fhstat */ 331 { SYF_MPSAFE | AS(modnext_args), (sy_call_t *)modnext }, /* 300 = modnext */ 332 { SYF_MPSAFE | AS(modstat_args), (sy_call_t *)modstat }, /* 301 = modstat */ 333 { SYF_MPSAFE | AS(modfnext_args), (sy_call_t *)modfnext }, /* 302 = modfnext */ 334 { SYF_MPSAFE | AS(modfind_args), (sy_call_t *)modfind }, /* 303 = modfind */ 335 { SYF_MPSAFE | AS(kldload_args), (sy_call_t *)kldload }, /* 304 = kldload */ 336 { SYF_MPSAFE | AS(kldunload_args), (sy_call_t *)kldunload }, /* 305 = kldunload */ 337 { SYF_MPSAFE | AS(kldfind_args), (sy_call_t *)kldfind }, /* 306 = kldfind */ 338 { SYF_MPSAFE | AS(kldnext_args), (sy_call_t *)kldnext }, /* 307 = kldnext */ 339 { SYF_MPSAFE | AS(kldstat_args), (sy_call_t *)kldstat }, /* 308 = kldstat */ 340 { SYF_MPSAFE | AS(kldfirstmod_args), (sy_call_t *)kldfirstmod }, /* 309 = kldfirstmod */ 341 { SYF_MPSAFE | AS(getsid_args), (sy_call_t *)getsid }, /* 310 = getsid */ 342 { SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid }, /* 311 = setresuid */ 343 { SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid }, /* 312 = setresgid */ 344 { 0, (sy_call_t *)nosys }, /* 313 = obsolete signanosleep */ 345 { AS(aio_return_args), (sy_call_t *)lkmressys }, /* 314 = aio_return */ 346 { AS(aio_suspend_args), (sy_call_t *)lkmressys }, /* 315 = aio_suspend */ 347 { AS(aio_cancel_args), (sy_call_t *)lkmressys }, /* 316 = aio_cancel */ 348 { AS(aio_error_args), (sy_call_t *)lkmressys }, /* 317 = aio_error */ 349 { AS(aio_read_args), (sy_call_t *)lkmressys }, /* 318 = aio_read */ 350 { AS(aio_write_args), (sy_call_t *)lkmressys }, /* 319 = aio_write */ 351 { AS(lio_listio_args), (sy_call_t *)lkmressys }, /* 320 = lio_listio */ 352 { SYF_MPSAFE | 0, (sy_call_t *)yield }, /* 321 = yield */ 353 { 0, (sy_call_t *)nosys }, /* 322 = obsolete thr_sleep */ 354 { 0, (sy_call_t *)nosys }, /* 323 = obsolete thr_wakeup */ 355 { SYF_MPSAFE | AS(mlockall_args), (sy_call_t *)mlockall }, /* 324 = mlockall */ 356 { SYF_MPSAFE | 0, (sy_call_t *)munlockall }, /* 325 = munlockall */ 357 { SYF_MPSAFE | AS(__getcwd_args), (sy_call_t *)__getcwd }, /* 326 = __getcwd */ 358 { SYF_MPSAFE | AS(sched_setparam_args), (sy_call_t *)sched_setparam }, /* 327 = sched_setparam */ 359 { SYF_MPSAFE | AS(sched_getparam_args), (sy_call_t *)sched_getparam }, /* 328 = sched_getparam */ 360 { SYF_MPSAFE | AS(sched_setscheduler_args), (sy_call_t *)sched_setscheduler }, /* 329 = sched_setscheduler */ 361 { SYF_MPSAFE | AS(sched_getscheduler_args), (sy_call_t *)sched_getscheduler }, /* 330 = sched_getscheduler */ 362 { SYF_MPSAFE | 0, (sy_call_t *)sched_yield }, /* 331 = sched_yield */ 363 { SYF_MPSAFE | AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max }, /* 332 = sched_get_priority_max */ 364 { SYF_MPSAFE | AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min }, /* 333 = sched_get_priority_min */ 365 { SYF_MPSAFE | AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval }, /* 334 = sched_rr_get_interval */ 366 { SYF_MPSAFE | AS(utrace_args), (sy_call_t *)utrace }, /* 335 = utrace */ 367 { compat4(SYF_MPSAFE | AS(freebsd4_sendfile_args),sendfile) }, /* 336 = old sendfile */ 368 { SYF_MPSAFE | AS(kldsym_args), (sy_call_t *)kldsym }, /* 337 = kldsym */ 369 { SYF_MPSAFE | AS(jail_args), (sy_call_t *)jail }, /* 338 = jail */ 370 { 0, (sy_call_t *)nosys }, /* 339 = pioctl */ 371 { SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sigprocmask }, /* 340 = sigprocmask */ 372 { SYF_MPSAFE | AS(sigsuspend_args), (sy_call_t *)sigsuspend }, /* 341 = sigsuspend */ 373 { compat4(SYF_MPSAFE | AS(freebsd4_sigaction_args),sigaction) }, /* 342 = old sigaction */ 374 { SYF_MPSAFE | AS(sigpending_args), (sy_call_t *)sigpending }, /* 343 = sigpending */ 375 { compat4(SYF_MPSAFE | AS(freebsd4_sigreturn_args),sigreturn) }, /* 344 = old sigreturn */ 376 { SYF_MPSAFE | AS(sigtimedwait_args), (sy_call_t *)sigtimedwait }, /* 345 = sigtimedwait */ 377 { SYF_MPSAFE | AS(sigwaitinfo_args), (sy_call_t *)sigwaitinfo }, /* 346 = sigwaitinfo */ 378 { SYF_MPSAFE | AS(__acl_get_file_args), (sy_call_t *)__acl_get_file }, /* 347 = __acl_get_file */ 379 { SYF_MPSAFE | AS(__acl_set_file_args), (sy_call_t *)__acl_set_file }, /* 348 = __acl_set_file */ 380 { SYF_MPSAFE | AS(__acl_get_fd_args), (sy_call_t *)__acl_get_fd }, /* 349 = __acl_get_fd */ 381 { SYF_MPSAFE | AS(__acl_set_fd_args), (sy_call_t *)__acl_set_fd }, /* 350 = __acl_set_fd */ 382 { SYF_MPSAFE | AS(__acl_delete_file_args), (sy_call_t *)__acl_delete_file }, /* 351 = __acl_delete_file */ 383 { SYF_MPSAFE | AS(__acl_delete_fd_args), (sy_call_t *)__acl_delete_fd }, /* 352 = __acl_delete_fd */ 384 { SYF_MPSAFE | AS(__acl_aclcheck_file_args), (sy_call_t *)__acl_aclcheck_file }, /* 353 = __acl_aclcheck_file */ 385 { SYF_MPSAFE | AS(__acl_aclcheck_fd_args), (sy_call_t *)__acl_aclcheck_fd }, /* 354 = __acl_aclcheck_fd */ 386 { AS(extattrctl_args), (sy_call_t *)extattrctl }, /* 355 = extattrctl */ 387 { AS(extattr_set_file_args), (sy_call_t *)extattr_set_file }, /* 356 = extattr_set_file */ 388 { AS(extattr_get_file_args), (sy_call_t *)extattr_get_file }, /* 357 = extattr_get_file */ 389 { AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file }, /* 358 = extattr_delete_file */ 390 { AS(aio_waitcomplete_args), (sy_call_t *)lkmressys }, /* 359 = aio_waitcomplete */ 391 { SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid }, /* 360 = getresuid */ 392 { SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid }, /* 361 = getresgid */ 393 { SYF_MPSAFE | 0, (sy_call_t *)kqueue }, /* 362 = kqueue */ 394 { SYF_MPSAFE | AS(kevent_args), (sy_call_t *)kevent }, /* 363 = kevent */ 395 { 0, (sy_call_t *)nosys }, /* 364 = __cap_get_proc */ 396 { 0, (sy_call_t *)nosys }, /* 365 = __cap_set_proc */ 397 { 0, (sy_call_t *)nosys }, /* 366 = __cap_get_fd */ 398 { 0, (sy_call_t *)nosys }, /* 367 = __cap_get_file */ 399 { 0, (sy_call_t *)nosys }, /* 368 = __cap_set_fd */ 400 { 0, (sy_call_t *)nosys }, /* 369 = __cap_set_file */ 401 { AS(nosys_args), (sy_call_t *)lkmressys }, /* 370 = lkmressys */ 402 { AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd }, /* 371 = extattr_set_fd */ 403 { AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd }, /* 372 = extattr_get_fd */ 404 { AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd }, /* 373 = extattr_delete_fd */ 405 { SYF_MPSAFE | AS(__setugid_args), (sy_call_t *)__setugid }, /* 374 = __setugid */ 406 { AS(nfsclnt_args), (sy_call_t *)nosys }, /* 375 = nfsclnt */ 407 { SYF_MPSAFE | AS(eaccess_args), (sy_call_t *)eaccess }, /* 376 = eaccess */ 408 { 0, (sy_call_t *)nosys }, /* 377 = afs_syscall */ 409 { AS(nmount_args), (sy_call_t *)nmount }, /* 378 = nmount */ 410 { SYF_MPSAFE | 0, (sy_call_t *)kse_exit }, /* 379 = kse_exit */ 411 { SYF_MPSAFE | AS(kse_wakeup_args), (sy_call_t *)kse_wakeup }, /* 380 = kse_wakeup */ 412 { SYF_MPSAFE | AS(kse_create_args), (sy_call_t *)kse_create }, /* 381 = kse_create */ 413 { SYF_MPSAFE | AS(kse_thr_interrupt_args), (sy_call_t *)kse_thr_interrupt }, /* 382 = kse_thr_interrupt */ 414 { SYF_MPSAFE | AS(kse_release_args), (sy_call_t *)kse_release }, /* 383 = kse_release */ 415 { SYF_MPSAFE | AS(__mac_get_proc_args), (sy_call_t *)__mac_get_proc }, /* 384 = __mac_get_proc */ 416 { SYF_MPSAFE | AS(__mac_set_proc_args), (sy_call_t *)__mac_set_proc }, /* 385 = __mac_set_proc */ 417 { SYF_MPSAFE | AS(__mac_get_fd_args), (sy_call_t *)__mac_get_fd }, /* 386 = __mac_get_fd */ 418 { SYF_MPSAFE | AS(__mac_get_file_args), (sy_call_t *)__mac_get_file }, /* 387 = __mac_get_file */ 419 { SYF_MPSAFE | AS(__mac_set_fd_args), (sy_call_t *)__mac_set_fd }, /* 388 = __mac_set_fd */ 420 { SYF_MPSAFE | AS(__mac_set_file_args), (sy_call_t *)__mac_set_file }, /* 389 = __mac_set_file */ 421 { SYF_MPSAFE | AS(kenv_args), (sy_call_t *)kenv }, /* 390 = kenv */ 422 { SYF_MPSAFE | AS(lchflags_args), (sy_call_t *)lchflags }, /* 391 = lchflags */ 423 { SYF_MPSAFE | AS(uuidgen_args), (sy_call_t *)uuidgen }, /* 392 = uuidgen */ 424 { SYF_MPSAFE | AS(sendfile_args), (sy_call_t *)sendfile }, /* 393 = sendfile */ 425 { SYF_MPSAFE | AS(mac_syscall_args), (sy_call_t *)mac_syscall }, /* 394 = mac_syscall */ 426 { SYF_MPSAFE | AS(getfsstat_args), (sy_call_t *)getfsstat }, /* 395 = getfsstat */ 427 { SYF_MPSAFE | AS(statfs_args), (sy_call_t *)statfs }, /* 396 = statfs */ 428 { SYF_MPSAFE | AS(fstatfs_args), (sy_call_t *)fstatfs }, /* 397 = fstatfs */ 429 { SYF_MPSAFE | AS(fhstatfs_args), (sy_call_t *)fhstatfs }, /* 398 = fhstatfs */ 430 { 0, (sy_call_t *)nosys }, /* 399 = nosys */ 431 { SYF_MPSAFE | AS(ksem_close_args), (sy_call_t *)lkmressys }, /* 400 = ksem_close */ 432 { SYF_MPSAFE | AS(ksem_post_args), (sy_call_t *)lkmressys }, /* 401 = ksem_post */ 433 { SYF_MPSAFE | AS(ksem_wait_args), (sy_call_t *)lkmressys }, /* 402 = ksem_wait */ 434 { SYF_MPSAFE | AS(ksem_trywait_args), (sy_call_t *)lkmressys }, /* 403 = ksem_trywait */ 435 { SYF_MPSAFE | AS(ksem_init_args), (sy_call_t *)lkmressys }, /* 404 = ksem_init */ 436 { SYF_MPSAFE | AS(ksem_open_args), (sy_call_t *)lkmressys }, /* 405 = ksem_open */ 437 { SYF_MPSAFE | AS(ksem_unlink_args), (sy_call_t *)lkmressys }, /* 406 = ksem_unlink */ 438 { SYF_MPSAFE | AS(ksem_getvalue_args), (sy_call_t *)lkmressys }, /* 407 = ksem_getvalue */ 439 { SYF_MPSAFE | AS(ksem_destroy_args), (sy_call_t *)lkmressys }, /* 408 = ksem_destroy */ 440 { SYF_MPSAFE | AS(__mac_get_pid_args), (sy_call_t *)__mac_get_pid }, /* 409 = __mac_get_pid */ 441 { SYF_MPSAFE | AS(__mac_get_link_args), (sy_call_t *)__mac_get_link }, /* 410 = __mac_get_link */ 442 { SYF_MPSAFE | AS(__mac_set_link_args), (sy_call_t *)__mac_set_link }, /* 411 = __mac_set_link */ 443 { AS(extattr_set_link_args), (sy_call_t *)extattr_set_link }, /* 412 = extattr_set_link */ 444 { AS(extattr_get_link_args), (sy_call_t *)extattr_get_link }, /* 413 = extattr_get_link */ 445 { AS(extattr_delete_link_args), (sy_call_t *)extattr_delete_link }, /* 414 = extattr_delete_link */ 446 { SYF_MPSAFE | AS(__mac_execve_args), (sy_call_t *)__mac_execve }, /* 415 = __mac_execve */ 447 { SYF_MPSAFE | AS(sigaction_args), (sy_call_t *)sigaction }, /* 416 = sigaction */ 448 { SYF_MPSAFE | AS(sigreturn_args), (sy_call_t *)sigreturn }, /* 417 = sigreturn */ 449 { 0, (sy_call_t *)nosys }, /* 418 = __xstat */ 450 { 0, (sy_call_t *)nosys }, /* 419 = __xfstat */ 451 { 0, (sy_call_t *)nosys }, /* 420 = __xlstat */ 452 { SYF_MPSAFE | AS(getcontext_args), (sy_call_t *)getcontext }, /* 421 = getcontext */ 453 { SYF_MPSAFE | AS(setcontext_args), (sy_call_t *)setcontext }, /* 422 = setcontext */ 454 { SYF_MPSAFE | AS(swapcontext_args), (sy_call_t *)swapcontext }, /* 423 = swapcontext */ 455 { SYF_MPSAFE | AS(swapoff_args), (sy_call_t *)swapoff }, /* 424 = swapoff */ 456 { SYF_MPSAFE | AS(__acl_get_link_args), (sy_call_t *)__acl_get_link }, /* 425 = __acl_get_link */ 457 { SYF_MPSAFE | AS(__acl_set_link_args), (sy_call_t *)__acl_set_link }, /* 426 = __acl_set_link */ 458 { SYF_MPSAFE | AS(__acl_delete_link_args), (sy_call_t *)__acl_delete_link }, /* 427 = __acl_delete_link */ 459 { SYF_MPSAFE | AS(__acl_aclcheck_link_args), (sy_call_t *)__acl_aclcheck_link }, /* 428 = __acl_aclcheck_link */ 460 { SYF_MPSAFE | AS(sigwait_args), (sy_call_t *)sigwait }, /* 429 = sigwait */ 461 { SYF_MPSAFE | AS(thr_create_args), (sy_call_t *)thr_create }, /* 430 = thr_create */ 462 { SYF_MPSAFE | AS(thr_exit_args), (sy_call_t *)thr_exit }, /* 431 = thr_exit */ 463 { SYF_MPSAFE | AS(thr_self_args), (sy_call_t *)thr_self }, /* 432 = thr_self */ 464 { SYF_MPSAFE | AS(thr_kill_args), (sy_call_t *)thr_kill }, /* 433 = thr_kill */ 465 { SYF_MPSAFE | AS(_umtx_lock_args), (sy_call_t *)_umtx_lock }, /* 434 = _umtx_lock */ 466 { SYF_MPSAFE | AS(_umtx_unlock_args), (sy_call_t *)_umtx_unlock }, /* 435 = _umtx_unlock */ 467 { SYF_MPSAFE | AS(jail_attach_args), (sy_call_t *)jail_attach }, /* 436 = jail_attach */ 468 { AS(extattr_list_fd_args), (sy_call_t *)extattr_list_fd }, /* 437 = extattr_list_fd */ 469 { AS(extattr_list_file_args), (sy_call_t *)extattr_list_file }, /* 438 = extattr_list_file */ 470 { AS(extattr_list_link_args), (sy_call_t *)extattr_list_link }, /* 439 = extattr_list_link */ 471 { SYF_MPSAFE | AS(kse_switchin_args), (sy_call_t *)kse_switchin }, /* 440 = kse_switchin */ 472 { SYF_MPSAFE | AS(ksem_timedwait_args), (sy_call_t *)lkmressys }, /* 441 = ksem_timedwait */ 473 { SYF_MPSAFE | AS(thr_suspend_args), (sy_call_t *)thr_suspend }, /* 442 = thr_suspend */ 474 { SYF_MPSAFE | AS(thr_wake_args), (sy_call_t *)thr_wake }, /* 443 = thr_wake */ 475 { SYF_MPSAFE | AS(kldunloadf_args), (sy_call_t *)kldunloadf }, /* 444 = kldunloadf */ 476 { SYF_MPSAFE | AS(audit_args), (sy_call_t *)lkmressys }, /* 445 = audit */ 477 { SYF_MPSAFE | AS(auditon_args), (sy_call_t *)lkmressys }, /* 446 = auditon */ 478 { SYF_MPSAFE | AS(getauid_args), (sy_call_t *)lkmressys }, /* 447 = getauid */ 479 { SYF_MPSAFE | AS(setauid_args), (sy_call_t *)lkmressys }, /* 448 = setauid */ 480 { SYF_MPSAFE | AS(getaudit_args), (sy_call_t *)lkmressys }, /* 449 = getaudit */ 481 { SYF_MPSAFE | AS(setaudit_args), (sy_call_t *)lkmressys }, /* 450 = setaudit */ 482 { SYF_MPSAFE | AS(getaudit_addr_args), (sy_call_t *)lkmressys }, /* 451 = getaudit_addr */ 483 { SYF_MPSAFE | AS(setaudit_addr_args), (sy_call_t *)lkmressys }, /* 452 = setaudit_addr */ 484 { SYF_MPSAFE | AS(auditctl_args), (sy_call_t *)lkmressys }, /* 453 = auditctl */ 485 { SYF_MPSAFE | AS(_umtx_op_args), (sy_call_t *)_umtx_op }, /* 454 = _umtx_op */ 486 { SYF_MPSAFE | AS(thr_new_args), (sy_call_t *)thr_new }, /* 455 = thr_new */ | 32 { SYF_MPSAFE | 0, (sy_call_t *)nosys, AUE_NULL }, /* 0 = syscall */ 33 { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_NULL }, /* 1 = exit */ 34 { SYF_MPSAFE | 0, (sy_call_t *)fork, AUE_NULL }, /* 2 = fork */ 35 { SYF_MPSAFE | AS(read_args), (sy_call_t *)read, AUE_NULL }, /* 3 = read */ 36 { SYF_MPSAFE | AS(write_args), (sy_call_t *)write, AUE_NULL }, /* 4 = write */ 37 { SYF_MPSAFE | AS(open_args), (sy_call_t *)open, AUE_NULL }, /* 5 = open */ 38 { SYF_MPSAFE | AS(close_args), (sy_call_t *)close, AUE_NULL }, /* 6 = close */ 39 { SYF_MPSAFE | AS(wait_args), (sy_call_t *)wait4, AUE_NULL }, /* 7 = wait4 */ 40 { compat(SYF_MPSAFE | AS(ocreat_args),creat), AUE_NULL }, /* 8 = old creat */ 41 { SYF_MPSAFE | AS(link_args), (sy_call_t *)link, AUE_NULL }, /* 9 = link */ 42 { SYF_MPSAFE | AS(unlink_args), (sy_call_t *)unlink, AUE_NULL }, /* 10 = unlink */ 43 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 11 = obsolete execv */ 44 { SYF_MPSAFE | AS(chdir_args), (sy_call_t *)chdir, AUE_NULL }, /* 12 = chdir */ 45 { SYF_MPSAFE | AS(fchdir_args), (sy_call_t *)fchdir, AUE_NULL }, /* 13 = fchdir */ 46 { SYF_MPSAFE | AS(mknod_args), (sy_call_t *)mknod, AUE_NULL }, /* 14 = mknod */ 47 { SYF_MPSAFE | AS(chmod_args), (sy_call_t *)chmod, AUE_NULL }, /* 15 = chmod */ 48 { SYF_MPSAFE | AS(chown_args), (sy_call_t *)chown, AUE_NULL }, /* 16 = chown */ 49 { SYF_MPSAFE | AS(obreak_args), (sy_call_t *)obreak, AUE_NULL }, /* 17 = break */ 50 { compat4(SYF_MPSAFE | AS(freebsd4_getfsstat_args),getfsstat), AUE_NULL }, /* 18 = old getfsstat */ 51 { compat(SYF_MPSAFE | AS(olseek_args),lseek), AUE_NULL }, /* 19 = old lseek */ 52 { SYF_MPSAFE | 0, (sy_call_t *)getpid, AUE_NULL }, /* 20 = getpid */ 53 { AS(mount_args), (sy_call_t *)mount, AUE_NULL }, /* 21 = mount */ 54 { AS(unmount_args), (sy_call_t *)unmount, AUE_NULL }, /* 22 = unmount */ 55 { SYF_MPSAFE | AS(setuid_args), (sy_call_t *)setuid, AUE_NULL }, /* 23 = setuid */ 56 { SYF_MPSAFE | 0, (sy_call_t *)getuid, AUE_NULL }, /* 24 = getuid */ 57 { SYF_MPSAFE | 0, (sy_call_t *)geteuid, AUE_NULL }, /* 25 = geteuid */ 58 { SYF_MPSAFE | AS(ptrace_args), (sy_call_t *)ptrace, AUE_NULL }, /* 26 = ptrace */ 59 { SYF_MPSAFE | AS(recvmsg_args), (sy_call_t *)recvmsg, AUE_NULL }, /* 27 = recvmsg */ 60 { SYF_MPSAFE | AS(sendmsg_args), (sy_call_t *)sendmsg, AUE_NULL }, /* 28 = sendmsg */ 61 { SYF_MPSAFE | AS(recvfrom_args), (sy_call_t *)recvfrom, AUE_NULL }, /* 29 = recvfrom */ 62 { SYF_MPSAFE | AS(accept_args), (sy_call_t *)accept, AUE_NULL }, /* 30 = accept */ 63 { SYF_MPSAFE | AS(getpeername_args), (sy_call_t *)getpeername, AUE_NULL }, /* 31 = getpeername */ 64 { SYF_MPSAFE | AS(getsockname_args), (sy_call_t *)getsockname, AUE_NULL }, /* 32 = getsockname */ 65 { SYF_MPSAFE | AS(access_args), (sy_call_t *)access, AUE_NULL }, /* 33 = access */ 66 { SYF_MPSAFE | AS(chflags_args), (sy_call_t *)chflags, AUE_NULL }, /* 34 = chflags */ 67 { SYF_MPSAFE | AS(fchflags_args), (sy_call_t *)fchflags, AUE_NULL }, /* 35 = fchflags */ 68 { SYF_MPSAFE | 0, (sy_call_t *)sync, AUE_NULL }, /* 36 = sync */ 69 { SYF_MPSAFE | AS(kill_args), (sy_call_t *)kill, AUE_NULL }, /* 37 = kill */ 70 { compat(SYF_MPSAFE | AS(ostat_args),stat), AUE_NULL }, /* 38 = old stat */ 71 { SYF_MPSAFE | 0, (sy_call_t *)getppid, AUE_NULL }, /* 39 = getppid */ 72 { compat(SYF_MPSAFE | AS(olstat_args),lstat), AUE_NULL }, /* 40 = old lstat */ 73 { SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup, AUE_NULL }, /* 41 = dup */ 74 { SYF_MPSAFE | 0, (sy_call_t *)pipe, AUE_NULL }, /* 42 = pipe */ 75 { SYF_MPSAFE | 0, (sy_call_t *)getegid, AUE_NULL }, /* 43 = getegid */ 76 { SYF_MPSAFE | AS(profil_args), (sy_call_t *)profil, AUE_NULL }, /* 44 = profil */ 77 { SYF_MPSAFE | AS(ktrace_args), (sy_call_t *)ktrace, AUE_NULL }, /* 45 = ktrace */ 78 { compat(SYF_MPSAFE | AS(osigaction_args),sigaction), AUE_NULL }, /* 46 = old sigaction */ 79 { SYF_MPSAFE | 0, (sy_call_t *)getgid, AUE_NULL }, /* 47 = getgid */ 80 { compat(SYF_MPSAFE | AS(osigprocmask_args),sigprocmask), AUE_NULL }, /* 48 = old sigprocmask */ 81 { SYF_MPSAFE | AS(getlogin_args), (sy_call_t *)getlogin, AUE_NULL }, /* 49 = getlogin */ 82 { SYF_MPSAFE | AS(setlogin_args), (sy_call_t *)setlogin, AUE_NULL }, /* 50 = setlogin */ 83 { SYF_MPSAFE | AS(acct_args), (sy_call_t *)acct, AUE_NULL }, /* 51 = acct */ 84 { compat(SYF_MPSAFE | 0,sigpending), AUE_NULL }, /* 52 = old sigpending */ 85 { SYF_MPSAFE | AS(sigaltstack_args), (sy_call_t *)sigaltstack, AUE_NULL }, /* 53 = sigaltstack */ 86 { SYF_MPSAFE | AS(ioctl_args), (sy_call_t *)ioctl, AUE_NULL }, /* 54 = ioctl */ 87 { SYF_MPSAFE | AS(reboot_args), (sy_call_t *)reboot, AUE_NULL }, /* 55 = reboot */ 88 { SYF_MPSAFE | AS(revoke_args), (sy_call_t *)revoke, AUE_NULL }, /* 56 = revoke */ 89 { SYF_MPSAFE | AS(symlink_args), (sy_call_t *)symlink, AUE_NULL }, /* 57 = symlink */ 90 { SYF_MPSAFE | AS(readlink_args), (sy_call_t *)readlink, AUE_NULL }, /* 58 = readlink */ 91 { SYF_MPSAFE | AS(execve_args), (sy_call_t *)execve, AUE_NULL }, /* 59 = execve */ 92 { SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask, AUE_NULL }, /* 60 = umask */ 93 { SYF_MPSAFE | AS(chroot_args), (sy_call_t *)chroot, AUE_NULL }, /* 61 = chroot */ 94 { compat(SYF_MPSAFE | AS(ofstat_args),fstat), AUE_NULL }, /* 62 = old fstat */ 95 { compat(SYF_MPSAFE | AS(getkerninfo_args),getkerninfo), AUE_NULL }, /* 63 = old getkerninfo */ 96 { compat(SYF_MPSAFE | 0,getpagesize), AUE_NULL }, /* 64 = old getpagesize */ 97 { SYF_MPSAFE | AS(msync_args), (sy_call_t *)msync, AUE_NULL }, /* 65 = msync */ 98 { SYF_MPSAFE | 0, (sy_call_t *)vfork, AUE_NULL }, /* 66 = vfork */ 99 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 67 = obsolete vread */ 100 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 68 = obsolete vwrite */ 101 { SYF_MPSAFE | AS(sbrk_args), (sy_call_t *)sbrk, AUE_NULL }, /* 69 = sbrk */ 102 { SYF_MPSAFE | AS(sstk_args), (sy_call_t *)sstk, AUE_NULL }, /* 70 = sstk */ 103 { compat(SYF_MPSAFE | AS(ommap_args),mmap), AUE_NULL }, /* 71 = old mmap */ 104 { SYF_MPSAFE | AS(ovadvise_args), (sy_call_t *)ovadvise, AUE_NULL }, /* 72 = vadvise */ 105 { SYF_MPSAFE | AS(munmap_args), (sy_call_t *)munmap, AUE_NULL }, /* 73 = munmap */ 106 { SYF_MPSAFE | AS(mprotect_args), (sy_call_t *)mprotect, AUE_NULL }, /* 74 = mprotect */ 107 { SYF_MPSAFE | AS(madvise_args), (sy_call_t *)madvise, AUE_NULL }, /* 75 = madvise */ 108 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 76 = obsolete vhangup */ 109 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 77 = obsolete vlimit */ 110 { SYF_MPSAFE | AS(mincore_args), (sy_call_t *)mincore, AUE_NULL }, /* 78 = mincore */ 111 { SYF_MPSAFE | AS(getgroups_args), (sy_call_t *)getgroups, AUE_NULL }, /* 79 = getgroups */ 112 { SYF_MPSAFE | AS(setgroups_args), (sy_call_t *)setgroups, AUE_NULL }, /* 80 = setgroups */ 113 { SYF_MPSAFE | 0, (sy_call_t *)getpgrp, AUE_NULL }, /* 81 = getpgrp */ 114 { SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid, AUE_NULL }, /* 82 = setpgid */ 115 { SYF_MPSAFE | AS(setitimer_args), (sy_call_t *)setitimer, AUE_NULL }, /* 83 = setitimer */ 116 { compat(SYF_MPSAFE | 0,wait), AUE_NULL }, /* 84 = old wait */ 117 { SYF_MPSAFE | AS(swapon_args), (sy_call_t *)swapon, AUE_NULL }, /* 85 = swapon */ 118 { SYF_MPSAFE | AS(getitimer_args), (sy_call_t *)getitimer, AUE_NULL }, /* 86 = getitimer */ 119 { compat(SYF_MPSAFE | AS(gethostname_args),gethostname), AUE_NULL }, /* 87 = old gethostname */ 120 { compat(SYF_MPSAFE | AS(sethostname_args),sethostname), AUE_NULL }, /* 88 = old sethostname */ 121 { SYF_MPSAFE | 0, (sy_call_t *)getdtablesize, AUE_NULL }, /* 89 = getdtablesize */ 122 { SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2, AUE_NULL }, /* 90 = dup2 */ 123 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 91 = getdopt */ 124 { SYF_MPSAFE | AS(fcntl_args), (sy_call_t *)fcntl, AUE_NULL }, /* 92 = fcntl */ 125 { SYF_MPSAFE | AS(select_args), (sy_call_t *)select, AUE_NULL }, /* 93 = select */ 126 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 94 = setdopt */ 127 { SYF_MPSAFE | AS(fsync_args), (sy_call_t *)fsync, AUE_NULL }, /* 95 = fsync */ 128 { SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority, AUE_NULL }, /* 96 = setpriority */ 129 { SYF_MPSAFE | AS(socket_args), (sy_call_t *)socket, AUE_NULL }, /* 97 = socket */ 130 { SYF_MPSAFE | AS(connect_args), (sy_call_t *)connect, AUE_NULL }, /* 98 = connect */ 131 { compat(SYF_MPSAFE | AS(accept_args),accept), AUE_NULL }, /* 99 = old accept */ 132 { SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority, AUE_NULL }, /* 100 = getpriority */ 133 { compat(SYF_MPSAFE | AS(osend_args),send), AUE_NULL }, /* 101 = old send */ 134 { compat(SYF_MPSAFE | AS(orecv_args),recv), AUE_NULL }, /* 102 = old recv */ 135 { compat(SYF_MPSAFE | AS(osigreturn_args),sigreturn), AUE_NULL }, /* 103 = old sigreturn */ 136 { SYF_MPSAFE | AS(bind_args), (sy_call_t *)bind, AUE_NULL }, /* 104 = bind */ 137 { SYF_MPSAFE | AS(setsockopt_args), (sy_call_t *)setsockopt, AUE_NULL }, /* 105 = setsockopt */ 138 { SYF_MPSAFE | AS(listen_args), (sy_call_t *)listen, AUE_NULL }, /* 106 = listen */ 139 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 107 = obsolete vtimes */ 140 { compat(SYF_MPSAFE | AS(osigvec_args),sigvec), AUE_NULL }, /* 108 = old sigvec */ 141 { compat(SYF_MPSAFE | AS(osigblock_args),sigblock), AUE_NULL }, /* 109 = old sigblock */ 142 { compat(SYF_MPSAFE | AS(osigsetmask_args),sigsetmask), AUE_NULL }, /* 110 = old sigsetmask */ 143 { compat(SYF_MPSAFE | AS(osigsuspend_args),sigsuspend), AUE_NULL }, /* 111 = old sigsuspend */ 144 { compat(SYF_MPSAFE | AS(osigstack_args),sigstack), AUE_NULL }, /* 112 = old sigstack */ 145 { compat(SYF_MPSAFE | AS(orecvmsg_args),recvmsg), AUE_NULL }, /* 113 = old recvmsg */ 146 { compat(SYF_MPSAFE | AS(osendmsg_args),sendmsg), AUE_NULL }, /* 114 = old sendmsg */ 147 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 115 = obsolete vtrace */ 148 { SYF_MPSAFE | AS(gettimeofday_args), (sy_call_t *)gettimeofday, AUE_NULL }, /* 116 = gettimeofday */ 149 { SYF_MPSAFE | AS(getrusage_args), (sy_call_t *)getrusage, AUE_NULL }, /* 117 = getrusage */ 150 { SYF_MPSAFE | AS(getsockopt_args), (sy_call_t *)getsockopt, AUE_NULL }, /* 118 = getsockopt */ 151 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 119 = resuba */ 152 { SYF_MPSAFE | AS(readv_args), (sy_call_t *)readv, AUE_NULL }, /* 120 = readv */ 153 { SYF_MPSAFE | AS(writev_args), (sy_call_t *)writev, AUE_NULL }, /* 121 = writev */ 154 { SYF_MPSAFE | AS(settimeofday_args), (sy_call_t *)settimeofday, AUE_NULL }, /* 122 = settimeofday */ 155 { SYF_MPSAFE | AS(fchown_args), (sy_call_t *)fchown, AUE_NULL }, /* 123 = fchown */ 156 { SYF_MPSAFE | AS(fchmod_args), (sy_call_t *)fchmod, AUE_NULL }, /* 124 = fchmod */ 157 { compat(SYF_MPSAFE | AS(recvfrom_args),recvfrom), AUE_NULL }, /* 125 = old recvfrom */ 158 { SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid, AUE_NULL }, /* 126 = setreuid */ 159 { SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid, AUE_NULL }, /* 127 = setregid */ 160 { SYF_MPSAFE | AS(rename_args), (sy_call_t *)rename, AUE_NULL }, /* 128 = rename */ 161 { compat(SYF_MPSAFE | AS(otruncate_args),truncate), AUE_NULL }, /* 129 = old truncate */ 162 { compat(SYF_MPSAFE | AS(oftruncate_args),ftruncate), AUE_NULL }, /* 130 = old ftruncate */ 163 { SYF_MPSAFE | AS(flock_args), (sy_call_t *)flock, AUE_NULL }, /* 131 = flock */ 164 { SYF_MPSAFE | AS(mkfifo_args), (sy_call_t *)mkfifo, AUE_NULL }, /* 132 = mkfifo */ 165 { SYF_MPSAFE | AS(sendto_args), (sy_call_t *)sendto, AUE_NULL }, /* 133 = sendto */ 166 { SYF_MPSAFE | AS(shutdown_args), (sy_call_t *)shutdown, AUE_NULL }, /* 134 = shutdown */ 167 { SYF_MPSAFE | AS(socketpair_args), (sy_call_t *)socketpair, AUE_NULL }, /* 135 = socketpair */ 168 { SYF_MPSAFE | AS(mkdir_args), (sy_call_t *)mkdir, AUE_NULL }, /* 136 = mkdir */ 169 { SYF_MPSAFE | AS(rmdir_args), (sy_call_t *)rmdir, AUE_NULL }, /* 137 = rmdir */ 170 { SYF_MPSAFE | AS(utimes_args), (sy_call_t *)utimes, AUE_NULL }, /* 138 = utimes */ 171 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 139 = obsolete 4.2 sigreturn */ 172 { SYF_MPSAFE | AS(adjtime_args), (sy_call_t *)adjtime, AUE_NULL }, /* 140 = adjtime */ 173 { compat(SYF_MPSAFE | AS(ogetpeername_args),getpeername), AUE_NULL }, /* 141 = old getpeername */ 174 { compat(SYF_MPSAFE | 0,gethostid), AUE_NULL }, /* 142 = old gethostid */ 175 { compat(SYF_MPSAFE | AS(osethostid_args),sethostid), AUE_NULL }, /* 143 = old sethostid */ 176 { compat(SYF_MPSAFE | AS(ogetrlimit_args),getrlimit), AUE_NULL }, /* 144 = old getrlimit */ 177 { compat(SYF_MPSAFE | AS(osetrlimit_args),setrlimit), AUE_NULL }, /* 145 = old setrlimit */ 178 { compat(SYF_MPSAFE | AS(okillpg_args),killpg), AUE_NULL }, /* 146 = old killpg */ 179 { SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_NULL }, /* 147 = setsid */ 180 { SYF_MPSAFE | AS(quotactl_args), (sy_call_t *)quotactl, AUE_NULL }, /* 148 = quotactl */ 181 { compat(SYF_MPSAFE | 0,quota), AUE_NULL }, /* 149 = old quota */ 182 { compat(SYF_MPSAFE | AS(getsockname_args),getsockname), AUE_NULL }, /* 150 = old getsockname */ 183 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 151 = sem_lock */ 184 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 152 = sem_wakeup */ 185 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 153 = asyncdaemon */ 186 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 154 = nosys */ 187 { SYF_MPSAFE | AS(nfssvc_args), (sy_call_t *)nosys, AUE_NULL }, /* 155 = nfssvc */ 188 { compat(AS(ogetdirentries_args),getdirentries), AUE_NULL }, /* 156 = old getdirentries */ 189 { compat4(SYF_MPSAFE | AS(freebsd4_statfs_args),statfs), AUE_NULL }, /* 157 = old statfs */ 190 { compat4(SYF_MPSAFE | AS(freebsd4_fstatfs_args),fstatfs), AUE_NULL }, /* 158 = old fstatfs */ 191 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 159 = nosys */ 192 { SYF_MPSAFE | AS(lgetfh_args), (sy_call_t *)lgetfh, AUE_NULL }, /* 160 = lgetfh */ 193 { SYF_MPSAFE | AS(getfh_args), (sy_call_t *)getfh, AUE_NULL }, /* 161 = getfh */ 194 { SYF_MPSAFE | AS(getdomainname_args), (sy_call_t *)getdomainname, AUE_NULL }, /* 162 = getdomainname */ 195 { SYF_MPSAFE | AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_NULL }, /* 163 = setdomainname */ 196 { SYF_MPSAFE | AS(uname_args), (sy_call_t *)uname, AUE_NULL }, /* 164 = uname */ 197 { SYF_MPSAFE | AS(sysarch_args), (sy_call_t *)sysarch, AUE_NULL }, /* 165 = sysarch */ 198 { SYF_MPSAFE | AS(rtprio_args), (sy_call_t *)rtprio, AUE_NULL }, /* 166 = rtprio */ 199 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 167 = nosys */ 200 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 168 = nosys */ 201 { SYF_MPSAFE | AS(semsys_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 169 = semsys */ 202 { SYF_MPSAFE | AS(msgsys_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 170 = msgsys */ 203 { SYF_MPSAFE | AS(shmsys_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 171 = shmsys */ 204 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 172 = nosys */ 205 { SYF_MPSAFE | AS(pread_args), (sy_call_t *)pread, AUE_NULL }, /* 173 = pread */ 206 { SYF_MPSAFE | AS(pwrite_args), (sy_call_t *)pwrite, AUE_NULL }, /* 174 = pwrite */ 207 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 175 = nosys */ 208 { SYF_MPSAFE | AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime, AUE_NULL }, /* 176 = ntp_adjtime */ 209 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 177 = sfork */ 210 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 178 = getdescriptor */ 211 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 179 = setdescriptor */ 212 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 180 = nosys */ 213 { SYF_MPSAFE | AS(setgid_args), (sy_call_t *)setgid, AUE_NULL }, /* 181 = setgid */ 214 { SYF_MPSAFE | AS(setegid_args), (sy_call_t *)setegid, AUE_NULL }, /* 182 = setegid */ 215 { SYF_MPSAFE | AS(seteuid_args), (sy_call_t *)seteuid, AUE_NULL }, /* 183 = seteuid */ 216 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 184 = lfs_bmapv */ 217 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 185 = lfs_markv */ 218 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 186 = lfs_segclean */ 219 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 187 = lfs_segwait */ 220 { SYF_MPSAFE | AS(stat_args), (sy_call_t *)stat, AUE_NULL }, /* 188 = stat */ 221 { SYF_MPSAFE | AS(fstat_args), (sy_call_t *)fstat, AUE_NULL }, /* 189 = fstat */ 222 { SYF_MPSAFE | AS(lstat_args), (sy_call_t *)lstat, AUE_NULL }, /* 190 = lstat */ 223 { SYF_MPSAFE | AS(pathconf_args), (sy_call_t *)pathconf, AUE_NULL }, /* 191 = pathconf */ 224 { SYF_MPSAFE | AS(fpathconf_args), (sy_call_t *)fpathconf, AUE_NULL }, /* 192 = fpathconf */ 225 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 193 = nosys */ 226 { SYF_MPSAFE | AS(__getrlimit_args), (sy_call_t *)getrlimit, AUE_NULL }, /* 194 = getrlimit */ 227 { SYF_MPSAFE | AS(__setrlimit_args), (sy_call_t *)setrlimit, AUE_NULL }, /* 195 = setrlimit */ 228 { SYF_MPSAFE | AS(getdirentries_args), (sy_call_t *)getdirentries, AUE_NULL }, /* 196 = getdirentries */ 229 { SYF_MPSAFE | AS(mmap_args), (sy_call_t *)mmap, AUE_NULL }, /* 197 = mmap */ 230 { SYF_MPSAFE | 0, (sy_call_t *)nosys, AUE_NULL }, /* 198 = __syscall */ 231 { SYF_MPSAFE | AS(lseek_args), (sy_call_t *)lseek, AUE_NULL }, /* 199 = lseek */ 232 { SYF_MPSAFE | AS(truncate_args), (sy_call_t *)truncate, AUE_NULL }, /* 200 = truncate */ 233 { SYF_MPSAFE | AS(ftruncate_args), (sy_call_t *)ftruncate, AUE_NULL }, /* 201 = ftruncate */ 234 { SYF_MPSAFE | AS(sysctl_args), (sy_call_t *)__sysctl, AUE_NULL }, /* 202 = __sysctl */ 235 { SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock, AUE_NULL }, /* 203 = mlock */ 236 { SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock, AUE_NULL }, /* 204 = munlock */ 237 { SYF_MPSAFE | AS(undelete_args), (sy_call_t *)undelete, AUE_NULL }, /* 205 = undelete */ 238 { SYF_MPSAFE | AS(futimes_args), (sy_call_t *)futimes, AUE_NULL }, /* 206 = futimes */ 239 { SYF_MPSAFE | AS(getpgid_args), (sy_call_t *)getpgid, AUE_NULL }, /* 207 = getpgid */ 240 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 208 = newreboot */ 241 { SYF_MPSAFE | AS(poll_args), (sy_call_t *)poll, AUE_NULL }, /* 209 = poll */ 242 { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 210 = lkmnosys */ 243 { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 211 = lkmnosys */ 244 { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 212 = lkmnosys */ 245 { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 213 = lkmnosys */ 246 { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 214 = lkmnosys */ 247 { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 215 = lkmnosys */ 248 { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 216 = lkmnosys */ 249 { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 217 = lkmnosys */ 250 { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 218 = lkmnosys */ 251 { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL }, /* 219 = lkmnosys */ 252 { SYF_MPSAFE | AS(__semctl_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 220 = __semctl */ 253 { SYF_MPSAFE | AS(semget_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 221 = semget */ 254 { SYF_MPSAFE | AS(semop_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 222 = semop */ 255 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 223 = semconfig */ 256 { SYF_MPSAFE | AS(msgctl_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 224 = msgctl */ 257 { SYF_MPSAFE | AS(msgget_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 225 = msgget */ 258 { SYF_MPSAFE | AS(msgsnd_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 226 = msgsnd */ 259 { SYF_MPSAFE | AS(msgrcv_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 227 = msgrcv */ 260 { SYF_MPSAFE | AS(shmat_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 228 = shmat */ 261 { SYF_MPSAFE | AS(shmctl_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 229 = shmctl */ 262 { SYF_MPSAFE | AS(shmdt_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 230 = shmdt */ 263 { SYF_MPSAFE | AS(shmget_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 231 = shmget */ 264 { SYF_MPSAFE | AS(clock_gettime_args), (sy_call_t *)clock_gettime, AUE_NULL }, /* 232 = clock_gettime */ 265 { SYF_MPSAFE | AS(clock_settime_args), (sy_call_t *)clock_settime, AUE_NULL }, /* 233 = clock_settime */ 266 { SYF_MPSAFE | AS(clock_getres_args), (sy_call_t *)clock_getres, AUE_NULL }, /* 234 = clock_getres */ 267 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 235 = timer_create */ 268 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 236 = timer_delete */ 269 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 237 = timer_settime */ 270 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 238 = timer_gettime */ 271 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 239 = timer_getoverrun */ 272 { SYF_MPSAFE | AS(nanosleep_args), (sy_call_t *)nanosleep, AUE_NULL }, /* 240 = nanosleep */ 273 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 241 = nosys */ 274 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 242 = nosys */ 275 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 243 = nosys */ 276 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 244 = nosys */ 277 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 245 = nosys */ 278 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 246 = nosys */ 279 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 247 = nosys */ 280 { SYF_MPSAFE | AS(ntp_gettime_args), (sy_call_t *)ntp_gettime, AUE_NULL }, /* 248 = ntp_gettime */ 281 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 249 = nosys */ 282 { SYF_MPSAFE | AS(minherit_args), (sy_call_t *)minherit, AUE_NULL }, /* 250 = minherit */ 283 { SYF_MPSAFE | AS(rfork_args), (sy_call_t *)rfork, AUE_NULL }, /* 251 = rfork */ 284 { SYF_MPSAFE | AS(openbsd_poll_args), (sy_call_t *)openbsd_poll, AUE_NULL }, /* 252 = openbsd_poll */ 285 { SYF_MPSAFE | 0, (sy_call_t *)issetugid, AUE_NULL }, /* 253 = issetugid */ 286 { SYF_MPSAFE | AS(lchown_args), (sy_call_t *)lchown, AUE_NULL }, /* 254 = lchown */ 287 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 255 = nosys */ 288 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 256 = nosys */ 289 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 257 = nosys */ 290 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 258 = nosys */ 291 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 259 = nosys */ 292 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 260 = nosys */ 293 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 261 = nosys */ 294 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 262 = nosys */ 295 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 263 = nosys */ 296 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 264 = nosys */ 297 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 265 = nosys */ 298 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 266 = nosys */ 299 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 267 = nosys */ 300 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 268 = nosys */ 301 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 269 = nosys */ 302 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 270 = nosys */ 303 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 271 = nosys */ 304 { SYF_MPSAFE | AS(getdents_args), (sy_call_t *)getdents, AUE_NULL }, /* 272 = getdents */ 305 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 273 = nosys */ 306 { SYF_MPSAFE | AS(lchmod_args), (sy_call_t *)lchmod, AUE_NULL }, /* 274 = lchmod */ 307 { AS(lchown_args), (sy_call_t *)lchown, AUE_NULL }, /* 275 = netbsd_lchown */ 308 { SYF_MPSAFE | AS(lutimes_args), (sy_call_t *)lutimes, AUE_NULL }, /* 276 = lutimes */ 309 { SYF_MPSAFE | AS(msync_args), (sy_call_t *)msync, AUE_NULL }, /* 277 = netbsd_msync */ 310 { SYF_MPSAFE | AS(nstat_args), (sy_call_t *)nstat, AUE_NULL }, /* 278 = nstat */ 311 { SYF_MPSAFE | AS(nfstat_args), (sy_call_t *)nfstat, AUE_NULL }, /* 279 = nfstat */ 312 { SYF_MPSAFE | AS(nlstat_args), (sy_call_t *)nlstat, AUE_NULL }, /* 280 = nlstat */ 313 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 281 = nosys */ 314 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 282 = nosys */ 315 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 283 = nosys */ 316 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 284 = nosys */ 317 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 285 = nosys */ 318 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 286 = nosys */ 319 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 287 = nosys */ 320 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 288 = nosys */ 321 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 289 = nosys */ 322 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 290 = nosys */ 323 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 291 = nosys */ 324 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 292 = nosys */ 325 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 293 = nosys */ 326 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 294 = nosys */ 327 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 295 = nosys */ 328 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 296 = nosys */ 329 { compat4(SYF_MPSAFE | AS(freebsd4_fhstatfs_args),fhstatfs), AUE_NULL }, /* 297 = old fhstatfs */ 330 { SYF_MPSAFE | AS(fhopen_args), (sy_call_t *)fhopen, AUE_NULL }, /* 298 = fhopen */ 331 { SYF_MPSAFE | AS(fhstat_args), (sy_call_t *)fhstat, AUE_NULL }, /* 299 = fhstat */ 332 { SYF_MPSAFE | AS(modnext_args), (sy_call_t *)modnext, AUE_NULL }, /* 300 = modnext */ 333 { SYF_MPSAFE | AS(modstat_args), (sy_call_t *)modstat, AUE_NULL }, /* 301 = modstat */ 334 { SYF_MPSAFE | AS(modfnext_args), (sy_call_t *)modfnext, AUE_NULL }, /* 302 = modfnext */ 335 { SYF_MPSAFE | AS(modfind_args), (sy_call_t *)modfind, AUE_NULL }, /* 303 = modfind */ 336 { SYF_MPSAFE | AS(kldload_args), (sy_call_t *)kldload, AUE_NULL }, /* 304 = kldload */ 337 { SYF_MPSAFE | AS(kldunload_args), (sy_call_t *)kldunload, AUE_NULL }, /* 305 = kldunload */ 338 { SYF_MPSAFE | AS(kldfind_args), (sy_call_t *)kldfind, AUE_NULL }, /* 306 = kldfind */ 339 { SYF_MPSAFE | AS(kldnext_args), (sy_call_t *)kldnext, AUE_NULL }, /* 307 = kldnext */ 340 { SYF_MPSAFE | AS(kldstat_args), (sy_call_t *)kldstat, AUE_NULL }, /* 308 = kldstat */ 341 { SYF_MPSAFE | AS(kldfirstmod_args), (sy_call_t *)kldfirstmod, AUE_NULL }, /* 309 = kldfirstmod */ 342 { SYF_MPSAFE | AS(getsid_args), (sy_call_t *)getsid, AUE_NULL }, /* 310 = getsid */ 343 { SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid, AUE_NULL }, /* 311 = setresuid */ 344 { SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid, AUE_NULL }, /* 312 = setresgid */ 345 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 313 = obsolete signanosleep */ 346 { AS(aio_return_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 314 = aio_return */ 347 { AS(aio_suspend_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 315 = aio_suspend */ 348 { AS(aio_cancel_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 316 = aio_cancel */ 349 { AS(aio_error_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 317 = aio_error */ 350 { AS(aio_read_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 318 = aio_read */ 351 { AS(aio_write_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 319 = aio_write */ 352 { AS(lio_listio_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 320 = lio_listio */ 353 { SYF_MPSAFE | 0, (sy_call_t *)yield, AUE_NULL }, /* 321 = yield */ 354 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 322 = obsolete thr_sleep */ 355 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 323 = obsolete thr_wakeup */ 356 { SYF_MPSAFE | AS(mlockall_args), (sy_call_t *)mlockall, AUE_NULL }, /* 324 = mlockall */ 357 { SYF_MPSAFE | 0, (sy_call_t *)munlockall, AUE_NULL }, /* 325 = munlockall */ 358 { SYF_MPSAFE | AS(__getcwd_args), (sy_call_t *)__getcwd, AUE_NULL }, /* 326 = __getcwd */ 359 { SYF_MPSAFE | AS(sched_setparam_args), (sy_call_t *)sched_setparam, AUE_NULL }, /* 327 = sched_setparam */ 360 { SYF_MPSAFE | AS(sched_getparam_args), (sy_call_t *)sched_getparam, AUE_NULL }, /* 328 = sched_getparam */ 361 { SYF_MPSAFE | AS(sched_setscheduler_args), (sy_call_t *)sched_setscheduler, AUE_NULL }, /* 329 = sched_setscheduler */ 362 { SYF_MPSAFE | AS(sched_getscheduler_args), (sy_call_t *)sched_getscheduler, AUE_NULL }, /* 330 = sched_getscheduler */ 363 { SYF_MPSAFE | 0, (sy_call_t *)sched_yield, AUE_NULL }, /* 331 = sched_yield */ 364 { SYF_MPSAFE | AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max, AUE_NULL }, /* 332 = sched_get_priority_max */ 365 { SYF_MPSAFE | AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min, AUE_NULL }, /* 333 = sched_get_priority_min */ 366 { SYF_MPSAFE | AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval, AUE_NULL }, /* 334 = sched_rr_get_interval */ 367 { SYF_MPSAFE | AS(utrace_args), (sy_call_t *)utrace, AUE_NULL }, /* 335 = utrace */ 368 { compat4(SYF_MPSAFE | AS(freebsd4_sendfile_args),sendfile), AUE_NULL }, /* 336 = old sendfile */ 369 { SYF_MPSAFE | AS(kldsym_args), (sy_call_t *)kldsym, AUE_NULL }, /* 337 = kldsym */ 370 { SYF_MPSAFE | AS(jail_args), (sy_call_t *)jail, AUE_NULL }, /* 338 = jail */ 371 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 339 = pioctl */ 372 { SYF_MPSAFE | AS(sigprocmask_args), (sy_call_t *)sigprocmask, AUE_NULL }, /* 340 = sigprocmask */ 373 { SYF_MPSAFE | AS(sigsuspend_args), (sy_call_t *)sigsuspend, AUE_NULL }, /* 341 = sigsuspend */ 374 { compat4(SYF_MPSAFE | AS(freebsd4_sigaction_args),sigaction), AUE_NULL }, /* 342 = old sigaction */ 375 { SYF_MPSAFE | AS(sigpending_args), (sy_call_t *)sigpending, AUE_NULL }, /* 343 = sigpending */ 376 { compat4(SYF_MPSAFE | AS(freebsd4_sigreturn_args),sigreturn), AUE_NULL }, /* 344 = old sigreturn */ 377 { SYF_MPSAFE | AS(sigtimedwait_args), (sy_call_t *)sigtimedwait, AUE_NULL }, /* 345 = sigtimedwait */ 378 { SYF_MPSAFE | AS(sigwaitinfo_args), (sy_call_t *)sigwaitinfo, AUE_NULL }, /* 346 = sigwaitinfo */ 379 { SYF_MPSAFE | AS(__acl_get_file_args), (sy_call_t *)__acl_get_file, AUE_NULL }, /* 347 = __acl_get_file */ 380 { SYF_MPSAFE | AS(__acl_set_file_args), (sy_call_t *)__acl_set_file, AUE_NULL }, /* 348 = __acl_set_file */ 381 { SYF_MPSAFE | AS(__acl_get_fd_args), (sy_call_t *)__acl_get_fd, AUE_NULL }, /* 349 = __acl_get_fd */ 382 { SYF_MPSAFE | AS(__acl_set_fd_args), (sy_call_t *)__acl_set_fd, AUE_NULL }, /* 350 = __acl_set_fd */ 383 { SYF_MPSAFE | AS(__acl_delete_file_args), (sy_call_t *)__acl_delete_file, AUE_NULL }, /* 351 = __acl_delete_file */ 384 { SYF_MPSAFE | AS(__acl_delete_fd_args), (sy_call_t *)__acl_delete_fd, AUE_NULL }, /* 352 = __acl_delete_fd */ 385 { SYF_MPSAFE | AS(__acl_aclcheck_file_args), (sy_call_t *)__acl_aclcheck_file, AUE_NULL }, /* 353 = __acl_aclcheck_file */ 386 { SYF_MPSAFE | AS(__acl_aclcheck_fd_args), (sy_call_t *)__acl_aclcheck_fd, AUE_NULL }, /* 354 = __acl_aclcheck_fd */ 387 { AS(extattrctl_args), (sy_call_t *)extattrctl, AUE_NULL }, /* 355 = extattrctl */ 388 { AS(extattr_set_file_args), (sy_call_t *)extattr_set_file, AUE_NULL }, /* 356 = extattr_set_file */ 389 { AS(extattr_get_file_args), (sy_call_t *)extattr_get_file, AUE_NULL }, /* 357 = extattr_get_file */ 390 { AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file, AUE_NULL }, /* 358 = extattr_delete_file */ 391 { AS(aio_waitcomplete_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 359 = aio_waitcomplete */ 392 { SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid, AUE_NULL }, /* 360 = getresuid */ 393 { SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid, AUE_NULL }, /* 361 = getresgid */ 394 { SYF_MPSAFE | 0, (sy_call_t *)kqueue, AUE_NULL }, /* 362 = kqueue */ 395 { SYF_MPSAFE | AS(kevent_args), (sy_call_t *)kevent, AUE_NULL }, /* 363 = kevent */ 396 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 364 = __cap_get_proc */ 397 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 365 = __cap_set_proc */ 398 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 366 = __cap_get_fd */ 399 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 367 = __cap_get_file */ 400 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 368 = __cap_set_fd */ 401 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 369 = __cap_set_file */ 402 { AS(nosys_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 370 = lkmressys */ 403 { AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd, AUE_NULL }, /* 371 = extattr_set_fd */ 404 { AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd, AUE_NULL }, /* 372 = extattr_get_fd */ 405 { AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd, AUE_NULL }, /* 373 = extattr_delete_fd */ 406 { SYF_MPSAFE | AS(__setugid_args), (sy_call_t *)__setugid, AUE_NULL }, /* 374 = __setugid */ 407 { AS(nfsclnt_args), (sy_call_t *)nosys, AUE_NULL }, /* 375 = nfsclnt */ 408 { SYF_MPSAFE | AS(eaccess_args), (sy_call_t *)eaccess, AUE_NULL }, /* 376 = eaccess */ 409 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 377 = afs_syscall */ 410 { AS(nmount_args), (sy_call_t *)nmount, AUE_NULL }, /* 378 = nmount */ 411 { SYF_MPSAFE | 0, (sy_call_t *)kse_exit, AUE_NULL }, /* 379 = kse_exit */ 412 { SYF_MPSAFE | AS(kse_wakeup_args), (sy_call_t *)kse_wakeup, AUE_NULL }, /* 380 = kse_wakeup */ 413 { SYF_MPSAFE | AS(kse_create_args), (sy_call_t *)kse_create, AUE_NULL }, /* 381 = kse_create */ 414 { SYF_MPSAFE | AS(kse_thr_interrupt_args), (sy_call_t *)kse_thr_interrupt, AUE_NULL }, /* 382 = kse_thr_interrupt */ 415 { SYF_MPSAFE | AS(kse_release_args), (sy_call_t *)kse_release, AUE_NULL }, /* 383 = kse_release */ 416 { SYF_MPSAFE | AS(__mac_get_proc_args), (sy_call_t *)__mac_get_proc, AUE_NULL }, /* 384 = __mac_get_proc */ 417 { SYF_MPSAFE | AS(__mac_set_proc_args), (sy_call_t *)__mac_set_proc, AUE_NULL }, /* 385 = __mac_set_proc */ 418 { SYF_MPSAFE | AS(__mac_get_fd_args), (sy_call_t *)__mac_get_fd, AUE_NULL }, /* 386 = __mac_get_fd */ 419 { SYF_MPSAFE | AS(__mac_get_file_args), (sy_call_t *)__mac_get_file, AUE_NULL }, /* 387 = __mac_get_file */ 420 { SYF_MPSAFE | AS(__mac_set_fd_args), (sy_call_t *)__mac_set_fd, AUE_NULL }, /* 388 = __mac_set_fd */ 421 { SYF_MPSAFE | AS(__mac_set_file_args), (sy_call_t *)__mac_set_file, AUE_NULL }, /* 389 = __mac_set_file */ 422 { SYF_MPSAFE | AS(kenv_args), (sy_call_t *)kenv, AUE_NULL }, /* 390 = kenv */ 423 { SYF_MPSAFE | AS(lchflags_args), (sy_call_t *)lchflags, AUE_NULL }, /* 391 = lchflags */ 424 { SYF_MPSAFE | AS(uuidgen_args), (sy_call_t *)uuidgen, AUE_NULL }, /* 392 = uuidgen */ 425 { SYF_MPSAFE | AS(sendfile_args), (sy_call_t *)sendfile, AUE_NULL }, /* 393 = sendfile */ 426 { SYF_MPSAFE | AS(mac_syscall_args), (sy_call_t *)mac_syscall, AUE_NULL }, /* 394 = mac_syscall */ 427 { SYF_MPSAFE | AS(getfsstat_args), (sy_call_t *)getfsstat, AUE_NULL }, /* 395 = getfsstat */ 428 { SYF_MPSAFE | AS(statfs_args), (sy_call_t *)statfs, AUE_NULL }, /* 396 = statfs */ 429 { SYF_MPSAFE | AS(fstatfs_args), (sy_call_t *)fstatfs, AUE_NULL }, /* 397 = fstatfs */ 430 { SYF_MPSAFE | AS(fhstatfs_args), (sy_call_t *)fhstatfs, AUE_NULL }, /* 398 = fhstatfs */ 431 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 399 = nosys */ 432 { SYF_MPSAFE | AS(ksem_close_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 400 = ksem_close */ 433 { SYF_MPSAFE | AS(ksem_post_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 401 = ksem_post */ 434 { SYF_MPSAFE | AS(ksem_wait_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 402 = ksem_wait */ 435 { SYF_MPSAFE | AS(ksem_trywait_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 403 = ksem_trywait */ 436 { SYF_MPSAFE | AS(ksem_init_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 404 = ksem_init */ 437 { SYF_MPSAFE | AS(ksem_open_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 405 = ksem_open */ 438 { SYF_MPSAFE | AS(ksem_unlink_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 406 = ksem_unlink */ 439 { SYF_MPSAFE | AS(ksem_getvalue_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 407 = ksem_getvalue */ 440 { SYF_MPSAFE | AS(ksem_destroy_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 408 = ksem_destroy */ 441 { SYF_MPSAFE | AS(__mac_get_pid_args), (sy_call_t *)__mac_get_pid, AUE_NULL }, /* 409 = __mac_get_pid */ 442 { SYF_MPSAFE | AS(__mac_get_link_args), (sy_call_t *)__mac_get_link, AUE_NULL }, /* 410 = __mac_get_link */ 443 { SYF_MPSAFE | AS(__mac_set_link_args), (sy_call_t *)__mac_set_link, AUE_NULL }, /* 411 = __mac_set_link */ 444 { AS(extattr_set_link_args), (sy_call_t *)extattr_set_link, AUE_NULL }, /* 412 = extattr_set_link */ 445 { AS(extattr_get_link_args), (sy_call_t *)extattr_get_link, AUE_NULL }, /* 413 = extattr_get_link */ 446 { AS(extattr_delete_link_args), (sy_call_t *)extattr_delete_link, AUE_NULL }, /* 414 = extattr_delete_link */ 447 { SYF_MPSAFE | AS(__mac_execve_args), (sy_call_t *)__mac_execve, AUE_NULL }, /* 415 = __mac_execve */ 448 { SYF_MPSAFE | AS(sigaction_args), (sy_call_t *)sigaction, AUE_NULL }, /* 416 = sigaction */ 449 { SYF_MPSAFE | AS(sigreturn_args), (sy_call_t *)sigreturn, AUE_NULL }, /* 417 = sigreturn */ 450 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 418 = __xstat */ 451 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 419 = __xfstat */ 452 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 420 = __xlstat */ 453 { SYF_MPSAFE | AS(getcontext_args), (sy_call_t *)getcontext, AUE_NULL }, /* 421 = getcontext */ 454 { SYF_MPSAFE | AS(setcontext_args), (sy_call_t *)setcontext, AUE_NULL }, /* 422 = setcontext */ 455 { SYF_MPSAFE | AS(swapcontext_args), (sy_call_t *)swapcontext, AUE_NULL }, /* 423 = swapcontext */ 456 { SYF_MPSAFE | AS(swapoff_args), (sy_call_t *)swapoff, AUE_NULL }, /* 424 = swapoff */ 457 { SYF_MPSAFE | AS(__acl_get_link_args), (sy_call_t *)__acl_get_link, AUE_NULL }, /* 425 = __acl_get_link */ 458 { SYF_MPSAFE | AS(__acl_set_link_args), (sy_call_t *)__acl_set_link, AUE_NULL }, /* 426 = __acl_set_link */ 459 { SYF_MPSAFE | AS(__acl_delete_link_args), (sy_call_t *)__acl_delete_link, AUE_NULL }, /* 427 = __acl_delete_link */ 460 { SYF_MPSAFE | AS(__acl_aclcheck_link_args), (sy_call_t *)__acl_aclcheck_link, AUE_NULL }, /* 428 = __acl_aclcheck_link */ 461 { SYF_MPSAFE | AS(sigwait_args), (sy_call_t *)sigwait, AUE_NULL }, /* 429 = sigwait */ 462 { SYF_MPSAFE | AS(thr_create_args), (sy_call_t *)thr_create, AUE_NULL }, /* 430 = thr_create */ 463 { SYF_MPSAFE | AS(thr_exit_args), (sy_call_t *)thr_exit, AUE_NULL }, /* 431 = thr_exit */ 464 { SYF_MPSAFE | AS(thr_self_args), (sy_call_t *)thr_self, AUE_NULL }, /* 432 = thr_self */ 465 { SYF_MPSAFE | AS(thr_kill_args), (sy_call_t *)thr_kill, AUE_NULL }, /* 433 = thr_kill */ 466 { SYF_MPSAFE | AS(_umtx_lock_args), (sy_call_t *)_umtx_lock, AUE_NULL }, /* 434 = _umtx_lock */ 467 { SYF_MPSAFE | AS(_umtx_unlock_args), (sy_call_t *)_umtx_unlock, AUE_NULL }, /* 435 = _umtx_unlock */ 468 { SYF_MPSAFE | AS(jail_attach_args), (sy_call_t *)jail_attach, AUE_NULL }, /* 436 = jail_attach */ 469 { AS(extattr_list_fd_args), (sy_call_t *)extattr_list_fd, AUE_NULL }, /* 437 = extattr_list_fd */ 470 { AS(extattr_list_file_args), (sy_call_t *)extattr_list_file, AUE_NULL }, /* 438 = extattr_list_file */ 471 { AS(extattr_list_link_args), (sy_call_t *)extattr_list_link, AUE_NULL }, /* 439 = extattr_list_link */ 472 { SYF_MPSAFE | AS(kse_switchin_args), (sy_call_t *)kse_switchin, AUE_NULL }, /* 440 = kse_switchin */ 473 { SYF_MPSAFE | AS(ksem_timedwait_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 441 = ksem_timedwait */ 474 { SYF_MPSAFE | AS(thr_suspend_args), (sy_call_t *)thr_suspend, AUE_NULL }, /* 442 = thr_suspend */ 475 { SYF_MPSAFE | AS(thr_wake_args), (sy_call_t *)thr_wake, AUE_NULL }, /* 443 = thr_wake */ 476 { SYF_MPSAFE | AS(kldunloadf_args), (sy_call_t *)kldunloadf, AUE_NULL }, /* 444 = kldunloadf */ 477 { SYF_MPSAFE | AS(audit_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 445 = audit */ 478 { SYF_MPSAFE | AS(auditon_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 446 = auditon */ 479 { SYF_MPSAFE | AS(getauid_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 447 = getauid */ 480 { SYF_MPSAFE | AS(setauid_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 448 = setauid */ 481 { SYF_MPSAFE | AS(getaudit_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 449 = getaudit */ 482 { SYF_MPSAFE | AS(setaudit_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 450 = setaudit */ 483 { SYF_MPSAFE | AS(getaudit_addr_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 451 = getaudit_addr */ 484 { SYF_MPSAFE | AS(setaudit_addr_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 452 = setaudit_addr */ 485 { SYF_MPSAFE | AS(auditctl_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 453 = auditctl */ 486 { SYF_MPSAFE | AS(_umtx_op_args), (sy_call_t *)_umtx_op, AUE_NULL }, /* 454 = _umtx_op */ 487 { SYF_MPSAFE | AS(thr_new_args), (sy_call_t *)thr_new, AUE_NULL }, /* 455 = thr_new */ |
487}; | 488}; |