15eb29d9bSDoug Rabson /* 25eb29d9bSDoug Rabson * System call switch table. 35eb29d9bSDoug Rabson * 45eb29d9bSDoug Rabson * DO NOT EDIT-- this file is automatically generated. 55eb29d9bSDoug Rabson * $FreeBSD$ 6fe2f3c65SJamie Gritton * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 191673 2009-04-29 21:14:15Z jamie 75eb29d9bSDoug Rabson */ 85eb29d9bSDoug Rabson 99105d26bSPeter Wemm #include "opt_compat.h" 109105d26bSPeter Wemm 115eb29d9bSDoug Rabson #include <sys/param.h> 125eb29d9bSDoug Rabson #include <sys/sysent.h> 135eb29d9bSDoug Rabson #include <sys/sysproto.h> 14db27052eSPeter Wemm #include <sys/mount.h> 158120bb7eSJohn Baldwin #include <sys/socket.h> 1694e75644SPeter Wemm #include <compat/freebsd32/freebsd32.h> 1794e75644SPeter Wemm #include <compat/freebsd32/freebsd32_proto.h> 185eb29d9bSDoug Rabson 195eb29d9bSDoug Rabson #define AS(name) (sizeof(struct name) / sizeof(register_t)) 205eb29d9bSDoug Rabson 21946bca4fSPeter Wemm #ifdef COMPAT_43 22946bca4fSPeter Wemm #define compat(n, name) n, (sy_call_t *)__CONCAT(o,name) 23946bca4fSPeter Wemm #else 24946bca4fSPeter Wemm #define compat(n, name) 0, (sy_call_t *)nosys 25946bca4fSPeter Wemm #endif 26946bca4fSPeter Wemm 279105d26bSPeter Wemm #ifdef COMPAT_FREEBSD4 289105d26bSPeter Wemm #define compat4(n, name) n, (sy_call_t *)__CONCAT(freebsd4_,name) 299105d26bSPeter Wemm #else 309105d26bSPeter Wemm #define compat4(n, name) 0, (sy_call_t *)nosys 319105d26bSPeter Wemm #endif 329105d26bSPeter Wemm 33486abf93SPeter Wemm #ifdef COMPAT_FREEBSD6 34486abf93SPeter Wemm #define compat6(n, name) n, (sy_call_t *)__CONCAT(freebsd6_,name) 35486abf93SPeter Wemm #else 36486abf93SPeter Wemm #define compat6(n, name) 0, (sy_call_t *)nosys 37486abf93SPeter Wemm #endif 38486abf93SPeter Wemm 395eb29d9bSDoug Rabson /* The casts are bogus but will do for now. */ 4094e75644SPeter Wemm struct sysent freebsd32_sysent[] = { 4133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 0 = syscall */ 4233dd5064SRobert Watson { AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_EXIT, NULL, 0, 0, 0 }, /* 1 = exit */ 4333dd5064SRobert Watson { 0, (sy_call_t *)fork, AUE_FORK, NULL, 0, 0, 0 }, /* 2 = fork */ 4433dd5064SRobert Watson { AS(read_args), (sy_call_t *)read, AUE_READ, NULL, 0, 0, 0 }, /* 3 = read */ 4533dd5064SRobert Watson { AS(write_args), (sy_call_t *)write, AUE_WRITE, NULL, 0, 0, 0 }, /* 4 = write */ 4633dd5064SRobert Watson { AS(open_args), (sy_call_t *)open, AUE_OPEN_RWTC, NULL, 0, 0, 0 }, /* 5 = open */ 4733dd5064SRobert Watson { AS(close_args), (sy_call_t *)close, AUE_CLOSE, NULL, 0, 0, 0 }, /* 6 = close */ 4833dd5064SRobert Watson { AS(freebsd32_wait4_args), (sy_call_t *)freebsd32_wait4, AUE_WAIT4, NULL, 0, 0, 0 }, /* 7 = freebsd32_wait4 */ 4933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 8 = obsolete old creat */ 5033dd5064SRobert Watson { AS(link_args), (sy_call_t *)link, AUE_LINK, NULL, 0, 0, 0 }, /* 9 = link */ 5133dd5064SRobert Watson { AS(unlink_args), (sy_call_t *)unlink, AUE_UNLINK, NULL, 0, 0, 0 }, /* 10 = unlink */ 5233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 11 = obsolete execv */ 5333dd5064SRobert Watson { AS(chdir_args), (sy_call_t *)chdir, AUE_CHDIR, NULL, 0, 0, 0 }, /* 12 = chdir */ 5433dd5064SRobert Watson { AS(fchdir_args), (sy_call_t *)fchdir, AUE_FCHDIR, NULL, 0, 0, 0 }, /* 13 = fchdir */ 5533dd5064SRobert Watson { AS(mknod_args), (sy_call_t *)mknod, AUE_MKNOD, NULL, 0, 0, 0 }, /* 14 = mknod */ 5633dd5064SRobert Watson { AS(chmod_args), (sy_call_t *)chmod, AUE_CHMOD, NULL, 0, 0, 0 }, /* 15 = chmod */ 5733dd5064SRobert Watson { AS(chown_args), (sy_call_t *)chown, AUE_CHOWN, NULL, 0, 0, 0 }, /* 16 = chown */ 5833dd5064SRobert Watson { AS(obreak_args), (sy_call_t *)obreak, AUE_NULL, NULL, 0, 0, 0 }, /* 17 = break */ 5933dd5064SRobert Watson { compat4(AS(freebsd4_freebsd32_getfsstat_args),freebsd32_getfsstat), AUE_GETFSSTAT, NULL, 0, 0, 0 }, /* 18 = old freebsd32_getfsstat */ 6033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 19 = obsolete olseek */ 6133dd5064SRobert Watson { 0, (sy_call_t *)getpid, AUE_GETPID, NULL, 0, 0, 0 }, /* 20 = getpid */ 6233dd5064SRobert Watson { AS(mount_args), (sy_call_t *)mount, AUE_MOUNT, NULL, 0, 0, 0 }, /* 21 = mount */ 6333dd5064SRobert Watson { AS(unmount_args), (sy_call_t *)unmount, AUE_UMOUNT, NULL, 0, 0, 0 }, /* 22 = unmount */ 6433dd5064SRobert Watson { AS(setuid_args), (sy_call_t *)setuid, AUE_SETUID, NULL, 0, 0, 0 }, /* 23 = setuid */ 6533dd5064SRobert Watson { 0, (sy_call_t *)getuid, AUE_GETUID, NULL, 0, 0, 0 }, /* 24 = getuid */ 6633dd5064SRobert Watson { 0, (sy_call_t *)geteuid, AUE_GETEUID, NULL, 0, 0, 0 }, /* 25 = geteuid */ 6733dd5064SRobert Watson { AS(ptrace_args), (sy_call_t *)ptrace, AUE_PTRACE, NULL, 0, 0, 0 }, /* 26 = ptrace */ 6833dd5064SRobert Watson { AS(freebsd32_recvmsg_args), (sy_call_t *)freebsd32_recvmsg, AUE_RECVMSG, NULL, 0, 0, 0 }, /* 27 = freebsd32_recvmsg */ 6933dd5064SRobert Watson { AS(freebsd32_sendmsg_args), (sy_call_t *)freebsd32_sendmsg, AUE_SENDMSG, NULL, 0, 0, 0 }, /* 28 = freebsd32_sendmsg */ 7033dd5064SRobert Watson { AS(freebsd32_recvfrom_args), (sy_call_t *)freebsd32_recvfrom, AUE_RECVFROM, NULL, 0, 0, 0 }, /* 29 = freebsd32_recvfrom */ 7133dd5064SRobert Watson { AS(accept_args), (sy_call_t *)accept, AUE_ACCEPT, NULL, 0, 0, 0 }, /* 30 = accept */ 7233dd5064SRobert Watson { AS(getpeername_args), (sy_call_t *)getpeername, AUE_GETPEERNAME, NULL, 0, 0, 0 }, /* 31 = getpeername */ 7333dd5064SRobert Watson { AS(getsockname_args), (sy_call_t *)getsockname, AUE_GETSOCKNAME, NULL, 0, 0, 0 }, /* 32 = getsockname */ 7433dd5064SRobert Watson { AS(access_args), (sy_call_t *)access, AUE_ACCESS, NULL, 0, 0, 0 }, /* 33 = access */ 7533dd5064SRobert Watson { AS(chflags_args), (sy_call_t *)chflags, AUE_CHFLAGS, NULL, 0, 0, 0 }, /* 34 = chflags */ 7633dd5064SRobert Watson { AS(fchflags_args), (sy_call_t *)fchflags, AUE_FCHFLAGS, NULL, 0, 0, 0 }, /* 35 = fchflags */ 7733dd5064SRobert Watson { 0, (sy_call_t *)sync, AUE_SYNC, NULL, 0, 0, 0 }, /* 36 = sync */ 7833dd5064SRobert Watson { AS(kill_args), (sy_call_t *)kill, AUE_KILL, NULL, 0, 0, 0 }, /* 37 = kill */ 7933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 38 = ostat */ 8033dd5064SRobert Watson { 0, (sy_call_t *)getppid, AUE_GETPPID, NULL, 0, 0, 0 }, /* 39 = getppid */ 8133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 40 = olstat */ 8233dd5064SRobert Watson { AS(dup_args), (sy_call_t *)dup, AUE_DUP, NULL, 0, 0, 0 }, /* 41 = dup */ 8333dd5064SRobert Watson { 0, (sy_call_t *)pipe, AUE_PIPE, NULL, 0, 0, 0 }, /* 42 = pipe */ 8433dd5064SRobert Watson { 0, (sy_call_t *)getegid, AUE_GETEGID, NULL, 0, 0, 0 }, /* 43 = getegid */ 8533dd5064SRobert Watson { AS(profil_args), (sy_call_t *)profil, AUE_PROFILE, NULL, 0, 0, 0 }, /* 44 = profil */ 8633dd5064SRobert Watson { AS(ktrace_args), (sy_call_t *)ktrace, AUE_KTRACE, NULL, 0, 0, 0 }, /* 45 = ktrace */ 8733dd5064SRobert Watson { compat(AS(ofreebsd32_sigaction_args),freebsd32_sigaction), AUE_SIGACTION, NULL, 0, 0, 0 }, /* 46 = old freebsd32_sigaction */ 8833dd5064SRobert Watson { 0, (sy_call_t *)getgid, AUE_GETGID, NULL, 0, 0, 0 }, /* 47 = getgid */ 8933dd5064SRobert Watson { compat(AS(ofreebsd32_sigprocmask_args),freebsd32_sigprocmask), AUE_SIGPROCMASK, NULL, 0, 0, 0 }, /* 48 = old freebsd32_sigprocmask */ 9033dd5064SRobert Watson { AS(getlogin_args), (sy_call_t *)getlogin, AUE_GETLOGIN, NULL, 0, 0, 0 }, /* 49 = getlogin */ 9133dd5064SRobert Watson { AS(setlogin_args), (sy_call_t *)setlogin, AUE_SETLOGIN, NULL, 0, 0, 0 }, /* 50 = setlogin */ 9233dd5064SRobert Watson { AS(acct_args), (sy_call_t *)acct, AUE_ACCT, NULL, 0, 0, 0 }, /* 51 = acct */ 9333dd5064SRobert Watson { compat(0,freebsd32_sigpending), AUE_SIGPENDING, NULL, 0, 0, 0 }, /* 52 = old freebsd32_sigpending */ 9433dd5064SRobert Watson { AS(freebsd32_sigaltstack_args), (sy_call_t *)freebsd32_sigaltstack, AUE_SIGALTSTACK, NULL, 0, 0, 0 }, /* 53 = freebsd32_sigaltstack */ 9533dd5064SRobert Watson { AS(freebsd32_ioctl_args), (sy_call_t *)freebsd32_ioctl, AUE_NULL, NULL, 0, 0, 0 }, /* 54 = freebsd32_ioctl */ 9633dd5064SRobert Watson { AS(reboot_args), (sy_call_t *)reboot, AUE_REBOOT, NULL, 0, 0, 0 }, /* 55 = reboot */ 9733dd5064SRobert Watson { AS(revoke_args), (sy_call_t *)revoke, AUE_REVOKE, NULL, 0, 0, 0 }, /* 56 = revoke */ 9833dd5064SRobert Watson { AS(symlink_args), (sy_call_t *)symlink, AUE_SYMLINK, NULL, 0, 0, 0 }, /* 57 = symlink */ 9933dd5064SRobert Watson { AS(readlink_args), (sy_call_t *)readlink, AUE_READLINK, NULL, 0, 0, 0 }, /* 58 = readlink */ 10033dd5064SRobert Watson { AS(freebsd32_execve_args), (sy_call_t *)freebsd32_execve, AUE_EXECVE, NULL, 0, 0, 0 }, /* 59 = freebsd32_execve */ 10133dd5064SRobert Watson { AS(umask_args), (sy_call_t *)umask, AUE_UMASK, NULL, 0, 0, 0 }, /* 60 = umask */ 10233dd5064SRobert Watson { AS(chroot_args), (sy_call_t *)chroot, AUE_CHROOT, NULL, 0, 0, 0 }, /* 61 = chroot */ 10333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 62 = obsolete ofstat */ 10433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 63 = obsolete ogetkerninfo */ 10533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 64 = obsolete ogetpagesize */ 10633dd5064SRobert Watson { AS(msync_args), (sy_call_t *)msync, AUE_MSYNC, NULL, 0, 0, 0 }, /* 65 = msync */ 10733dd5064SRobert Watson { 0, (sy_call_t *)vfork, AUE_VFORK, NULL, 0, 0, 0 }, /* 66 = vfork */ 10833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 67 = obsolete vread */ 10933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 68 = obsolete vwrite */ 11033dd5064SRobert Watson { AS(sbrk_args), (sy_call_t *)sbrk, AUE_SBRK, NULL, 0, 0, 0 }, /* 69 = sbrk */ 11133dd5064SRobert Watson { AS(sstk_args), (sy_call_t *)sstk, AUE_SSTK, NULL, 0, 0, 0 }, /* 70 = sstk */ 11233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 71 = obsolete ommap */ 11333dd5064SRobert Watson { AS(ovadvise_args), (sy_call_t *)ovadvise, AUE_O_VADVISE, NULL, 0, 0, 0 }, /* 72 = vadvise */ 11433dd5064SRobert Watson { AS(munmap_args), (sy_call_t *)munmap, AUE_MUNMAP, NULL, 0, 0, 0 }, /* 73 = munmap */ 11533dd5064SRobert Watson { AS(mprotect_args), (sy_call_t *)mprotect, AUE_MPROTECT, NULL, 0, 0, 0 }, /* 74 = mprotect */ 11633dd5064SRobert Watson { AS(madvise_args), (sy_call_t *)madvise, AUE_MADVISE, NULL, 0, 0, 0 }, /* 75 = madvise */ 11733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 76 = obsolete vhangup */ 11833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 77 = obsolete vlimit */ 11933dd5064SRobert Watson { AS(mincore_args), (sy_call_t *)mincore, AUE_MINCORE, NULL, 0, 0, 0 }, /* 78 = mincore */ 12033dd5064SRobert Watson { AS(getgroups_args), (sy_call_t *)getgroups, AUE_GETGROUPS, NULL, 0, 0, 0 }, /* 79 = getgroups */ 12133dd5064SRobert Watson { AS(setgroups_args), (sy_call_t *)setgroups, AUE_SETGROUPS, NULL, 0, 0, 0 }, /* 80 = setgroups */ 12233dd5064SRobert Watson { 0, (sy_call_t *)getpgrp, AUE_GETPGRP, NULL, 0, 0, 0 }, /* 81 = getpgrp */ 12333dd5064SRobert Watson { AS(setpgid_args), (sy_call_t *)setpgid, AUE_SETPGRP, NULL, 0, 0, 0 }, /* 82 = setpgid */ 12433dd5064SRobert Watson { AS(freebsd32_setitimer_args), (sy_call_t *)freebsd32_setitimer, AUE_SETITIMER, NULL, 0, 0, 0 }, /* 83 = freebsd32_setitimer */ 12533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 84 = obsolete owait */ 12633dd5064SRobert Watson { AS(swapon_args), (sy_call_t *)swapon, AUE_SWAPON, NULL, 0, 0, 0 }, /* 85 = swapon */ 12733dd5064SRobert Watson { AS(freebsd32_getitimer_args), (sy_call_t *)freebsd32_getitimer, AUE_GETITIMER, NULL, 0, 0, 0 }, /* 86 = freebsd32_getitimer */ 12833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 87 = obsolete ogethostname */ 12933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 88 = obsolete osethostname */ 13033dd5064SRobert Watson { 0, (sy_call_t *)getdtablesize, AUE_GETDTABLESIZE, NULL, 0, 0, 0 }, /* 89 = getdtablesize */ 13133dd5064SRobert Watson { AS(dup2_args), (sy_call_t *)dup2, AUE_DUP2, NULL, 0, 0, 0 }, /* 90 = dup2 */ 13233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 91 = getdopt */ 13333dd5064SRobert Watson { AS(fcntl_args), (sy_call_t *)fcntl, AUE_FCNTL, NULL, 0, 0, 0 }, /* 92 = fcntl */ 13433dd5064SRobert Watson { AS(freebsd32_select_args), (sy_call_t *)freebsd32_select, AUE_SELECT, NULL, 0, 0, 0 }, /* 93 = freebsd32_select */ 13533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 94 = setdopt */ 13633dd5064SRobert Watson { AS(fsync_args), (sy_call_t *)fsync, AUE_FSYNC, NULL, 0, 0, 0 }, /* 95 = fsync */ 13733dd5064SRobert Watson { AS(setpriority_args), (sy_call_t *)setpriority, AUE_SETPRIORITY, NULL, 0, 0, 0 }, /* 96 = setpriority */ 13833dd5064SRobert Watson { AS(socket_args), (sy_call_t *)socket, AUE_SOCKET, NULL, 0, 0, 0 }, /* 97 = socket */ 13933dd5064SRobert Watson { AS(connect_args), (sy_call_t *)connect, AUE_CONNECT, NULL, 0, 0, 0 }, /* 98 = connect */ 14033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 99 = obsolete oaccept */ 14133dd5064SRobert Watson { AS(getpriority_args), (sy_call_t *)getpriority, AUE_GETPRIORITY, NULL, 0, 0, 0 }, /* 100 = getpriority */ 14233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 101 = obsolete osend */ 14333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 102 = obsolete orecv */ 14433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 103 = obsolete osigreturn */ 14533dd5064SRobert Watson { AS(bind_args), (sy_call_t *)bind, AUE_BIND, NULL, 0, 0, 0 }, /* 104 = bind */ 14633dd5064SRobert Watson { AS(setsockopt_args), (sy_call_t *)setsockopt, AUE_SETSOCKOPT, NULL, 0, 0, 0 }, /* 105 = setsockopt */ 14733dd5064SRobert Watson { AS(listen_args), (sy_call_t *)listen, AUE_LISTEN, NULL, 0, 0, 0 }, /* 106 = listen */ 14833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 107 = obsolete vtimes */ 14933dd5064SRobert Watson { compat(AS(ofreebsd32_sigvec_args),freebsd32_sigvec), AUE_O_SIGVEC, NULL, 0, 0, 0 }, /* 108 = old freebsd32_sigvec */ 15033dd5064SRobert Watson { compat(AS(ofreebsd32_sigblock_args),freebsd32_sigblock), AUE_O_SIGBLOCK, NULL, 0, 0, 0 }, /* 109 = old freebsd32_sigblock */ 15133dd5064SRobert Watson { compat(AS(ofreebsd32_sigsetmask_args),freebsd32_sigsetmask), AUE_O_SIGSETMASK, NULL, 0, 0, 0 }, /* 110 = old freebsd32_sigsetmask */ 15233dd5064SRobert Watson { compat(AS(ofreebsd32_sigsuspend_args),freebsd32_sigsuspend), AUE_SIGSUSPEND, NULL, 0, 0, 0 }, /* 111 = old freebsd32_sigsuspend */ 15333dd5064SRobert Watson { compat(AS(ofreebsd32_sigstack_args),freebsd32_sigstack), AUE_O_SIGSTACK, NULL, 0, 0, 0 }, /* 112 = old freebsd32_sigstack */ 15433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 113 = obsolete orecvmsg */ 15533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 114 = obsolete osendmsg */ 15633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 115 = obsolete vtrace */ 15733dd5064SRobert Watson { AS(freebsd32_gettimeofday_args), (sy_call_t *)freebsd32_gettimeofday, AUE_GETTIMEOFDAY, NULL, 0, 0, 0 }, /* 116 = freebsd32_gettimeofday */ 15833dd5064SRobert Watson { AS(freebsd32_getrusage_args), (sy_call_t *)freebsd32_getrusage, AUE_GETRUSAGE, NULL, 0, 0, 0 }, /* 117 = freebsd32_getrusage */ 15933dd5064SRobert Watson { AS(getsockopt_args), (sy_call_t *)getsockopt, AUE_GETSOCKOPT, NULL, 0, 0, 0 }, /* 118 = getsockopt */ 16033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 119 = resuba */ 16133dd5064SRobert Watson { AS(freebsd32_readv_args), (sy_call_t *)freebsd32_readv, AUE_READV, NULL, 0, 0, 0 }, /* 120 = freebsd32_readv */ 16233dd5064SRobert Watson { AS(freebsd32_writev_args), (sy_call_t *)freebsd32_writev, AUE_WRITEV, NULL, 0, 0, 0 }, /* 121 = freebsd32_writev */ 16333dd5064SRobert Watson { AS(freebsd32_settimeofday_args), (sy_call_t *)freebsd32_settimeofday, AUE_SETTIMEOFDAY, NULL, 0, 0, 0 }, /* 122 = freebsd32_settimeofday */ 16433dd5064SRobert Watson { AS(fchown_args), (sy_call_t *)fchown, AUE_FCHOWN, NULL, 0, 0, 0 }, /* 123 = fchown */ 16533dd5064SRobert Watson { AS(fchmod_args), (sy_call_t *)fchmod, AUE_FCHMOD, NULL, 0, 0, 0 }, /* 124 = fchmod */ 16633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 125 = obsolete orecvfrom */ 16733dd5064SRobert Watson { AS(setreuid_args), (sy_call_t *)setreuid, AUE_SETREUID, NULL, 0, 0, 0 }, /* 126 = setreuid */ 16833dd5064SRobert Watson { AS(setregid_args), (sy_call_t *)setregid, AUE_SETREGID, NULL, 0, 0, 0 }, /* 127 = setregid */ 16933dd5064SRobert Watson { AS(rename_args), (sy_call_t *)rename, AUE_RENAME, NULL, 0, 0, 0 }, /* 128 = rename */ 17033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 129 = obsolete otruncate */ 17133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 130 = obsolete ftruncate */ 17233dd5064SRobert Watson { AS(flock_args), (sy_call_t *)flock, AUE_FLOCK, NULL, 0, 0, 0 }, /* 131 = flock */ 17333dd5064SRobert Watson { AS(mkfifo_args), (sy_call_t *)mkfifo, AUE_MKFIFO, NULL, 0, 0, 0 }, /* 132 = mkfifo */ 17433dd5064SRobert Watson { AS(sendto_args), (sy_call_t *)sendto, AUE_SENDTO, NULL, 0, 0, 0 }, /* 133 = sendto */ 17533dd5064SRobert Watson { AS(shutdown_args), (sy_call_t *)shutdown, AUE_SHUTDOWN, NULL, 0, 0, 0 }, /* 134 = shutdown */ 17633dd5064SRobert Watson { AS(socketpair_args), (sy_call_t *)socketpair, AUE_SOCKETPAIR, NULL, 0, 0, 0 }, /* 135 = socketpair */ 17733dd5064SRobert Watson { AS(mkdir_args), (sy_call_t *)mkdir, AUE_MKDIR, NULL, 0, 0, 0 }, /* 136 = mkdir */ 17833dd5064SRobert Watson { AS(rmdir_args), (sy_call_t *)rmdir, AUE_RMDIR, NULL, 0, 0, 0 }, /* 137 = rmdir */ 17933dd5064SRobert Watson { AS(freebsd32_utimes_args), (sy_call_t *)freebsd32_utimes, AUE_UTIMES, NULL, 0, 0, 0 }, /* 138 = freebsd32_utimes */ 18033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 139 = obsolete 4.2 sigreturn */ 18133dd5064SRobert Watson { AS(freebsd32_adjtime_args), (sy_call_t *)freebsd32_adjtime, AUE_ADJTIME, NULL, 0, 0, 0 }, /* 140 = freebsd32_adjtime */ 18233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 141 = obsolete ogetpeername */ 18333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 142 = obsolete ogethostid */ 18433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 143 = obsolete sethostid */ 18533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 144 = obsolete getrlimit */ 18633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 145 = obsolete setrlimit */ 18733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 146 = obsolete killpg */ 18833dd5064SRobert Watson { 0, (sy_call_t *)setsid, AUE_SETSID, NULL, 0, 0, 0 }, /* 147 = setsid */ 18933dd5064SRobert Watson { AS(quotactl_args), (sy_call_t *)quotactl, AUE_QUOTACTL, NULL, 0, 0, 0 }, /* 148 = quotactl */ 19033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 149 = obsolete oquota */ 19133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 150 = obsolete ogetsockname */ 19233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 151 = sem_lock */ 19333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 152 = sem_wakeup */ 19433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 153 = asyncdaemon */ 19533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 154 = nlm_syscall */ 19633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 155 = nfssvc */ 19733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 156 = obsolete ogetdirentries */ 19833dd5064SRobert Watson { compat4(AS(freebsd4_freebsd32_statfs_args),freebsd32_statfs), AUE_STATFS, NULL, 0, 0, 0 }, /* 157 = old freebsd32_statfs */ 19933dd5064SRobert Watson { compat4(AS(freebsd4_freebsd32_fstatfs_args),freebsd32_fstatfs), AUE_FSTATFS, NULL, 0, 0, 0 }, /* 158 = old freebsd32_fstatfs */ 20033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 159 = nosys */ 20133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 160 = lgetfh */ 20233dd5064SRobert Watson { AS(getfh_args), (sy_call_t *)getfh, AUE_NFS_GETFH, NULL, 0, 0, 0 }, /* 161 = getfh */ 20333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 162 = obsolete getdomainname */ 20433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 163 = obsolete setdomainname */ 20533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 164 = obsolete uname */ 20633dd5064SRobert Watson { AS(freebsd32_sysarch_args), (sy_call_t *)freebsd32_sysarch, AUE_SYSARCH, NULL, 0, 0, 0 }, /* 165 = freebsd32_sysarch */ 20733dd5064SRobert Watson { AS(rtprio_args), (sy_call_t *)rtprio, AUE_RTPRIO, NULL, 0, 0, 0 }, /* 166 = rtprio */ 20833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 167 = nosys */ 20933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 168 = nosys */ 21033dd5064SRobert Watson { AS(freebsd32_semsys_args), (sy_call_t *)freebsd32_semsys, AUE_SEMSYS, NULL, 0, 0, 0 }, /* 169 = freebsd32_semsys */ 21133dd5064SRobert Watson { AS(freebsd32_msgsys_args), (sy_call_t *)freebsd32_msgsys, AUE_MSGSYS, NULL, 0, 0, 0 }, /* 170 = freebsd32_msgsys */ 21233dd5064SRobert Watson { AS(freebsd32_shmsys_args), (sy_call_t *)freebsd32_shmsys, AUE_SHMSYS, NULL, 0, 0, 0 }, /* 171 = freebsd32_shmsys */ 21333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 172 = nosys */ 21433dd5064SRobert Watson { compat6(AS(freebsd6_freebsd32_pread_args),freebsd32_pread), AUE_PREAD, NULL, 0, 0, 0 }, /* 173 = old freebsd32_pread */ 21533dd5064SRobert Watson { compat6(AS(freebsd6_freebsd32_pwrite_args),freebsd32_pwrite), AUE_PWRITE, NULL, 0, 0, 0 }, /* 174 = old freebsd32_pwrite */ 21633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 175 = nosys */ 21733dd5064SRobert Watson { AS(ntp_adjtime_args), (sy_call_t *)ntp_adjtime, AUE_NTP_ADJTIME, NULL, 0, 0, 0 }, /* 176 = ntp_adjtime */ 21833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 177 = sfork */ 21933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 178 = getdescriptor */ 22033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 179 = setdescriptor */ 22133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 180 = nosys */ 22233dd5064SRobert Watson { AS(setgid_args), (sy_call_t *)setgid, AUE_SETGID, NULL, 0, 0, 0 }, /* 181 = setgid */ 22333dd5064SRobert Watson { AS(setegid_args), (sy_call_t *)setegid, AUE_SETEGID, NULL, 0, 0, 0 }, /* 182 = setegid */ 22433dd5064SRobert Watson { AS(seteuid_args), (sy_call_t *)seteuid, AUE_SETEUID, NULL, 0, 0, 0 }, /* 183 = seteuid */ 22533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 184 = lfs_bmapv */ 22633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 185 = lfs_markv */ 22733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 186 = lfs_segclean */ 22833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 187 = lfs_segwait */ 22933dd5064SRobert Watson { AS(freebsd32_stat_args), (sy_call_t *)freebsd32_stat, AUE_STAT, NULL, 0, 0, 0 }, /* 188 = freebsd32_stat */ 23033dd5064SRobert Watson { AS(freebsd32_fstat_args), (sy_call_t *)freebsd32_fstat, AUE_FSTAT, NULL, 0, 0, 0 }, /* 189 = freebsd32_fstat */ 23133dd5064SRobert Watson { AS(freebsd32_lstat_args), (sy_call_t *)freebsd32_lstat, AUE_LSTAT, NULL, 0, 0, 0 }, /* 190 = freebsd32_lstat */ 23233dd5064SRobert Watson { AS(pathconf_args), (sy_call_t *)pathconf, AUE_PATHCONF, NULL, 0, 0, 0 }, /* 191 = pathconf */ 23333dd5064SRobert Watson { AS(fpathconf_args), (sy_call_t *)fpathconf, AUE_FPATHCONF, NULL, 0, 0, 0 }, /* 192 = fpathconf */ 23433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 193 = nosys */ 23533dd5064SRobert Watson { AS(__getrlimit_args), (sy_call_t *)getrlimit, AUE_GETRLIMIT, NULL, 0, 0, 0 }, /* 194 = getrlimit */ 23633dd5064SRobert Watson { AS(__setrlimit_args), (sy_call_t *)setrlimit, AUE_SETRLIMIT, NULL, 0, 0, 0 }, /* 195 = setrlimit */ 23733dd5064SRobert Watson { AS(freebsd32_getdirentries_args), (sy_call_t *)freebsd32_getdirentries, AUE_GETDIRENTRIES, NULL, 0, 0, 0 }, /* 196 = freebsd32_getdirentries */ 23833dd5064SRobert Watson { compat6(AS(freebsd6_freebsd32_mmap_args),freebsd32_mmap), AUE_MMAP, NULL, 0, 0, 0 }, /* 197 = old freebsd32_mmap */ 23933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 198 = __syscall */ 24033dd5064SRobert Watson { compat6(AS(freebsd6_freebsd32_lseek_args),freebsd32_lseek), AUE_LSEEK, NULL, 0, 0, 0 }, /* 199 = old freebsd32_lseek */ 24133dd5064SRobert Watson { compat6(AS(freebsd6_freebsd32_truncate_args),freebsd32_truncate), AUE_TRUNCATE, NULL, 0, 0, 0 }, /* 200 = old freebsd32_truncate */ 24233dd5064SRobert Watson { compat6(AS(freebsd6_freebsd32_ftruncate_args),freebsd32_ftruncate), AUE_FTRUNCATE, NULL, 0, 0, 0 }, /* 201 = old freebsd32_ftruncate */ 24333dd5064SRobert Watson { AS(freebsd32_sysctl_args), (sy_call_t *)freebsd32_sysctl, AUE_SYSCTL, NULL, 0, 0, 0 }, /* 202 = freebsd32_sysctl */ 24433dd5064SRobert Watson { AS(mlock_args), (sy_call_t *)mlock, AUE_MLOCK, NULL, 0, 0, 0 }, /* 203 = mlock */ 24533dd5064SRobert Watson { AS(munlock_args), (sy_call_t *)munlock, AUE_MUNLOCK, NULL, 0, 0, 0 }, /* 204 = munlock */ 24633dd5064SRobert Watson { AS(undelete_args), (sy_call_t *)undelete, AUE_UNDELETE, NULL, 0, 0, 0 }, /* 205 = undelete */ 24733dd5064SRobert Watson { AS(freebsd32_futimes_args), (sy_call_t *)freebsd32_futimes, AUE_FUTIMES, NULL, 0, 0, 0 }, /* 206 = freebsd32_futimes */ 24833dd5064SRobert Watson { AS(getpgid_args), (sy_call_t *)getpgid, AUE_GETPGID, NULL, 0, 0, 0 }, /* 207 = getpgid */ 24933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 208 = newreboot */ 25033dd5064SRobert Watson { AS(poll_args), (sy_call_t *)poll, AUE_POLL, NULL, 0, 0, 0 }, /* 209 = poll */ 25133dd5064SRobert Watson { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0, 0 }, /* 210 = lkmnosys */ 25233dd5064SRobert Watson { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0, 0 }, /* 211 = lkmnosys */ 25333dd5064SRobert Watson { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0, 0 }, /* 212 = lkmnosys */ 25433dd5064SRobert Watson { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0, 0 }, /* 213 = lkmnosys */ 25533dd5064SRobert Watson { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0, 0 }, /* 214 = lkmnosys */ 25633dd5064SRobert Watson { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0, 0 }, /* 215 = lkmnosys */ 25733dd5064SRobert Watson { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0, 0 }, /* 216 = lkmnosys */ 25833dd5064SRobert Watson { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0, 0 }, /* 217 = lkmnosys */ 25933dd5064SRobert Watson { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0, 0 }, /* 218 = lkmnosys */ 26033dd5064SRobert Watson { AS(nosys_args), (sy_call_t *)lkmnosys, AUE_NULL, NULL, 0, 0, 0 }, /* 219 = lkmnosys */ 26133dd5064SRobert Watson { AS(freebsd32_semctl_args), (sy_call_t *)freebsd32_semctl, AUE_SEMCTL, NULL, 0, 0, 0 }, /* 220 = freebsd32_semctl */ 26233dd5064SRobert Watson { AS(semget_args), (sy_call_t *)semget, AUE_SEMGET, NULL, 0, 0, 0 }, /* 221 = semget */ 26333dd5064SRobert Watson { AS(semop_args), (sy_call_t *)semop, AUE_SEMOP, NULL, 0, 0, 0 }, /* 222 = semop */ 26433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 223 = semconfig */ 26533dd5064SRobert Watson { AS(freebsd32_msgctl_args), (sy_call_t *)freebsd32_msgctl, AUE_MSGCTL, NULL, 0, 0, 0 }, /* 224 = freebsd32_msgctl */ 26633dd5064SRobert Watson { AS(msgget_args), (sy_call_t *)msgget, AUE_MSGGET, NULL, 0, 0, 0 }, /* 225 = msgget */ 26733dd5064SRobert Watson { AS(freebsd32_msgsnd_args), (sy_call_t *)freebsd32_msgsnd, AUE_MSGSND, NULL, 0, 0, 0 }, /* 226 = freebsd32_msgsnd */ 26833dd5064SRobert Watson { AS(freebsd32_msgrcv_args), (sy_call_t *)freebsd32_msgrcv, AUE_MSGRCV, NULL, 0, 0, 0 }, /* 227 = freebsd32_msgrcv */ 26933dd5064SRobert Watson { AS(shmat_args), (sy_call_t *)shmat, AUE_SHMAT, NULL, 0, 0, 0 }, /* 228 = shmat */ 27033dd5064SRobert Watson { AS(freebsd32_shmctl_args), (sy_call_t *)freebsd32_shmctl, AUE_SHMCTL, NULL, 0, 0, 0 }, /* 229 = freebsd32_shmctl */ 27133dd5064SRobert Watson { AS(shmdt_args), (sy_call_t *)shmdt, AUE_SHMDT, NULL, 0, 0, 0 }, /* 230 = shmdt */ 27233dd5064SRobert Watson { AS(shmget_args), (sy_call_t *)shmget, AUE_SHMGET, NULL, 0, 0, 0 }, /* 231 = shmget */ 27333dd5064SRobert Watson { AS(freebsd32_clock_gettime_args), (sy_call_t *)freebsd32_clock_gettime, AUE_NULL, NULL, 0, 0, 0 }, /* 232 = freebsd32_clock_gettime */ 27433dd5064SRobert Watson { AS(freebsd32_clock_settime_args), (sy_call_t *)freebsd32_clock_settime, AUE_CLOCK_SETTIME, NULL, 0, 0, 0 }, /* 233 = freebsd32_clock_settime */ 27533dd5064SRobert Watson { AS(freebsd32_clock_getres_args), (sy_call_t *)freebsd32_clock_getres, AUE_NULL, NULL, 0, 0, 0 }, /* 234 = freebsd32_clock_getres */ 27633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 235 = timer_create */ 27733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 236 = timer_delete */ 27833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 237 = timer_settime */ 27933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 238 = timer_gettime */ 28033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 239 = timer_getoverrun */ 28133dd5064SRobert Watson { AS(freebsd32_nanosleep_args), (sy_call_t *)freebsd32_nanosleep, AUE_NULL, NULL, 0, 0, 0 }, /* 240 = freebsd32_nanosleep */ 28233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 241 = nosys */ 28333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 242 = nosys */ 28433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 243 = nosys */ 28533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 244 = nosys */ 28633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 245 = nosys */ 28733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 246 = nosys */ 28833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 247 = nosys */ 28933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 248 = ntp_gettime */ 29033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 249 = nosys */ 29133dd5064SRobert Watson { AS(minherit_args), (sy_call_t *)minherit, AUE_MINHERIT, NULL, 0, 0, 0 }, /* 250 = minherit */ 29233dd5064SRobert Watson { AS(rfork_args), (sy_call_t *)rfork, AUE_RFORK, NULL, 0, 0, 0 }, /* 251 = rfork */ 29333dd5064SRobert Watson { AS(openbsd_poll_args), (sy_call_t *)openbsd_poll, AUE_POLL, NULL, 0, 0, 0 }, /* 252 = openbsd_poll */ 29433dd5064SRobert Watson { 0, (sy_call_t *)issetugid, AUE_ISSETUGID, NULL, 0, 0, 0 }, /* 253 = issetugid */ 29533dd5064SRobert Watson { AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN, NULL, 0, 0, 0 }, /* 254 = lchown */ 29633dd5064SRobert Watson { AS(freebsd32_aio_read_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 255 = freebsd32_aio_read */ 29733dd5064SRobert Watson { AS(freebsd32_aio_write_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 256 = freebsd32_aio_write */ 29833dd5064SRobert Watson { AS(freebsd32_lio_listio_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 257 = freebsd32_lio_listio */ 29933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 258 = nosys */ 30033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 259 = nosys */ 30133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 260 = nosys */ 30233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 261 = nosys */ 30333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 262 = nosys */ 30433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 263 = nosys */ 30533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 264 = nosys */ 30633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 265 = nosys */ 30733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 266 = nosys */ 30833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 267 = nosys */ 30933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 268 = nosys */ 31033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 269 = nosys */ 31133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 270 = nosys */ 31233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 271 = nosys */ 31333dd5064SRobert Watson { AS(getdents_args), (sy_call_t *)getdents, AUE_O_GETDENTS, NULL, 0, 0, 0 }, /* 272 = getdents */ 31433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 273 = nosys */ 31533dd5064SRobert Watson { AS(lchmod_args), (sy_call_t *)lchmod, AUE_LCHMOD, NULL, 0, 0, 0 }, /* 274 = lchmod */ 31633dd5064SRobert Watson { AS(lchown_args), (sy_call_t *)lchown, AUE_LCHOWN, NULL, 0, 0, 0 }, /* 275 = netbsd_lchown */ 31733dd5064SRobert Watson { AS(freebsd32_lutimes_args), (sy_call_t *)freebsd32_lutimes, AUE_LUTIMES, NULL, 0, 0, 0 }, /* 276 = freebsd32_lutimes */ 31833dd5064SRobert Watson { AS(msync_args), (sy_call_t *)msync, AUE_MSYNC, NULL, 0, 0, 0 }, /* 277 = netbsd_msync */ 31933dd5064SRobert Watson { AS(nstat_args), (sy_call_t *)nstat, AUE_STAT, NULL, 0, 0, 0 }, /* 278 = nstat */ 32033dd5064SRobert Watson { AS(nfstat_args), (sy_call_t *)nfstat, AUE_FSTAT, NULL, 0, 0, 0 }, /* 279 = nfstat */ 32133dd5064SRobert Watson { AS(nlstat_args), (sy_call_t *)nlstat, AUE_LSTAT, NULL, 0, 0, 0 }, /* 280 = nlstat */ 32233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 281 = nosys */ 32333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 282 = nosys */ 32433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 283 = nosys */ 32533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 284 = nosys */ 32633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 285 = nosys */ 32733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 286 = nosys */ 32833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 287 = nosys */ 32933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 288 = nosys */ 33033dd5064SRobert Watson { AS(freebsd32_preadv_args), (sy_call_t *)freebsd32_preadv, AUE_PREADV, NULL, 0, 0, 0 }, /* 289 = freebsd32_preadv */ 33133dd5064SRobert Watson { AS(freebsd32_pwritev_args), (sy_call_t *)freebsd32_pwritev, AUE_PWRITEV, NULL, 0, 0, 0 }, /* 290 = freebsd32_pwritev */ 33233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 291 = nosys */ 33333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 292 = nosys */ 33433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 293 = nosys */ 33533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 294 = nosys */ 33633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 295 = nosys */ 33733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 296 = nosys */ 33833dd5064SRobert Watson { compat4(AS(freebsd4_freebsd32_fhstatfs_args),freebsd32_fhstatfs), AUE_FHSTATFS, NULL, 0, 0, 0 }, /* 297 = old freebsd32_fhstatfs */ 33933dd5064SRobert Watson { AS(fhopen_args), (sy_call_t *)fhopen, AUE_FHOPEN, NULL, 0, 0, 0 }, /* 298 = fhopen */ 34033dd5064SRobert Watson { AS(fhstat_args), (sy_call_t *)fhstat, AUE_FHSTAT, NULL, 0, 0, 0 }, /* 299 = fhstat */ 34133dd5064SRobert Watson { AS(modnext_args), (sy_call_t *)modnext, AUE_NULL, NULL, 0, 0, 0 }, /* 300 = modnext */ 34233dd5064SRobert Watson { AS(freebsd32_modstat_args), (sy_call_t *)freebsd32_modstat, AUE_NULL, NULL, 0, 0, 0 }, /* 301 = freebsd32_modstat */ 34333dd5064SRobert Watson { AS(modfnext_args), (sy_call_t *)modfnext, AUE_NULL, NULL, 0, 0, 0 }, /* 302 = modfnext */ 34433dd5064SRobert Watson { AS(modfind_args), (sy_call_t *)modfind, AUE_NULL, NULL, 0, 0, 0 }, /* 303 = modfind */ 34533dd5064SRobert Watson { AS(kldload_args), (sy_call_t *)kldload, AUE_MODLOAD, NULL, 0, 0, 0 }, /* 304 = kldload */ 34633dd5064SRobert Watson { AS(kldunload_args), (sy_call_t *)kldunload, AUE_MODUNLOAD, NULL, 0, 0, 0 }, /* 305 = kldunload */ 34733dd5064SRobert Watson { AS(kldfind_args), (sy_call_t *)kldfind, AUE_NULL, NULL, 0, 0, 0 }, /* 306 = kldfind */ 34833dd5064SRobert Watson { AS(kldnext_args), (sy_call_t *)kldnext, AUE_NULL, NULL, 0, 0, 0 }, /* 307 = kldnext */ 34933dd5064SRobert Watson { AS(kldstat_args), (sy_call_t *)kldstat, AUE_NULL, NULL, 0, 0, 0 }, /* 308 = kldstat */ 35033dd5064SRobert Watson { AS(kldfirstmod_args), (sy_call_t *)kldfirstmod, AUE_NULL, NULL, 0, 0, 0 }, /* 309 = kldfirstmod */ 35133dd5064SRobert Watson { AS(getsid_args), (sy_call_t *)getsid, AUE_GETSID, NULL, 0, 0, 0 }, /* 310 = getsid */ 35233dd5064SRobert Watson { AS(setresuid_args), (sy_call_t *)setresuid, AUE_SETRESUID, NULL, 0, 0, 0 }, /* 311 = setresuid */ 35333dd5064SRobert Watson { AS(setresgid_args), (sy_call_t *)setresgid, AUE_SETRESGID, NULL, 0, 0, 0 }, /* 312 = setresgid */ 35433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 313 = obsolete signanosleep */ 35533dd5064SRobert Watson { AS(freebsd32_aio_return_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 314 = freebsd32_aio_return */ 35633dd5064SRobert Watson { AS(freebsd32_aio_suspend_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 315 = freebsd32_aio_suspend */ 35733dd5064SRobert Watson { AS(freebsd32_aio_cancel_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 316 = freebsd32_aio_cancel */ 35833dd5064SRobert Watson { AS(freebsd32_aio_error_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 317 = freebsd32_aio_error */ 35933dd5064SRobert Watson { AS(freebsd32_oaio_read_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 318 = freebsd32_oaio_read */ 36033dd5064SRobert Watson { AS(freebsd32_oaio_write_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 319 = freebsd32_oaio_write */ 36133dd5064SRobert Watson { AS(freebsd32_olio_listio_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 320 = freebsd32_olio_listio */ 36233dd5064SRobert Watson { 0, (sy_call_t *)yield, AUE_NULL, NULL, 0, 0, 0 }, /* 321 = yield */ 36333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 322 = obsolete thr_sleep */ 36433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 323 = obsolete thr_wakeup */ 36533dd5064SRobert Watson { AS(mlockall_args), (sy_call_t *)mlockall, AUE_MLOCKALL, NULL, 0, 0, 0 }, /* 324 = mlockall */ 36633dd5064SRobert Watson { 0, (sy_call_t *)munlockall, AUE_MUNLOCKALL, NULL, 0, 0, 0 }, /* 325 = munlockall */ 36733dd5064SRobert Watson { AS(__getcwd_args), (sy_call_t *)__getcwd, AUE_GETCWD, NULL, 0, 0, 0 }, /* 326 = __getcwd */ 36833dd5064SRobert Watson { AS(sched_setparam_args), (sy_call_t *)sched_setparam, AUE_NULL, NULL, 0, 0, 0 }, /* 327 = sched_setparam */ 36933dd5064SRobert Watson { AS(sched_getparam_args), (sy_call_t *)sched_getparam, AUE_NULL, NULL, 0, 0, 0 }, /* 328 = sched_getparam */ 37033dd5064SRobert Watson { AS(sched_setscheduler_args), (sy_call_t *)sched_setscheduler, AUE_NULL, NULL, 0, 0, 0 }, /* 329 = sched_setscheduler */ 37133dd5064SRobert Watson { AS(sched_getscheduler_args), (sy_call_t *)sched_getscheduler, AUE_NULL, NULL, 0, 0, 0 }, /* 330 = sched_getscheduler */ 37233dd5064SRobert Watson { 0, (sy_call_t *)sched_yield, AUE_NULL, NULL, 0, 0, 0 }, /* 331 = sched_yield */ 37333dd5064SRobert Watson { AS(sched_get_priority_max_args), (sy_call_t *)sched_get_priority_max, AUE_NULL, NULL, 0, 0, 0 }, /* 332 = sched_get_priority_max */ 37433dd5064SRobert Watson { AS(sched_get_priority_min_args), (sy_call_t *)sched_get_priority_min, AUE_NULL, NULL, 0, 0, 0 }, /* 333 = sched_get_priority_min */ 37533dd5064SRobert Watson { AS(sched_rr_get_interval_args), (sy_call_t *)sched_rr_get_interval, AUE_NULL, NULL, 0, 0, 0 }, /* 334 = sched_rr_get_interval */ 37633dd5064SRobert Watson { AS(utrace_args), (sy_call_t *)utrace, AUE_NULL, NULL, 0, 0, 0 }, /* 335 = utrace */ 37733dd5064SRobert Watson { compat4(AS(freebsd4_freebsd32_sendfile_args),freebsd32_sendfile), AUE_SENDFILE, NULL, 0, 0, 0 }, /* 336 = old freebsd32_sendfile */ 37833dd5064SRobert Watson { AS(kldsym_args), (sy_call_t *)kldsym, AUE_NULL, NULL, 0, 0, 0 }, /* 337 = kldsym */ 37933dd5064SRobert Watson { AS(freebsd32_jail_args), (sy_call_t *)freebsd32_jail, AUE_JAIL, NULL, 0, 0, 0 }, /* 338 = freebsd32_jail */ 38033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 339 = pioctl */ 38133dd5064SRobert Watson { AS(sigprocmask_args), (sy_call_t *)sigprocmask, AUE_SIGPROCMASK, NULL, 0, 0, 0 }, /* 340 = sigprocmask */ 38233dd5064SRobert Watson { AS(sigsuspend_args), (sy_call_t *)sigsuspend, AUE_SIGSUSPEND, NULL, 0, 0, 0 }, /* 341 = sigsuspend */ 38333dd5064SRobert Watson { compat4(AS(freebsd4_freebsd32_sigaction_args),freebsd32_sigaction), AUE_SIGACTION, NULL, 0, 0, 0 }, /* 342 = old freebsd32_sigaction */ 38433dd5064SRobert Watson { AS(sigpending_args), (sy_call_t *)sigpending, AUE_SIGPENDING, NULL, 0, 0, 0 }, /* 343 = sigpending */ 38533dd5064SRobert Watson { compat4(AS(freebsd4_freebsd32_sigreturn_args),freebsd32_sigreturn), AUE_SIGRETURN, NULL, 0, 0, 0 }, /* 344 = old freebsd32_sigreturn */ 38633dd5064SRobert Watson { AS(freebsd32_sigtimedwait_args), (sy_call_t *)freebsd32_sigtimedwait, AUE_SIGWAIT, NULL, 0, 0, 0 }, /* 345 = freebsd32_sigtimedwait */ 38733dd5064SRobert Watson { AS(freebsd32_sigwaitinfo_args), (sy_call_t *)freebsd32_sigwaitinfo, AUE_NULL, NULL, 0, 0, 0 }, /* 346 = freebsd32_sigwaitinfo */ 38833dd5064SRobert Watson { AS(__acl_get_file_args), (sy_call_t *)__acl_get_file, AUE_NULL, NULL, 0, 0, 0 }, /* 347 = __acl_get_file */ 38933dd5064SRobert Watson { AS(__acl_set_file_args), (sy_call_t *)__acl_set_file, AUE_NULL, NULL, 0, 0, 0 }, /* 348 = __acl_set_file */ 39033dd5064SRobert Watson { AS(__acl_get_fd_args), (sy_call_t *)__acl_get_fd, AUE_NULL, NULL, 0, 0, 0 }, /* 349 = __acl_get_fd */ 39133dd5064SRobert Watson { AS(__acl_set_fd_args), (sy_call_t *)__acl_set_fd, AUE_NULL, NULL, 0, 0, 0 }, /* 350 = __acl_set_fd */ 39233dd5064SRobert Watson { AS(__acl_delete_file_args), (sy_call_t *)__acl_delete_file, AUE_NULL, NULL, 0, 0, 0 }, /* 351 = __acl_delete_file */ 39333dd5064SRobert Watson { AS(__acl_delete_fd_args), (sy_call_t *)__acl_delete_fd, AUE_NULL, NULL, 0, 0, 0 }, /* 352 = __acl_delete_fd */ 39433dd5064SRobert Watson { AS(__acl_aclcheck_file_args), (sy_call_t *)__acl_aclcheck_file, AUE_NULL, NULL, 0, 0, 0 }, /* 353 = __acl_aclcheck_file */ 39533dd5064SRobert Watson { AS(__acl_aclcheck_fd_args), (sy_call_t *)__acl_aclcheck_fd, AUE_NULL, NULL, 0, 0, 0 }, /* 354 = __acl_aclcheck_fd */ 39633dd5064SRobert Watson { AS(extattrctl_args), (sy_call_t *)extattrctl, AUE_EXTATTRCTL, NULL, 0, 0, 0 }, /* 355 = extattrctl */ 39733dd5064SRobert Watson { AS(extattr_set_file_args), (sy_call_t *)extattr_set_file, AUE_EXTATTR_SET_FILE, NULL, 0, 0, 0 }, /* 356 = extattr_set_file */ 39833dd5064SRobert Watson { AS(extattr_get_file_args), (sy_call_t *)extattr_get_file, AUE_EXTATTR_GET_FILE, NULL, 0, 0, 0 }, /* 357 = extattr_get_file */ 39933dd5064SRobert Watson { AS(extattr_delete_file_args), (sy_call_t *)extattr_delete_file, AUE_EXTATTR_DELETE_FILE, NULL, 0, 0, 0 }, /* 358 = extattr_delete_file */ 40033dd5064SRobert Watson { AS(freebsd32_aio_waitcomplete_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 359 = freebsd32_aio_waitcomplete */ 40133dd5064SRobert Watson { AS(getresuid_args), (sy_call_t *)getresuid, AUE_GETRESUID, NULL, 0, 0, 0 }, /* 360 = getresuid */ 40233dd5064SRobert Watson { AS(getresgid_args), (sy_call_t *)getresgid, AUE_GETRESGID, NULL, 0, 0, 0 }, /* 361 = getresgid */ 40333dd5064SRobert Watson { 0, (sy_call_t *)kqueue, AUE_KQUEUE, NULL, 0, 0, 0 }, /* 362 = kqueue */ 40433dd5064SRobert Watson { AS(freebsd32_kevent_args), (sy_call_t *)freebsd32_kevent, AUE_NULL, NULL, 0, 0, 0 }, /* 363 = freebsd32_kevent */ 40533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 364 = __cap_get_proc */ 40633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 365 = __cap_set_proc */ 40733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 366 = __cap_get_fd */ 40833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 367 = __cap_get_file */ 40933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 368 = __cap_set_fd */ 41033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 369 = __cap_set_file */ 41133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 370 = nosys */ 41233dd5064SRobert Watson { AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd, AUE_EXTATTR_SET_FD, NULL, 0, 0, 0 }, /* 371 = extattr_set_fd */ 41333dd5064SRobert Watson { AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd, AUE_EXTATTR_GET_FD, NULL, 0, 0, 0 }, /* 372 = extattr_get_fd */ 41433dd5064SRobert Watson { AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd, AUE_EXTATTR_DELETE_FD, NULL, 0, 0, 0 }, /* 373 = extattr_delete_fd */ 41533dd5064SRobert Watson { AS(__setugid_args), (sy_call_t *)__setugid, AUE_NULL, NULL, 0, 0, 0 }, /* 374 = __setugid */ 41633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 375 = nfsclnt */ 41733dd5064SRobert Watson { AS(eaccess_args), (sy_call_t *)eaccess, AUE_EACCESS, NULL, 0, 0, 0 }, /* 376 = eaccess */ 41833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 377 = afs_syscall */ 41933dd5064SRobert Watson { AS(freebsd32_nmount_args), (sy_call_t *)freebsd32_nmount, AUE_NMOUNT, NULL, 0, 0, 0 }, /* 378 = freebsd32_nmount */ 42033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 379 = kse_exit */ 42133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 380 = kse_wakeup */ 42233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 381 = kse_create */ 42333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 382 = kse_thr_interrupt */ 42433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 383 = kse_release */ 42533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 384 = __mac_get_proc */ 42633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 385 = __mac_set_proc */ 42733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 386 = __mac_get_fd */ 42833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 387 = __mac_get_file */ 42933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 388 = __mac_set_fd */ 43033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 389 = __mac_set_file */ 43133dd5064SRobert Watson { AS(kenv_args), (sy_call_t *)kenv, AUE_NULL, NULL, 0, 0, 0 }, /* 390 = kenv */ 43233dd5064SRobert Watson { AS(lchflags_args), (sy_call_t *)lchflags, AUE_LCHFLAGS, NULL, 0, 0, 0 }, /* 391 = lchflags */ 43333dd5064SRobert Watson { AS(uuidgen_args), (sy_call_t *)uuidgen, AUE_NULL, NULL, 0, 0, 0 }, /* 392 = uuidgen */ 43433dd5064SRobert Watson { AS(freebsd32_sendfile_args), (sy_call_t *)freebsd32_sendfile, AUE_SENDFILE, NULL, 0, 0, 0 }, /* 393 = freebsd32_sendfile */ 43533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 394 = mac_syscall */ 43633dd5064SRobert Watson { AS(getfsstat_args), (sy_call_t *)getfsstat, AUE_GETFSSTAT, NULL, 0, 0, 0 }, /* 395 = getfsstat */ 43733dd5064SRobert Watson { AS(statfs_args), (sy_call_t *)statfs, AUE_STATFS, NULL, 0, 0, 0 }, /* 396 = statfs */ 43833dd5064SRobert Watson { AS(fstatfs_args), (sy_call_t *)fstatfs, AUE_FSTATFS, NULL, 0, 0, 0 }, /* 397 = fstatfs */ 43933dd5064SRobert Watson { AS(fhstatfs_args), (sy_call_t *)fhstatfs, AUE_FHSTATFS, NULL, 0, 0, 0 }, /* 398 = fhstatfs */ 44033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 399 = nosys */ 44133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 400 = ksem_close */ 44233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 401 = ksem_post */ 44333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 402 = ksem_wait */ 44433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 403 = ksem_trywait */ 44533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 404 = ksem_init */ 44633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 405 = ksem_open */ 44733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 406 = ksem_unlink */ 44833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 407 = ksem_getvalue */ 44933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 408 = ksem_destroy */ 45033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 409 = __mac_get_pid */ 45133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 410 = __mac_get_link */ 45233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 411 = __mac_set_link */ 45333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 412 = extattr_set_link */ 45433dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 413 = extattr_get_link */ 45533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 414 = extattr_delete_link */ 45633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 415 = __mac_execve */ 45733dd5064SRobert Watson { AS(freebsd32_sigaction_args), (sy_call_t *)freebsd32_sigaction, AUE_SIGACTION, NULL, 0, 0, 0 }, /* 416 = freebsd32_sigaction */ 45833dd5064SRobert Watson { AS(freebsd32_sigreturn_args), (sy_call_t *)freebsd32_sigreturn, AUE_SIGRETURN, NULL, 0, 0, 0 }, /* 417 = freebsd32_sigreturn */ 45933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 418 = __xstat */ 46033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 419 = __xfstat */ 46133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 420 = __xlstat */ 46233dd5064SRobert Watson { AS(freebsd32_getcontext_args), (sy_call_t *)freebsd32_getcontext, AUE_NULL, NULL, 0, 0, 0 }, /* 421 = freebsd32_getcontext */ 46333dd5064SRobert Watson { AS(freebsd32_setcontext_args), (sy_call_t *)freebsd32_setcontext, AUE_NULL, NULL, 0, 0, 0 }, /* 422 = freebsd32_setcontext */ 46433dd5064SRobert Watson { AS(freebsd32_swapcontext_args), (sy_call_t *)freebsd32_swapcontext, AUE_NULL, NULL, 0, 0, 0 }, /* 423 = freebsd32_swapcontext */ 46533dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 424 = swapoff */ 46633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 425 = __acl_get_link */ 46733dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 426 = __acl_set_link */ 46833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 427 = __acl_delete_link */ 46933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 428 = __acl_aclcheck_link */ 47033dd5064SRobert Watson { AS(sigwait_args), (sy_call_t *)sigwait, AUE_SIGWAIT, NULL, 0, 0, 0 }, /* 429 = sigwait */ 47133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 430 = thr_create; */ 47233dd5064SRobert Watson { AS(thr_exit_args), (sy_call_t *)thr_exit, AUE_NULL, NULL, 0, 0, 0 }, /* 431 = thr_exit */ 47333dd5064SRobert Watson { AS(thr_self_args), (sy_call_t *)thr_self, AUE_NULL, NULL, 0, 0, 0 }, /* 432 = thr_self */ 47433dd5064SRobert Watson { AS(thr_kill_args), (sy_call_t *)thr_kill, AUE_NULL, NULL, 0, 0, 0 }, /* 433 = thr_kill */ 47533dd5064SRobert Watson { AS(freebsd32_umtx_lock_args), (sy_call_t *)freebsd32_umtx_lock, AUE_NULL, NULL, 0, 0, 0 }, /* 434 = freebsd32_umtx_lock */ 47633dd5064SRobert Watson { AS(freebsd32_umtx_unlock_args), (sy_call_t *)freebsd32_umtx_unlock, AUE_NULL, NULL, 0, 0, 0 }, /* 435 = freebsd32_umtx_unlock */ 47733dd5064SRobert Watson { AS(jail_attach_args), (sy_call_t *)jail_attach, AUE_NULL, NULL, 0, 0, 0 }, /* 436 = jail_attach */ 47833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 437 = extattr_list_fd */ 47933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 438 = extattr_list_file */ 48033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 439 = extattr_list_link */ 48133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 440 = kse_switchin */ 48233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 441 = ksem_timedwait */ 48333dd5064SRobert Watson { AS(freebsd32_thr_suspend_args), (sy_call_t *)freebsd32_thr_suspend, AUE_NULL, NULL, 0, 0, 0 }, /* 442 = freebsd32_thr_suspend */ 48433dd5064SRobert Watson { AS(thr_wake_args), (sy_call_t *)thr_wake, AUE_NULL, NULL, 0, 0, 0 }, /* 443 = thr_wake */ 48533dd5064SRobert Watson { AS(kldunloadf_args), (sy_call_t *)kldunloadf, AUE_MODUNLOAD, NULL, 0, 0, 0 }, /* 444 = kldunloadf */ 48633dd5064SRobert Watson { AS(audit_args), (sy_call_t *)audit, AUE_AUDIT, NULL, 0, 0, 0 }, /* 445 = audit */ 48733dd5064SRobert Watson { AS(auditon_args), (sy_call_t *)auditon, AUE_AUDITON, NULL, 0, 0, 0 }, /* 446 = auditon */ 48833dd5064SRobert Watson { AS(getauid_args), (sy_call_t *)getauid, AUE_GETAUID, NULL, 0, 0, 0 }, /* 447 = getauid */ 48933dd5064SRobert Watson { AS(setauid_args), (sy_call_t *)setauid, AUE_SETAUID, NULL, 0, 0, 0 }, /* 448 = setauid */ 49033dd5064SRobert Watson { AS(getaudit_args), (sy_call_t *)getaudit, AUE_GETAUDIT, NULL, 0, 0, 0 }, /* 449 = getaudit */ 49133dd5064SRobert Watson { AS(setaudit_args), (sy_call_t *)setaudit, AUE_SETAUDIT, NULL, 0, 0, 0 }, /* 450 = setaudit */ 49233dd5064SRobert Watson { AS(getaudit_addr_args), (sy_call_t *)getaudit_addr, AUE_GETAUDIT_ADDR, NULL, 0, 0, 0 }, /* 451 = getaudit_addr */ 49333dd5064SRobert Watson { AS(setaudit_addr_args), (sy_call_t *)setaudit_addr, AUE_SETAUDIT_ADDR, NULL, 0, 0, 0 }, /* 452 = setaudit_addr */ 49433dd5064SRobert Watson { AS(auditctl_args), (sy_call_t *)auditctl, AUE_AUDITCTL, NULL, 0, 0, 0 }, /* 453 = auditctl */ 49533dd5064SRobert Watson { AS(freebsd32_umtx_op_args), (sy_call_t *)freebsd32_umtx_op, AUE_NULL, NULL, 0, 0, 0 }, /* 454 = freebsd32_umtx_op */ 49633dd5064SRobert Watson { AS(freebsd32_thr_new_args), (sy_call_t *)freebsd32_thr_new, AUE_NULL, NULL, 0, 0, 0 }, /* 455 = freebsd32_thr_new */ 49733dd5064SRobert Watson { AS(sigqueue_args), (sy_call_t *)sigqueue, AUE_NULL, NULL, 0, 0, 0 }, /* 456 = sigqueue */ 49833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 457 = kmq_open */ 49933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 458 = kmq_setattr */ 50033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 459 = kmq_timedreceive */ 50133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 460 = kmq_timedsend */ 50233dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 461 = kmq_notify */ 50333dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 462 = kmq_unlink */ 50433dd5064SRobert Watson { AS(abort2_args), (sy_call_t *)abort2, AUE_NULL, NULL, 0, 0, 0 }, /* 463 = abort2 */ 50533dd5064SRobert Watson { AS(thr_set_name_args), (sy_call_t *)thr_set_name, AUE_NULL, NULL, 0, 0, 0 }, /* 464 = thr_set_name */ 50633dd5064SRobert Watson { AS(freebsd32_aio_fsync_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 465 = freebsd32_aio_fsync */ 50733dd5064SRobert Watson { AS(rtprio_thread_args), (sy_call_t *)rtprio_thread, AUE_RTPRIO, NULL, 0, 0, 0 }, /* 466 = rtprio_thread */ 50833dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 467 = nosys */ 50933dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 468 = nosys */ 51033dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 469 = __getpath_fromfd */ 51133dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 470 = __getpath_fromaddr */ 51233dd5064SRobert Watson { AS(sctp_peeloff_args), (sy_call_t *)sctp_peeloff, AUE_NULL, NULL, 0, 0, 0 }, /* 471 = sctp_peeloff */ 51333dd5064SRobert Watson { AS(sctp_generic_sendmsg_args), (sy_call_t *)sctp_generic_sendmsg, AUE_NULL, NULL, 0, 0, 0 }, /* 472 = sctp_generic_sendmsg */ 51433dd5064SRobert Watson { AS(sctp_generic_sendmsg_iov_args), (sy_call_t *)sctp_generic_sendmsg_iov, AUE_NULL, NULL, 0, 0, 0 }, /* 473 = sctp_generic_sendmsg_iov */ 51533dd5064SRobert Watson { AS(sctp_generic_recvmsg_args), (sy_call_t *)sctp_generic_recvmsg, AUE_NULL, NULL, 0, 0, 0 }, /* 474 = sctp_generic_recvmsg */ 51633dd5064SRobert Watson { AS(freebsd32_pread_args), (sy_call_t *)freebsd32_pread, AUE_PREAD, NULL, 0, 0, 0 }, /* 475 = freebsd32_pread */ 51733dd5064SRobert Watson { AS(freebsd32_pwrite_args), (sy_call_t *)freebsd32_pwrite, AUE_PWRITE, NULL, 0, 0, 0 }, /* 476 = freebsd32_pwrite */ 51833dd5064SRobert Watson { AS(freebsd32_mmap_args), (sy_call_t *)freebsd32_mmap, AUE_MMAP, NULL, 0, 0, 0 }, /* 477 = freebsd32_mmap */ 51933dd5064SRobert Watson { AS(freebsd32_lseek_args), (sy_call_t *)freebsd32_lseek, AUE_LSEEK, NULL, 0, 0, 0 }, /* 478 = freebsd32_lseek */ 52033dd5064SRobert Watson { AS(freebsd32_truncate_args), (sy_call_t *)freebsd32_truncate, AUE_TRUNCATE, NULL, 0, 0, 0 }, /* 479 = freebsd32_truncate */ 52133dd5064SRobert Watson { AS(freebsd32_ftruncate_args), (sy_call_t *)freebsd32_ftruncate, AUE_FTRUNCATE, NULL, 0, 0, 0 }, /* 480 = freebsd32_ftruncate */ 52233dd5064SRobert Watson { AS(thr_kill2_args), (sy_call_t *)thr_kill2, AUE_KILL, NULL, 0, 0, 0 }, /* 481 = thr_kill2 */ 52333dd5064SRobert Watson { AS(shm_open_args), (sy_call_t *)shm_open, AUE_SHMOPEN, NULL, 0, 0, 0 }, /* 482 = shm_open */ 52433dd5064SRobert Watson { AS(shm_unlink_args), (sy_call_t *)shm_unlink, AUE_SHMUNLINK, NULL, 0, 0, 0 }, /* 483 = shm_unlink */ 52533dd5064SRobert Watson { AS(cpuset_args), (sy_call_t *)cpuset, AUE_NULL, NULL, 0, 0, 0 }, /* 484 = cpuset */ 52633dd5064SRobert Watson { AS(freebsd32_cpuset_setid_args), (sy_call_t *)freebsd32_cpuset_setid, AUE_NULL, NULL, 0, 0, 0 }, /* 485 = freebsd32_cpuset_setid */ 52733dd5064SRobert Watson { AS(freebsd32_cpuset_getid_args), (sy_call_t *)freebsd32_cpuset_getid, AUE_NULL, NULL, 0, 0, 0 }, /* 486 = freebsd32_cpuset_getid */ 52833dd5064SRobert Watson { AS(freebsd32_cpuset_getaffinity_args), (sy_call_t *)freebsd32_cpuset_getaffinity, AUE_NULL, NULL, 0, 0, 0 }, /* 487 = freebsd32_cpuset_getaffinity */ 52933dd5064SRobert Watson { AS(freebsd32_cpuset_setaffinity_args), (sy_call_t *)freebsd32_cpuset_setaffinity, AUE_NULL, NULL, 0, 0, 0 }, /* 488 = freebsd32_cpuset_setaffinity */ 53033dd5064SRobert Watson { AS(faccessat_args), (sy_call_t *)faccessat, AUE_FACCESSAT, NULL, 0, 0, 0 }, /* 489 = faccessat */ 53133dd5064SRobert Watson { AS(fchmodat_args), (sy_call_t *)fchmodat, AUE_FCHMODAT, NULL, 0, 0, 0 }, /* 490 = fchmodat */ 53233dd5064SRobert Watson { AS(fchownat_args), (sy_call_t *)fchownat, AUE_FCHOWNAT, NULL, 0, 0, 0 }, /* 491 = fchownat */ 53333dd5064SRobert Watson { AS(freebsd32_fexecve_args), (sy_call_t *)freebsd32_fexecve, AUE_FEXECVE, NULL, 0, 0, 0 }, /* 492 = freebsd32_fexecve */ 53433dd5064SRobert Watson { AS(freebsd32_fstatat_args), (sy_call_t *)freebsd32_fstatat, AUE_FSTATAT, NULL, 0, 0, 0 }, /* 493 = freebsd32_fstatat */ 53533dd5064SRobert Watson { AS(freebsd32_futimesat_args), (sy_call_t *)freebsd32_futimesat, AUE_FUTIMESAT, NULL, 0, 0, 0 }, /* 494 = freebsd32_futimesat */ 53633dd5064SRobert Watson { AS(linkat_args), (sy_call_t *)linkat, AUE_LINKAT, NULL, 0, 0, 0 }, /* 495 = linkat */ 53733dd5064SRobert Watson { AS(mkdirat_args), (sy_call_t *)mkdirat, AUE_MKDIRAT, NULL, 0, 0, 0 }, /* 496 = mkdirat */ 53833dd5064SRobert Watson { AS(mkfifoat_args), (sy_call_t *)mkfifoat, AUE_MKFIFOAT, NULL, 0, 0, 0 }, /* 497 = mkfifoat */ 53933dd5064SRobert Watson { AS(mknodat_args), (sy_call_t *)mknodat, AUE_MKNODAT, NULL, 0, 0, 0 }, /* 498 = mknodat */ 54033dd5064SRobert Watson { AS(openat_args), (sy_call_t *)openat, AUE_OPENAT_RWTC, NULL, 0, 0, 0 }, /* 499 = openat */ 54133dd5064SRobert Watson { AS(readlinkat_args), (sy_call_t *)readlinkat, AUE_READLINKAT, NULL, 0, 0, 0 }, /* 500 = readlinkat */ 54233dd5064SRobert Watson { AS(renameat_args), (sy_call_t *)renameat, AUE_RENAMEAT, NULL, 0, 0, 0 }, /* 501 = renameat */ 54333dd5064SRobert Watson { AS(symlinkat_args), (sy_call_t *)symlinkat, AUE_SYMLINKAT, NULL, 0, 0, 0 }, /* 502 = symlinkat */ 54433dd5064SRobert Watson { AS(unlinkat_args), (sy_call_t *)unlinkat, AUE_UNLINKAT, NULL, 0, 0, 0 }, /* 503 = unlinkat */ 54533dd5064SRobert Watson { AS(posix_openpt_args), (sy_call_t *)posix_openpt, AUE_POSIX_OPENPT, NULL, 0, 0, 0 }, /* 504 = posix_openpt */ 54633dd5064SRobert Watson { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 505 = gssd_syscall */ 54733dd5064SRobert Watson { AS(freebsd32_jail_get_args), (sy_call_t *)freebsd32_jail_get, AUE_NULL, NULL, 0, 0, 0 }, /* 506 = freebsd32_jail_get */ 54833dd5064SRobert Watson { AS(freebsd32_jail_set_args), (sy_call_t *)freebsd32_jail_set, AUE_NULL, NULL, 0, 0, 0 }, /* 507 = freebsd32_jail_set */ 54933dd5064SRobert Watson { AS(jail_remove_args), (sy_call_t *)jail_remove, AUE_NULL, NULL, 0, 0, 0 }, /* 508 = jail_remove */ 5505eb29d9bSDoug Rabson }; 551