[BACK]Return to init_sysent.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Annotation of src/sys/kern/init_sysent.c, Revision 1.244.2.1

1.229     wrstuden    1: /* $NetBSD$ */
1.77      thorpej     2:
1.1       cgd         3: /*
                      4:  * System call switch table.
                      5:  *
                      6:  * DO NOT EDIT-- this file is automatically generated.
1.244.2.1! uebayasi    7:  * created from        NetBSD: syscalls.master,v 1.232 2010/03/02 19:34:26 pooka Exp
1.1       cgd         8:  */
                      9:
1.128     lukem      10: #include <sys/cdefs.h>
1.229     wrstuden   11: __KERNEL_RCSID(0, "$NetBSD$");
1.128     lukem      12:
1.239     pooka      13: #include "opt_modular.h"
1.116     bjh21      14: #include "opt_ntp.h"
1.99      tron       15: #include "opt_sysv.h"
1.17      cgd        16: #include <sys/param.h>
                     17: #include <sys/systm.h>
1.28      cgd        18: #include <sys/signal.h>
                     19: #include <sys/mount.h>
1.227     tsutsui    20: #include <sys/sched.h>
1.28      cgd        21: #include <sys/syscallargs.h>
1.37      mycroft    22:
                     23: #ifdef COMPAT_43
1.126     lukem      24: #define        compat_43(func) __CONCAT(compat_43_,func)
1.37      mycroft    25: #else
1.126     lukem      26: #define        compat_43(func) sys_nosys
1.37      mycroft    27: #endif
                     28:
                     29: #ifdef COMPAT_09
1.126     lukem      30: #define        compat_09(func) __CONCAT(compat_09_,func)
1.37      mycroft    31: #else
1.126     lukem      32: #define        compat_09(func) sys_nosys
1.37      mycroft    33: #endif
                     34:
                     35: #ifdef COMPAT_10
1.126     lukem      36: #define        compat_10(func) __CONCAT(compat_10_,func)
1.37      mycroft    37: #else
1.126     lukem      38: #define        compat_10(func) sys_nosys
1.37      mycroft    39: #endif
                     40:
1.43      mrg        41: #ifdef COMPAT_11
1.126     lukem      42: #define        compat_11(func) __CONCAT(compat_11_,func)
1.43      mrg        43: #else
1.126     lukem      44: #define        compat_11(func) sys_nosys
1.43      mrg        45: #endif
                     46:
                     47: #ifdef COMPAT_12
1.126     lukem      48: #define        compat_12(func) __CONCAT(compat_12_,func)
1.43      mrg        49: #else
1.126     lukem      50: #define        compat_12(func) sys_nosys
1.43      mrg        51: #endif
                     52:
1.71      kleink     53: #ifdef COMPAT_13
1.126     lukem      54: #define        compat_13(func) __CONCAT(compat_13_,func)
1.71      kleink     55: #else
1.126     lukem      56: #define        compat_13(func) sys_nosys
1.71      kleink     57: #endif
                     58:
1.111     thorpej    59: #ifdef COMPAT_14
1.126     lukem      60: #define        compat_14(func) __CONCAT(compat_14_,func)
1.111     thorpej    61: #else
1.126     lukem      62: #define        compat_14(func) sys_nosys
1.111     thorpej    63: #endif
                     64:
1.145     christos   65: #ifdef COMPAT_15
                     66: #define        compat_15(func) __CONCAT(compat_15_,func)
                     67: #else
                     68: #define        compat_15(func) sys_nosys
                     69: #endif
                     70:
                     71: #ifdef COMPAT_16
                     72: #define        compat_16(func) __CONCAT(compat_16_,func)
                     73: #else
                     74: #define        compat_16(func) sys_nosys
                     75: #endif
                     76:
1.156     christos   77: #ifdef COMPAT_20
                     78: #define        compat_20(func) __CONCAT(compat_20_,func)
                     79: #else
                     80: #define        compat_20(func) sys_nosys
                     81: #endif
                     82:
1.166     christos   83: #ifdef COMPAT_30
                     84: #define        compat_30(func) __CONCAT(compat_30_,func)
                     85: #else
                     86: #define        compat_30(func) sys_nosys
                     87: #endif
                     88:
1.191     dsl        89: #ifdef COMPAT_40
                     90: #define        compat_40(func) __CONCAT(compat_40_,func)
                     91: #else
                     92: #define        compat_40(func) sys_nosys
                     93: #endif
                     94:
1.218     yamt       95: #ifdef COMPAT_50
                     96: #define        compat_50(func) __CONCAT(compat_50_,func)
                     97: #else
                     98: #define        compat_50(func) sys_nosys
                     99: #endif
                    100:
1.28      cgd       101: #define        s(type) sizeof(type)
1.200     dsl       102: #define        n(type) (sizeof(type)/sizeof (register_t))
                    103: #define        ns(type)        n(type), s(type)
1.28      cgd       104:
                    105: struct sysent sysent[] = {
1.200     dsl       106:        { ns(struct sys_syscall_args), SYCALL_INDIRECT,
1.202     dsl       107:            (sy_call_t *)sys_syscall },         /* 0 = syscall */
1.223     ad        108:        { ns(struct sys_exit_args), 0,
1.202     dsl       109:            (sy_call_t *)sys_exit },            /* 1 = exit */
1.223     ad        110:        { 0, 0, 0,
1.202     dsl       111:            (sy_call_t *)sys_fork },            /* 2 = fork */
1.223     ad        112:        { ns(struct sys_read_args), 0,
1.202     dsl       113:            (sy_call_t *)sys_read },            /* 3 = read */
1.223     ad        114:        { ns(struct sys_write_args), 0,
1.202     dsl       115:            (sy_call_t *)sys_write },           /* 4 = write */
1.223     ad        116:        { ns(struct sys_open_args), 0,
1.202     dsl       117:            (sy_call_t *)sys_open },            /* 5 = open */
1.223     ad        118:        { ns(struct sys_close_args), 0,
1.202     dsl       119:            (sy_call_t *)sys_close },           /* 6 = close */
1.235     christos  120:        { ns(struct compat_50_sys_wait4_args), 0,
                    121:            (sy_call_t *)sys_nomodule },        /* 7 = compat_50_wait4 */
1.223     ad        122:        { ns(struct compat_43_sys_creat_args), 0,
1.234     ad        123:            (sy_call_t *)sys_nomodule },        /* 8 = compat_43_ocreat */
1.223     ad        124:        { ns(struct sys_link_args), 0,
1.202     dsl       125:            (sy_call_t *)sys_link },            /* 9 = link */
1.223     ad        126:        { ns(struct sys_unlink_args), 0,
1.202     dsl       127:            (sy_call_t *)sys_unlink },          /* 10 = unlink */
1.123     thorpej   128:        { 0, 0, 0,
1.37      mycroft   129:            sys_nosys },                        /* 11 = obsolete execv */
1.223     ad        130:        { ns(struct sys_chdir_args), 0,
1.202     dsl       131:            (sy_call_t *)sys_chdir },           /* 12 = chdir */
1.223     ad        132:        { ns(struct sys_fchdir_args), 0,
1.202     dsl       133:            (sy_call_t *)sys_fchdir },          /* 13 = fchdir */
1.235     christos  134:        { ns(struct compat_50_sys_mknod_args), 0,
                    135:            (sy_call_t *)sys_nomodule },        /* 14 = compat_50_mknod */
1.223     ad        136:        { ns(struct sys_chmod_args), 0,
1.202     dsl       137:            (sy_call_t *)sys_chmod },           /* 15 = chmod */
1.223     ad        138:        { ns(struct sys_chown_args), 0,
1.202     dsl       139:            (sy_call_t *)sys_chown },           /* 16 = chown */
1.223     ad        140:        { ns(struct sys_obreak_args), 0,
1.202     dsl       141:            (sy_call_t *)sys_obreak },          /* 17 = break */
1.223     ad        142:        { ns(struct compat_20_sys_getfsstat_args), 0,
1.234     ad        143:            (sy_call_t *)sys_nomodule },        /* 18 = compat_20_getfsstat */
1.223     ad        144:        { ns(struct compat_43_sys_lseek_args), 0,
1.234     ad        145:            (sy_call_t *)sys_nomodule },        /* 19 = compat_43_olseek */
1.223     ad        146:        { 0, 0, 0,
1.202     dsl       147:            (sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid */
1.223     ad        148:        { ns(struct compat_40_sys_mount_args), 0,
1.234     ad        149:            (sy_call_t *)sys_nomodule },        /* 21 = compat_40_mount */
1.223     ad        150:        { ns(struct sys_unmount_args), 0,
1.202     dsl       151:            (sy_call_t *)sys_unmount },         /* 22 = unmount */
1.223     ad        152:        { ns(struct sys_setuid_args), 0,
1.202     dsl       153:            (sy_call_t *)sys_setuid },          /* 23 = setuid */
1.223     ad        154:        { 0, 0, 0,
1.202     dsl       155:            (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid */
1.223     ad        156:        { 0, 0, 0,
1.202     dsl       157:            (sy_call_t *)sys_geteuid },         /* 25 = geteuid */
1.223     ad        158:        { ns(struct sys_ptrace_args), 0,
1.202     dsl       159:            (sy_call_t *)sys_ptrace },          /* 26 = ptrace */
1.223     ad        160:        { ns(struct sys_recvmsg_args), 0,
1.202     dsl       161:            (sy_call_t *)sys_recvmsg },         /* 27 = recvmsg */
1.223     ad        162:        { ns(struct sys_sendmsg_args), 0,
1.202     dsl       163:            (sy_call_t *)sys_sendmsg },         /* 28 = sendmsg */
1.223     ad        164:        { ns(struct sys_recvfrom_args), 0,
1.202     dsl       165:            (sy_call_t *)sys_recvfrom },        /* 29 = recvfrom */
1.200     dsl       166:        { ns(struct sys_accept_args), 0,
1.202     dsl       167:            (sy_call_t *)sys_accept },          /* 30 = accept */
1.200     dsl       168:        { ns(struct sys_getpeername_args), 0,
1.202     dsl       169:            (sy_call_t *)sys_getpeername },     /* 31 = getpeername */
1.200     dsl       170:        { ns(struct sys_getsockname_args), 0,
1.202     dsl       171:            (sy_call_t *)sys_getsockname },     /* 32 = getsockname */
1.223     ad        172:        { ns(struct sys_access_args), 0,
1.202     dsl       173:            (sy_call_t *)sys_access },          /* 33 = access */
1.223     ad        174:        { ns(struct sys_chflags_args), 0,
1.202     dsl       175:            (sy_call_t *)sys_chflags },         /* 34 = chflags */
1.223     ad        176:        { ns(struct sys_fchflags_args), 0,
1.202     dsl       177:            (sy_call_t *)sys_fchflags },        /* 35 = fchflags */
1.223     ad        178:        { 0, 0, 0,
1.202     dsl       179:            (sy_call_t *)sys_sync },            /* 36 = sync */
1.223     ad        180:        { ns(struct sys_kill_args), 0,
1.202     dsl       181:            (sy_call_t *)sys_kill },            /* 37 = kill */
1.223     ad        182:        { ns(struct compat_43_sys_stat_args), 0,
1.234     ad        183:            (sy_call_t *)sys_nomodule },        /* 38 = compat_43_stat43 */
1.223     ad        184:        { 0, 0, 0,
1.202     dsl       185:            (sy_call_t *)sys_getppid },         /* 39 = getppid */
1.223     ad        186:        { ns(struct compat_43_sys_lstat_args), 0,
1.234     ad        187:            (sy_call_t *)sys_nomodule },        /* 40 = compat_43_lstat43 */
1.223     ad        188:        { ns(struct sys_dup_args), 0,
1.202     dsl       189:            (sy_call_t *)sys_dup },             /* 41 = dup */
1.223     ad        190:        { 0, 0, 0,
1.202     dsl       191:            (sy_call_t *)sys_pipe },            /* 42 = pipe */
1.223     ad        192:        { 0, 0, 0,
1.202     dsl       193:            (sy_call_t *)sys_getegid },         /* 43 = getegid */
1.223     ad        194:        { ns(struct sys_profil_args), 0,
1.202     dsl       195:            (sy_call_t *)sys_profil },          /* 44 = profil */
1.223     ad        196:        { ns(struct sys_ktrace_args), 0,
1.202     dsl       197:            (sy_call_t *)sys_ktrace },          /* 45 = ktrace */
1.223     ad        198:        { ns(struct compat_13_sys_sigaction_args), 0,
1.234     ad        199:            (sy_call_t *)sys_nomodule },        /* 46 = compat_13_sigaction13 */
1.223     ad        200:        { 0, 0, 0,
1.202     dsl       201:            (sy_call_t *)sys_getgid_with_egid },/* 47 = getgid */
1.223     ad        202:        { ns(struct compat_13_sys_sigprocmask_args), 0,
1.234     ad        203:            (sy_call_t *)sys_nomodule },        /* 48 = compat_13_sigprocmask13 */
1.223     ad        204:        { ns(struct sys___getlogin_args), 0,
1.202     dsl       205:            (sy_call_t *)sys___getlogin },      /* 49 = __getlogin */
1.223     ad        206:        { ns(struct sys___setlogin_args), 0,
1.202     dsl       207:            (sy_call_t *)sys___setlogin },      /* 50 = __setlogin */
1.223     ad        208:        { ns(struct sys_acct_args), 0,
1.202     dsl       209:            (sy_call_t *)sys_acct },            /* 51 = acct */
1.223     ad        210:        { 0, 0, 0,
1.234     ad        211:            (sy_call_t *)sys_nomodule },        /* 52 = compat_13_sigpending13 */
1.223     ad        212:        { ns(struct compat_13_sys_sigaltstack_args), 0,
1.234     ad        213:            (sy_call_t *)sys_nomodule },        /* 53 = compat_13_sigaltstack13 */
1.223     ad        214:        { ns(struct sys_ioctl_args), 0,
1.202     dsl       215:            (sy_call_t *)sys_ioctl },           /* 54 = ioctl */
1.223     ad        216:        { ns(struct compat_12_sys_reboot_args), 0,
1.234     ad        217:            (sy_call_t *)sys_nomodule },        /* 55 = compat_12_oreboot */
1.223     ad        218:        { ns(struct sys_revoke_args), 0,
1.202     dsl       219:            (sy_call_t *)sys_revoke },          /* 56 = revoke */
1.223     ad        220:        { ns(struct sys_symlink_args), 0,
1.202     dsl       221:            (sy_call_t *)sys_symlink },         /* 57 = symlink */
1.223     ad        222:        { ns(struct sys_readlink_args), 0,
1.202     dsl       223:            (sy_call_t *)sys_readlink },        /* 58 = readlink */
1.223     ad        224:        { ns(struct sys_execve_args), 0,
1.202     dsl       225:            (sy_call_t *)sys_execve },          /* 59 = execve */
1.223     ad        226:        { ns(struct sys_umask_args), 0,
1.202     dsl       227:            (sy_call_t *)sys_umask },           /* 60 = umask */
1.223     ad        228:        { ns(struct sys_chroot_args), 0,
1.202     dsl       229:            (sy_call_t *)sys_chroot },          /* 61 = chroot */
1.223     ad        230:        { ns(struct compat_43_sys_fstat_args), 0,
1.234     ad        231:            (sy_call_t *)sys_nomodule },        /* 62 = compat_43_fstat43 */
1.223     ad        232:        { ns(struct compat_43_sys_getkerninfo_args), 0,
1.234     ad        233:            (sy_call_t *)sys_nomodule },        /* 63 = compat_43_ogetkerninfo */
1.223     ad        234:        { 0, 0, 0,
1.234     ad        235:            (sy_call_t *)sys_nomodule },        /* 64 = compat_43_ogetpagesize */
1.223     ad        236:        { ns(struct compat_12_sys_msync_args), 0,
1.234     ad        237:            (sy_call_t *)sys_nomodule },        /* 65 = compat_12_msync */
1.223     ad        238:        { 0, 0, 0,
1.202     dsl       239:            (sy_call_t *)sys_vfork },           /* 66 = vfork */
1.123     thorpej   240:        { 0, 0, 0,
1.37      mycroft   241:            sys_nosys },                        /* 67 = obsolete vread */
1.123     thorpej   242:        { 0, 0, 0,
1.37      mycroft   243:            sys_nosys },                        /* 68 = obsolete vwrite */
1.223     ad        244:        { ns(struct sys_sbrk_args), 0,
1.202     dsl       245:            (sy_call_t *)sys_sbrk },            /* 69 = sbrk */
1.223     ad        246:        { ns(struct sys_sstk_args), 0,
1.202     dsl       247:            (sy_call_t *)sys_sstk },            /* 70 = sstk */
1.223     ad        248:        { ns(struct compat_43_sys_mmap_args), 0,
1.234     ad        249:            (sy_call_t *)sys_nomodule },        /* 71 = compat_43_ommap */
1.223     ad        250:        { ns(struct sys_ovadvise_args), 0,
1.202     dsl       251:            (sy_call_t *)sys_ovadvise },        /* 72 = vadvise */
1.223     ad        252:        { ns(struct sys_munmap_args), 0,
1.202     dsl       253:            (sy_call_t *)sys_munmap },          /* 73 = munmap */
1.223     ad        254:        { ns(struct sys_mprotect_args), 0,
1.202     dsl       255:            (sy_call_t *)sys_mprotect },        /* 74 = mprotect */
1.223     ad        256:        { ns(struct sys_madvise_args), 0,
1.202     dsl       257:            (sy_call_t *)sys_madvise },         /* 75 = madvise */
1.123     thorpej   258:        { 0, 0, 0,
1.37      mycroft   259:            sys_nosys },                        /* 76 = obsolete vhangup */
1.123     thorpej   260:        { 0, 0, 0,
1.37      mycroft   261:            sys_nosys },                        /* 77 = obsolete vlimit */
1.223     ad        262:        { ns(struct sys_mincore_args), 0,
1.202     dsl       263:            (sy_call_t *)sys_mincore },         /* 78 = mincore */
1.223     ad        264:        { ns(struct sys_getgroups_args), 0,
1.202     dsl       265:            (sy_call_t *)sys_getgroups },       /* 79 = getgroups */
1.223     ad        266:        { ns(struct sys_setgroups_args), 0,
1.202     dsl       267:            (sy_call_t *)sys_setgroups },       /* 80 = setgroups */
1.223     ad        268:        { 0, 0, 0,
1.202     dsl       269:            (sy_call_t *)sys_getpgrp },         /* 81 = getpgrp */
1.223     ad        270:        { ns(struct sys_setpgid_args), 0,
1.202     dsl       271:            (sy_call_t *)sys_setpgid },         /* 82 = setpgid */
1.235     christos  272:        { ns(struct compat_50_sys_setitimer_args), 0,
                    273:            (sy_call_t *)sys_nomodule },        /* 83 = compat_50_setitimer */
1.223     ad        274:        { 0, 0, 0,
1.234     ad        275:            (sy_call_t *)sys_nomodule },        /* 84 = compat_43_owait */
1.223     ad        276:        { ns(struct compat_12_sys_swapon_args), 0,
1.234     ad        277:            (sy_call_t *)sys_nomodule },        /* 85 = compat_12_oswapon */
1.235     christos  278:        { ns(struct compat_50_sys_getitimer_args), 0,
                    279:            (sy_call_t *)sys_nomodule },        /* 86 = compat_50_getitimer */
1.223     ad        280:        { ns(struct compat_43_sys_gethostname_args), 0,
1.234     ad        281:            (sy_call_t *)sys_nomodule },        /* 87 = compat_43_ogethostname */
1.223     ad        282:        { ns(struct compat_43_sys_sethostname_args), 0,
1.234     ad        283:            (sy_call_t *)sys_nomodule },        /* 88 = compat_43_osethostname */
1.223     ad        284:        { 0, 0, 0,
1.234     ad        285:            (sy_call_t *)sys_nomodule },        /* 89 = compat_43_ogetdtablesize */
1.223     ad        286:        { ns(struct sys_dup2_args), 0,
1.202     dsl       287:            (sy_call_t *)sys_dup2 },            /* 90 = dup2 */
1.123     thorpej   288:        { 0, 0, 0,
1.37      mycroft   289:            sys_nosys },                        /* 91 = unimplemented getdopt */
1.223     ad        290:        { ns(struct sys_fcntl_args), 0,
1.202     dsl       291:            (sy_call_t *)sys_fcntl },           /* 92 = fcntl */
1.235     christos  292:        { ns(struct compat_50_sys_select_args), 0,
                    293:            (sy_call_t *)sys_nomodule },        /* 93 = compat_50_select */
1.123     thorpej   294:        { 0, 0, 0,
1.37      mycroft   295:            sys_nosys },                        /* 94 = unimplemented setdopt */
1.223     ad        296:        { ns(struct sys_fsync_args), 0,
1.202     dsl       297:            (sy_call_t *)sys_fsync },           /* 95 = fsync */
1.223     ad        298:        { ns(struct sys_setpriority_args), 0,
1.202     dsl       299:            (sy_call_t *)sys_setpriority },     /* 96 = setpriority */
1.200     dsl       300:        { ns(struct compat_30_sys_socket_args), 0,
1.234     ad        301:            (sy_call_t *)sys_nomodule },        /* 97 = compat_30_socket */
1.200     dsl       302:        { ns(struct sys_connect_args), 0,
1.202     dsl       303:            (sy_call_t *)sys_connect },         /* 98 = connect */
1.200     dsl       304:        { ns(struct compat_43_sys_accept_args), 0,
1.234     ad        305:            (sy_call_t *)sys_nomodule },        /* 99 = compat_43_oaccept */
1.223     ad        306:        { ns(struct sys_getpriority_args), 0,
1.202     dsl       307:            (sy_call_t *)sys_getpriority },     /* 100 = getpriority */
1.223     ad        308:        { ns(struct compat_43_sys_send_args), 0,
1.234     ad        309:            (sy_call_t *)sys_nomodule },        /* 101 = compat_43_osend */
1.223     ad        310:        { ns(struct compat_43_sys_recv_args), 0,
1.234     ad        311:            (sy_call_t *)sys_nomodule },        /* 102 = compat_43_orecv */
1.223     ad        312:        { ns(struct compat_13_sys_sigreturn_args), 0,
1.234     ad        313:            (sy_call_t *)sys_nomodule },        /* 103 = compat_13_sigreturn13 */
1.200     dsl       314:        { ns(struct sys_bind_args), 0,
1.202     dsl       315:            (sy_call_t *)sys_bind },            /* 104 = bind */
1.200     dsl       316:        { ns(struct sys_setsockopt_args), 0,
1.202     dsl       317:            (sy_call_t *)sys_setsockopt },      /* 105 = setsockopt */
1.200     dsl       318:        { ns(struct sys_listen_args), 0,
1.202     dsl       319:            (sy_call_t *)sys_listen },          /* 106 = listen */
1.123     thorpej   320:        { 0, 0, 0,
1.37      mycroft   321:            sys_nosys },                        /* 107 = obsolete vtimes */
1.223     ad        322:        { ns(struct compat_43_sys_sigvec_args), 0,
1.234     ad        323:            (sy_call_t *)sys_nomodule },        /* 108 = compat_43_osigvec */
1.223     ad        324:        { ns(struct compat_43_sys_sigblock_args), 0,
1.234     ad        325:            (sy_call_t *)sys_nomodule },        /* 109 = compat_43_osigblock */
1.223     ad        326:        { ns(struct compat_43_sys_sigsetmask_args), 0,
1.234     ad        327:            (sy_call_t *)sys_nomodule },        /* 110 = compat_43_osigsetmask */
1.223     ad        328:        { ns(struct compat_13_sys_sigsuspend_args), 0,
1.234     ad        329:            (sy_call_t *)sys_nomodule },        /* 111 = compat_13_sigsuspend13 */
1.223     ad        330:        { ns(struct compat_43_sys_sigstack_args), 0,
1.234     ad        331:            (sy_call_t *)sys_nomodule },        /* 112 = compat_43_osigstack */
1.223     ad        332:        { ns(struct compat_43_sys_recvmsg_args), 0,
1.234     ad        333:            (sy_call_t *)sys_nomodule },        /* 113 = compat_43_orecvmsg */
1.223     ad        334:        { ns(struct compat_43_sys_sendmsg_args), 0,
1.234     ad        335:            (sy_call_t *)sys_nomodule },        /* 114 = compat_43_osendmsg */
1.123     thorpej   336:        { 0, 0, 0,
1.37      mycroft   337:            sys_nosys },                        /* 115 = obsolete vtrace */
1.235     christos  338:        { ns(struct compat_50_sys_gettimeofday_args), 0,
                    339:            (sy_call_t *)sys_nomodule },        /* 116 = compat_50_gettimeofday */
                    340:        { ns(struct compat_50_sys_getrusage_args), 0,
                    341:            (sy_call_t *)sys_nomodule },        /* 117 = compat_50_getrusage */
1.200     dsl       342:        { ns(struct sys_getsockopt_args), 0,
1.202     dsl       343:            (sy_call_t *)sys_getsockopt },      /* 118 = getsockopt */
1.123     thorpej   344:        { 0, 0, 0,
1.37      mycroft   345:            sys_nosys },                        /* 119 = obsolete resuba */
1.223     ad        346:        { ns(struct sys_readv_args), 0,
1.202     dsl       347:            (sy_call_t *)sys_readv },           /* 120 = readv */
1.223     ad        348:        { ns(struct sys_writev_args), 0,
1.202     dsl       349:            (sy_call_t *)sys_writev },          /* 121 = writev */
1.235     christos  350:        { ns(struct compat_50_sys_settimeofday_args), 0,
                    351:            (sy_call_t *)sys_nomodule },        /* 122 = compat_50_settimeofday */
1.223     ad        352:        { ns(struct sys_fchown_args), 0,
1.202     dsl       353:            (sy_call_t *)sys_fchown },          /* 123 = fchown */
1.223     ad        354:        { ns(struct sys_fchmod_args), 0,
1.202     dsl       355:            (sy_call_t *)sys_fchmod },          /* 124 = fchmod */
1.223     ad        356:        { ns(struct compat_43_sys_recvfrom_args), 0,
1.234     ad        357:            (sy_call_t *)sys_nomodule },        /* 125 = compat_43_orecvfrom */
1.223     ad        358:        { ns(struct sys_setreuid_args), 0,
1.202     dsl       359:            (sy_call_t *)sys_setreuid },        /* 126 = setreuid */
1.223     ad        360:        { ns(struct sys_setregid_args), 0,
1.202     dsl       361:            (sy_call_t *)sys_setregid },        /* 127 = setregid */
1.223     ad        362:        { ns(struct sys_rename_args), 0,
1.202     dsl       363:            (sy_call_t *)sys_rename },          /* 128 = rename */
1.223     ad        364:        { ns(struct compat_43_sys_truncate_args), 0,
1.234     ad        365:            (sy_call_t *)sys_nomodule },        /* 129 = compat_43_otruncate */
1.223     ad        366:        { ns(struct compat_43_sys_ftruncate_args), 0,
1.234     ad        367:            (sy_call_t *)sys_nomodule },        /* 130 = compat_43_oftruncate */
1.223     ad        368:        { ns(struct sys_flock_args), 0,
1.202     dsl       369:            (sy_call_t *)sys_flock },           /* 131 = flock */
1.223     ad        370:        { ns(struct sys_mkfifo_args), 0,
1.202     dsl       371:            (sy_call_t *)sys_mkfifo },          /* 132 = mkfifo */
1.223     ad        372:        { ns(struct sys_sendto_args), 0,
1.202     dsl       373:            (sy_call_t *)sys_sendto },          /* 133 = sendto */
1.200     dsl       374:        { ns(struct sys_shutdown_args), 0,
1.202     dsl       375:            (sy_call_t *)sys_shutdown },        /* 134 = shutdown */
1.200     dsl       376:        { ns(struct sys_socketpair_args), 0,
1.202     dsl       377:            (sy_call_t *)sys_socketpair },      /* 135 = socketpair */
1.223     ad        378:        { ns(struct sys_mkdir_args), 0,
1.202     dsl       379:            (sy_call_t *)sys_mkdir },           /* 136 = mkdir */
1.223     ad        380:        { ns(struct sys_rmdir_args), 0,
1.202     dsl       381:            (sy_call_t *)sys_rmdir },           /* 137 = rmdir */
1.235     christos  382:        { ns(struct compat_50_sys_utimes_args), 0,
                    383:            (sy_call_t *)sys_nomodule },        /* 138 = compat_50_utimes */
1.123     thorpej   384:        { 0, 0, 0,
1.37      mycroft   385:            sys_nosys },                        /* 139 = obsolete 4.2 sigreturn */
1.235     christos  386:        { ns(struct compat_50_sys_adjtime_args), 0,
                    387:            (sy_call_t *)sys_nomodule },        /* 140 = compat_50_adjtime */
1.200     dsl       388:        { ns(struct compat_43_sys_getpeername_args), 0,
1.234     ad        389:            (sy_call_t *)sys_nomodule },        /* 141 = compat_43_ogetpeername */
1.223     ad        390:        { 0, 0, 0,
1.234     ad        391:            (sy_call_t *)sys_nomodule },        /* 142 = compat_43_ogethostid */
1.223     ad        392:        { ns(struct compat_43_sys_sethostid_args), 0,
1.234     ad        393:            (sy_call_t *)sys_nomodule },        /* 143 = compat_43_osethostid */
1.223     ad        394:        { ns(struct compat_43_sys_getrlimit_args), 0,
1.234     ad        395:            (sy_call_t *)sys_nomodule },        /* 144 = compat_43_ogetrlimit */
1.223     ad        396:        { ns(struct compat_43_sys_setrlimit_args), 0,
1.234     ad        397:            (sy_call_t *)sys_nomodule },        /* 145 = compat_43_osetrlimit */
1.223     ad        398:        { ns(struct compat_43_sys_killpg_args), 0,
1.234     ad        399:            (sy_call_t *)sys_nomodule },        /* 146 = compat_43_okillpg */
1.223     ad        400:        { 0, 0, 0,
1.202     dsl       401:            (sy_call_t *)sys_setsid },          /* 147 = setsid */
1.223     ad        402:        { ns(struct sys_quotactl_args), 0,
1.202     dsl       403:            (sy_call_t *)sys_quotactl },        /* 148 = quotactl */
1.223     ad        404:        { 0, 0, 0,
1.234     ad        405:            (sy_call_t *)sys_nomodule },        /* 149 = compat_43_oquota */
1.200     dsl       406:        { ns(struct compat_43_sys_getsockname_args), 0,
1.234     ad        407:            (sy_call_t *)sys_nomodule },        /* 150 = compat_43_ogetsockname */
1.123     thorpej   408:        { 0, 0, 0,
1.37      mycroft   409:            sys_nosys },                        /* 151 = unimplemented */
1.123     thorpej   410:        { 0, 0, 0,
1.37      mycroft   411:            sys_nosys },                        /* 152 = unimplemented */
1.123     thorpej   412:        { 0, 0, 0,
1.37      mycroft   413:            sys_nosys },                        /* 153 = unimplemented */
1.123     thorpej   414:        { 0, 0, 0,
1.37      mycroft   415:            sys_nosys },                        /* 154 = unimplemented */
1.223     ad        416:        { ns(struct sys_nfssvc_args), 0,
1.234     ad        417:            (sy_call_t *)sys_nomodule },        /* 155 = nfssvc */
1.223     ad        418:        { ns(struct compat_43_sys_getdirentries_args), 0,
1.234     ad        419:            (sy_call_t *)sys_nomodule },        /* 156 = compat_43_ogetdirentries */
1.223     ad        420:        { ns(struct compat_20_sys_statfs_args), 0,
1.234     ad        421:            (sy_call_t *)sys_nomodule },        /* 157 = compat_20_statfs */
1.223     ad        422:        { ns(struct compat_20_sys_fstatfs_args), 0,
1.234     ad        423:            (sy_call_t *)sys_nomodule },        /* 158 = compat_20_fstatfs */
1.123     thorpej   424:        { 0, 0, 0,
1.37      mycroft   425:            sys_nosys },                        /* 159 = unimplemented */
1.123     thorpej   426:        { 0, 0, 0,
1.37      mycroft   427:            sys_nosys },                        /* 160 = unimplemented */
1.223     ad        428:        { ns(struct compat_30_sys_getfh_args), 0,
1.234     ad        429:            (sy_call_t *)sys_nomodule },        /* 161 = compat_30_getfh */
1.223     ad        430:        { ns(struct compat_09_sys_getdomainname_args), 0,
1.234     ad        431:            (sy_call_t *)sys_nomodule },        /* 162 = compat_09_ogetdomainname */
1.223     ad        432:        { ns(struct compat_09_sys_setdomainname_args), 0,
1.234     ad        433:            (sy_call_t *)sys_nomodule },        /* 163 = compat_09_osetdomainname */
1.223     ad        434:        { ns(struct compat_09_sys_uname_args), 0,
1.234     ad        435:            (sy_call_t *)sys_nomodule },        /* 164 = compat_09_ouname */
1.223     ad        436:        { ns(struct sys_sysarch_args), 0,
1.202     dsl       437:            (sy_call_t *)sys_sysarch },         /* 165 = sysarch */
1.123     thorpej   438:        { 0, 0, 0,
1.37      mycroft   439:            sys_nosys },                        /* 166 = unimplemented */
1.123     thorpej   440:        { 0, 0, 0,
1.37      mycroft   441:            sys_nosys },                        /* 167 = unimplemented */
1.123     thorpej   442:        { 0, 0, 0,
1.37      mycroft   443:            sys_nosys },                        /* 168 = unimplemented */
1.234     ad        444: #if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
1.223     ad        445:        { ns(struct compat_10_sys_semsys_args), 0,
1.234     ad        446:            (sy_call_t *)sys_nomodule },        /* 169 = compat_10_osemsys */
1.28      cgd       447: #else
1.123     thorpej   448:        { 0, 0, 0,
1.106     christos  449:            sys_nosys },                        /* 169 = excluded 1.0 semsys */
1.28      cgd       450: #endif
1.234     ad        451: #if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64)
1.223     ad        452:        { ns(struct compat_10_sys_msgsys_args), 0,
1.234     ad        453:            (sy_call_t *)sys_nomodule },        /* 170 = compat_10_omsgsys */
1.28      cgd       454: #else
1.123     thorpej   455:        { 0, 0, 0,
1.106     christos  456:            sys_nosys },                        /* 170 = excluded 1.0 msgsys */
1.28      cgd       457: #endif
1.234     ad        458: #if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
1.223     ad        459:        { ns(struct compat_10_sys_shmsys_args), 0,
1.234     ad        460:            (sy_call_t *)sys_nomodule },        /* 171 = compat_10_oshmsys */
1.28      cgd       461: #else
1.123     thorpej   462:        { 0, 0, 0,
1.106     christos  463:            sys_nosys },                        /* 171 = excluded 1.0 shmsys */
1.28      cgd       464: #endif
1.123     thorpej   465:        { 0, 0, 0,
1.37      mycroft   466:            sys_nosys },                        /* 172 = unimplemented */
1.242     matt      467:        { ns(struct sys_pread_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
1.202     dsl       468:            (sy_call_t *)sys_pread },           /* 173 = pread */
1.242     matt      469:        { ns(struct sys_pwrite_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
1.202     dsl       470:            (sy_call_t *)sys_pwrite },          /* 174 = pwrite */
1.235     christos  471:        { ns(struct compat_30_sys_ntp_gettime_args), 0,
                    472:            (sy_call_t *)compat_30(sys_ntp_gettime) },/* 175 = compat_30_ntp_gettime */
1.234     ad        473: #if defined(NTP) || !defined(_KERNEL_OPT)
1.223     ad        474:        { ns(struct sys_ntp_adjtime_args), 0,
1.202     dsl       475:            (sy_call_t *)sys_ntp_adjtime },     /* 176 = ntp_adjtime */
1.116     bjh21     476: #else
1.123     thorpej   477:        { 0, 0, 0,
1.116     bjh21     478:            sys_nosys },                        /* 176 = excluded ntp_adjtime */
                    479: #endif
1.123     thorpej   480:        { 0, 0, 0,
1.37      mycroft   481:            sys_nosys },                        /* 177 = unimplemented */
1.123     thorpej   482:        { 0, 0, 0,
1.37      mycroft   483:            sys_nosys },                        /* 178 = unimplemented */
1.123     thorpej   484:        { 0, 0, 0,
1.37      mycroft   485:            sys_nosys },                        /* 179 = unimplemented */
1.123     thorpej   486:        { 0, 0, 0,
1.37      mycroft   487:            sys_nosys },                        /* 180 = unimplemented */
1.223     ad        488:        { ns(struct sys_setgid_args), 0,
1.202     dsl       489:            (sy_call_t *)sys_setgid },          /* 181 = setgid */
1.223     ad        490:        { ns(struct sys_setegid_args), 0,
1.202     dsl       491:            (sy_call_t *)sys_setegid },         /* 182 = setegid */
1.223     ad        492:        { ns(struct sys_seteuid_args), 0,
1.202     dsl       493:            (sy_call_t *)sys_seteuid },         /* 183 = seteuid */
1.223     ad        494:        { ns(struct sys_lfs_bmapv_args), 0,
1.244.2.1! uebayasi  495:            (sy_call_t *)sys_nomodule },        /* 184 = lfs_bmapv */
1.223     ad        496:        { ns(struct sys_lfs_markv_args), 0,
1.244.2.1! uebayasi  497:            (sy_call_t *)sys_nomodule },        /* 185 = lfs_markv */
1.223     ad        498:        { ns(struct sys_lfs_segclean_args), 0,
1.244.2.1! uebayasi  499:            (sy_call_t *)sys_nomodule },        /* 186 = lfs_segclean */
1.235     christos  500:        { ns(struct compat_50_sys_lfs_segwait_args), 0,
                    501:            (sy_call_t *)sys_nomodule },        /* 187 = compat_50_lfs_segwait */
1.223     ad        502:        { ns(struct compat_12_sys_stat_args), 0,
1.234     ad        503:            (sy_call_t *)sys_nomodule },        /* 188 = compat_12_stat12 */
1.223     ad        504:        { ns(struct compat_12_sys_fstat_args), 0,
1.234     ad        505:            (sy_call_t *)sys_nomodule },        /* 189 = compat_12_fstat12 */
1.223     ad        506:        { ns(struct compat_12_sys_lstat_args), 0,
1.234     ad        507:            (sy_call_t *)sys_nomodule },        /* 190 = compat_12_lstat12 */
1.223     ad        508:        { ns(struct sys_pathconf_args), 0,
1.202     dsl       509:            (sy_call_t *)sys_pathconf },        /* 191 = pathconf */
1.223     ad        510:        { ns(struct sys_fpathconf_args), 0,
1.202     dsl       511:            (sy_call_t *)sys_fpathconf },       /* 192 = fpathconf */
1.123     thorpej   512:        { 0, 0, 0,
1.37      mycroft   513:            sys_nosys },                        /* 193 = unimplemented */
1.223     ad        514:        { ns(struct sys_getrlimit_args), 0,
1.202     dsl       515:            (sy_call_t *)sys_getrlimit },       /* 194 = getrlimit */
1.223     ad        516:        { ns(struct sys_setrlimit_args), 0,
1.202     dsl       517:            (sy_call_t *)sys_setrlimit },       /* 195 = setrlimit */
1.223     ad        518:        { ns(struct compat_12_sys_getdirentries_args), 0,
1.234     ad        519:            (sy_call_t *)sys_nomodule },        /* 196 = compat_12_getdirentries */
1.242     matt      520:        { ns(struct sys_mmap_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64,
1.202     dsl       521:            (sy_call_t *)sys_mmap },            /* 197 = mmap */
1.242     matt      522:        { ns(struct sys___syscall_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT,
1.202     dsl       523:            (sy_call_t *)sys___syscall },       /* 198 = __syscall */
1.242     matt      524:        { ns(struct sys_lseek_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_RET_64,
1.202     dsl       525:            (sy_call_t *)sys_lseek },           /* 199 = lseek */
1.242     matt      526:        { ns(struct sys_truncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
1.202     dsl       527:            (sy_call_t *)sys_truncate },        /* 200 = truncate */
1.242     matt      528:        { ns(struct sys_ftruncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
1.202     dsl       529:            (sy_call_t *)sys_ftruncate },       /* 201 = ftruncate */
1.223     ad        530:        { ns(struct sys___sysctl_args), 0,
1.202     dsl       531:            (sy_call_t *)sys___sysctl },        /* 202 = __sysctl */
1.223     ad        532:        { ns(struct sys_mlock_args), 0,
1.202     dsl       533:            (sy_call_t *)sys_mlock },           /* 203 = mlock */
1.223     ad        534:        { ns(struct sys_munlock_args), 0,
1.202     dsl       535:            (sy_call_t *)sys_munlock },         /* 204 = munlock */
1.223     ad        536:        { ns(struct sys_undelete_args), 0,
1.202     dsl       537:            (sy_call_t *)sys_undelete },        /* 205 = undelete */
1.235     christos  538:        { ns(struct compat_50_sys_futimes_args), 0,
                    539:            (sy_call_t *)sys_nomodule },        /* 206 = compat_50_futimes */
1.223     ad        540:        { ns(struct sys_getpgid_args), 0,
1.202     dsl       541:            (sy_call_t *)sys_getpgid },         /* 207 = getpgid */
1.223     ad        542:        { ns(struct sys_reboot_args), 0,
1.202     dsl       543:            (sy_call_t *)sys_reboot },          /* 208 = reboot */
1.223     ad        544:        { ns(struct sys_poll_args), 0,
1.202     dsl       545:            (sy_call_t *)sys_poll },            /* 209 = poll */
1.123     thorpej   546:        { 0, 0, 0,
1.230     ad        547:            sys_nosys },                        /* 210 = unimplemented */
1.123     thorpej   548:        { 0, 0, 0,
1.230     ad        549:            sys_nosys },                        /* 211 = unimplemented */
1.123     thorpej   550:        { 0, 0, 0,
1.230     ad        551:            sys_nosys },                        /* 212 = unimplemented */
1.123     thorpej   552:        { 0, 0, 0,
1.230     ad        553:            sys_nosys },                        /* 213 = unimplemented */
1.123     thorpej   554:        { 0, 0, 0,
1.230     ad        555:            sys_nosys },                        /* 214 = unimplemented */
1.123     thorpej   556:        { 0, 0, 0,
1.230     ad        557:            sys_nosys },                        /* 215 = unimplemented */
1.123     thorpej   558:        { 0, 0, 0,
1.230     ad        559:            sys_nosys },                        /* 216 = unimplemented */
1.123     thorpej   560:        { 0, 0, 0,
1.230     ad        561:            sys_nosys },                        /* 217 = unimplemented */
1.123     thorpej   562:        { 0, 0, 0,
1.230     ad        563:            sys_nosys },                        /* 218 = unimplemented */
1.123     thorpej   564:        { 0, 0, 0,
1.230     ad        565:            sys_nosys },                        /* 219 = unimplemented */
1.234     ad        566: #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
1.223     ad        567:        { ns(struct compat_14_sys___semctl_args), 0,
1.234     ad        568:            (sy_call_t *)sys_nomodule },        /* 220 = compat_14___semctl */
1.223     ad        569:        { ns(struct sys_semget_args), 0,
1.202     dsl       570:            (sy_call_t *)sys_semget },          /* 221 = semget */
1.223     ad        571:        { ns(struct sys_semop_args), 0,
1.202     dsl       572:            (sy_call_t *)sys_semop },           /* 222 = semop */
1.223     ad        573:        { ns(struct sys_semconfig_args), 0,
1.202     dsl       574:            (sy_call_t *)sys_semconfig },       /* 223 = semconfig */
1.28      cgd       575: #else
1.123     thorpej   576:        { 0, 0, 0,
1.111     thorpej   577:            sys_nosys },                        /* 220 = excluded compat_14_semctl */
1.123     thorpej   578:        { 0, 0, 0,
1.106     christos  579:            sys_nosys },                        /* 221 = excluded semget */
1.123     thorpej   580:        { 0, 0, 0,
1.106     christos  581:            sys_nosys },                        /* 222 = excluded semop */
1.123     thorpej   582:        { 0, 0, 0,
1.106     christos  583:            sys_nosys },                        /* 223 = excluded semconfig */
1.28      cgd       584: #endif
1.234     ad        585: #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
1.223     ad        586:        { ns(struct compat_14_sys_msgctl_args), 0,
1.234     ad        587:            (sy_call_t *)sys_nomodule },        /* 224 = compat_14_msgctl */
1.223     ad        588:        { ns(struct sys_msgget_args), 0,
1.202     dsl       589:            (sy_call_t *)sys_msgget },          /* 225 = msgget */
1.223     ad        590:        { ns(struct sys_msgsnd_args), 0,
1.202     dsl       591:            (sy_call_t *)sys_msgsnd },          /* 226 = msgsnd */
1.223     ad        592:        { ns(struct sys_msgrcv_args), 0,
1.202     dsl       593:            (sy_call_t *)sys_msgrcv },          /* 227 = msgrcv */
1.28      cgd       594: #else
1.123     thorpej   595:        { 0, 0, 0,
1.111     thorpej   596:            sys_nosys },                        /* 224 = excluded compat_14_msgctl */
1.123     thorpej   597:        { 0, 0, 0,
1.106     christos  598:            sys_nosys },                        /* 225 = excluded msgget */
1.123     thorpej   599:        { 0, 0, 0,
1.106     christos  600:            sys_nosys },                        /* 226 = excluded msgsnd */
1.123     thorpej   601:        { 0, 0, 0,
1.106     christos  602:            sys_nosys },                        /* 227 = excluded msgrcv */
1.28      cgd       603: #endif
1.234     ad        604: #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
1.223     ad        605:        { ns(struct sys_shmat_args), 0,
1.202     dsl       606:            (sy_call_t *)sys_shmat },           /* 228 = shmat */
1.223     ad        607:        { ns(struct compat_14_sys_shmctl_args), 0,
1.234     ad        608:            (sy_call_t *)sys_nomodule },        /* 229 = compat_14_shmctl */
1.223     ad        609:        { ns(struct sys_shmdt_args), 0,
1.202     dsl       610:            (sy_call_t *)sys_shmdt },           /* 230 = shmdt */
1.223     ad        611:        { ns(struct sys_shmget_args), 0,
1.202     dsl       612:            (sy_call_t *)sys_shmget },          /* 231 = shmget */
1.28      cgd       613: #else
1.123     thorpej   614:        { 0, 0, 0,
1.106     christos  615:            sys_nosys },                        /* 228 = excluded shmat */
1.123     thorpej   616:        { 0, 0, 0,
1.111     thorpej   617:            sys_nosys },                        /* 229 = excluded compat_14_shmctl */
1.123     thorpej   618:        { 0, 0, 0,
1.106     christos  619:            sys_nosys },                        /* 230 = excluded shmdt */
1.123     thorpej   620:        { 0, 0, 0,
1.106     christos  621:            sys_nosys },                        /* 231 = excluded shmget */
1.28      cgd       622: #endif
1.235     christos  623:        { ns(struct compat_50_sys_clock_gettime_args), 0,
                    624:            (sy_call_t *)sys_nomodule },        /* 232 = compat_50_clock_gettime */
                    625:        { ns(struct compat_50_sys_clock_settime_args), 0,
                    626:            (sy_call_t *)sys_nomodule },        /* 233 = compat_50_clock_settime */
                    627:        { ns(struct compat_50_sys_clock_getres_args), 0,
                    628:            (sy_call_t *)sys_nomodule },        /* 234 = compat_50_clock_getres */
1.223     ad        629:        { ns(struct sys_timer_create_args), 0,
1.202     dsl       630:            (sy_call_t *)sys_timer_create },    /* 235 = timer_create */
1.223     ad        631:        { ns(struct sys_timer_delete_args), 0,
1.202     dsl       632:            (sy_call_t *)sys_timer_delete },    /* 236 = timer_delete */
1.235     christos  633:        { ns(struct compat_50_sys_timer_settime_args), 0,
                    634:            (sy_call_t *)sys_nomodule },        /* 237 = compat_50_timer_settime */
                    635:        { ns(struct compat_50_sys_timer_gettime_args), 0,
                    636:            (sy_call_t *)sys_nomodule },        /* 238 = compat_50_timer_gettime */
1.223     ad        637:        { ns(struct sys_timer_getoverrun_args), 0,
1.202     dsl       638:            (sy_call_t *)sys_timer_getoverrun },/* 239 = timer_getoverrun */
1.235     christos  639:        { ns(struct compat_50_sys_nanosleep_args), 0,
                    640:            (sy_call_t *)sys_nomodule },        /* 240 = compat_50_nanosleep */
1.223     ad        641:        { ns(struct sys_fdatasync_args), 0,
1.202     dsl       642:            (sy_call_t *)sys_fdatasync },       /* 241 = fdatasync */
1.223     ad        643:        { ns(struct sys_mlockall_args), 0,
1.202     dsl       644:            (sy_call_t *)sys_mlockall },        /* 242 = mlockall */
1.223     ad        645:        { 0, 0, 0,
1.202     dsl       646:            (sy_call_t *)sys_munlockall },      /* 243 = munlockall */
1.235     christos  647:        { ns(struct compat_50_sys___sigtimedwait_args), 0,
                    648:            (sy_call_t *)sys_nomodule },        /* 244 = compat_50___sigtimedwait */
1.123     thorpej   649:        { 0, 0, 0,
1.143     jdolecek  650:            sys_nosys },                        /* 245 = unimplemented sys_sigqueue */
1.223     ad        651:        { ns(struct sys_modctl_args), 0,
1.207     ad        652:            (sy_call_t *)sys_modctl },          /* 246 = modctl */
1.223     ad        653:        { ns(struct sys__ksem_init_args), 0,
1.231     ad        654:            (sy_call_t *)sys_nomodule },        /* 247 = _ksem_init */
1.223     ad        655:        { ns(struct sys__ksem_open_args), 0,
1.231     ad        656:            (sy_call_t *)sys_nomodule },        /* 248 = _ksem_open */
1.223     ad        657:        { ns(struct sys__ksem_unlink_args), 0,
1.231     ad        658:            (sy_call_t *)sys_nomodule },        /* 249 = _ksem_unlink */
1.223     ad        659:        { ns(struct sys__ksem_close_args), 0,
1.231     ad        660:            (sy_call_t *)sys_nomodule },        /* 250 = _ksem_close */
1.223     ad        661:        { ns(struct sys__ksem_post_args), 0,
1.231     ad        662:            (sy_call_t *)sys_nomodule },        /* 251 = _ksem_post */
1.223     ad        663:        { ns(struct sys__ksem_wait_args), 0,
1.231     ad        664:            (sy_call_t *)sys_nomodule },        /* 252 = _ksem_wait */
1.223     ad        665:        { ns(struct sys__ksem_trywait_args), 0,
1.231     ad        666:            (sy_call_t *)sys_nomodule },        /* 253 = _ksem_trywait */
1.223     ad        667:        { ns(struct sys__ksem_getvalue_args), 0,
1.231     ad        668:            (sy_call_t *)sys_nomodule },        /* 254 = _ksem_getvalue */
1.223     ad        669:        { ns(struct sys__ksem_destroy_args), 0,
1.231     ad        670:            (sy_call_t *)sys_nomodule },        /* 255 = _ksem_destroy */
1.141     thorpej   671:        { 0, 0, 0,
                    672:            sys_nosys },                        /* 256 = unimplemented sys__ksem_timedwait */
1.223     ad        673:        { ns(struct sys_mq_open_args), 0,
1.240     rmind     674:            (sy_call_t *)sys_nomodule },        /* 257 = mq_open */
1.223     ad        675:        { ns(struct sys_mq_close_args), 0,
1.240     rmind     676:            (sy_call_t *)sys_nomodule },        /* 258 = mq_close */
1.223     ad        677:        { ns(struct sys_mq_unlink_args), 0,
1.240     rmind     678:            (sy_call_t *)sys_nomodule },        /* 259 = mq_unlink */
1.223     ad        679:        { ns(struct sys_mq_getattr_args), 0,
1.240     rmind     680:            (sy_call_t *)sys_nomodule },        /* 260 = mq_getattr */
1.223     ad        681:        { ns(struct sys_mq_setattr_args), 0,
1.240     rmind     682:            (sy_call_t *)sys_nomodule },        /* 261 = mq_setattr */
1.223     ad        683:        { ns(struct sys_mq_notify_args), 0,
1.240     rmind     684:            (sy_call_t *)sys_nomodule },        /* 262 = mq_notify */
1.223     ad        685:        { ns(struct sys_mq_send_args), 0,
1.240     rmind     686:            (sy_call_t *)sys_nomodule },        /* 263 = mq_send */
1.223     ad        687:        { ns(struct sys_mq_receive_args), 0,
1.240     rmind     688:            (sy_call_t *)sys_nomodule },        /* 264 = mq_receive */
1.235     christos  689:        { ns(struct compat_50_sys_mq_timedsend_args), 0,
                    690:            (sy_call_t *)sys_nomodule },        /* 265 = compat_50_mq_timedsend */
                    691:        { ns(struct compat_50_sys_mq_timedreceive_args), 0,
                    692:            (sy_call_t *)sys_nomodule },        /* 266 = compat_50_mq_timedreceive */
1.123     thorpej   693:        { 0, 0, 0,
1.55      kleink    694:            sys_nosys },                        /* 267 = unimplemented */
1.123     thorpej   695:        { 0, 0, 0,
1.55      kleink    696:            sys_nosys },                        /* 268 = unimplemented */
1.123     thorpej   697:        { 0, 0, 0,
1.55      kleink    698:            sys_nosys },                        /* 269 = unimplemented */
1.223     ad        699:        { ns(struct sys___posix_rename_args), 0,
1.202     dsl       700:            (sy_call_t *)sys___posix_rename },  /* 270 = __posix_rename */
1.223     ad        701:        { ns(struct sys_swapctl_args), 0,
1.202     dsl       702:            (sy_call_t *)sys_swapctl },         /* 271 = swapctl */
1.223     ad        703:        { ns(struct compat_30_sys_getdents_args), 0,
1.234     ad        704:            (sy_call_t *)sys_nomodule },        /* 272 = compat_30_getdents */
1.223     ad        705:        { ns(struct sys_minherit_args), 0,
1.202     dsl       706:            (sy_call_t *)sys_minherit },        /* 273 = minherit */
1.223     ad        707:        { ns(struct sys_lchmod_args), 0,
1.202     dsl       708:            (sy_call_t *)sys_lchmod },          /* 274 = lchmod */
1.223     ad        709:        { ns(struct sys_lchown_args), 0,
1.202     dsl       710:            (sy_call_t *)sys_lchown },          /* 275 = lchown */
1.235     christos  711:        { ns(struct compat_50_sys_lutimes_args), 0,
1.237     christos  712:            (sy_call_t *)sys_nomodule },        /* 276 = compat_50_lutimes */
1.223     ad        713:        { ns(struct sys___msync13_args), 0,
1.202     dsl       714:            (sy_call_t *)sys___msync13 },       /* 277 = __msync13 */
1.223     ad        715:        { ns(struct compat_30_sys___stat13_args), 0,
1.234     ad        716:            (sy_call_t *)sys_nomodule },        /* 278 = compat_30___stat13 */
1.223     ad        717:        { ns(struct compat_30_sys___fstat13_args), 0,
1.234     ad        718:            (sy_call_t *)sys_nomodule },        /* 279 = compat_30___fstat13 */
1.223     ad        719:        { ns(struct compat_30_sys___lstat13_args), 0,
1.234     ad        720:            (sy_call_t *)sys_nomodule },        /* 280 = compat_30___lstat13 */
1.223     ad        721:        { ns(struct sys___sigaltstack14_args), 0,
1.202     dsl       722:            (sy_call_t *)sys___sigaltstack14 }, /* 281 = __sigaltstack14 */
1.223     ad        723:        { 0, 0, 0,
1.202     dsl       724:            (sy_call_t *)sys___vfork14 },       /* 282 = __vfork14 */
1.223     ad        725:        { ns(struct sys___posix_chown_args), 0,
1.202     dsl       726:            (sy_call_t *)sys___posix_chown },   /* 283 = __posix_chown */
1.223     ad        727:        { ns(struct sys___posix_fchown_args), 0,
1.202     dsl       728:            (sy_call_t *)sys___posix_fchown },  /* 284 = __posix_fchown */
1.223     ad        729:        { ns(struct sys___posix_lchown_args), 0,
1.202     dsl       730:            (sy_call_t *)sys___posix_lchown },  /* 285 = __posix_lchown */
1.223     ad        731:        { ns(struct sys_getsid_args), 0,
1.202     dsl       732:            (sy_call_t *)sys_getsid },          /* 286 = getsid */
1.223     ad        733:        { ns(struct sys___clone_args), 0,
1.202     dsl       734:            (sy_call_t *)sys___clone },         /* 287 = __clone */
1.223     ad        735:        { ns(struct sys_fktrace_args), 0,
1.202     dsl       736:            (sy_call_t *)sys_fktrace },         /* 288 = fktrace */
1.242     matt      737:        { ns(struct sys_preadv_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
1.202     dsl       738:            (sy_call_t *)sys_preadv },          /* 289 = preadv */
1.242     matt      739:        { ns(struct sys_pwritev_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
1.202     dsl       740:            (sy_call_t *)sys_pwritev },         /* 290 = pwritev */
1.223     ad        741:        { ns(struct compat_16_sys___sigaction14_args), 0,
1.234     ad        742:            (sy_call_t *)sys_nomodule },        /* 291 = compat_16___sigaction14 */
1.223     ad        743:        { ns(struct sys___sigpending14_args), 0,
1.202     dsl       744:            (sy_call_t *)sys___sigpending14 },  /* 292 = __sigpending14 */
1.223     ad        745:        { ns(struct sys___sigprocmask14_args), 0,
1.202     dsl       746:            (sy_call_t *)sys___sigprocmask14 }, /* 293 = __sigprocmask14 */
1.223     ad        747:        { ns(struct sys___sigsuspend14_args), 0,
1.202     dsl       748:            (sy_call_t *)sys___sigsuspend14 },  /* 294 = __sigsuspend14 */
1.223     ad        749:        { ns(struct compat_16_sys___sigreturn14_args), 0,
1.234     ad        750:            (sy_call_t *)sys_nomodule },        /* 295 = compat_16___sigreturn14 */
1.223     ad        751:        { ns(struct sys___getcwd_args), 0,
1.202     dsl       752:            (sy_call_t *)sys___getcwd },        /* 296 = __getcwd */
1.223     ad        753:        { ns(struct sys_fchroot_args), 0,
1.202     dsl       754:            (sy_call_t *)sys_fchroot },         /* 297 = fchroot */
1.223     ad        755:        { ns(struct compat_30_sys_fhopen_args), 0,
1.234     ad        756:            (sy_call_t *)sys_nomodule },        /* 298 = compat_30_fhopen */
1.223     ad        757:        { ns(struct compat_30_sys_fhstat_args), 0,
1.234     ad        758:            (sy_call_t *)sys_nomodule },        /* 299 = compat_30_fhstat */
1.223     ad        759:        { ns(struct compat_20_sys_fhstatfs_args), 0,
1.234     ad        760:            (sy_call_t *)sys_nomodule },        /* 300 = compat_20_fhstatfs */
                    761: #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
1.235     christos  762:        { ns(struct compat_50_sys_____semctl13_args), 0,
                    763:            (sy_call_t *)sys_nomodule },        /* 301 = compat_50_____semctl13 */
1.111     thorpej   764: #else
1.123     thorpej   765:        { 0, 0, 0,
1.113     christos  766:            sys_nosys },                        /* 301 = excluded ____semctl13 */
1.111     thorpej   767: #endif
1.234     ad        768: #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
1.235     christos  769:        { ns(struct compat_50_sys___msgctl13_args), 0,
                    770:            (sy_call_t *)sys_nomodule },        /* 302 = compat_50___msgctl13 */
1.111     thorpej   771: #else
1.123     thorpej   772:        { 0, 0, 0,
1.111     thorpej   773:            sys_nosys },                        /* 302 = excluded __msgctl13 */
                    774: #endif
1.234     ad        775: #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
1.235     christos  776:        { ns(struct compat_50_sys___shmctl13_args), 0,
                    777:            (sy_call_t *)sys_nomodule },        /* 303 = compat_50___shmctl13 */
1.111     thorpej   778: #else
1.123     thorpej   779:        { 0, 0, 0,
1.111     thorpej   780:            sys_nosys },                        /* 303 = excluded __shmctl13 */
                    781: #endif
1.223     ad        782:        { ns(struct sys_lchflags_args), 0,
1.202     dsl       783:            (sy_call_t *)sys_lchflags },        /* 304 = lchflags */
1.223     ad        784:        { 0, 0, 0,
1.202     dsl       785:            (sy_call_t *)sys_issetugid },       /* 305 = issetugid */
1.223     ad        786:        { ns(struct sys_utrace_args), 0,
1.202     dsl       787:            (sy_call_t *)sys_utrace },          /* 306 = utrace */
1.223     ad        788:        { ns(struct sys_getcontext_args), 0,
1.202     dsl       789:            (sy_call_t *)sys_getcontext },      /* 307 = getcontext */
1.223     ad        790:        { ns(struct sys_setcontext_args), 0,
1.202     dsl       791:            (sy_call_t *)sys_setcontext },      /* 308 = setcontext */
1.223     ad        792:        { ns(struct sys__lwp_create_args), 0,
1.202     dsl       793:            (sy_call_t *)sys__lwp_create },     /* 309 = _lwp_create */
1.223     ad        794:        { 0, 0, 0,
1.202     dsl       795:            (sy_call_t *)sys__lwp_exit },       /* 310 = _lwp_exit */
1.223     ad        796:        { 0, 0, 0,
1.202     dsl       797:            (sy_call_t *)sys__lwp_self },       /* 311 = _lwp_self */
1.223     ad        798:        { ns(struct sys__lwp_wait_args), 0,
1.202     dsl       799:            (sy_call_t *)sys__lwp_wait },       /* 312 = _lwp_wait */
1.223     ad        800:        { ns(struct sys__lwp_suspend_args), 0,
1.202     dsl       801:            (sy_call_t *)sys__lwp_suspend },    /* 313 = _lwp_suspend */
1.223     ad        802:        { ns(struct sys__lwp_continue_args), 0,
1.202     dsl       803:            (sy_call_t *)sys__lwp_continue },   /* 314 = _lwp_continue */
1.223     ad        804:        { ns(struct sys__lwp_wakeup_args), 0,
1.202     dsl       805:            (sy_call_t *)sys__lwp_wakeup },     /* 315 = _lwp_wakeup */
1.223     ad        806:        { 0, 0, 0,
1.202     dsl       807:            (sy_call_t *)sys__lwp_getprivate }, /* 316 = _lwp_getprivate */
1.223     ad        808:        { ns(struct sys__lwp_setprivate_args), 0,
1.202     dsl       809:            (sy_call_t *)sys__lwp_setprivate }, /* 317 = _lwp_setprivate */
1.223     ad        810:        { ns(struct sys__lwp_kill_args), 0,
1.202     dsl       811:            (sy_call_t *)sys__lwp_kill },       /* 318 = _lwp_kill */
1.223     ad        812:        { ns(struct sys__lwp_detach_args), 0,
1.202     dsl       813:            (sy_call_t *)sys__lwp_detach },     /* 319 = _lwp_detach */
1.235     christos  814:        { ns(struct compat_50_sys__lwp_park_args), 0,
                    815:            (sy_call_t *)sys_nomodule },        /* 320 = compat_50__lwp_park */
1.223     ad        816:        { ns(struct sys__lwp_unpark_args), 0,
1.202     dsl       817:            (sy_call_t *)sys__lwp_unpark },     /* 321 = _lwp_unpark */
1.223     ad        818:        { ns(struct sys__lwp_unpark_all_args), 0,
1.202     dsl       819:            (sy_call_t *)sys__lwp_unpark_all }, /* 322 = _lwp_unpark_all */
1.223     ad        820:        { ns(struct sys__lwp_setname_args), 0,
1.202     dsl       821:            (sy_call_t *)sys__lwp_setname },    /* 323 = _lwp_setname */
1.223     ad        822:        { ns(struct sys__lwp_getname_args), 0,
1.202     dsl       823:            (sy_call_t *)sys__lwp_getname },    /* 324 = _lwp_getname */
1.223     ad        824:        { ns(struct sys__lwp_ctl_args), 0,
1.202     dsl       825:            (sy_call_t *)sys__lwp_ctl },        /* 325 = _lwp_ctl */
1.123     thorpej   826:        { 0, 0, 0,
                    827:            sys_nosys },                        /* 326 = unimplemented */
                    828:        { 0, 0, 0,
                    829:            sys_nosys },                        /* 327 = unimplemented */
                    830:        { 0, 0, 0,
                    831:            sys_nosys },                        /* 328 = unimplemented */
                    832:        { 0, 0, 0,
                    833:            sys_nosys },                        /* 329 = unimplemented */
1.228     wrstuden  834:        { ns(struct sys_sa_register_args), 0,
1.202     dsl       835:            (sy_call_t *)sys_sa_register },     /* 330 = sa_register */
1.228     wrstuden  836:        { ns(struct sys_sa_stacks_args), 0,
1.202     dsl       837:            (sy_call_t *)sys_sa_stacks },       /* 331 = sa_stacks */
1.223     ad        838:        { 0, 0, 0,
1.202     dsl       839:            (sy_call_t *)sys_sa_enable },       /* 332 = sa_enable */
1.228     wrstuden  840:        { ns(struct sys_sa_setconcurrency_args), 0,
1.202     dsl       841:            (sy_call_t *)sys_sa_setconcurrency },/* 333 = sa_setconcurrency */
1.223     ad        842:        { 0, 0, 0,
1.202     dsl       843:            (sy_call_t *)sys_sa_yield },        /* 334 = sa_yield */
1.228     wrstuden  844:        { ns(struct sys_sa_preempt_args), 0,
1.202     dsl       845:            (sy_call_t *)sys_sa_preempt },      /* 335 = sa_preempt */
1.223     ad        846:        { 0, 0, 0,
1.228     wrstuden  847:            sys_nosys },                        /* 336 = obsolete sys_sa_unblockyield */
1.123     thorpej   848:        { 0, 0, 0,
                    849:            sys_nosys },                        /* 337 = unimplemented */
                    850:        { 0, 0, 0,
                    851:            sys_nosys },                        /* 338 = unimplemented */
                    852:        { 0, 0, 0,
                    853:            sys_nosys },                        /* 339 = unimplemented */
1.223     ad        854:        { ns(struct sys___sigaction_sigtramp_args), 0,
1.202     dsl       855:            (sy_call_t *)sys___sigaction_sigtramp },/* 340 = __sigaction_sigtramp */
1.223     ad        856:        { ns(struct sys_pmc_get_info_args), 0,
1.202     dsl       857:            (sy_call_t *)sys_pmc_get_info },    /* 341 = pmc_get_info */
1.223     ad        858:        { ns(struct sys_pmc_control_args), 0,
1.202     dsl       859:            (sy_call_t *)sys_pmc_control },     /* 342 = pmc_control */
1.223     ad        860:        { ns(struct sys_rasctl_args), 0,
1.202     dsl       861:            (sy_call_t *)sys_rasctl },          /* 343 = rasctl */
1.223     ad        862:        { 0, 0, 0,
1.202     dsl       863:            (sy_call_t *)sys_kqueue },          /* 344 = kqueue */
1.235     christos  864:        { ns(struct compat_50_sys_kevent_args), 0,
                    865:            (sy_call_t *)sys_nomodule },        /* 345 = compat_50_kevent */
1.223     ad        866:        { ns(struct sys__sched_setparam_args), 0,
1.206     rmind     867:            (sy_call_t *)sys__sched_setparam }, /* 346 = _sched_setparam */
1.223     ad        868:        { ns(struct sys__sched_getparam_args), 0,
1.206     rmind     869:            (sy_call_t *)sys__sched_getparam }, /* 347 = _sched_getparam */
1.223     ad        870:        { ns(struct sys__sched_setaffinity_args), 0,
1.206     rmind     871:            (sy_call_t *)sys__sched_setaffinity },/* 348 = _sched_setaffinity */
1.223     ad        872:        { ns(struct sys__sched_getaffinity_args), 0,
1.206     rmind     873:            (sy_call_t *)sys__sched_getaffinity },/* 349 = _sched_getaffinity */
1.223     ad        874:        { 0, 0, 0,
1.202     dsl       875:            (sy_call_t *)sys_sched_yield },     /* 350 = sched_yield */
1.123     thorpej   876:        { 0, 0, 0,
1.206     rmind     877:            sys_nosys },                        /* 351 = unimplemented */
1.123     thorpej   878:        { 0, 0, 0,
1.206     rmind     879:            sys_nosys },                        /* 352 = unimplemented */
1.123     thorpej   880:        { 0, 0, 0,
1.206     rmind     881:            sys_nosys },                        /* 353 = unimplemented */
1.242     matt      882:        { ns(struct sys_fsync_range_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
1.202     dsl       883:            (sy_call_t *)sys_fsync_range },     /* 354 = fsync_range */
1.223     ad        884:        { ns(struct sys_uuidgen_args), 0,
1.202     dsl       885:            (sy_call_t *)sys_uuidgen },         /* 355 = uuidgen */
1.223     ad        886:        { ns(struct sys_getvfsstat_args), 0,
1.202     dsl       887:            (sy_call_t *)sys_getvfsstat },      /* 356 = getvfsstat */
1.223     ad        888:        { ns(struct sys_statvfs1_args), 0,
1.202     dsl       889:            (sy_call_t *)sys_statvfs1 },        /* 357 = statvfs1 */
1.223     ad        890:        { ns(struct sys_fstatvfs1_args), 0,
1.202     dsl       891:            (sy_call_t *)sys_fstatvfs1 },       /* 358 = fstatvfs1 */
1.223     ad        892:        { ns(struct compat_30_sys_fhstatvfs1_args), 0,
1.234     ad        893:            (sy_call_t *)sys_nomodule },        /* 359 = compat_30_fhstatvfs1 */
1.223     ad        894:        { ns(struct sys_extattrctl_args), 0,
1.202     dsl       895:            (sy_call_t *)sys_extattrctl },      /* 360 = extattrctl */
1.223     ad        896:        { ns(struct sys_extattr_set_file_args), 0,
1.202     dsl       897:            (sy_call_t *)sys_extattr_set_file },/* 361 = extattr_set_file */
1.223     ad        898:        { ns(struct sys_extattr_get_file_args), 0,
1.202     dsl       899:            (sy_call_t *)sys_extattr_get_file },/* 362 = extattr_get_file */
1.223     ad        900:        { ns(struct sys_extattr_delete_file_args), 0,
1.202     dsl       901:            (sy_call_t *)sys_extattr_delete_file },/* 363 = extattr_delete_file */
1.223     ad        902:        { ns(struct sys_extattr_set_fd_args), 0,
1.202     dsl       903:            (sy_call_t *)sys_extattr_set_fd },  /* 364 = extattr_set_fd */
1.223     ad        904:        { ns(struct sys_extattr_get_fd_args), 0,
1.202     dsl       905:            (sy_call_t *)sys_extattr_get_fd },  /* 365 = extattr_get_fd */
1.223     ad        906:        { ns(struct sys_extattr_delete_fd_args), 0,
1.202     dsl       907:            (sy_call_t *)sys_extattr_delete_fd },/* 366 = extattr_delete_fd */
1.223     ad        908:        { ns(struct sys_extattr_set_link_args), 0,
1.202     dsl       909:            (sy_call_t *)sys_extattr_set_link },/* 367 = extattr_set_link */
1.223     ad        910:        { ns(struct sys_extattr_get_link_args), 0,
1.202     dsl       911:            (sy_call_t *)sys_extattr_get_link },/* 368 = extattr_get_link */
1.223     ad        912:        { ns(struct sys_extattr_delete_link_args), 0,
1.202     dsl       913:            (sy_call_t *)sys_extattr_delete_link },/* 369 = extattr_delete_link */
1.223     ad        914:        { ns(struct sys_extattr_list_fd_args), 0,
1.202     dsl       915:            (sy_call_t *)sys_extattr_list_fd }, /* 370 = extattr_list_fd */
1.223     ad        916:        { ns(struct sys_extattr_list_file_args), 0,
1.202     dsl       917:            (sy_call_t *)sys_extattr_list_file },/* 371 = extattr_list_file */
1.223     ad        918:        { ns(struct sys_extattr_list_link_args), 0,
1.202     dsl       919:            (sy_call_t *)sys_extattr_list_link },/* 372 = extattr_list_link */
1.235     christos  920:        { ns(struct compat_50_sys_pselect_args), 0,
                    921:            (sy_call_t *)sys_nomodule },        /* 373 = compat_50_pselect */
                    922:        { ns(struct compat_50_sys_pollts_args), 0,
                    923:            (sy_call_t *)sys_nomodule },        /* 374 = compat_50_pollts */
1.223     ad        924:        { ns(struct sys_setxattr_args), 0,
1.202     dsl       925:            (sy_call_t *)sys_setxattr },        /* 375 = setxattr */
1.223     ad        926:        { ns(struct sys_lsetxattr_args), 0,
1.202     dsl       927:            (sy_call_t *)sys_lsetxattr },       /* 376 = lsetxattr */
1.223     ad        928:        { ns(struct sys_fsetxattr_args), 0,
1.202     dsl       929:            (sy_call_t *)sys_fsetxattr },       /* 377 = fsetxattr */
1.223     ad        930:        { ns(struct sys_getxattr_args), 0,
1.202     dsl       931:            (sy_call_t *)sys_getxattr },        /* 378 = getxattr */
1.223     ad        932:        { ns(struct sys_lgetxattr_args), 0,
1.202     dsl       933:            (sy_call_t *)sys_lgetxattr },       /* 379 = lgetxattr */
1.223     ad        934:        { ns(struct sys_fgetxattr_args), 0,
1.202     dsl       935:            (sy_call_t *)sys_fgetxattr },       /* 380 = fgetxattr */
1.223     ad        936:        { ns(struct sys_listxattr_args), 0,
1.202     dsl       937:            (sy_call_t *)sys_listxattr },       /* 381 = listxattr */
1.223     ad        938:        { ns(struct sys_llistxattr_args), 0,
1.202     dsl       939:            (sy_call_t *)sys_llistxattr },      /* 382 = llistxattr */
1.223     ad        940:        { ns(struct sys_flistxattr_args), 0,
1.202     dsl       941:            (sy_call_t *)sys_flistxattr },      /* 383 = flistxattr */
1.223     ad        942:        { ns(struct sys_removexattr_args), 0,
1.202     dsl       943:            (sy_call_t *)sys_removexattr },     /* 384 = removexattr */
1.223     ad        944:        { ns(struct sys_lremovexattr_args), 0,
1.202     dsl       945:            (sy_call_t *)sys_lremovexattr },    /* 385 = lremovexattr */
1.223     ad        946:        { ns(struct sys_fremovexattr_args), 0,
1.202     dsl       947:            (sy_call_t *)sys_fremovexattr },    /* 386 = fremovexattr */
1.235     christos  948:        { ns(struct compat_50_sys___stat30_args), 0,
                    949:            (sy_call_t *)sys_nomodule },        /* 387 = compat_50___stat30 */
                    950:        { ns(struct compat_50_sys___fstat30_args), 0,
                    951:            (sy_call_t *)sys_nomodule },        /* 388 = compat_50___fstat30 */
                    952:        { ns(struct compat_50_sys___lstat30_args), 0,
                    953:            (sy_call_t *)sys_nomodule },        /* 389 = compat_50___lstat30 */
1.223     ad        954:        { ns(struct sys___getdents30_args), 0,
1.202     dsl       955:            (sy_call_t *)sys___getdents30 },    /* 390 = __getdents30 */
1.213     martin    956:        { 0, 0, 0,
                    957:            (sy_call_t *)nullop },                      /* 391 = ignored old posix_fadvise */
1.223     ad        958:        { ns(struct compat_30_sys___fhstat30_args), 0,
1.234     ad        959:            (sy_call_t *)sys_nomodule },        /* 392 = compat_30___fhstat30 */
1.235     christos  960:        { ns(struct compat_50_sys___ntp_gettime30_args), 0,
                    961:            (sy_call_t *)sys_nomodule },        /* 393 = compat_50___ntp_gettime30 */
1.200     dsl       962:        { ns(struct sys___socket30_args), 0,
1.202     dsl       963:            (sy_call_t *)sys___socket30 },      /* 394 = __socket30 */
1.223     ad        964:        { ns(struct sys___getfh30_args), 0,
1.202     dsl       965:            (sy_call_t *)sys___getfh30 },       /* 395 = __getfh30 */
1.223     ad        966:        { ns(struct sys___fhopen40_args), 0,
1.202     dsl       967:            (sy_call_t *)sys___fhopen40 },      /* 396 = __fhopen40 */
1.223     ad        968:        { ns(struct sys___fhstatvfs140_args), 0,
1.202     dsl       969:            (sy_call_t *)sys___fhstatvfs140 },  /* 397 = __fhstatvfs140 */
1.235     christos  970:        { ns(struct compat_50_sys___fhstat40_args), 0,
                    971:            (sy_call_t *)sys_nomodule },        /* 398 = compat_50___fhstat40 */
1.223     ad        972:        { ns(struct sys_aio_cancel_args), 0,
1.233     ad        973:            (sy_call_t *)sys_nomodule },        /* 399 = aio_cancel */
1.223     ad        974:        { ns(struct sys_aio_error_args), 0,
1.233     ad        975:            (sy_call_t *)sys_nomodule },        /* 400 = aio_error */
1.223     ad        976:        { ns(struct sys_aio_fsync_args), 0,
1.233     ad        977:            (sy_call_t *)sys_nomodule },        /* 401 = aio_fsync */
1.223     ad        978:        { ns(struct sys_aio_read_args), 0,
1.233     ad        979:            (sy_call_t *)sys_nomodule },        /* 402 = aio_read */
1.223     ad        980:        { ns(struct sys_aio_return_args), 0,
1.233     ad        981:            (sy_call_t *)sys_nomodule },        /* 403 = aio_return */
1.235     christos  982:        { ns(struct compat_50_sys_aio_suspend_args), 0,
                    983:            (sy_call_t *)sys_nomodule },        /* 404 = compat_50_aio_suspend */
1.223     ad        984:        { ns(struct sys_aio_write_args), 0,
1.233     ad        985:            (sy_call_t *)sys_nomodule },        /* 405 = aio_write */
1.223     ad        986:        { ns(struct sys_lio_listio_args), 0,
1.233     ad        987:            (sy_call_t *)sys_nomodule },        /* 406 = lio_listio */
1.123     thorpej   988:        { 0, 0, 0,
1.191     dsl       989:            sys_nosys },                        /* 407 = unimplemented */
1.123     thorpej   990:        { 0, 0, 0,
1.191     dsl       991:            sys_nosys },                        /* 408 = unimplemented */
1.123     thorpej   992:        { 0, 0, 0,
1.191     dsl       993:            sys_nosys },                        /* 409 = unimplemented */
1.223     ad        994:        { ns(struct sys___mount50_args), 0,
1.202     dsl       995:            (sy_call_t *)sys___mount50 },       /* 410 = __mount50 */
1.223     ad        996:        { ns(struct sys_mremap_args), 0,
1.202     dsl       997:            (sy_call_t *)sys_mremap },          /* 411 = mremap */
1.223     ad        998:        { ns(struct sys_pset_create_args), 0,
1.206     rmind     999:            (sy_call_t *)sys_pset_create },     /* 412 = pset_create */
1.223     ad       1000:        { ns(struct sys_pset_destroy_args), 0,
1.206     rmind    1001:            (sy_call_t *)sys_pset_destroy },    /* 413 = pset_destroy */
1.223     ad       1002:        { ns(struct sys_pset_assign_args), 0,
1.206     rmind    1003:            (sy_call_t *)sys_pset_assign },     /* 414 = pset_assign */
1.223     ad       1004:        { ns(struct sys__pset_bind_args), 0,
1.206     rmind    1005:            (sy_call_t *)sys__pset_bind },      /* 415 = _pset_bind */
1.242     matt     1006:        { ns(struct sys___posix_fadvise50_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
1.209     martin   1007:            (sy_call_t *)sys___posix_fadvise50 },/* 416 = __posix_fadvise50 */
1.235     christos 1008:        { ns(struct sys___select50_args), 0,
                   1009:            (sy_call_t *)sys___select50 },      /* 417 = __select50 */
                   1010:        { ns(struct sys___gettimeofday50_args), 0,
                   1011:            (sy_call_t *)sys___gettimeofday50 },/* 418 = __gettimeofday50 */
                   1012:        { ns(struct sys___settimeofday50_args), 0,
                   1013:            (sy_call_t *)sys___settimeofday50 },/* 419 = __settimeofday50 */
                   1014:        { ns(struct sys___utimes50_args), 0,
                   1015:            (sy_call_t *)sys___utimes50 },      /* 420 = __utimes50 */
                   1016:        { ns(struct sys___adjtime50_args), 0,
                   1017:            (sy_call_t *)sys___adjtime50 },     /* 421 = __adjtime50 */
                   1018:        { ns(struct sys___lfs_segwait50_args), 0,
1.244.2.1! uebayasi 1019:            (sy_call_t *)sys_nomodule },        /* 422 = __lfs_segwait50 */
1.235     christos 1020:        { ns(struct sys___futimes50_args), 0,
                   1021:            (sy_call_t *)sys___futimes50 },     /* 423 = __futimes50 */
                   1022:        { ns(struct sys___lutimes50_args), 0,
                   1023:            (sy_call_t *)sys___lutimes50 },     /* 424 = __lutimes50 */
                   1024:        { ns(struct sys___setitimer50_args), 0,
                   1025:            (sy_call_t *)sys___setitimer50 },   /* 425 = __setitimer50 */
                   1026:        { ns(struct sys___getitimer50_args), 0,
                   1027:            (sy_call_t *)sys___getitimer50 },   /* 426 = __getitimer50 */
                   1028:        { ns(struct sys___clock_gettime50_args), 0,
                   1029:            (sy_call_t *)sys___clock_gettime50 },/* 427 = __clock_gettime50 */
                   1030:        { ns(struct sys___clock_settime50_args), 0,
                   1031:            (sy_call_t *)sys___clock_settime50 },/* 428 = __clock_settime50 */
                   1032:        { ns(struct sys___clock_getres50_args), 0,
                   1033:            (sy_call_t *)sys___clock_getres50 },/* 429 = __clock_getres50 */
                   1034:        { ns(struct sys___nanosleep50_args), 0,
                   1035:            (sy_call_t *)sys___nanosleep50 },   /* 430 = __nanosleep50 */
                   1036:        { ns(struct sys_____sigtimedwait50_args), 0,
                   1037:            (sy_call_t *)sys_____sigtimedwait50 },/* 431 = ____sigtimedwait50 */
                   1038:        { ns(struct sys___mq_timedsend50_args), 0,
1.240     rmind    1039:            (sy_call_t *)sys_nomodule },        /* 432 = __mq_timedsend50 */
1.235     christos 1040:        { ns(struct sys___mq_timedreceive50_args), 0,
1.240     rmind    1041:            (sy_call_t *)sys_nomodule },        /* 433 = __mq_timedreceive50 */
1.235     christos 1042:        { ns(struct sys____lwp_park50_args), 0,
                   1043:            (sy_call_t *)sys____lwp_park50 },   /* 434 = ___lwp_park50 */
                   1044:        { ns(struct sys___kevent50_args), 0,
                   1045:            (sy_call_t *)sys___kevent50 },      /* 435 = __kevent50 */
                   1046:        { ns(struct sys___pselect50_args), 0,
                   1047:            (sy_call_t *)sys___pselect50 },     /* 436 = __pselect50 */
                   1048:        { ns(struct sys___pollts50_args), 0,
                   1049:            (sy_call_t *)sys___pollts50 },      /* 437 = __pollts50 */
                   1050:        { ns(struct sys___aio_suspend50_args), 0,
                   1051:            (sy_call_t *)sys_nomodule },        /* 438 = __aio_suspend50 */
                   1052:        { ns(struct sys___stat50_args), 0,
                   1053:            (sy_call_t *)sys___stat50 },        /* 439 = __stat50 */
                   1054:        { ns(struct sys___fstat50_args), 0,
                   1055:            (sy_call_t *)sys___fstat50 },       /* 440 = __fstat50 */
                   1056:        { ns(struct sys___lstat50_args), 0,
                   1057:            (sy_call_t *)sys___lstat50 },       /* 441 = __lstat50 */
                   1058: #if defined(SYSVSEM) || !defined(_KERNEL_OPT)
                   1059:        { ns(struct sys_____semctl50_args), 0,
                   1060:            (sy_call_t *)sys_____semctl50 },    /* 442 = ____semctl50 */
                   1061: #else
1.123     thorpej  1062:        { 0, 0, 0,
1.235     christos 1063:            sys_nosys },                        /* 442 = excluded ____semctl50 */
                   1064: #endif
                   1065: #if defined(SYSVSHM) || !defined(_KERNEL_OPT)
                   1066:        { ns(struct sys___shmctl50_args), 0,
                   1067:            (sy_call_t *)sys___shmctl50 },      /* 443 = __shmctl50 */
                   1068: #else
1.123     thorpej  1069:        { 0, 0, 0,
1.235     christos 1070:            sys_nosys },                        /* 443 = excluded ____shmctl50 */
                   1071: #endif
                   1072: #if defined(SYSVMSG) || !defined(_KERNEL_OPT)
                   1073:        { ns(struct sys___msgctl50_args), 0,
                   1074:            (sy_call_t *)sys___msgctl50 },      /* 444 = __msgctl50 */
                   1075: #else
1.123     thorpej  1076:        { 0, 0, 0,
1.235     christos 1077:            sys_nosys },                        /* 444 = excluded ____msgctl50 */
                   1078: #endif
                   1079:        { ns(struct sys___getrusage50_args), 0,
                   1080:            (sy_call_t *)sys___getrusage50 },   /* 445 = __getrusage50 */
                   1081:        { ns(struct sys___timer_settime50_args), 0,
                   1082:            (sy_call_t *)sys___timer_settime50 },/* 446 = __timer_settime50 */
                   1083:        { ns(struct sys___timer_gettime50_args), 0,
                   1084:            (sy_call_t *)sys___timer_gettime50 },/* 447 = __timer_gettime50 */
                   1085: #if defined(NTP) || !defined(_KERNEL_OPT)
                   1086:        { ns(struct sys___ntp_gettime50_args), 0,
                   1087:            (sy_call_t *)sys___ntp_gettime50 }, /* 448 = __ntp_gettime50 */
                   1088: #else
1.123     thorpej  1089:        { 0, 0, 0,
1.235     christos 1090:            sys_nosys },                        /* 448 = excluded ___ntp_gettime50 */
                   1091: #endif
                   1092:        { ns(struct sys___wait450_args), 0,
                   1093:            (sy_call_t *)sys___wait450 },       /* 449 = __wait450 */
1.244     skrll    1094:        { ns(struct sys___mknod50_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
1.235     christos 1095:            (sy_call_t *)sys___mknod50 },       /* 450 = __mknod50 */
                   1096:        { ns(struct sys___fhstat50_args), 0,
                   1097:            (sy_call_t *)sys___fhstat50 },      /* 451 = __fhstat50 */
1.123     thorpej  1098:        { 0, 0, 0,
1.119     mycroft  1099:            sys_nosys },                        /* 452 = filler */
1.123     thorpej  1100:        { 0, 0, 0,
1.119     mycroft  1101:            sys_nosys },                        /* 453 = filler */
1.123     thorpej  1102:        { 0, 0, 0,
1.119     mycroft  1103:            sys_nosys },                        /* 454 = filler */
1.123     thorpej  1104:        { 0, 0, 0,
1.119     mycroft  1105:            sys_nosys },                        /* 455 = filler */
1.123     thorpej  1106:        { 0, 0, 0,
1.119     mycroft  1107:            sys_nosys },                        /* 456 = filler */
1.123     thorpej  1108:        { 0, 0, 0,
1.119     mycroft  1109:            sys_nosys },                        /* 457 = filler */
1.123     thorpej  1110:        { 0, 0, 0,
1.119     mycroft  1111:            sys_nosys },                        /* 458 = filler */
1.123     thorpej  1112:        { 0, 0, 0,
1.119     mycroft  1113:            sys_nosys },                        /* 459 = filler */
1.123     thorpej  1114:        { 0, 0, 0,
1.119     mycroft  1115:            sys_nosys },                        /* 460 = filler */
1.123     thorpej  1116:        { 0, 0, 0,
1.119     mycroft  1117:            sys_nosys },                        /* 461 = filler */
1.123     thorpej  1118:        { 0, 0, 0,
1.119     mycroft  1119:            sys_nosys },                        /* 462 = filler */
1.123     thorpej  1120:        { 0, 0, 0,
1.119     mycroft  1121:            sys_nosys },                        /* 463 = filler */
1.123     thorpej  1122:        { 0, 0, 0,
1.119     mycroft  1123:            sys_nosys },                        /* 464 = filler */
1.123     thorpej  1124:        { 0, 0, 0,
1.119     mycroft  1125:            sys_nosys },                        /* 465 = filler */
1.123     thorpej  1126:        { 0, 0, 0,
1.119     mycroft  1127:            sys_nosys },                        /* 466 = filler */
1.123     thorpej  1128:        { 0, 0, 0,
1.119     mycroft  1129:            sys_nosys },                        /* 467 = filler */
1.123     thorpej  1130:        { 0, 0, 0,
1.119     mycroft  1131:            sys_nosys },                        /* 468 = filler */
1.123     thorpej  1132:        { 0, 0, 0,
1.119     mycroft  1133:            sys_nosys },                        /* 469 = filler */
1.123     thorpej  1134:        { 0, 0, 0,
1.119     mycroft  1135:            sys_nosys },                        /* 470 = filler */
1.123     thorpej  1136:        { 0, 0, 0,
1.119     mycroft  1137:            sys_nosys },                        /* 471 = filler */
1.123     thorpej  1138:        { 0, 0, 0,
1.119     mycroft  1139:            sys_nosys },                        /* 472 = filler */
1.123     thorpej  1140:        { 0, 0, 0,
1.119     mycroft  1141:            sys_nosys },                        /* 473 = filler */
1.123     thorpej  1142:        { 0, 0, 0,
1.119     mycroft  1143:            sys_nosys },                        /* 474 = filler */
1.123     thorpej  1144:        { 0, 0, 0,
1.119     mycroft  1145:            sys_nosys },                        /* 475 = filler */
1.123     thorpej  1146:        { 0, 0, 0,
1.119     mycroft  1147:            sys_nosys },                        /* 476 = filler */
1.123     thorpej  1148:        { 0, 0, 0,
1.119     mycroft  1149:            sys_nosys },                        /* 477 = filler */
1.123     thorpej  1150:        { 0, 0, 0,
1.119     mycroft  1151:            sys_nosys },                        /* 478 = filler */
1.123     thorpej  1152:        { 0, 0, 0,
1.119     mycroft  1153:            sys_nosys },                        /* 479 = filler */
1.123     thorpej  1154:        { 0, 0, 0,
1.119     mycroft  1155:            sys_nosys },                        /* 480 = filler */
1.123     thorpej  1156:        { 0, 0, 0,
1.119     mycroft  1157:            sys_nosys },                        /* 481 = filler */
1.123     thorpej  1158:        { 0, 0, 0,
1.119     mycroft  1159:            sys_nosys },                        /* 482 = filler */
1.123     thorpej  1160:        { 0, 0, 0,
1.119     mycroft  1161:            sys_nosys },                        /* 483 = filler */
1.123     thorpej  1162:        { 0, 0, 0,
1.119     mycroft  1163:            sys_nosys },                        /* 484 = filler */
1.123     thorpej  1164:        { 0, 0, 0,
1.119     mycroft  1165:            sys_nosys },                        /* 485 = filler */
1.123     thorpej  1166:        { 0, 0, 0,
1.119     mycroft  1167:            sys_nosys },                        /* 486 = filler */
1.123     thorpej  1168:        { 0, 0, 0,
1.119     mycroft  1169:            sys_nosys },                        /* 487 = filler */
1.123     thorpej  1170:        { 0, 0, 0,
1.119     mycroft  1171:            sys_nosys },                        /* 488 = filler */
1.123     thorpej  1172:        { 0, 0, 0,
1.119     mycroft  1173:            sys_nosys },                        /* 489 = filler */
1.123     thorpej  1174:        { 0, 0, 0,
1.119     mycroft  1175:            sys_nosys },                        /* 490 = filler */
1.123     thorpej  1176:        { 0, 0, 0,
1.119     mycroft  1177:            sys_nosys },                        /* 491 = filler */
1.123     thorpej  1178:        { 0, 0, 0,
1.119     mycroft  1179:            sys_nosys },                        /* 492 = filler */
1.123     thorpej  1180:        { 0, 0, 0,
1.119     mycroft  1181:            sys_nosys },                        /* 493 = filler */
1.123     thorpej  1182:        { 0, 0, 0,
1.119     mycroft  1183:            sys_nosys },                        /* 494 = filler */
1.123     thorpej  1184:        { 0, 0, 0,
1.119     mycroft  1185:            sys_nosys },                        /* 495 = filler */
1.123     thorpej  1186:        { 0, 0, 0,
1.119     mycroft  1187:            sys_nosys },                        /* 496 = filler */
1.123     thorpej  1188:        { 0, 0, 0,
1.119     mycroft  1189:            sys_nosys },                        /* 497 = filler */
1.123     thorpej  1190:        { 0, 0, 0,
1.119     mycroft  1191:            sys_nosys },                        /* 498 = filler */
1.123     thorpej  1192:        { 0, 0, 0,
1.119     mycroft  1193:            sys_nosys },                        /* 499 = filler */
1.123     thorpej  1194:        { 0, 0, 0,
1.119     mycroft  1195:            sys_nosys },                        /* 500 = filler */
1.123     thorpej  1196:        { 0, 0, 0,
1.119     mycroft  1197:            sys_nosys },                        /* 501 = filler */
1.123     thorpej  1198:        { 0, 0, 0,
1.119     mycroft  1199:            sys_nosys },                        /* 502 = filler */
1.123     thorpej  1200:        { 0, 0, 0,
1.119     mycroft  1201:            sys_nosys },                        /* 503 = filler */
1.123     thorpej  1202:        { 0, 0, 0,
1.119     mycroft  1203:            sys_nosys },                        /* 504 = filler */
1.123     thorpej  1204:        { 0, 0, 0,
1.119     mycroft  1205:            sys_nosys },                        /* 505 = filler */
1.123     thorpej  1206:        { 0, 0, 0,
1.119     mycroft  1207:            sys_nosys },                        /* 506 = filler */
1.123     thorpej  1208:        { 0, 0, 0,
1.119     mycroft  1209:            sys_nosys },                        /* 507 = filler */
1.123     thorpej  1210:        { 0, 0, 0,
1.119     mycroft  1211:            sys_nosys },                        /* 508 = filler */
1.123     thorpej  1212:        { 0, 0, 0,
1.119     mycroft  1213:            sys_nosys },                        /* 509 = filler */
1.123     thorpej  1214:        { 0, 0, 0,
1.119     mycroft  1215:            sys_nosys },                        /* 510 = filler */
1.123     thorpej  1216:        { 0, 0, 0,
1.119     mycroft  1217:            sys_nosys },                        /* 511 = filler */
1.1       cgd      1218: };

CVSweb <webmaster@jp.NetBSD.org>