[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/compat/freebsd32/freebsd32_sysent.c

Version: -  FREEBSD  -  FREEBSD7  -  FREEBSD71  -  FREEBSD70  -  FREEBSD6  -  FREEBSD64  -  FREEBSD63  -  FREEBSD62  -  FREEBSD61  -  FREEBSD60  -  FREEBSD5  -  FREEBSD55  -  FREEBSD54  -  FREEBSD53  -  FREEBSD52  -  FREEBSD51  -  FREEBSD50  -  FREEBSD4  -  FREEBSD3  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  OPENSOLARIS  -  minix-3-1-1  -  TRUSTEDBSD-SEBSD  -  FREEBSD-LIBC  -  FREEBSD7-LIBC  -  FREEBSD6-LIBC  -  GLIBC27 
SearchContext: -  none  -  excerpts  -  bigexcerpts 

  1 /*
  2  * System call switch table.
  3  *
  4  * DO NOT EDIT-- this file is automatically generated.
  5  * $FreeBSD: src/sys/compat/freebsd32/freebsd32_sysent.c,v 1.98 2008/12/10 20:57:16 jhb Exp $
  6  * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 185878 2008-12-10 20:56:19Z jhb 
  7  */
  8 
  9 #include "opt_compat.h"
 10 
 11 #include <sys/param.h>
 12 #include <sys/sysent.h>
 13 #include <sys/sysproto.h>
 14 #include <sys/mount.h>
 15 #include <sys/socket.h>
 16 #include <compat/freebsd32/freebsd32.h>
 17 #include <compat/freebsd32/freebsd32_proto.h>
 18 
 19 #define AS(name) (sizeof(struct name) / sizeof(register_t))
 20 
 21 #ifdef COMPAT_43
 22 #define compat(n, name) n, (sy_call_t *)__CONCAT(o,name)
 23 #else
 24 #define compat(n, name) 0, (sy_call_t *)nosys
 25 #endif
 26 
 27 #ifdef COMPAT_FREEBSD4
 28 #define compat4(n, name) n, (sy_call_t *)__CONCAT(freebsd4_,name)
 29 #else
 30 #define compat4(n, name) 0, (sy_call_t *)nosys
 31 #endif
 32 
 33 #ifdef COMPAT_FREEBSD6
 34 #define compat6(n, name) n, (sy_call_t *)__CONCAT(freebsd6_,name)
 35 #else
 36 #define compat6(n, name) 0, (sy_call_t *)nosys
 37 #endif
 38 
 39 /* The casts are bogus but will do for now. */
 40 struct sysent freebsd32_sysent[] = {
 41         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                /* 0 = syscall */
 42         { AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_EXIT, NULL, 0, 0 },     /* 1 = exit */
 43         { 0, (sy_call_t *)fork, AUE_FORK, NULL, 0, 0 },         /* 2 = fork */
 44         { AS(read_args), (sy_call_t *)read, AUE_READ, NULL, 0, 0 },     /* 3 = read */
 45         { AS(write_args), (sy_call_t *)write, AUE_WRITE, NULL, 0, 0 },  /* 4 = write */
 46         { AS(open_args), (sy_call_t *)open, AUE_OPEN_RWTC, NULL, 0, 0 },        /* 5 = open */
 47         { AS(close_args), (sy_call_t *)close, AUE_CLOSE, NULL, 0, 0 },  /* 6 = close */
 48         { AS(freebsd32_wait4_args), (sy_call_t *)freebsd32_wait4, AUE_WAIT4, NULL, 0, 0 },      /* 7 = freebsd32_wait4 */
 49         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 8 = obsolete old creat */
 50         { AS(link_args), (sy_call_t *)link, AUE_LINK, NULL, 0, 0 },     /* 9 = link */
 51         { AS(unlink_args), (sy_call_t *)unlink, AUE_UNLINK, NULL, 0, 0 },       /* 10 = unlink */
 52         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 11 = obsolete execv */
 53         { AS(chdir_args), (sy_call_t *)chdir, AUE_CHDIR, NULL, 0, 0 },  /* 12 = chdir */
 54         { AS(fchdir_args), (sy_call_t *)fchdir, AUE_FCHDIR, NULL, 0, 0 },       /* 13 = fchdir */
 55         { AS(mknod_args), (sy_call_t *)mknod, AUE_MKNOD, NULL, 0, 0 },  /* 14 = mknod */
 56         { AS(chmod_args), (sy_call_t *)chmod, AUE_CHMOD, NULL, 0, 0 },  /* 15 = chmod */
 57         { AS(chown_args), (sy_call_t *)chown, AUE_CHOWN, NULL, 0, 0 },  /* 16 = chown */
 58         { AS(obreak_args), (sy_call_t *)obreak, AUE_NULL, NULL, 0, 0 }, /* 17 = break */
 59         { compat4(AS(freebsd4_freebsd32_getfsstat_args),freebsd32_getfsstat), AUE_GETFSSTAT, NULL, 0, 0 },      /* 18 = old freebsd32_getfsstat */
 60         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 19 = obsolete olseek */
 61         { 0, (sy_call_t *)getpid, AUE_GETPID, NULL, 0, 0 },             /* 20 = getpid */
 62         { AS(mount_args), (sy_call_t *)mount, AUE_MOUNT, NULL, 0, 0 },  /* 21 = mount */
 63         { AS(unmount_args), (sy_call_t *)unmount, AUE_UMOUNT, NULL, 0, 0 },     /* 22 = unmount */
 64         { AS(setuid_args), (sy_call_t *)setuid, AUE_SETUID, NULL, 0, 0 },       /* 23 = setuid */
 65         { 0, (sy_call_t *)getuid, AUE_GETUID, NULL, 0, 0 },             /* 24 = getuid */
 66         { 0, (sy_call_t *)geteuid, AUE_GETEUID, NULL, 0, 0 },           /* 25 = geteuid */
 67         { AS(ptrace_args), (sy_call_t *)ptrace, AUE_PTRACE, NULL, 0, 0 },       /* 26 = ptrace */
 68         { AS(freebsd32_recvmsg_args), (sy_call_t *)freebsd32_recvmsg, AUE_RECVMSG, NULL, 0, 0 },        /* 27 = freebsd32_recvmsg */
 69         { AS(freebsd32_sendmsg_args), (sy_call_t *)freebsd32_sendmsg, AUE_SENDMSG, NULL, 0, 0 },        /* 28 = freebsd32_sendmsg */
 70         { AS(freebsd32_recvfrom_args), (sy_call_t *)freebsd32_recvfrom, AUE_RECVFROM, NULL, 0, 0 },     /* 29 = freebsd32_recvfrom */
 71         { AS(accept_args), (sy_call_t *)accept, AUE_ACCEPT, NULL, 0, 0 },       /* 30 = accept */
 72         { AS(getpeername_args), (sy_call_t *)getpeername, AUE_GETPEERNAME, NULL, 0, 0 },        /* 31 = getpeername */
 73         { AS(getsockname_args), (sy_call_t *)getsockname, AUE_GETSOCKNAME, NULL, 0, 0 },        /* 32 = getsockname */
 74         { AS(access_args), (sy_call_t *)access, AUE_ACCESS, NULL, 0, 0 },       /* 33 = access */
 75         { AS(chflags_args), (sy_call_t *)chflags, AUE_CHFLAGS, NULL, 0, 0 },    /* 34 = chflags */
 76         { AS(fchflags_args), (sy_call_t *)fchflags, AUE_FCHFLAGS, NULL, 0, 0 }, /* 35 = fchflags */
 77         { 0, (sy_call_t *)sync, AUE_SYNC, NULL, 0, 0 },         /* 36 = sync */
 78         { AS(kill_args), (sy_call_t *)kill, AUE_KILL, NULL, 0, 0 },     /* 37 = kill */
 79         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 38 = ostat */
 80         { 0, (sy_call_t *)getppid, AUE_GETPPID, NULL, 0, 0 },           /* 39 = getppid */
 81         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 40 = olstat */
 82         { AS(dup_args), (sy_call_t *)dup, AUE_DUP, NULL, 0, 0 },        /* 41 = dup */
 83         { 0, (sy_call_t *)pipe, AUE_PIPE, NULL, 0, 0 },         /* 42 = pipe */
 84         { 0, (sy_call_t *)getegid, AUE_GETEGID, NULL, 0, 0 },           /* 43 = getegid */
 85         { AS(profil_args), (sy_call_t *)profil, AUE_PROFILE, NULL, 0, 0 },      /* 44 = profil */
 86         { AS(ktrace_args), (sy_call_t *)ktrace, AUE_KTRACE, NULL, 0, 0 },       /* 45 = ktrace */
 87         { compat(AS(ofreebsd32_sigaction_args),freebsd32_sigaction), AUE_SIGACTION, NULL, 0, 0 },       /* 46 = old freebsd32_sigaction */
 88         { 0, (sy_call_t *)getgid, AUE_GETGID, NULL, 0, 0 },             /* 47 = getgid */
 89         { compat(AS(ofreebsd32_sigprocmask_args),freebsd32_sigprocmask), AUE_SIGPROCMASK, NULL, 0, 0 }, /* 48 = old freebsd32_sigprocmask */
 90         { AS(getlogin_args), (sy_call_t *)getlogin, AUE_GETLOGIN, NULL, 0, 0 }, /* 49 = getlogin */
 91         { AS(setlogin_args), (sy_call_t *)setlogin, AUE_SETLOGIN, NULL, 0, 0 }, /* 50 = setlogin */
 92         { AS(acct_args), (sy_call_t *)acct, AUE_ACCT, NULL, 0, 0 },     /* 51 = acct */
 93         { compat(0,freebsd32_sigpending), AUE_SIGPENDING, NULL, 0, 0 }, /* 52 = old freebsd32_sigpending */
 94         { AS(freebsd32_sigaltstack_args), (sy_call_t *)freebsd32_sigaltstack, AUE_SIGALTSTACK, NULL, 0, 0 },    /* 53 = freebsd32_sigaltstack */
 95         { AS(freebsd32_ioctl_args), (sy_call_t *)freebsd32_ioctl, AUE_NULL, NULL, 0, 0 },       /* 54 = freebsd32_ioctl */
 96         { AS(reboot_args), (sy_call_t *)reboot, AUE_REBOOT, NULL, 0, 0 },       /* 55 = reboot */
 97         { AS(revoke_args), (sy_call_t *)revoke, AUE_REVOKE, NULL, 0, 0 },       /* 56 = revoke */
 98         { AS(symlink_args), (sy_call_t *)symlink, AUE_SYMLINK, NULL, 0, 0 },    /* 57 = symlink */
 99         { AS(readlink_args), (sy_call_t *)readlink, AUE_READLINK, NULL, 0, 0 }, /* 58 = readlink */
100         { AS(freebsd32_execve_args), (sy_call_t *)freebsd32_execve, AUE_EXECVE, NULL, 0, 0 },   /* 59 = freebsd32_execve */
101         { AS(umask_args), (sy_call_t *)umask, AUE_UMASK, NULL, 0, 0 },  /* 60 = umask */
102         { AS(chroot_args), (sy_call_t *)chroot, AUE_CHROOT, NULL, 0, 0 },       /* 61 = chroot */
103         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 62 = obsolete ofstat */
104         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 63 = obsolete ogetkerninfo */
105         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 64 = obsolete ogetpagesize */
106         { AS(msync_args), (sy_call_t *)msync, AUE_MSYNC, NULL, 0, 0 },  /* 65 = msync */
107         { 0, (sy_call_t *)vfork, AUE_VFORK, NULL, 0, 0 },               /* 66 = vfork */
108         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 67 = obsolete vread */
109         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 68 = obsolete vwrite */
110         { AS(sbrk_args), (sy_call_t *)sbrk, AUE_SBRK, NULL, 0, 0 },     /* 69 = sbrk */
111         { AS(sstk_args), (sy_call_t *)sstk, AUE_SSTK, NULL, 0, 0 },     /* 70 = sstk */
112         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 71 = obsolete ommap */
113         { AS(ovadvise_args), (sy_call_t *)ovadvise, AUE_O_VADVISE, NULL, 0, 0 },        /* 72 = vadvise */
114         { AS(munmap_args), (sy_call_t *)munmap, AUE_MUNMAP, NULL, 0, 0 },       /* 73 = munmap */
115         { AS(mprotect_args), (sy_call_t *)mprotect, AUE_MPROTECT, NULL, 0, 0 }, /* 74 = mprotect */
116         { AS(madvise_args), (sy_call_t *)madvise, AUE_MADVISE, NULL, 0, 0 },    /* 75 = madvise */
117         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 76 = obsolete vhangup */
118         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 77 = obsolete vlimit */
119         { AS(mincore_args), (sy_call_t *)mincore, AUE_MINCORE, NULL, 0, 0 },    /* 78 = mincore */
120         { AS(getgroups_args), (sy_call_t *)getgroups, AUE_GETGROUPS, NULL, 0, 0 },      /* 79 = getgroups */
121         { AS(setgroups_args), (sy_call_t *)setgroups, AUE_SETGROUPS, NULL, 0, 0 },      /* 80 = setgroups */
122         { 0, (sy_call_t *)getpgrp, AUE_GETPGRP, NULL, 0, 0 },           /* 81 = getpgrp */
123         { AS(setpgid_args), (sy_call_t *)setpgid, AUE_SETPGRP, NULL, 0, 0 },    /* 82 = setpgid */
124         { AS(freebsd32_setitimer_args), (sy_call_t *)freebsd32_setitimer, AUE_SETITIMER, NULL, 0, 0 },  /* 83 = freebsd32_setitimer */
125         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 84 = obsolete owait */
126         { AS(swapon_args), (sy_call_t *)swapon, AUE_SWAPON, NULL, 0, 0 },       /* 85 = swapon */
127         { AS(freebsd32_getitimer_args), (sy_call_t *)freebsd32_getitimer, AUE_GETITIMER, NULL, 0, 0 },  /* 86 = freebsd32_getitimer */
128         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 87 = obsolete ogethostname */
129         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 88 = obsolete osethostname */
130         { 0, (sy_call_t *)getdtablesize, AUE_GETDTABLESIZE, NULL, 0, 0 },       /* 89 = getdtablesize */
131         { AS(dup2_args), (sy_call_t *)dup2, AUE_DUP2, NULL, 0, 0 },     /* 90 = dup2 */
132         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 91 = getdopt */
133         { AS(fcntl_args), (sy_call_t *)fcntl, AUE_FCNTL, NULL, 0, 0 },  /* 92 = fcntl */
134         { AS(freebsd32_select_args), (sy_call_t *)freebsd32_select, AUE_SELECT, NULL, 0, 0 },   /* 93 = freebsd32_select */
135         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 94 = setdopt */
136         { AS(fsync_args), (sy_call_t *)fsync, AUE_FSYNC, NULL, 0, 0 },  /* 95 = fsync */
137         { AS(setpriority_args), (sy_call_t *)setpriority, AUE_SETPRIORITY, NULL, 0, 0 },        /* 96 = setpriority */
138         { AS(socket_args), (sy_call_t *)socket, AUE_SOCKET, NULL, 0, 0 },       /* 97 = socket */
139         { AS(connect_args), (sy_call_t *)connect, AUE_CONNECT, NULL, 0, 0 },    /* 98 = connect */
140         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 99 = obsolete oaccept */
141         { AS(getpriority_args), (sy_call_t *)getpriority, AUE_GETPRIORITY, NULL, 0, 0 },        /* 100 = getpriority */
142         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 101 = obsolete osend */
143         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 102 = obsolete orecv */
144         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 103 = obsolete osigreturn */
145         { AS(bind_args), (sy_call_t *)bind, AUE_BIND, NULL, 0, 0 },     /* 104 = bind */
146         { AS(setsockopt_args), (sy_call_t *)setsockopt, AUE_SETSOCKOPT, NULL, 0, 0 },   /* 105 = setsockopt */
147         { AS(listen_args), (sy_call_t *)listen, AUE_LISTEN, NULL, 0, 0 },       /* 106 = listen */
148         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 107 = obsolete vtimes */
149         { compat(AS(ofreebsd32_sigvec_args),freebsd32_sigvec), AUE_O_SIGVEC, NULL, 0, 0 },      /* 108 = old freebsd32_sigvec */
150         { compat(AS(ofreebsd32_sigblock_args),freebsd32_sigblock), AUE_O_SIGBLOCK, NULL, 0, 0 },        /* 109 = old freebsd32_sigblock */
151         { compat(AS(ofreebsd32_sigsetmask_args),freebsd32_sigsetmask), AUE_O_SIGSETMASK, NULL, 0, 0 },  /* 110 = old freebsd32_sigsetmask */
152         { compat(AS(ofreebsd32_sigsuspend_args),freebsd32_sigsuspend), AUE_SIGSUSPEND, NULL, 0, 0 },    /* 111 = old freebsd32_sigsuspend */
153         { compat(AS(ofreebsd32_sigstack_args),freebsd32_sigstack), AUE_O_SIGSTACK, NULL, 0, 0 },        /* 112 = old freebsd32_sigstack */
154         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 113 = obsolete orecvmsg */
155         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 114 = obsolete osendmsg */
156         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 115 = obsolete vtrace */
157         { AS(freebsd32_gettimeofday_args), (sy_call_t *)freebsd32_gettimeofday, AUE_GETTIMEOFDAY, NULL, 0, 0 }, /* 116 = freebsd32_gettimeofday */
158         { AS(freebsd32_getrusage_args), (sy_call_t *)freebsd32_getrusage, AUE_GETRUSAGE, NULL, 0, 0 },  /* 117 = freebsd32_getrusage */
159         { AS(getsockopt_args), (sy_call_t *)getsockopt, AUE_GETSOCKOPT, NULL, 0, 0 },   /* 118 = getsockopt */
160         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 119 = resuba */
161         { AS(freebsd32_readv_args), (sy_call_t *)freebsd32_readv, AUE_READV, NULL, 0, 0 },      /* 120 = freebsd32_readv */
162         { AS(freebsd32_writev_args), (sy_call_t *)freebsd32_writev, AUE_WRITEV, NULL, 0, 0 },   /* 121 = freebsd32_writev */
163         { AS(freebsd32_settimeofday_args), (sy_call_t *)freebsd32_settimeofday, AUE_SETTIMEOFDAY, NULL, 0, 0 }, /* 122 = freebsd32_settimeofday */
164         { AS(fchown_args), (sy_call_t *)fchown, AUE_FCHOWN, NULL, 0, 0 },       /* 123 = fchown */
165         { AS(fchmod_args), (sy_call_t *)fchmod, AUE_FCHMOD, NULL, 0, 0 },       /* 124 = fchmod */
166         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 125 = obsolete orecvfrom */
167         { AS(setreuid_args), (sy_call_t *)setreuid, AUE_SETREUID, NULL, 0, 0 }, /* 126 = setreuid */
168         { AS(setregid_args), (sy_call_t *)setregid, AUE_SETREGID, NULL, 0, 0 }, /* 127 = setregid */
169         { AS(rename_args), (sy_call_t *)rename, AUE_RENAME, NULL, 0, 0 },       /* 128 = rename */
170         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 129 = obsolete otruncate */
171         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 130 = obsolete ftruncate */
172         { AS(flock_args), (sy_call_t *)flock, AUE_FLOCK, NULL, 0, 0 },  /* 131 = flock */
173         { AS(mkfifo_args), (sy_call_t *)mkfifo, AUE_MKFIFO, NULL, 0, 0 },       /* 132 = mkfifo */
174         { AS(sendto_args), (sy_call_t *)sendto, AUE_SENDTO, NULL, 0, 0 },       /* 133 = sendto */
175         { AS(shutdown_args), (sy_call_t *)shutdown, AUE_SHUTDOWN, NULL, 0, 0 }, /* 134 = shutdown */
176         { AS(socketpair_args), (sy_call_t *)socketpair, AUE_SOCKETPAIR, NULL, 0, 0 },   /* 135 = socketpair */
177         { AS(mkdir_args), (sy_call_t *)mkdir, AUE_MKDIR, NULL, 0, 0 },  /* 136 = mkdir */
178         { AS(rmdir_args), (sy_call_t *)rmdir, AUE_RMDIR, NULL, 0, 0 },  /* 137 = rmdir */
179         { AS(freebsd32_utimes_args), (sy_call_t *)freebsd32_utimes, AUE_UTIMES, NULL, 0, 0 },   /* 138 = freebsd32_utimes */
180         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 139 = obsolete 4.2 sigreturn */
181         { AS(freebsd32_adjtime_args), (sy_call_t *)freebsd32_adjtime, AUE_ADJTIME, NULL, 0, 0 },        /* 140 = freebsd32_adjtime */
182         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 141 = obsolete ogetpeername */
183         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 142 = obsolete ogethostid */
184         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 143 = obsolete sethostid */
185         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 144 = obsolete getrlimit */
186         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 145 = obsolete setrlimit */
187         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 146 = obsolete killpg */
188         { 0, (sy_call_t *)setsid, AUE_SETSID, NULL, 0, 0 },             /* 147 = setsid */
189         { AS(quotactl_args), (sy_call_t *)quotactl, AUE_QUOTACTL, NULL, 0, 0 }, /* 148 = quotactl */
190         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 149 = obsolete oquota */
191         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 150 = obsolete ogetsockname */
192         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 151 = sem_lock */
193         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 152 = sem_wakeup */
194         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 153 = asyncdaemon */
195         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 154 = nlm_syscall */
196         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 155 = nfssvc */
197         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 156 = obsolete ogetdirentries */
198         { compat4(AS(freebsd4_freebsd32_statfs_args),freebsd32_statfs), AUE_STATFS, NULL, 0, 0 },       /* 157 = old freebsd32_statfs */
199         { compat4(AS(freebsd4_freebsd32_fstatfs_args),freebsd32_fstatfs), AUE_FSTATFS, NULL, 0, 0 },    /* 158 = old freebsd32_fstatfs */
200         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 159 = nosys */
201         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 160 = lgetfh */
202         { AS(getfh_args), (sy_call_t *)getfh, AUE_NFS_GETFH, NULL, 0, 0 },      /* 161 = getfh */
203         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 162 = obsolete getdomainname */
204         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 163 = obsolete setdomainname */
205         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 164 = obsolete uname */
206         { AS(sysarch_args), (sy_call_t *)sysarch, AUE_SYSARCH, NULL, 0, 0 },    /* 165 = sysarch */
207         { AS(rtprio_args), (sy_call_t *)rtprio, AUE_RTPRIO, NULL, 0, 0 },       /* 166 = rtprio */
208         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 167 = nosys */
209         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 168 = nosys */
210         { AS(freebsd32_semsys_args), (sy_call_t *)freebsd32_semsys, AUE_SEMSYS, NULL, 0, 0 },   /* 169 = freebsd32_semsys */
211         { AS(freebsd32_msgsys_args), (sy_call_t *)freebsd32_msgsys, AUE_MSGSYS, NULL, 0, 0 },   /* 170 = freebsd32_msgsys */
212         { AS(freebsd32_shmsys_args), (sy_call_t *)freebsd32_shmsys, AUE_SHMSYS, NULL, 0, 0 },   /* 171 = freebsd32_shmsys */
213         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 172 = nosys */
214         { compat6(AS(freebsd6_freebsd32_pread_args),freebsd32_pread), AUE_PREAD, NULL, 0, 0 },  /* 173 = old freebsd32_pread */
215         { compat6(AS(freebsd6_freebsd32_pwrite_args),freebsd32_pwrite), AUE_PWRITE, NULL, 0, 0 },       /* 174 = old freebsd32_pwrite */
216         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 175 = nosys */
217         { AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime, AUE_NTP_ADJTIME, NULL, 0, 0 },        /* 176 = ntp_adjtime */
218         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 177 = sfork */
219         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 178 = getdescriptor */
220         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 179 = setdescriptor */
221         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 180 = nosys */
222         { AS(setgid_args), (sy_call_t *)setgid, AUE_SETGID, NULL, 0, 0 },       /* 181 = setgid */
223         { AS(setegid_args), (sy_call_t *)setegid, AUE_SETEGID, NULL, 0, 0 },    /* 182 = setegid */
224         { AS(seteuid_args), (sy_call_t *)seteuid, AUE_SETEUID, NULL, 0, 0 },    /* 183 = seteuid */
225         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 184 = lfs_bmapv */
226         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 185 = lfs_markv */
227         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 186 = lfs_segclean */
228         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 187 = lfs_segwait */
229         { AS(freebsd32_stat_args), (sy_call_t *)freebsd32_stat, AUE_STAT, NULL, 0, 0 }, /* 188 = freebsd32_stat */
230         { AS(freebsd32_fstat_args), (sy_call_t *)freebsd32_fstat, AUE_FSTAT, NULL, 0, 0 },      /* 189 = freebsd32_fstat */
231         { AS(freebsd32_lstat_args), (sy_call_t *)freebsd32_lstat, AUE_LSTAT, NULL, 0, 0 },      /* 190 = freebsd32_lstat */
232         { AS(pathconf_args), (sy_call_t *)pathconf, AUE_PATHCONF, NULL, 0, 0 }, /* 191 = pathconf */
233         { AS(fpathconf_args), (sy_call_t *)fpathconf, AUE_FPATHCONF, NULL, 0, 0 },      /* 192 = fpathconf */
234         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 193 = nosys */
235         { AS(__getrlimit_args), (sy_call_t *)getrlimit, AUE_GETRLIMIT, NULL, 0, 0 },    /* 194 = getrlimit */
236         { AS(__setrlimit_args), (sy_call_t *)setrlimit, AUE_SETRLIMIT, NULL, 0, 0 },    /* 195 = setrlimit */
237         { AS(freebsd32_getdirentries_args), (sy_call_t *)freebsd32_getdirentries, AUE_GETDIRENTRIES, NULL, 0, 0 },      /* 196 = freebsd32_getdirentries */
238         { compat6(AS(freebsd6_freebsd32_mmap_args),freebsd32_mmap), AUE_MMAP, NULL, 0, 0 },     /* 197 = old freebsd32_mmap */
239         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                /* 198 = __syscall */
240         { compat6(AS(freebsd6_freebsd32_lseek_args),freebsd32_lseek), AUE_LSEEK, NULL, 0, 0 },  /* 199 = old freebsd32_lseek */
241         { compat6(AS(freebsd6_freebsd32_truncate_args),freebsd32_truncate), AUE_TRUNCATE, NULL, 0, 0 }, /* 200 = old freebsd32_truncate */
242         { compat6(AS(freebsd6_freebsd32_ftruncate_args),freebsd32_ftruncate), AUE_FTRUNCATE, NULL, 0, 0 },      /* 201 = old freebsd32_ftruncate */
243         { AS(freebsd32_sysctl_args), (sy_call_t *)freebsd32_sysctl, AUE_SYSCTL, NULL, 0, 0 },   /* 202 = freebsd32_sysctl */
244         { AS(mlock_args), (sy_call_t *)mlock, AUE_MLOCK, NULL, 0, 0 },  /* 203 = mlock */
245         { AS(munlock_args), (sy_call_t *)munlock, AUE_MUNLOCK, NULL, 0, 0 },    /* 204 = munlock */
246         { AS(undelete_args), (sy_call_t *)undelete, AUE_UNDELETE, NULL, 0, 0 }, /* 205 = undelete */
247         { AS(freebsd32_futimes_args), (sy_call_t *)freebsd32_futimes, AUE_FUTIMES, NULL, 0, 0 },        /* 206 = freebsd32_futimes */
248         { AS(getpgid_args), (sy_call_t *)getpgid, AUE_GETPGID, NULL, 0, 0 },    /* 207 = getpgid */
249         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 208 = newreboot */
250         { AS(poll_args), (sy_call_t *)poll, AUE_POLL, NULL, 0, 0 },     /* 209 = poll */
251         { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 },        /* 210 = lkmnosys */
252         { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 },        /* 211 = lkmnosys */
253         { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 },        /* 212 = lkmnosys */
254         { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 },        /* 213 = lkmnosys */
255         { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 },        /* 214 = lkmnosys */
256         { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 },        /* 215 = lkmnosys */
257         { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 },        /* 216 = lkmnosys */
258         { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 },        /* 217 = lkmnosys */
259         { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 },        /* 218 = lkmnosys */
260         { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0 },        /* 219 = lkmnosys */
261         { AS(freebsd32_semctl_args), (sy_call_t *)freebsd32_semctl, AUE_SEMCTL, NULL, 0, 0 },   /* 220 = freebsd32_semctl */
262         { AS(semget_args), (sy_call_t *)semget, AUE_SEMGET, NULL, 0, 0 },       /* 221 = semget */
263         { AS(semop_args), (sy_call_t *)semop, AUE_SEMOP, NULL, 0, 0 },  /* 222 = semop */
264         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 223 = semconfig */
265         { AS(freebsd32_msgctl_args), (sy_call_t *)freebsd32_msgctl, AUE_MSGCTL, NULL, 0, 0 },   /* 224 = freebsd32_msgctl */
266         { AS(msgget_args), (sy_call_t *)msgget, AUE_MSGGET, NULL, 0, 0 },       /* 225 = msgget */
267         { AS(freebsd32_msgsnd_args), (sy_call_t *)freebsd32_msgsnd, AUE_MSGSND, NULL, 0, 0 },   /* 226 = freebsd32_msgsnd */
268         { AS(freebsd32_msgrcv_args), (sy_call_t *)freebsd32_msgrcv, AUE_MSGRCV, NULL, 0, 0 },   /* 227 = freebsd32_msgrcv */
269         { AS(shmat_args), (sy_call_t *)shmat, AUE_SHMAT, NULL, 0, 0 },  /* 228 = shmat */
270         { AS(freebsd32_shmctl_args), (sy_call_t *)freebsd32_shmctl, AUE_SHMCTL, NULL, 0, 0 },   /* 229 = freebsd32_shmctl */
271         { AS(shmdt_args), (sy_call_t *)shmdt, AUE_SHMDT, NULL, 0, 0 },  /* 230 = shmdt */
272         { AS(shmget_args), (sy_call_t *)shmget, AUE_SHMGET, NULL, 0, 0 },       /* 231 = shmget */
273         { AS(freebsd32_clock_gettime_args), (sy_call_t *)freebsd32_clock_gettime, AUE_NULL, NULL, 0, 0 },       /* 232 = freebsd32_clock_gettime */
274         { AS(freebsd32_clock_settime_args), (sy_call_t *)freebsd32_clock_settime, AUE_CLOCK_SETTIME, NULL, 0, 0 },      /* 233 = freebsd32_clock_settime */
275         { AS(freebsd32_clock_getres_args), (sy_call_t *)freebsd32_clock_getres, AUE_NULL, NULL, 0, 0 }, /* 234 = freebsd32_clock_getres */
276         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 235 = timer_create */
277         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 236 = timer_delete */
278         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 237 = timer_settime */
279         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 238 = timer_gettime */
280         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 239 = timer_getoverrun */
281         { AS(freebsd32_nanosleep_args), (sy_call_t *)freebsd32_nanosleep, AUE_NULL, NULL, 0, 0 },       /* 240 = freebsd32_nanosleep */
282         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 241 = nosys */
283         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 242 = nosys */
284         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 243 = nosys */
285         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 244 = nosys */
286         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 245 = nosys */
287         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 246 = nosys */
288         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 247 = nosys */
289         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 248 = ntp_gettime */
290         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 249 = nosys */
291         { AS(minherit_args), (sy_call_t *)minherit, AUE_MINHERIT, NULL, 0, 0 }, /* 250 = minherit */
292         { AS(rfork_args), (sy_call_t *)rfork, AUE_RFORK, NULL, 0, 0 },  /* 251 = rfork */
293         { AS(openbsd_poll_args), (sy_call_t *)openbsd_poll, AUE_POLL, NULL, 0, 0 },     /* 252 = openbsd_poll */
294         { 0, (sy_call_t *)issetugid, AUE_ISSETUGID, NULL, 0, 0 },       /* 253 = issetugid */
295         { AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN, NULL, 0, 0 },       /* 254 = lchown */
296         { AS(freebsd32_aio_read_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 },  /* 255 = freebsd32_aio_read */
297         { AS(freebsd32_aio_write_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 256 = freebsd32_aio_write */
298         { AS(freebsd32_lio_listio_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 },        /* 257 = freebsd32_lio_listio */
299         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 258 = nosys */
300         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 259 = nosys */
301         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 260 = nosys */
302         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 261 = nosys */
303         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 262 = nosys */
304         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 263 = nosys */
305         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 264 = nosys */
306         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 265 = nosys */
307         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 266 = nosys */
308         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 267 = nosys */
309         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 268 = nosys */
310         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 269 = nosys */
311         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 270 = nosys */
312         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 271 = nosys */
313         { AS(getdents_args), (sy_call_t *)getdents, AUE_O_GETDENTS, NULL, 0, 0 },       /* 272 = getdents */
314         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 273 = nosys */
315         { AS(lchmod_args), (sy_call_t *)lchmod, AUE_LCHMOD, NULL, 0, 0 },       /* 274 = lchmod */
316         { AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN, NULL, 0, 0 },       /* 275 = netbsd_lchown */
317         { AS(freebsd32_lutimes_args), (sy_call_t *)freebsd32_lutimes, AUE_LUTIMES, NULL, 0, 0 },        /* 276 = freebsd32_lutimes */
318         { AS(msync_args), (sy_call_t *)msync, AUE_MSYNC, NULL, 0, 0 },  /* 277 = netbsd_msync */
319         { AS(nstat_args), (sy_call_t *)nstat, AUE_STAT, NULL, 0, 0 },   /* 278 = nstat */
320         { AS(nfstat_args), (sy_call_t *)nfstat, AUE_FSTAT, NULL, 0, 0 },        /* 279 = nfstat */
321         { AS(nlstat_args), (sy_call_t *)nlstat, AUE_LSTAT, NULL, 0, 0 },        /* 280 = nlstat */
322         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 281 = nosys */
323         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 282 = nosys */
324         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 283 = nosys */
325         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 284 = nosys */
326         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 285 = nosys */
327         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 286 = nosys */
328         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 287 = nosys */
329         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 288 = nosys */
330         { AS(freebsd32_preadv_args), (sy_call_t *)freebsd32_preadv, AUE_PREADV, NULL, 0, 0 },   /* 289 = freebsd32_preadv */
331         { AS(freebsd32_pwritev_args), (sy_call_t *)freebsd32_pwritev, AUE_PWRITEV, NULL, 0, 0 },        /* 290 = freebsd32_pwritev */
332         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 291 = nosys */
333         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 292 = nosys */
334         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 293 = nosys */
335         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 294 = nosys */
336         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 295 = nosys */
337         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 296 = nosys */
338         { compat4(AS(freebsd4_freebsd32_fhstatfs_args),freebsd32_fhstatfs), AUE_FHSTATFS, NULL, 0, 0 }, /* 297 = old freebsd32_fhstatfs */
339         { AS(fhopen_args), (sy_call_t *)fhopen, AUE_FHOPEN, NULL, 0, 0 },       /* 298 = fhopen */
340         { AS(fhstat_args), (sy_call_t *)fhstat, AUE_FHSTAT, NULL, 0, 0 },       /* 299 = fhstat */
341         { AS(modnext_args), (sy_call_t *)modnext, AUE_NULL, NULL, 0, 0 },       /* 300 = modnext */
342         { AS(freebsd32_modstat_args), (sy_call_t *)freebsd32_modstat, AUE_NULL, NULL, 0, 0 },   /* 301 = freebsd32_modstat */
343         { AS(modfnext_args), (sy_call_t *)modfnext, AUE_NULL, NULL, 0, 0 },     /* 302 = modfnext */
344         { AS(modfind_args), (sy_call_t *)modfind, AUE_NULL, NULL, 0, 0 },       /* 303 = modfind */
345         { AS(kldload_args), (sy_call_t *)kldload, AUE_MODLOAD, NULL, 0, 0 },    /* 304 = kldload */
346         { AS(kldunload_args), (sy_call_t *)kldunload, AUE_MODUNLOAD, NULL, 0, 0 },      /* 305 = kldunload */
347         { AS(kldfind_args), (sy_call_t *)kldfind, AUE_NULL, NULL, 0, 0 },       /* 306 = kldfind */
348         { AS(kldnext_args), (sy_call_t *)kldnext, AUE_NULL, NULL, 0, 0 },       /* 307 = kldnext */
349         { AS(kldstat_args), (sy_call_t *)kldstat, AUE_NULL, NULL, 0, 0 },       /* 308 = kldstat */
350         { AS(kldfirstmod_args), (sy_call_t *)kldfirstmod, AUE_NULL, NULL, 0, 0 },       /* 309 = kldfirstmod */
351         { AS(getsid_args), (sy_call_t *)getsid, AUE_GETSID, NULL, 0, 0 },       /* 310 = getsid */
352         { AS(setresuid_args), (sy_call_t *)setresuid, AUE_SETRESUID, NULL, 0, 0 },      /* 311 = setresuid */
353         { AS(setresgid_args), (sy_call_t *)setresgid, AUE_SETRESGID, NULL, 0, 0 },      /* 312 = setresgid */
354         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 313 = obsolete signanosleep */
355         { AS(freebsd32_aio_return_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 },        /* 314 = freebsd32_aio_return */
356         { AS(freebsd32_aio_suspend_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 },       /* 315 = freebsd32_aio_suspend */
357         { AS(freebsd32_aio_cancel_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 },        /* 316 = freebsd32_aio_cancel */
358         { AS(freebsd32_aio_error_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 317 = freebsd32_aio_error */
359         { AS(freebsd32_oaio_read_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 318 = freebsd32_oaio_read */
360         { AS(freebsd32_oaio_write_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 },        /* 319 = freebsd32_oaio_write */
361         { AS(freebsd32_olio_listio_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 },       /* 320 = freebsd32_olio_listio */
362         { 0, (sy_call_t *)yield, AUE_NULL, NULL, 0, 0 },                /* 321 = yield */
363         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 322 = obsolete thr_sleep */
364         { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 },                        /* 323 = obsolete thr_wakeup */
365         { AS(mlockall_args), (sy_call_t *)mlockall, AUE_MLOCKALL, NULL, 0, 0 }, /* 324 = mlockall */
366         { 0, (sy_call_t *)munlockall, AUE_MUNLOCKALL, NULL, 0, 0 },     /* 325 = munlockall */
367         { AS(__getcwd_args), (sy_call_t *)__getcwd, AUE_GETCWD, NULL, 0, 0 },   /* 326 = __getcwd */
368         { AS(sched_setparam_args), (sy_call_t *)sched_setparam, AUE_NULL, NULL, 0, 0 }, /* 327 = sched_setparam */
369         { AS(sched_getparam_args), (sy_call_t *)sched_getparam, AUE_NULL, NULL, 0, 0 }, /* 328 = sched_getparam */
370         { AS(sched_setscheduler_args), (sy_call_t *)sched_setscheduler, AUE_NULL, NULL, 0, 0 }, /* 329 = sched_setscheduler */
371         { AS(sched_getscheduler_args), (sy_call_t *)sched_getscheduler, AUE_NULL, NULL, 0, 0 }, /* 330 = sched_getscheduler */
372         { 0, (sy_call_t *)sched_yield, AUE_NULL, NULL, 0, 0 },  /* 331 = sched_yield */
373         { AS(