[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.259

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

CVSweb <webmaster@jp.NetBSD.org>