Annotation of src/sys/compat/netbsd32/netbsd32_sysent.c, Revision 1.21.2.4
1.21.2.3 nathanw 1: /* $NetBSD$ */
1.1 mrg 2:
3: /*
4: * System call switch table.
5: *
6: * DO NOT EDIT-- this file is automatically generated.
1.21.2.3 nathanw 7: * created from NetBSD: syscalls.master,v 1.18.2.2 2002/05/29 21:32:50 nathanw Exp
1.1 mrg 8: */
1.21.2.2 nathanw 9:
10: #include <sys/cdefs.h>
11: __KERNEL_RCSID(0, "$NetBSD$");
1.1 mrg 12:
1.21.2.1 nathanw 13: #if defined(_KERNEL_OPT)
1.1 mrg 14: #include "opt_ktrace.h"
15: #include "opt_nfsserver.h"
16: #include "opt_compat_netbsd.h"
1.4 eeh 17: #include "opt_ntp.h"
1.5 tron 18: #include "opt_sysv.h"
1.6 christos 19: #include "opt_compat_43.h"
1.1 mrg 20: #include "fs_lfs.h"
21: #include "fs_nfs.h"
1.17 jdolecek 22: #endif
1.1 mrg 23: #include <sys/param.h>
24: #include <sys/systm.h>
25: #include <sys/signal.h>
26: #include <sys/mount.h>
1.21.2.3 nathanw 27: #include <sys/sa.h>
1.1 mrg 28: #include <sys/syscallargs.h>
1.8 mrg 29: #include <compat/netbsd32/netbsd32.h>
30: #include <compat/netbsd32/netbsd32_syscallargs.h>
1.1 mrg 31:
32: #ifdef COMPAT_43
1.21.2.1 nathanw 33: #define compat_43(func) __CONCAT(compat_43_,func)
1.1 mrg 34: #else
1.21.2.1 nathanw 35: #define compat_43(func) sys_nosys
1.1 mrg 36: #endif
37:
38: #ifdef COMPAT_09
1.21.2.1 nathanw 39: #define compat_09(func) __CONCAT(compat_09_,func)
1.1 mrg 40: #else
1.21.2.1 nathanw 41: #define compat_09(func) sys_nosys
1.1 mrg 42: #endif
43:
44: #ifdef COMPAT_10
1.21.2.1 nathanw 45: #define compat_10(func) __CONCAT(compat_10_,func)
1.1 mrg 46: #else
1.21.2.1 nathanw 47: #define compat_10(func) sys_nosys
1.1 mrg 48: #endif
49:
50: #ifdef COMPAT_11
1.21.2.1 nathanw 51: #define compat_11(func) __CONCAT(compat_11_,func)
1.1 mrg 52: #else
1.21.2.1 nathanw 53: #define compat_11(func) sys_nosys
1.1 mrg 54: #endif
55:
56: #ifdef COMPAT_12
1.21.2.1 nathanw 57: #define compat_12(func) __CONCAT(compat_12_,func)
1.1 mrg 58: #else
1.21.2.1 nathanw 59: #define compat_12(func) sys_nosys
1.1 mrg 60: #endif
61:
62: #ifdef COMPAT_13
1.21.2.1 nathanw 63: #define compat_13(func) __CONCAT(compat_13_,func)
1.1 mrg 64: #else
1.21.2.1 nathanw 65: #define compat_13(func) sys_nosys
1.1 mrg 66: #endif
67:
1.11 eeh 68: #ifdef COMPAT_14
1.21.2.1 nathanw 69: #define compat_14(func) __CONCAT(compat_14_,func)
1.11 eeh 70: #else
1.21.2.1 nathanw 71: #define compat_14(func) sys_nosys
1.11 eeh 72: #endif
73:
1.1 mrg 74: #define s(type) sizeof(type)
75:
1.8 mrg 76: struct sysent netbsd32_sysent[] = {
1.19 thorpej 77: { 0, 0, 0,
1.1 mrg 78: sys_nosys }, /* 0 = syscall (indir) */
1.19 thorpej 79: { 1, s(struct netbsd32_exit_args), 0,
1.11 eeh 80: netbsd32_exit }, /* 1 = netbsd32_exit */
1.19 thorpej 81: { 0, 0, 0,
1.1 mrg 82: sys_fork }, /* 2 = fork */
1.19 thorpej 83: { 3, s(struct netbsd32_read_args), 0,
1.11 eeh 84: netbsd32_read }, /* 3 = netbsd32_read */
1.19 thorpej 85: { 3, s(struct netbsd32_write_args), 0,
1.11 eeh 86: netbsd32_write }, /* 4 = netbsd32_write */
1.19 thorpej 87: { 3, s(struct netbsd32_open_args), 0,
1.11 eeh 88: netbsd32_open }, /* 5 = netbsd32_open */
1.19 thorpej 89: { 1, s(struct netbsd32_close_args), 0,
1.11 eeh 90: netbsd32_close }, /* 6 = netbsd32_close */
1.19 thorpej 91: { 4, s(struct netbsd32_wait4_args), 0,
1.11 eeh 92: netbsd32_wait4 }, /* 7 = netbsd32_wait4 */
1.19 thorpej 93: { 2, s(struct compat_43_netbsd32_ocreat_args), 0,
1.11 eeh 94: compat_43(netbsd32_ocreat) }, /* 8 = compat_43 netbsd32_ocreat */
1.19 thorpej 95: { 2, s(struct netbsd32_link_args), 0,
1.11 eeh 96: netbsd32_link }, /* 9 = netbsd32_link */
1.19 thorpej 97: { 1, s(struct netbsd32_unlink_args), 0,
1.11 eeh 98: netbsd32_unlink }, /* 10 = netbsd32_unlink */
1.19 thorpej 99: { 0, 0, 0,
1.1 mrg 100: sys_nosys }, /* 11 = obsolete execv */
1.19 thorpej 101: { 1, s(struct netbsd32_chdir_args), 0,
1.11 eeh 102: netbsd32_chdir }, /* 12 = netbsd32_chdir */
1.19 thorpej 103: { 1, s(struct netbsd32_fchdir_args), 0,
1.11 eeh 104: netbsd32_fchdir }, /* 13 = netbsd32_fchdir */
1.19 thorpej 105: { 3, s(struct netbsd32_mknod_args), 0,
1.11 eeh 106: netbsd32_mknod }, /* 14 = netbsd32_mknod */
1.19 thorpej 107: { 2, s(struct netbsd32_chmod_args), 0,
1.11 eeh 108: netbsd32_chmod }, /* 15 = netbsd32_chmod */
1.19 thorpej 109: { 3, s(struct netbsd32_chown_args), 0,
1.11 eeh 110: netbsd32_chown }, /* 16 = netbsd32_chown */
1.19 thorpej 111: { 1, s(struct netbsd32_break_args), 0,
1.11 eeh 112: netbsd32_break }, /* 17 = netbsd32_break */
1.19 thorpej 113: { 3, s(struct netbsd32_getfsstat_args), 0,
1.11 eeh 114: netbsd32_getfsstat }, /* 18 = netbsd32_getfsstat */
1.19 thorpej 115: { 3, s(struct compat_43_netbsd32_olseek_args), 0,
1.11 eeh 116: compat_43(netbsd32_olseek) }, /* 19 = compat_43 netbsd32_olseek */
1.20 thorpej 117: { 0, 0, SYCALL_MPSAFE | 0,
1.1 mrg 118: sys_getpid }, /* 20 = getpid */
1.19 thorpej 119: { 4, s(struct netbsd32_mount_args), 0,
1.11 eeh 120: netbsd32_mount }, /* 21 = netbsd32_mount */
1.19 thorpej 121: { 2, s(struct netbsd32_unmount_args), 0,
1.11 eeh 122: netbsd32_unmount }, /* 22 = netbsd32_unmount */
1.19 thorpej 123: { 1, s(struct netbsd32_setuid_args), 0,
1.11 eeh 124: netbsd32_setuid }, /* 23 = netbsd32_setuid */
1.19 thorpej 125: { 0, 0, 0,
1.1 mrg 126: sys_getuid }, /* 24 = getuid */
1.19 thorpej 127: { 0, 0, 0,
1.1 mrg 128: sys_geteuid }, /* 25 = geteuid */
1.19 thorpej 129: { 4, s(struct netbsd32_ptrace_args), 0,
1.11 eeh 130: netbsd32_ptrace }, /* 26 = netbsd32_ptrace */
1.19 thorpej 131: { 3, s(struct netbsd32_recvmsg_args), 0,
1.11 eeh 132: netbsd32_recvmsg }, /* 27 = netbsd32_recvmsg */
1.19 thorpej 133: { 3, s(struct netbsd32_sendmsg_args), 0,
1.11 eeh 134: netbsd32_sendmsg }, /* 28 = netbsd32_sendmsg */
1.19 thorpej 135: { 6, s(struct netbsd32_recvfrom_args), 0,
1.11 eeh 136: netbsd32_recvfrom }, /* 29 = netbsd32_recvfrom */
1.19 thorpej 137: { 3, s(struct netbsd32_accept_args), 0,
1.11 eeh 138: netbsd32_accept }, /* 30 = netbsd32_accept */
1.19 thorpej 139: { 3, s(struct netbsd32_getpeername_args), 0,
1.11 eeh 140: netbsd32_getpeername }, /* 31 = netbsd32_getpeername */
1.19 thorpej 141: { 3, s(struct netbsd32_getsockname_args), 0,
1.11 eeh 142: netbsd32_getsockname }, /* 32 = netbsd32_getsockname */
1.19 thorpej 143: { 2, s(struct netbsd32_access_args), 0,
1.11 eeh 144: netbsd32_access }, /* 33 = netbsd32_access */
1.19 thorpej 145: { 2, s(struct netbsd32_chflags_args), 0,
1.11 eeh 146: netbsd32_chflags }, /* 34 = netbsd32_chflags */
1.19 thorpej 147: { 2, s(struct netbsd32_fchflags_args), 0,
1.11 eeh 148: netbsd32_fchflags }, /* 35 = netbsd32_fchflags */
1.19 thorpej 149: { 0, 0, 0,
1.1 mrg 150: sys_sync }, /* 36 = sync */
1.19 thorpej 151: { 2, s(struct netbsd32_kill_args), 0,
1.11 eeh 152: netbsd32_kill }, /* 37 = netbsd32_kill */
1.19 thorpej 153: { 2, s(struct compat_43_netbsd32_stat43_args), 0,
1.11 eeh 154: compat_43(netbsd32_stat43) }, /* 38 = compat_43 netbsd32_stat43 */
1.19 thorpej 155: { 0, 0, 0,
1.1 mrg 156: sys_getppid }, /* 39 = getppid */
1.19 thorpej 157: { 2, s(struct compat_43_netbsd32_lstat43_args), 0,
1.11 eeh 158: compat_43(netbsd32_lstat43) }, /* 40 = compat_43 netbsd32_lstat43 */
1.19 thorpej 159: { 1, s(struct netbsd32_dup_args), 0,
1.11 eeh 160: netbsd32_dup }, /* 41 = netbsd32_dup */
1.19 thorpej 161: { 0, 0, 0,
1.1 mrg 162: sys_pipe }, /* 42 = pipe */
1.19 thorpej 163: { 0, 0, 0,
1.1 mrg 164: sys_getegid }, /* 43 = getegid */
1.19 thorpej 165: { 4, s(struct netbsd32_profil_args), 0,
1.11 eeh 166: netbsd32_profil }, /* 44 = netbsd32_profil */
1.10 christos 167: #if defined(KTRACE) || !defined(_KERNEL)
1.19 thorpej 168: { 4, s(struct netbsd32_ktrace_args), 0,
1.11 eeh 169: netbsd32_ktrace }, /* 45 = netbsd32_ktrace */
1.1 mrg 170: #else
1.19 thorpej 171: { 0, 0, 0,
1.11 eeh 172: sys_nosys }, /* 45 = excluded netbsd32_ktrace */
1.1 mrg 173: #endif
1.19 thorpej 174: { 3, s(struct netbsd32_sigaction_args), 0,
1.11 eeh 175: netbsd32_sigaction }, /* 46 = netbsd32_sigaction */
1.19 thorpej 176: { 0, 0, 0,
1.1 mrg 177: sys_getgid }, /* 47 = getgid */
1.19 thorpej 178: { 2, s(struct compat_13_netbsd32_sigprocmask_args), 0,
1.11 eeh 179: compat_13(netbsd32_sigprocmask) }, /* 48 = compat_13 sigprocmask13 */
1.19 thorpej 180: { 2, s(struct netbsd32___getlogin_args), 0,
1.11 eeh 181: netbsd32___getlogin }, /* 49 = netbsd32___getlogin */
1.19 thorpej 182: { 1, s(struct netbsd32_setlogin_args), 0,
1.11 eeh 183: netbsd32_setlogin }, /* 50 = netbsd32_setlogin */
1.19 thorpej 184: { 1, s(struct netbsd32_acct_args), 0,
1.11 eeh 185: netbsd32_acct }, /* 51 = netbsd32_acct */
1.19 thorpej 186: { 0, 0, 0,
1.4 eeh 187: compat_13(sys_sigpending) }, /* 52 = compat_13 sigpending13 */
1.19 thorpej 188: { 2, s(struct compat_13_netbsd32_sigaltstack13_args), 0,
1.11 eeh 189: compat_13(netbsd32_sigaltstack13) },/* 53 = compat_13 netbsd32_sigaltstack13 */
1.19 thorpej 190: { 3, s(struct netbsd32_ioctl_args), 0,
1.11 eeh 191: netbsd32_ioctl }, /* 54 = netbsd32_ioctl */
1.19 thorpej 192: { 1, s(struct compat_12_netbsd32_reboot_args), 0,
1.11 eeh 193: compat_12(netbsd32_reboot) }, /* 55 = compat_12 netbsd32_reboot */
1.19 thorpej 194: { 1, s(struct netbsd32_revoke_args), 0,
1.11 eeh 195: netbsd32_revoke }, /* 56 = netbsd32_revoke */
1.19 thorpej 196: { 2, s(struct netbsd32_symlink_args), 0,
1.11 eeh 197: netbsd32_symlink }, /* 57 = netbsd32_symlink */
1.19 thorpej 198: { 3, s(struct netbsd32_readlink_args), 0,
1.11 eeh 199: netbsd32_readlink }, /* 58 = netbsd32_readlink */
1.19 thorpej 200: { 3, s(struct netbsd32_execve_args), 0,
1.11 eeh 201: netbsd32_execve }, /* 59 = netbsd32_execve */
1.19 thorpej 202: { 1, s(struct netbsd32_umask_args), 0,
1.11 eeh 203: netbsd32_umask }, /* 60 = netbsd32_umask */
1.19 thorpej 204: { 1, s(struct netbsd32_chroot_args), 0,
1.11 eeh 205: netbsd32_chroot }, /* 61 = netbsd32_chroot */
1.19 thorpej 206: { 2, s(struct compat_43_netbsd32_fstat43_args), 0,
1.11 eeh 207: compat_43(netbsd32_fstat43) }, /* 62 = compat_43 netbsd32_fstat43 */
1.19 thorpej 208: { 4, s(struct compat_43_netbsd32_ogetkerninfo_args), 0,
1.11 eeh 209: compat_43(netbsd32_ogetkerninfo) }, /* 63 = compat_43 netbsd32_ogetkerninfo */
1.19 thorpej 210: { 0, 0, 0,
1.1 mrg 211: compat_43(sys_getpagesize) }, /* 64 = compat_43 ogetpagesize */
1.19 thorpej 212: { 2, s(struct compat_12_netbsd32_msync_args), 0,
1.11 eeh 213: compat_12(netbsd32_msync) }, /* 65 = compat_12 netbsd32_msync */
1.19 thorpej 214: { 0, 0, 0,
1.1 mrg 215: sys_vfork }, /* 66 = vfork */
1.19 thorpej 216: { 0, 0, 0,
1.1 mrg 217: sys_nosys }, /* 67 = obsolete vread */
1.19 thorpej 218: { 0, 0, 0,
1.1 mrg 219: sys_nosys }, /* 68 = obsolete vwrite */
1.19 thorpej 220: { 1, s(struct netbsd32_sbrk_args), 0,
1.11 eeh 221: netbsd32_sbrk }, /* 69 = netbsd32_sbrk */
1.19 thorpej 222: { 1, s(struct netbsd32_sstk_args), 0,
1.11 eeh 223: netbsd32_sstk }, /* 70 = netbsd32_sstk */
1.19 thorpej 224: { 6, s(struct compat_43_netbsd32_ommap_args), 0,
1.11 eeh 225: compat_43(netbsd32_ommap) }, /* 71 = compat_43 netbsd32_ommap */
1.19 thorpej 226: { 1, s(struct netbsd32_ovadvise_args), 0,
1.11 eeh 227: netbsd32_ovadvise }, /* 72 = vadvise */
1.19 thorpej 228: { 2, s(struct netbsd32_munmap_args), 0,
1.11 eeh 229: netbsd32_munmap }, /* 73 = netbsd32_munmap */
1.19 thorpej 230: { 3, s(struct netbsd32_mprotect_args), 0,
1.11 eeh 231: netbsd32_mprotect }, /* 74 = netbsd32_mprotect */
1.19 thorpej 232: { 3, s(struct netbsd32_madvise_args), 0,
1.11 eeh 233: netbsd32_madvise }, /* 75 = netbsd32_madvise */
1.19 thorpej 234: { 0, 0, 0,
1.1 mrg 235: sys_nosys }, /* 76 = obsolete vhangup */
1.19 thorpej 236: { 0, 0, 0,
1.1 mrg 237: sys_nosys }, /* 77 = obsolete vlimit */
1.19 thorpej 238: { 3, s(struct netbsd32_mincore_args), 0,
1.11 eeh 239: netbsd32_mincore }, /* 78 = netbsd32_mincore */
1.19 thorpej 240: { 2, s(struct netbsd32_getgroups_args), 0,
1.11 eeh 241: netbsd32_getgroups }, /* 79 = netbsd32_getgroups */
1.19 thorpej 242: { 2, s(struct netbsd32_setgroups_args), 0,
1.11 eeh 243: netbsd32_setgroups }, /* 80 = netbsd32_setgroups */
1.19 thorpej 244: { 0, 0, 0,
1.1 mrg 245: sys_getpgrp }, /* 81 = getpgrp */
1.19 thorpej 246: { 2, s(struct netbsd32_setpgid_args), 0,
1.11 eeh 247: netbsd32_setpgid }, /* 82 = netbsd32_setpgid */
1.19 thorpej 248: { 3, s(struct netbsd32_setitimer_args), 0,
1.11 eeh 249: netbsd32_setitimer }, /* 83 = netbsd32_setitimer */
1.19 thorpej 250: { 0, 0, 0,
1.1 mrg 251: compat_43(sys_wait) }, /* 84 = compat_43 owait */
1.19 thorpej 252: { 1, s(struct compat_12_netbsd32_oswapon_args), 0,
1.11 eeh 253: compat_12(netbsd32_oswapon) }, /* 85 = compat_12 netbsd32_oswapon */
1.19 thorpej 254: { 2, s(struct netbsd32_getitimer_args), 0,
1.11 eeh 255: netbsd32_getitimer }, /* 86 = netbsd32_getitimer */
1.19 thorpej 256: { 2, s(struct compat_43_netbsd32_ogethostname_args), 0,
1.11 eeh 257: compat_43(netbsd32_ogethostname) }, /* 87 = compat_43 netbsd32_ogethostname */
1.19 thorpej 258: { 2, s(struct compat_43_netbsd32_osethostname_args), 0,
1.11 eeh 259: compat_43(netbsd32_osethostname) }, /* 88 = compat_43 netbsd32_osethostname */
1.19 thorpej 260: { 0, 0, 0,
1.1 mrg 261: compat_43(sys_getdtablesize) }, /* 89 = compat_43 ogetdtablesize */
1.19 thorpej 262: { 2, s(struct netbsd32_dup2_args), 0,
1.11 eeh 263: netbsd32_dup2 }, /* 90 = netbsd32_dup2 */
1.19 thorpej 264: { 0, 0, 0,
1.1 mrg 265: sys_nosys }, /* 91 = unimplemented getdopt */
1.19 thorpej 266: { 3, s(struct netbsd32_fcntl_args), 0,
1.11 eeh 267: netbsd32_fcntl }, /* 92 = netbsd32_fcntl */
1.19 thorpej 268: { 5, s(struct netbsd32_select_args), 0,
1.11 eeh 269: netbsd32_select }, /* 93 = netbsd32_select */
1.19 thorpej 270: { 0, 0, 0,
1.1 mrg 271: sys_nosys }, /* 94 = unimplemented setdopt */
1.19 thorpej 272: { 1, s(struct netbsd32_fsync_args), 0,
1.11 eeh 273: netbsd32_fsync }, /* 95 = netbsd32_fsync */
1.19 thorpej 274: { 3, s(struct netbsd32_setpriority_args), 0,
1.11 eeh 275: netbsd32_setpriority }, /* 96 = netbsd32_setpriority */
1.19 thorpej 276: { 3, s(struct netbsd32_socket_args), 0,
1.11 eeh 277: netbsd32_socket }, /* 97 = netbsd32_socket */
1.19 thorpej 278: { 3, s(struct netbsd32_connect_args), 0,
1.11 eeh 279: netbsd32_connect }, /* 98 = netbsd32_connect */
1.19 thorpej 280: { 3, s(struct compat_43_netbsd32_oaccept_args), 0,
1.11 eeh 281: compat_43(netbsd32_oaccept) }, /* 99 = compat_43 netbsd32_oaccept */
1.19 thorpej 282: { 2, s(struct netbsd32_getpriority_args), 0,
1.11 eeh 283: netbsd32_getpriority }, /* 100 = netbsd32_getpriority */
1.19 thorpej 284: { 4, s(struct compat_43_netbsd32_osend_args), 0,
1.11 eeh 285: compat_43(netbsd32_osend) }, /* 101 = compat_43 netbsd32_osend */
1.19 thorpej 286: { 4, s(struct compat_43_netbsd32_orecv_args), 0,
1.11 eeh 287: compat_43(netbsd32_orecv) }, /* 102 = compat_43 netbsd32_orecv */
1.19 thorpej 288: { 1, s(struct compat_13_netbsd32_sigreturn_args), 0,
1.12 eeh 289: compat_13(netbsd32_sigreturn) }, /* 103 = compat_13 sigreturn13 */
1.19 thorpej 290: { 3, s(struct netbsd32_bind_args), 0,
1.11 eeh 291: netbsd32_bind }, /* 104 = netbsd32_bind */
1.19 thorpej 292: { 5, s(struct netbsd32_setsockopt_args), 0,
1.11 eeh 293: netbsd32_setsockopt }, /* 105 = netbsd32_setsockopt */
1.19 thorpej 294: { 2, s(struct netbsd32_listen_args), 0,
1.11 eeh 295: netbsd32_listen }, /* 106 = netbsd32_listen */
1.19 thorpej 296: { 0, 0, 0,
1.1 mrg 297: sys_nosys }, /* 107 = obsolete vtimes */
1.19 thorpej 298: { 3, s(struct compat_43_netbsd32_osigvec_args), 0,
1.11 eeh 299: compat_43(netbsd32_osigvec) }, /* 108 = compat_43 netbsd32_osigvec */
1.1 mrg 300: #ifdef COMPAT_43
1.19 thorpej 301: { 1, s(struct compat_43_netbsd32_sigblock_args), 0,
1.11 eeh 302: compat_43(netbsd32_sigblock) }, /* 109 = compat_43 netbsd32_sigblock */
1.19 thorpej 303: { 1, s(struct compat_43_netbsd32_sigsetmask_args), 0,
1.11 eeh 304: compat_43(netbsd32_sigsetmask) }, /* 110 = compat_43 netbsd32_sigsetmask */
1.1 mrg 305: #else
1.19 thorpej 306: { 0, 0, 0,
1.1 mrg 307: sys_nosys }, /* 109 = obsolete sigblock */
1.19 thorpej 308: { 0, 0, 0,
1.1 mrg 309: sys_nosys }, /* 110 = obsolete sigsetmask */
310: #endif
1.19 thorpej 311: { 1, s(struct compat_13_netbsd32_sigsuspend_args), 0,
1.11 eeh 312: compat_13(netbsd32_sigsuspend) }, /* 111 = compat_13 sigsuspend13 */
1.19 thorpej 313: { 2, s(struct compat_43_netbsd32_osigstack_args), 0,
1.11 eeh 314: compat_43(netbsd32_osigstack) }, /* 112 = compat_43 netbsd32_osigstack */
1.19 thorpej 315: { 3, s(struct compat_43_netbsd32_orecvmsg_args), 0,
1.11 eeh 316: compat_43(netbsd32_orecvmsg) }, /* 113 = compat_43 netbsd32_orecvmsg */
1.19 thorpej 317: { 3, s(struct compat_43_netbsd32_osendmsg_args), 0,
1.11 eeh 318: compat_43(netbsd32_osendmsg) }, /* 114 = compat_43 netbsd32_osendmsg */
1.19 thorpej 319: { 0, 0, 0,
1.1 mrg 320: sys_nosys }, /* 115 = obsolete vtrace */
1.19 thorpej 321: { 2, s(struct netbsd32_gettimeofday_args), 0,
1.11 eeh 322: netbsd32_gettimeofday }, /* 116 = netbsd32_gettimeofday */
1.19 thorpej 323: { 2, s(struct netbsd32_getrusage_args), 0,
1.11 eeh 324: netbsd32_getrusage }, /* 117 = netbsd32_getrusage */
1.19 thorpej 325: { 5, s(struct netbsd32_getsockopt_args), 0,
1.11 eeh 326: netbsd32_getsockopt }, /* 118 = netbsd32_getsockopt */
1.19 thorpej 327: { 0, 0, 0,
1.1 mrg 328: sys_nosys }, /* 119 = obsolete resuba */
1.19 thorpej 329: { 3, s(struct netbsd32_readv_args), 0,
1.11 eeh 330: netbsd32_readv }, /* 120 = netbsd32_readv */
1.19 thorpej 331: { 3, s(struct netbsd32_writev_args), 0,
1.11 eeh 332: netbsd32_writev }, /* 121 = netbsd32_writev */
1.19 thorpej 333: { 2, s(struct netbsd32_settimeofday_args), 0,
1.11 eeh 334: netbsd32_settimeofday }, /* 122 = netbsd32_settimeofday */
1.19 thorpej 335: { 3, s(struct netbsd32_fchown_args), 0,
1.11 eeh 336: netbsd32_fchown }, /* 123 = netbsd32_fchown */
1.19 thorpej 337: { 2, s(struct netbsd32_fchmod_args), 0,
1.11 eeh 338: netbsd32_fchmod }, /* 124 = netbsd32_fchmod */
1.19 thorpej 339: { 6, s(struct compat_43_netbsd32_orecvfrom_args), 0,
1.11 eeh 340: compat_43(netbsd32_orecvfrom) }, /* 125 = compat_43 netbsd32_orecvfrom */
1.19 thorpej 341: { 2, s(struct netbsd32_setreuid_args), 0,
1.11 eeh 342: netbsd32_setreuid }, /* 126 = netbsd32_setreuid */
1.19 thorpej 343: { 2, s(struct netbsd32_setregid_args), 0,
1.11 eeh 344: netbsd32_setregid }, /* 127 = netbsd32_setregid */
1.19 thorpej 345: { 2, s(struct netbsd32_rename_args), 0,
1.11 eeh 346: netbsd32_rename }, /* 128 = netbsd32_rename */
1.19 thorpej 347: { 2, s(struct compat_43_netbsd32_otruncate_args), 0,
1.11 eeh 348: compat_43(netbsd32_otruncate) }, /* 129 = compat_43 netbsd32_otruncate */
1.19 thorpej 349: { 2, s(struct compat_43_netbsd32_oftruncate_args), 0,
1.11 eeh 350: compat_43(netbsd32_oftruncate) }, /* 130 = compat_43 netbsd32_oftruncate */
1.19 thorpej 351: { 2, s(struct netbsd32_flock_args), 0,
1.11 eeh 352: netbsd32_flock }, /* 131 = netbsd32_flock */
1.19 thorpej 353: { 2, s(struct netbsd32_mkfifo_args), 0,
1.11 eeh 354: netbsd32_mkfifo }, /* 132 = netbsd32_mkfifo */
1.19 thorpej 355: { 6, s(struct netbsd32_sendto_args), 0,
1.11 eeh 356: netbsd32_sendto }, /* 133 = netbsd32_sendto */
1.19 thorpej 357: { 2, s(struct netbsd32_shutdown_args), 0,
1.11 eeh 358: netbsd32_shutdown }, /* 134 = netbsd32_shutdown */
1.19 thorpej 359: { 4, s(struct netbsd32_socketpair_args), 0,
1.11 eeh 360: netbsd32_socketpair }, /* 135 = netbsd32_socketpair */
1.19 thorpej 361: { 2, s(struct netbsd32_mkdir_args), 0,
1.11 eeh 362: netbsd32_mkdir }, /* 136 = netbsd32_mkdir */
1.19 thorpej 363: { 1, s(struct netbsd32_rmdir_args), 0,
1.11 eeh 364: netbsd32_rmdir }, /* 137 = netbsd32_rmdir */
1.19 thorpej 365: { 2, s(struct netbsd32_utimes_args), 0,
1.11 eeh 366: netbsd32_utimes }, /* 138 = netbsd32_utimes */
1.19 thorpej 367: { 0, 0, 0,
1.1 mrg 368: sys_nosys }, /* 139 = obsolete 4.2 sigreturn */
1.19 thorpej 369: { 2, s(struct netbsd32_adjtime_args), 0,
1.11 eeh 370: netbsd32_adjtime }, /* 140 = netbsd32_adjtime */
1.19 thorpej 371: { 3, s(struct compat_43_netbsd32_ogetpeername_args), 0,
1.11 eeh 372: compat_43(netbsd32_ogetpeername) }, /* 141 = compat_43 netbsd32_ogetpeername */
1.19 thorpej 373: { 0, 0, 0,
1.1 mrg 374: compat_43(sys_gethostid) }, /* 142 = compat_43 ogethostid */
375: #ifdef COMPAT_43
1.19 thorpej 376: { 1, s(struct compat_43_netbsd32_sethostid_args), 0,
1.11 eeh 377: compat_43(netbsd32_sethostid) }, /* 143 = compat_43 netbsd32_sethostid */
1.1 mrg 378: #else
1.19 thorpej 379: { 0, 0, 0,
1.1 mrg 380: sys_nosys }, /* 143 = obsolete sethostid */
381: #endif
1.19 thorpej 382: { 2, s(struct compat_43_netbsd32_ogetrlimit_args), 0,
1.11 eeh 383: compat_43(netbsd32_ogetrlimit) }, /* 144 = compat_43 netbsd32_ogetrlimit */
1.19 thorpej 384: { 2, s(struct compat_43_netbsd32_osetrlimit_args), 0,
1.11 eeh 385: compat_43(netbsd32_osetrlimit) }, /* 145 = compat_43 netbsd32_osetrlimit */
1.1 mrg 386: #ifdef COMPAT_43
1.19 thorpej 387: { 2, s(struct compat_43_netbsd32_killpg_args), 0,
1.11 eeh 388: compat_43(netbsd32_killpg) }, /* 146 = compat_43 netbsd32_killpg */
1.1 mrg 389: #else
1.19 thorpej 390: { 0, 0, 0,
1.1 mrg 391: sys_nosys }, /* 146 = obsolete killpg */
392: #endif
1.19 thorpej 393: { 0, 0, 0,
1.1 mrg 394: sys_setsid }, /* 147 = setsid */
1.19 thorpej 395: { 4, s(struct netbsd32_quotactl_args), 0,
1.11 eeh 396: netbsd32_quotactl }, /* 148 = netbsd32_quotactl */
1.19 thorpej 397: { 0, 0, 0,
1.1 mrg 398: compat_43(sys_quota) }, /* 149 = compat_43 oquota */
1.19 thorpej 399: { 3, s(struct compat_43_netbsd32_ogetsockname_args), 0,
1.11 eeh 400: compat_43(netbsd32_ogetsockname) }, /* 150 = compat_43 netbsd32_ogetsockname */
1.19 thorpej 401: { 0, 0, 0,
1.1 mrg 402: sys_nosys }, /* 151 = unimplemented */
1.19 thorpej 403: { 0, 0, 0,
1.1 mrg 404: sys_nosys }, /* 152 = unimplemented */
1.19 thorpej 405: { 0, 0, 0,
1.1 mrg 406: sys_nosys }, /* 153 = unimplemented */
1.19 thorpej 407: { 0, 0, 0,
1.1 mrg 408: sys_nosys }, /* 154 = unimplemented */
1.10 christos 409: #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
1.19 thorpej 410: { 2, s(struct netbsd32_nfssvc_args), 0,
1.11 eeh 411: netbsd32_nfssvc }, /* 155 = netbsd32_nfssvc */
1.1 mrg 412: #else
1.19 thorpej 413: { 0, 0, 0,
1.11 eeh 414: sys_nosys }, /* 155 = excluded netbsd32_nfssvc */
1.1 mrg 415: #endif
1.19 thorpej 416: { 4, s(struct compat_43_netbsd32_ogetdirentries_args), 0,
1.11 eeh 417: compat_43(netbsd32_ogetdirentries) },/* 156 = compat_43 netbsd32_ogetdirentries */
1.19 thorpej 418: { 2, s(struct netbsd32_statfs_args), 0,
1.11 eeh 419: netbsd32_statfs }, /* 157 = netbsd32_statfs */
1.19 thorpej 420: { 2, s(struct netbsd32_fstatfs_args), 0,
1.11 eeh 421: netbsd32_fstatfs }, /* 158 = netbsd32_fstatfs */
1.19 thorpej 422: { 0, 0, 0,
1.1 mrg 423: sys_nosys }, /* 159 = unimplemented */
1.19 thorpej 424: { 0, 0, 0,
1.1 mrg 425: sys_nosys }, /* 160 = unimplemented */
1.10 christos 426: #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
1.19 thorpej 427: { 2, s(struct netbsd32_getfh_args), 0,
1.11 eeh 428: netbsd32_getfh }, /* 161 = netbsd32_getfh */
1.1 mrg 429: #else
1.19 thorpej 430: { 0, 0, 0,
1.11 eeh 431: sys_nosys }, /* 161 = excluded netbsd32_getfh */
1.1 mrg 432: #endif
1.19 thorpej 433: { 2, s(struct compat_09_netbsd32_ogetdomainname_args), 0,
1.11 eeh 434: compat_09(netbsd32_ogetdomainname) },/* 162 = compat_09 netbsd32_ogetdomainname */
1.19 thorpej 435: { 2, s(struct compat_09_netbsd32_osetdomainname_args), 0,
1.11 eeh 436: compat_09(netbsd32_osetdomainname) },/* 163 = compat_09 netbsd32_osetdomainname */
1.19 thorpej 437: { 1, s(struct compat_09_netbsd32_uname_args), 0,
1.11 eeh 438: compat_09(netbsd32_uname) }, /* 164 = compat_09 netbsd32_uname */
1.19 thorpej 439: { 2, s(struct netbsd32_sysarch_args), 0,
1.11 eeh 440: netbsd32_sysarch }, /* 165 = netbsd32_sysarch */
1.19 thorpej 441: { 0, 0, 0,
1.1 mrg 442: sys_nosys }, /* 166 = unimplemented */
1.19 thorpej 443: { 0, 0, 0,
1.1 mrg 444: sys_nosys }, /* 167 = unimplemented */
1.19 thorpej 445: { 0, 0, 0,
1.1 mrg 446: sys_nosys }, /* 168 = unimplemented */
1.21.2.4! nathanw 447: #if defined(SYSVSEM) || !defined(_KERNEL)
! 448: { 5, s(struct compat_10_netbsd32_sys_semsys_args), 0,
! 449: compat_10(netbsd32_sys_semsys) }, /* 169 = compat_10 osemsys */
1.1 mrg 450: #else
1.19 thorpej 451: { 0, 0, 0,
1.21.2.4! nathanw 452: sys_nosys }, /* 169 = excluded netbsd32_sys_semsys */
1.1 mrg 453: #endif
1.21.2.4! nathanw 454: #if defined(SYSVMSG) || !defined(_KERNEL)
! 455: { 6, s(struct compat_10_netbsd32_sys_msgsys_args), 0,
! 456: compat_10(netbsd32_sys_msgsys) }, /* 170 = compat_10 omsgsys */
1.1 mrg 457: #else
1.19 thorpej 458: { 0, 0, 0,
1.21.2.4! nathanw 459: sys_nosys }, /* 170 = excluded netbsd32_sys_msgsys */
1.1 mrg 460: #endif
1.21.2.4! nathanw 461: #if defined(SYSVSHM) || !defined(_KERNEL)
! 462: { 4, s(struct compat_10_netbsd32_sys_shmsys_args), 0,
! 463: compat_10(netbsd32_sys_shmsys) }, /* 171 = compat_10 oshmsys */
1.1 mrg 464: #else
1.19 thorpej 465: { 0, 0, 0,
1.21.2.4! nathanw 466: sys_nosys }, /* 171 = excluded netbsd32_sys_shmsys */
1.1 mrg 467: #endif
1.19 thorpej 468: { 0, 0, 0,
1.1 mrg 469: sys_nosys }, /* 172 = unimplemented */
1.19 thorpej 470: { 5, s(struct netbsd32_pread_args), 0,
1.11 eeh 471: netbsd32_pread }, /* 173 = netbsd32_pread */
1.19 thorpej 472: { 5, s(struct netbsd32_pwrite_args), 0,
1.11 eeh 473: netbsd32_pwrite }, /* 174 = netbsd32_pwrite */
1.19 thorpej 474: { 1, s(struct netbsd32_ntp_gettime_args), 0,
1.11 eeh 475: netbsd32_ntp_gettime }, /* 175 = netbsd32_ntp_gettime */
1.19 thorpej 476: { 1, s(struct netbsd32_ntp_adjtime_args), 0,
1.11 eeh 477: netbsd32_ntp_adjtime }, /* 176 = netbsd32_ntp_adjtime */
1.19 thorpej 478: { 0, 0, 0,
1.1 mrg 479: sys_nosys }, /* 177 = unimplemented */
1.19 thorpej 480: { 0, 0, 0,
1.1 mrg 481: sys_nosys }, /* 178 = unimplemented */
1.19 thorpej 482: { 0, 0, 0,
1.1 mrg 483: sys_nosys }, /* 179 = unimplemented */
1.19 thorpej 484: { 0, 0, 0,
1.1 mrg 485: sys_nosys }, /* 180 = unimplemented */
1.19 thorpej 486: { 1, s(struct netbsd32_setgid_args), 0,
1.11 eeh 487: netbsd32_setgid }, /* 181 = netbsd32_setgid */
1.19 thorpej 488: { 1, s(struct netbsd32_setegid_args), 0,
1.11 eeh 489: netbsd32_setegid }, /* 182 = netbsd32_setegid */
1.19 thorpej 490: { 1, s(struct netbsd32_seteuid_args), 0,
1.11 eeh 491: netbsd32_seteuid }, /* 183 = netbsd32_seteuid */
1.10 christos 492: #if defined(LFS) || !defined(_KERNEL)
1.19 thorpej 493: { 3, s(struct netbsd32_sys_lfs_bmapv_args), 0,
1.11 eeh 494: netbsd32_sys_lfs_bmapv }, /* 184 = lfs_bmapv */
1.19 thorpej 495: { 3, s(struct netbsd32_sys_lfs_markv_args), 0,
1.11 eeh 496: netbsd32_sys_lfs_markv }, /* 185 = lfs_markv */
1.19 thorpej 497: { 2, s(struct netbsd32_sys_lfs_segclean_args), 0,
1.11 eeh 498: netbsd32_sys_lfs_segclean }, /* 186 = lfs_segclean */
1.19 thorpej 499: { 2, s(struct netbsd32_sys_lfs_segwait_args), 0,
1.11 eeh 500: netbsd32_sys_lfs_segwait }, /* 187 = lfs_segwait */
501: #else
1.19 thorpej 502: { 0, 0, 0,
1.11 eeh 503: sys_nosys }, /* 184 = excluded netbsd32_sys_lfs_bmapv */
1.19 thorpej 504: { 0, 0, 0,
1.11 eeh 505: sys_nosys }, /* 185 = excluded netbsd32_sys_lfs_markv */
1.19 thorpej 506: { 0, 0, 0,
1.11 eeh 507: sys_nosys }, /* 186 = excluded netbsd32_sys_lfs_segclean */
1.19 thorpej 508: { 0, 0, 0,
1.11 eeh 509: sys_nosys }, /* 187 = excluded netbsd32_sys_lfs_segwait */
510: #endif
1.19 thorpej 511: { 2, s(struct compat_12_netbsd32_stat12_args), 0,
1.11 eeh 512: compat_12(netbsd32_stat12) }, /* 188 = compat_12 netbsd32_stat12 */
1.19 thorpej 513: { 2, s(struct compat_12_netbsd32_fstat12_args), 0,
1.11 eeh 514: compat_12(netbsd32_fstat12) }, /* 189 = compat_12 netbsd32_fstat12 */
1.19 thorpej 515: { 2, s(struct compat_12_netbsd32_lstat12_args), 0,
1.11 eeh 516: compat_12(netbsd32_lstat12) }, /* 190 = compat_12 netbsd32_lstat12 */
1.19 thorpej 517: { 2, s(struct netbsd32_pathconf_args), 0,
1.11 eeh 518: netbsd32_pathconf }, /* 191 = netbsd32_pathconf */
1.19 thorpej 519: { 2, s(struct netbsd32_fpathconf_args), 0,
1.11 eeh 520: netbsd32_fpathconf }, /* 192 = netbsd32_fpathconf */
1.19 thorpej 521: { 0, 0, 0,
1.1 mrg 522: sys_nosys }, /* 193 = unimplemented */
1.19 thorpej 523: { 2, s(struct netbsd32_getrlimit_args), 0,
1.11 eeh 524: netbsd32_getrlimit }, /* 194 = netbsd32_getrlimit */
1.19 thorpej 525: { 2, s(struct netbsd32_setrlimit_args), 0,
1.11 eeh 526: netbsd32_setrlimit }, /* 195 = netbsd32_setrlimit */
1.19 thorpej 527: { 4, s(struct compat_12_netbsd32_getdirentries_args), 0,
1.11 eeh 528: compat_12(netbsd32_getdirentries) },/* 196 = compat_12 netbsd32_getdirentries */
1.19 thorpej 529: { 7, s(struct netbsd32_mmap_args), 0,
1.11 eeh 530: netbsd32_mmap }, /* 197 = netbsd32_mmap */
1.19 thorpej 531: { 0, 0, 0,
1.1 mrg 532: sys_nosys }, /* 198 = __syscall (indir) */
1.19 thorpej 533: { 4, s(struct netbsd32_lseek_args), 0,
1.11 eeh 534: netbsd32_lseek }, /* 199 = netbsd32_lseek */
1.19 thorpej 535: { 3, s(struct netbsd32_truncate_args), 0,
1.11 eeh 536: netbsd32_truncate }, /* 200 = netbsd32_truncate */
1.19 thorpej 537: { 3, s(struct netbsd32_ftruncate_args), 0,
1.11 eeh 538: netbsd32_ftruncate }, /* 201 = netbsd32_ftruncate */
1.19 thorpej 539: { 6, s(struct netbsd32___sysctl_args), 0,
1.11 eeh 540: netbsd32___sysctl }, /* 202 = netbsd32___sysctl */
1.19 thorpej 541: { 2, s(struct netbsd32_mlock_args), 0,
1.11 eeh 542: netbsd32_mlock }, /* 203 = netbsd32_mlock */
1.19 thorpej 543: { 2, s(struct netbsd32_munlock_args), 0,
1.11 eeh 544: netbsd32_munlock }, /* 204 = netbsd32_munlock */
1.19 thorpej 545: { 1, s(struct netbsd32_undelete_args), 0,
1.11 eeh 546: netbsd32_undelete }, /* 205 = netbsd32_undelete */
1.19 thorpej 547: { 2, s(struct netbsd32_futimes_args), 0,
1.11 eeh 548: netbsd32_futimes }, /* 206 = netbsd32_futimes */
1.19 thorpej 549: { 1, s(struct netbsd32_getpgid_args), 0,
1.11 eeh 550: netbsd32_getpgid }, /* 207 = netbsd32_getpgid */
1.19 thorpej 551: { 2, s(struct netbsd32_reboot_args), 0,
1.11 eeh 552: netbsd32_reboot }, /* 208 = netbsd32_reboot */
1.19 thorpej 553: { 3, s(struct netbsd32_poll_args), 0,
1.11 eeh 554: netbsd32_poll }, /* 209 = netbsd32_poll */
1.10 christos 555: #if defined(LKM) || !defined(_KERNEL)
1.19 thorpej 556: { 0, 0, 0,
1.1 mrg 557: sys_lkmnosys }, /* 210 = lkmnosys */
1.19 thorpej 558: { 0, 0, 0,
1.1 mrg 559: sys_lkmnosys }, /* 211 = lkmnosys */
1.19 thorpej 560: { 0, 0, 0,
1.1 mrg 561: sys_lkmnosys }, /* 212 = lkmnosys */
1.19 thorpej 562: { 0, 0, 0,
1.1 mrg 563: sys_lkmnosys }, /* 213 = lkmnosys */
1.19 thorpej 564: { 0, 0, 0,
1.1 mrg 565: sys_lkmnosys }, /* 214 = lkmnosys */
1.19 thorpej 566: { 0, 0, 0,
1.1 mrg 567: sys_lkmnosys }, /* 215 = lkmnosys */
1.19 thorpej 568: { 0, 0, 0,
1.1 mrg 569: sys_lkmnosys }, /* 216 = lkmnosys */
1.19 thorpej 570: { 0, 0, 0,
1.1 mrg 571: sys_lkmnosys }, /* 217 = lkmnosys */
1.19 thorpej 572: { 0, 0, 0,
1.1 mrg 573: sys_lkmnosys }, /* 218 = lkmnosys */
1.19 thorpej 574: { 0, 0, 0,
1.1 mrg 575: sys_lkmnosys }, /* 219 = lkmnosys */
1.10 christos 576: #else /* !LKM || !_KERNEL */
1.19 thorpej 577: { 0, 0, 0,
1.10 christos 578: sys_nosys }, /* 210 = excluded lkmnosys */
1.19 thorpej 579: { 0, 0, 0,
1.10 christos 580: sys_nosys }, /* 211 = excluded lkmnosys */
1.19 thorpej 581: { 0, 0, 0,
1.10 christos 582: sys_nosys }, /* 212 = excluded lkmnosys */
1.19 thorpej 583: { 0, 0, 0,
1.10 christos 584: sys_nosys }, /* 213 = excluded lkmnosys */
1.19 thorpej 585: { 0, 0, 0,
1.10 christos 586: sys_nosys }, /* 214 = excluded lkmnosys */
1.19 thorpej 587: { 0, 0, 0,
1.10 christos 588: sys_nosys }, /* 215 = excluded lkmnosys */
1.19 thorpej 589: { 0, 0, 0,
1.10 christos 590: sys_nosys }, /* 216 = excluded lkmnosys */
1.19 thorpej 591: { 0, 0, 0,
1.10 christos 592: sys_nosys }, /* 217 = excluded lkmnosys */
1.19 thorpej 593: { 0, 0, 0,
1.10 christos 594: sys_nosys }, /* 218 = excluded lkmnosys */
1.19 thorpej 595: { 0, 0, 0,
1.10 christos 596: sys_nosys }, /* 219 = excluded lkmnosys */
597: #endif /* !LKM || !_KERNEL */
598: #if defined(SYSVSEM) || !defined(_KERNEL)
1.19 thorpej 599: { 4, s(struct compat_14_netbsd32___semctl_args), 0,
1.11 eeh 600: compat_14(netbsd32___semctl) }, /* 220 = compat_14 netbsd32___semctl */
1.19 thorpej 601: { 3, s(struct netbsd32_semget_args), 0,
1.11 eeh 602: netbsd32_semget }, /* 221 = netbsd32_semget */
1.19 thorpej 603: { 3, s(struct netbsd32_semop_args), 0,
1.11 eeh 604: netbsd32_semop }, /* 222 = netbsd32_semop */
1.19 thorpej 605: { 1, s(struct netbsd32_semconfig_args), 0,
1.11 eeh 606: netbsd32_semconfig }, /* 223 = netbsd32_semconfig */
1.1 mrg 607: #else
1.19 thorpej 608: { 0, 0, 0,
1.12 eeh 609: sys_nosys }, /* 220 = excluded compat_14_netbsd32_semctl */
1.19 thorpej 610: { 0, 0, 0,
1.11 eeh 611: sys_nosys }, /* 221 = excluded netbsd32_semget */
1.19 thorpej 612: { 0, 0, 0,
1.11 eeh 613: sys_nosys }, /* 222 = excluded netbsd32_semop */
1.19 thorpej 614: { 0, 0, 0,
1.11 eeh 615: sys_nosys }, /* 223 = excluded netbsd32_semconfig */
1.1 mrg 616: #endif
1.10 christos 617: #if defined(SYSVMSG) || !defined(_KERNEL)
1.19 thorpej 618: { 3, s(struct compat_14_netbsd32_msgctl_args), 0,
1.11 eeh 619: compat_14(netbsd32_msgctl) }, /* 224 = compat_14 netbsd32_msgctl */
1.19 thorpej 620: { 2, s(struct netbsd32_msgget_args), 0,
1.11 eeh 621: netbsd32_msgget }, /* 225 = netbsd32_msgget */
1.19 thorpej 622: { 4, s(struct netbsd32_msgsnd_args), 0,
1.11 eeh 623: netbsd32_msgsnd }, /* 226 = netbsd32_msgsnd */
1.19 thorpej 624: { 5, s(struct netbsd32_msgrcv_args), 0,
1.11 eeh 625: netbsd32_msgrcv }, /* 227 = netbsd32_msgrcv */
1.1 mrg 626: #else
1.19 thorpej 627: { 0, 0, 0,
1.12 eeh 628: sys_nosys }, /* 224 = excluded compat_14_netbsd32_msgctl */
1.19 thorpej 629: { 0, 0, 0,
1.11 eeh 630: sys_nosys }, /* 225 = excluded netbsd32_msgget */
1.19 thorpej 631: { 0, 0, 0,
1.11 eeh 632: sys_nosys }, /* 226 = excluded netbsd32_msgsnd */
1.19 thorpej 633: { 0, 0, 0,
1.11 eeh 634: sys_nosys }, /* 227 = excluded netbsd32_msgrcv */
1.1 mrg 635: #endif
1.10 christos 636: #if defined(SYSVSHM) || !defined(_KERNEL)
1.19 thorpej 637: { 3, s(struct netbsd32_shmat_args), 0,
1.11 eeh 638: netbsd32_shmat }, /* 228 = netbsd32_shmat */
1.19 thorpej 639: { 3, s(struct compat_14_netbsd32_shmctl_args), 0,
1.11 eeh 640: compat_14(netbsd32_shmctl) }, /* 229 = compat_14 netbsd32_shmctl */
1.19 thorpej 641: { 1, s(struct netbsd32_shmdt_args), 0,
1.11 eeh 642: netbsd32_shmdt }, /* 230 = netbsd32_shmdt */
1.19 thorpej 643: { 3, s(struct netbsd32_shmget_args), 0,
1.11 eeh 644: netbsd32_shmget }, /* 231 = netbsd32_shmget */
645: #else
1.19 thorpej 646: { 0, 0, 0,
1.11 eeh 647: sys_nosys }, /* 228 = excluded netbsd32_shmat */
1.19 thorpej 648: { 0, 0, 0,
1.12 eeh 649: sys_nosys }, /* 229 = excluded compat_14_netbsd32_shmctl */
1.19 thorpej 650: { 0, 0, 0,
1.11 eeh 651: sys_nosys }, /* 230 = excluded netbsd32_shmdt */
1.19 thorpej 652: { 0, 0, 0,
1.11 eeh 653: sys_nosys }, /* 231 = excluded netbsd32_shmget */
654: #endif
1.19 thorpej 655: { 2, s(struct netbsd32_clock_gettime_args), 0,
1.11 eeh 656: netbsd32_clock_gettime }, /* 232 = netbsd32_clock_gettime */
1.19 thorpej 657: { 2, s(struct netbsd32_clock_settime_args), 0,
1.11 eeh 658: netbsd32_clock_settime }, /* 233 = netbsd32_clock_settime */
1.19 thorpej 659: { 2, s(struct netbsd32_clock_getres_args), 0,
1.11 eeh 660: netbsd32_clock_getres }, /* 234 = netbsd32_clock_getres */
1.19 thorpej 661: { 0, 0, 0,
1.1 mrg 662: sys_nosys }, /* 235 = unimplemented timer_create */
1.19 thorpej 663: { 0, 0, 0,
1.1 mrg 664: sys_nosys }, /* 236 = unimplemented timer_delete */
1.19 thorpej 665: { 0, 0, 0,
1.1 mrg 666: sys_nosys }, /* 237 = unimplemented timer_settime */
1.19 thorpej 667: { 0, 0, 0,
1.1 mrg 668: sys_nosys }, /* 238 = unimplemented timer_gettime */
1.19 thorpej 669: { 0, 0, 0,
1.1 mrg 670: sys_nosys }, /* 239 = unimplemented timer_getoverrun */
1.19 thorpej 671: { 2, s(struct netbsd32_nanosleep_args), 0,
1.11 eeh 672: netbsd32_nanosleep }, /* 240 = netbsd32_nanosleep */
1.19 thorpej 673: { 1, s(struct netbsd32_fdatasync_args), 0,
1.11 eeh 674: netbsd32_fdatasync }, /* 241 = netbsd32_fdatasync */
1.19 thorpej 675: { 0, 0, 0,
1.1 mrg 676: sys_nosys }, /* 242 = unimplemented */
1.19 thorpej 677: { 0, 0, 0,
1.1 mrg 678: sys_nosys }, /* 243 = unimplemented */
1.19 thorpej 679: { 0, 0, 0,
1.1 mrg 680: sys_nosys }, /* 244 = unimplemented */
1.19 thorpej 681: { 0, 0, 0,
1.1 mrg 682: sys_nosys }, /* 245 = unimplemented */
1.19 thorpej 683: { 0, 0, 0,
1.1 mrg 684: sys_nosys }, /* 246 = unimplemented */
1.19 thorpej 685: { 0, 0, 0,
1.1 mrg 686: sys_nosys }, /* 247 = unimplemented */
1.19 thorpej 687: { 0, 0, 0,
1.1 mrg 688: sys_nosys }, /* 248 = unimplemented */
1.19 thorpej 689: { 0, 0, 0,
1.1 mrg 690: sys_nosys }, /* 249 = unimplemented */
1.19 thorpej 691: { 0, 0, 0,
1.1 mrg 692: sys_nosys }, /* 250 = unimplemented */
1.19 thorpej 693: { 0, 0, 0,
1.1 mrg 694: sys_nosys }, /* 251 = unimplemented */
1.19 thorpej 695: { 0, 0, 0,
1.1 mrg 696: sys_nosys }, /* 252 = unimplemented */
1.19 thorpej 697: { 0, 0, 0,
1.1 mrg 698: sys_nosys }, /* 253 = unimplemented */
1.19 thorpej 699: { 0, 0, 0,
1.1 mrg 700: sys_nosys }, /* 254 = unimplemented */
1.19 thorpej 701: { 0, 0, 0,
1.1 mrg 702: sys_nosys }, /* 255 = unimplemented */
1.19 thorpej 703: { 0, 0, 0,
1.1 mrg 704: sys_nosys }, /* 256 = unimplemented */
1.19 thorpej 705: { 0, 0, 0,
1.1 mrg 706: sys_nosys }, /* 257 = unimplemented */
1.19 thorpej 707: { 0, 0, 0,
1.1 mrg 708: sys_nosys }, /* 258 = unimplemented */
1.19 thorpej 709: { 0, 0, 0,
1.1 mrg 710: sys_nosys }, /* 259 = unimplemented */
1.19 thorpej 711: { 0, 0, 0,
1.1 mrg 712: sys_nosys }, /* 260 = unimplemented */
1.19 thorpej 713: { 0, 0, 0,
1.1 mrg 714: sys_nosys }, /* 261 = unimplemented */
1.19 thorpej 715: { 0, 0, 0,
1.1 mrg 716: sys_nosys }, /* 262 = unimplemented */
1.19 thorpej 717: { 0, 0, 0,
1.1 mrg 718: sys_nosys }, /* 263 = unimplemented */
1.19 thorpej 719: { 0, 0, 0,
1.1 mrg 720: sys_nosys }, /* 264 = unimplemented */
1.19 thorpej 721: { 0, 0, 0,
1.1 mrg 722: sys_nosys }, /* 265 = unimplemented */
1.19 thorpej 723: { 0, 0, 0,
1.1 mrg 724: sys_nosys }, /* 266 = unimplemented */
1.19 thorpej 725: { 0, 0, 0,
1.1 mrg 726: sys_nosys }, /* 267 = unimplemented */
1.19 thorpej 727: { 0, 0, 0,
1.1 mrg 728: sys_nosys }, /* 268 = unimplemented */
1.19 thorpej 729: { 0, 0, 0,
1.1 mrg 730: sys_nosys }, /* 269 = unimplemented */
1.19 thorpej 731: { 2, s(struct netbsd32___posix_rename_args), 0,
1.11 eeh 732: netbsd32___posix_rename }, /* 270 = netbsd32___posix_rename */
1.19 thorpej 733: { 3, s(struct netbsd32_swapctl_args), 0,
1.11 eeh 734: netbsd32_swapctl }, /* 271 = netbsd32_swapctl */
1.19 thorpej 735: { 3, s(struct netbsd32_getdents_args), 0,
1.11 eeh 736: netbsd32_getdents }, /* 272 = netbsd32_getdents */
1.19 thorpej 737: { 3, s(struct netbsd32_minherit_args), 0,
1.11 eeh 738: netbsd32_minherit }, /* 273 = netbsd32_minherit */
1.19 thorpej 739: { 2, s(struct netbsd32_lchmod_args), 0,
1.11 eeh 740: netbsd32_lchmod }, /* 274 = netbsd32_lchmod */
1.19 thorpej 741: { 3, s(struct netbsd32_lchown_args), 0,
1.11 eeh 742: netbsd32_lchown }, /* 275 = netbsd32_lchown */
1.19 thorpej 743: { 2, s(struct netbsd32_lutimes_args), 0,
1.11 eeh 744: netbsd32_lutimes }, /* 276 = netbsd32_lutimes */
1.19 thorpej 745: { 3, s(struct netbsd32___msync13_args), 0,
1.11 eeh 746: netbsd32___msync13 }, /* 277 = netbsd32___msync13 */
1.19 thorpej 747: { 2, s(struct netbsd32___stat13_args), 0,
1.11 eeh 748: netbsd32___stat13 }, /* 278 = netbsd32___stat13 */
1.19 thorpej 749: { 2, s(struct netbsd32___fstat13_args), 0,
1.11 eeh 750: netbsd32___fstat13 }, /* 279 = netbsd32___fstat13 */
1.19 thorpej 751: { 2, s(struct netbsd32___lstat13_args), 0,
1.11 eeh 752: netbsd32___lstat13 }, /* 280 = netbsd32___lstat13 */
1.19 thorpej 753: { 2, s(struct netbsd32___sigaltstack14_args), 0,
1.11 eeh 754: netbsd32___sigaltstack14 }, /* 281 = netbsd32___sigaltstack14 */
1.19 thorpej 755: { 0, 0, 0,
1.1 mrg 756: sys___vfork14 }, /* 282 = __vfork14 */
1.19 thorpej 757: { 3, s(struct netbsd32___posix_chown_args), 0,
1.11 eeh 758: netbsd32___posix_chown }, /* 283 = netbsd32___posix_chown */
1.19 thorpej 759: { 3, s(struct netbsd32___posix_fchown_args), 0,
1.11 eeh 760: netbsd32___posix_fchown }, /* 284 = netbsd32___posix_fchown */
1.19 thorpej 761: { 3, s(struct netbsd32___posix_lchown_args), 0,
1.11 eeh 762: netbsd32___posix_lchown }, /* 285 = netbsd32___posix_lchown */
1.19 thorpej 763: { 1, s(struct netbsd32_getsid_args), 0,
1.11 eeh 764: netbsd32_getsid }, /* 286 = netbsd32_getsid */
1.19 thorpej 765: { 0, 0, 0,
1.1 mrg 766: sys_nosys }, /* 287 = unimplemented */
1.10 christos 767: #if defined(KTRACE) || !defined(_KERNEL)
1.19 thorpej 768: { 4, s(struct netbsd32_fktrace_args), 0,
1.11 eeh 769: netbsd32_fktrace }, /* 288 = netbsd32_fktrace */
1.1 mrg 770: #else
1.19 thorpej 771: { 0, 0, 0,
1.11 eeh 772: sys_nosys }, /* 288 = excluded netbsd32_fktrace */
1.1 mrg 773: #endif
1.19 thorpej 774: { 5, s(struct netbsd32_preadv_args), 0,
1.11 eeh 775: netbsd32_preadv }, /* 289 = netbsd32_preadv */
1.19 thorpej 776: { 5, s(struct netbsd32_pwritev_args), 0,
1.11 eeh 777: netbsd32_pwritev }, /* 290 = netbsd32_pwritev */
1.19 thorpej 778: { 3, s(struct netbsd32___sigaction14_args), 0,
1.12 eeh 779: netbsd32___sigaction14 }, /* 291 = netbsd32___sigaction14 */
1.19 thorpej 780: { 1, s(struct netbsd32___sigpending14_args), 0,
1.12 eeh 781: netbsd32___sigpending14 }, /* 292 = netbsd32___sigpending14 */
1.19 thorpej 782: { 3, s(struct netbsd32___sigprocmask14_args), 0,
1.12 eeh 783: netbsd32___sigprocmask14 }, /* 293 = netbsd32___sigprocmask14 */
1.19 thorpej 784: { 1, s(struct netbsd32___sigsuspend14_args), 0,
1.12 eeh 785: netbsd32___sigsuspend14 }, /* 294 = netbsd32___sigsuspend14 */
1.19 thorpej 786: { 1, s(struct netbsd32___sigreturn14_args), 0,
1.12 eeh 787: netbsd32___sigreturn14 }, /* 295 = netbsd32___sigreturn14 */
1.19 thorpej 788: { 2, s(struct netbsd32___getcwd_args), 0,
1.12 eeh 789: netbsd32___getcwd }, /* 296 = netbsd32___getcwd */
1.19 thorpej 790: { 1, s(struct netbsd32_fchroot_args), 0,
1.12 eeh 791: netbsd32_fchroot }, /* 297 = netbsd32_fchroot */
1.19 thorpej 792: { 2, s(struct netbsd32_fhopen_args), 0,
1.12 eeh 793: netbsd32_fhopen }, /* 298 = netbsd32_fhopen */
1.19 thorpej 794: { 2, s(struct netbsd32_fhstat_args), 0,
1.12 eeh 795: netbsd32_fhstat }, /* 299 = netbsd32_fhstat */
1.19 thorpej 796: { 2, s(struct netbsd32_fhstatfs_args), 0,
1.12 eeh 797: netbsd32_fhstatfs }, /* 300 = netbsd32_fhstatfs */
798: #if defined(SYSVSEM) || !defined(_KERNEL)
1.19 thorpej 799: { 4, s(struct netbsd32___semctl14_args), 0,
1.13 christos 800: netbsd32___semctl14 }, /* 301 = netbsd32___semctl14 */
1.12 eeh 801: #else
1.19 thorpej 802: { 0, 0, 0,
1.13 christos 803: sys_nosys }, /* 301 = excluded __semctl14 */
1.12 eeh 804: #endif
805: #if defined(SYSVMSG) || !defined(_KERNEL)
1.19 thorpej 806: { 3, s(struct netbsd32___msgctl13_args), 0,
1.12 eeh 807: netbsd32___msgctl13 }, /* 302 = netbsd32___msgctl13 */
808: #else
1.19 thorpej 809: { 0, 0, 0,
1.12 eeh 810: sys_nosys }, /* 302 = excluded __msgctl13 */
811: #endif
812: #if defined(SYSVSHM) || !defined(_KERNEL)
1.19 thorpej 813: { 3, s(struct netbsd32___shmctl13_args), 0,
1.12 eeh 814: netbsd32___shmctl13 }, /* 303 = netbsd32___shmctl13 */
815: #else
1.19 thorpej 816: { 0, 0, 0,
1.12 eeh 817: sys_nosys }, /* 303 = excluded __shmctl13 */
818: #endif
1.21 mrg 819: { 2, s(struct netbsd32_lchflags_args), 0,
820: netbsd32_lchflags }, /* 304 = netbsd32_lchflags */
821: { 0, 0, 0,
822: sys_issetugid }, /* 305 = issetugid */
823: { 3, s(struct netbsd32_utrace_args), 0,
824: netbsd32_utrace }, /* 306 = netbsd32_utrace */
825: { 0, 0, 0,
826: sys_nosys }, /* 307 = unimplemented */
827: { 0, 0, 0,
828: sys_nosys }, /* 308 = unimplemented */
829: { 0, 0, 0,
830: sys_nosys }, /* 309 = unimplemented */
831: { 0, 0, 0,
832: sys_nosys }, /* 310 = unimplemented */
833: { 0, 0, 0,
834: sys_nosys }, /* 311 = unimplemented */
835: { 0, 0, 0,
836: sys_nosys }, /* 312 = unimplemented */
837: { 0, 0, 0,
838: sys_nosys }, /* 313 = unimplemented */
839: { 0, 0, 0,
840: sys_nosys }, /* 314 = unimplemented */
841: { 0, 0, 0,
842: sys_nosys }, /* 315 = unimplemented */
843: { 0, 0, 0,
844: sys_nosys }, /* 316 = unimplemented */
845: { 0, 0, 0,
846: sys_nosys }, /* 317 = unimplemented */
847: { 0, 0, 0,
848: sys_nosys }, /* 318 = unimplemented */
849: { 0, 0, 0,
850: sys_nosys }, /* 319 = unimplemented */
851: { 0, 0, 0,
852: sys_nosys }, /* 320 = unimplemented */
853: { 0, 0, 0,
854: sys_nosys }, /* 321 = unimplemented */
855: { 0, 0, 0,
856: sys_nosys }, /* 322 = unimplemented */
857: { 0, 0, 0,
858: sys_nosys }, /* 323 = unimplemented */
859: { 0, 0, 0,
860: sys_nosys }, /* 324 = unimplemented */
861: { 0, 0, 0,
862: sys_nosys }, /* 325 = unimplemented */
863: { 0, 0, 0,
864: sys_nosys }, /* 326 = unimplemented */
865: { 0, 0, 0,
866: sys_nosys }, /* 327 = unimplemented */
867: { 0, 0, 0,
868: sys_nosys }, /* 328 = unimplemented */
869: { 0, 0, 0,
870: sys_nosys }, /* 329 = unimplemented */
871: { 0, 0, 0,
872: sys_nosys }, /* 330 = unimplemented */
873: { 0, 0, 0,
874: sys_nosys }, /* 331 = unimplemented */
875: { 0, 0, 0,
876: sys_nosys }, /* 332 = unimplemented */
877: { 0, 0, 0,
878: sys_nosys }, /* 333 = unimplemented */
879: { 0, 0, 0,
880: sys_nosys }, /* 334 = unimplemented */
881: { 0, 0, 0,
882: sys_nosys }, /* 335 = unimplemented */
883: { 0, 0, 0,
884: sys_nosys }, /* 336 = unimplemented */
885: { 0, 0, 0,
886: sys_nosys }, /* 337 = unimplemented */
887: { 0, 0, 0,
888: sys_nosys }, /* 338 = unimplemented */
889: { 0, 0, 0,
890: sys_nosys }, /* 339 = unimplemented */
1.1 mrg 891: };
892:
CVSweb <webmaster@jp.NetBSD.org>