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

1.186     ad          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.189.2.3! ad          7:  * created from        NetBSD: syscalls.master,v 1.168.2.3 2007/04/10 00:23:02 ad Exp
1.1       cgd         8:  */
                      9:
1.128     lukem      10: #include <sys/cdefs.h>
1.186     ad         11: __KERNEL_RCSID(0, "$NetBSD$");
1.128     lukem      12:
1.90      thorpej    13: #include "opt_ktrace.h"
1.91      thorpej    14: #include "opt_nfsserver.h"
1.116     bjh21      15: #include "opt_ntp.h"
1.94      jonathan   16: #include "opt_compat_netbsd.h"
1.99      tron       17: #include "opt_sysv.h"
1.101     christos   18: #include "opt_compat_43.h"
1.138     christos   19: #include "opt_posix.h"
1.81      thorpej    20: #include "fs_lfs.h"
                     21: #include "fs_nfs.h"
1.17      cgd        22: #include <sys/param.h>
                     23: #include <sys/systm.h>
1.28      cgd        24: #include <sys/signal.h>
                     25: #include <sys/mount.h>
                     26: #include <sys/syscallargs.h>
1.37      mycroft    27:
                     28: #ifdef COMPAT_43
1.126     lukem      29: #define        compat_43(func) __CONCAT(compat_43_,func)
1.37      mycroft    30: #else
1.126     lukem      31: #define        compat_43(func) sys_nosys
1.37      mycroft    32: #endif
                     33:
                     34: #ifdef COMPAT_09
1.126     lukem      35: #define        compat_09(func) __CONCAT(compat_09_,func)
1.37      mycroft    36: #else
1.126     lukem      37: #define        compat_09(func) sys_nosys
1.37      mycroft    38: #endif
                     39:
                     40: #ifdef COMPAT_10
1.126     lukem      41: #define        compat_10(func) __CONCAT(compat_10_,func)
1.37      mycroft    42: #else
1.126     lukem      43: #define        compat_10(func) sys_nosys
1.37      mycroft    44: #endif
                     45:
1.43      mrg        46: #ifdef COMPAT_11
1.126     lukem      47: #define        compat_11(func) __CONCAT(compat_11_,func)
1.43      mrg        48: #else
1.126     lukem      49: #define        compat_11(func) sys_nosys
1.43      mrg        50: #endif
                     51:
                     52: #ifdef COMPAT_12
1.126     lukem      53: #define        compat_12(func) __CONCAT(compat_12_,func)
1.43      mrg        54: #else
1.126     lukem      55: #define        compat_12(func) sys_nosys
1.43      mrg        56: #endif
                     57:
1.71      kleink     58: #ifdef COMPAT_13
1.126     lukem      59: #define        compat_13(func) __CONCAT(compat_13_,func)
1.71      kleink     60: #else
1.126     lukem      61: #define        compat_13(func) sys_nosys
1.71      kleink     62: #endif
                     63:
1.111     thorpej    64: #ifdef COMPAT_14
1.126     lukem      65: #define        compat_14(func) __CONCAT(compat_14_,func)
1.111     thorpej    66: #else
1.126     lukem      67: #define        compat_14(func) sys_nosys
1.111     thorpej    68: #endif
                     69:
1.145     christos   70: #ifdef COMPAT_15
                     71: #define        compat_15(func) __CONCAT(compat_15_,func)
                     72: #else
                     73: #define        compat_15(func) sys_nosys
                     74: #endif
                     75:
                     76: #ifdef COMPAT_16
                     77: #define        compat_16(func) __CONCAT(compat_16_,func)
                     78: #else
                     79: #define        compat_16(func) sys_nosys
                     80: #endif
                     81:
1.156     christos   82: #ifdef COMPAT_20
                     83: #define        compat_20(func) __CONCAT(compat_20_,func)
                     84: #else
                     85: #define        compat_20(func) sys_nosys
                     86: #endif
                     87:
1.166     christos   88: #ifdef COMPAT_30
                     89: #define        compat_30(func) __CONCAT(compat_30_,func)
                     90: #else
                     91: #define        compat_30(func) sys_nosys
                     92: #endif
                     93:
1.28      cgd        94: #define        s(type) sizeof(type)
                     95:
                     96: struct sysent sysent[] = {
1.123     thorpej    97:        { 0, 0, 0,
1.51      cgd        98:            sys_nosys },                        /* 0 = syscall (indir) */
1.123     thorpej    99:        { 1, s(struct sys_exit_args), 0,
1.37      mycroft   100:            sys_exit },                         /* 1 = exit */
1.123     thorpej   101:        { 0, 0, 0,
1.37      mycroft   102:            sys_fork },                         /* 2 = fork */
1.189.2.1  ad        103:        { 3, s(struct sys_read_args), SYCALL_MPSAFE | 0,
1.37      mycroft   104:            sys_read },                         /* 3 = read */
1.189.2.1  ad        105:        { 3, s(struct sys_write_args), SYCALL_MPSAFE | 0,
1.37      mycroft   106:            sys_write },                        /* 4 = write */
1.189.2.2  ad        107:        { 3, s(struct sys_open_args), SYCALL_MPSAFE | 0,
1.37      mycroft   108:            sys_open },                         /* 5 = open */
1.189.2.2  ad        109:        { 1, s(struct sys_close_args), SYCALL_MPSAFE | 0,
1.37      mycroft   110:            sys_close },                        /* 6 = close */
1.185     ad        111:        { 4, s(struct sys_wait4_args), SYCALL_MPSAFE | 0,
1.37      mycroft   112:            sys_wait4 },                        /* 7 = wait4 */
1.123     thorpej   113:        { 2, s(struct compat_43_sys_creat_args), 0,
1.38      mycroft   114:            compat_43(sys_creat) },             /* 8 = compat_43 ocreat */
1.189.2.1  ad        115:        { 2, s(struct sys_link_args), SYCALL_MPSAFE | 0,
1.37      mycroft   116:            sys_link },                         /* 9 = link */
1.123     thorpej   117:        { 1, s(struct sys_unlink_args), 0,
1.37      mycroft   118:            sys_unlink },                       /* 10 = unlink */
1.123     thorpej   119:        { 0, 0, 0,
1.37      mycroft   120:            sys_nosys },                        /* 11 = obsolete execv */
1.189.2.2  ad        121:        { 1, s(struct sys_chdir_args), SYCALL_MPSAFE | 0,
1.37      mycroft   122:            sys_chdir },                        /* 12 = chdir */
1.189.2.2  ad        123:        { 1, s(struct sys_fchdir_args), SYCALL_MPSAFE | 0,
1.37      mycroft   124:            sys_fchdir },                       /* 13 = fchdir */
1.123     thorpej   125:        { 3, s(struct sys_mknod_args), 0,
1.37      mycroft   126:            sys_mknod },                        /* 14 = mknod */
1.189.2.1  ad        127:        { 2, s(struct sys_chmod_args), SYCALL_MPSAFE | 0,
1.37      mycroft   128:            sys_chmod },                        /* 15 = chmod */
1.189.2.1  ad        129:        { 3, s(struct sys_chown_args), SYCALL_MPSAFE | 0,
1.37      mycroft   130:            sys_chown },                        /* 16 = chown */
1.123     thorpej   131:        { 1, s(struct sys_obreak_args), 0,
1.37      mycroft   132:            sys_obreak },                       /* 17 = break */
1.156     christos  133:        { 3, s(struct compat_20_sys_getfsstat_args), 0,
                    134:            compat_20(sys_getfsstat) },         /* 18 = compat_20 getfsstat */
1.189.2.1  ad        135:        { 3, s(struct compat_43_sys_lseek_args), SYCALL_MPSAFE | 0,
1.38      mycroft   136:            compat_43(sys_lseek) },             /* 19 = compat_43 olseek */
1.120     mycroft   137: #ifdef COMPAT_43
1.185     ad        138:        { 0, 0, SYCALL_MPSAFE | 0,
1.120     mycroft   139:            sys_getpid_with_ppid },             /* 20 = getpid */
                    140: #else
1.124     thorpej   141:        { 0, 0, SYCALL_MPSAFE | 0,
1.37      mycroft   142:            sys_getpid },                       /* 20 = getpid */
1.120     mycroft   143: #endif
1.123     thorpej   144:        { 4, s(struct sys_mount_args), 0,
1.37      mycroft   145:            sys_mount },                        /* 21 = mount */
1.123     thorpej   146:        { 2, s(struct sys_unmount_args), 0,
1.37      mycroft   147:            sys_unmount },                      /* 22 = unmount */
1.123     thorpej   148:        { 1, s(struct sys_setuid_args), 0,
1.37      mycroft   149:            sys_setuid },                       /* 23 = setuid */
1.120     mycroft   150: #ifdef COMPAT_43
1.123     thorpej   151:        { 0, 0, 0,
1.120     mycroft   152:            sys_getuid_with_euid },             /* 24 = getuid */
                    153: #else
1.185     ad        154:        { 0, 0, SYCALL_MPSAFE | 0,
1.37      mycroft   155:            sys_getuid },                       /* 24 = getuid */
1.120     mycroft   156: #endif
1.185     ad        157:        { 0, 0, SYCALL_MPSAFE | 0,
1.37      mycroft   158:            sys_geteuid },                      /* 25 = geteuid */
1.123     thorpej   159:        { 4, s(struct sys_ptrace_args), 0,
1.37      mycroft   160:            sys_ptrace },                       /* 26 = ptrace */
1.123     thorpej   161:        { 3, s(struct sys_recvmsg_args), 0,
1.37      mycroft   162:            sys_recvmsg },                      /* 27 = recvmsg */
1.123     thorpej   163:        { 3, s(struct sys_sendmsg_args), 0,
1.37      mycroft   164:            sys_sendmsg },                      /* 28 = sendmsg */
1.123     thorpej   165:        { 6, s(struct sys_recvfrom_args), 0,
1.37      mycroft   166:            sys_recvfrom },                     /* 29 = recvfrom */
1.123     thorpej   167:        { 3, s(struct sys_accept_args), 0,
1.37      mycroft   168:            sys_accept },                       /* 30 = accept */
1.123     thorpej   169:        { 3, s(struct sys_getpeername_args), 0,
1.37      mycroft   170:            sys_getpeername },                  /* 31 = getpeername */
1.123     thorpej   171:        { 3, s(struct sys_getsockname_args), 0,
1.37      mycroft   172:            sys_getsockname },                  /* 32 = getsockname */
1.189.2.1  ad        173:        { 2, s(struct sys_access_args), SYCALL_MPSAFE | 0,
1.37      mycroft   174:            sys_access },                       /* 33 = access */
1.189.2.1  ad        175:        { 2, s(struct sys_chflags_args), SYCALL_MPSAFE | 0,
1.37      mycroft   176:            sys_chflags },                      /* 34 = chflags */
1.189.2.1  ad        177:        { 2, s(struct sys_fchflags_args), SYCALL_MPSAFE | 0,
1.37      mycroft   178:            sys_fchflags },                     /* 35 = fchflags */
1.123     thorpej   179:        { 0, 0, 0,
1.37      mycroft   180:            sys_sync },                         /* 36 = sync */
1.123     thorpej   181:        { 2, s(struct sys_kill_args), 0,
1.37      mycroft   182:            sys_kill },                         /* 37 = kill */
1.189.2.1  ad        183:        { 2, s(struct compat_43_sys_stat_args), SYCALL_MPSAFE | 0,
1.66      christos  184:            compat_43(sys_stat) },              /* 38 = compat_43 stat43 */
1.185     ad        185:        { 0, 0, SYCALL_MPSAFE | 0,
1.37      mycroft   186:            sys_getppid },                      /* 39 = getppid */
1.189.2.1  ad        187:        { 2, s(struct compat_43_sys_lstat_args), SYCALL_MPSAFE | 0,
1.66      christos  188:            compat_43(sys_lstat) },             /* 40 = compat_43 lstat43 */
1.123     thorpej   189:        { 1, s(struct sys_dup_args), 0,
1.37      mycroft   190:            sys_dup },                          /* 41 = dup */
1.123     thorpej   191:        { 0, 0, 0,
1.37      mycroft   192:            sys_pipe },                         /* 42 = pipe */
1.185     ad        193:        { 0, 0, SYCALL_MPSAFE | 0,
1.37      mycroft   194:            sys_getegid },                      /* 43 = getegid */
1.185     ad        195:        { 4, s(struct sys_profil_args), SYCALL_MPSAFE | 0,
1.37      mycroft   196:            sys_profil },                       /* 44 = profil */
1.106     christos  197: #if defined(KTRACE) || !defined(_KERNEL)
1.123     thorpej   198:        { 4, s(struct sys_ktrace_args), 0,
1.37      mycroft   199:            sys_ktrace },                       /* 45 = ktrace */
1.28      cgd       200: #else
1.123     thorpej   201:        { 0, 0, 0,
1.106     christos  202:            sys_nosys },                        /* 45 = excluded ktrace */
1.28      cgd       203: #endif
1.185     ad        204:        { 3, s(struct compat_13_sys_sigaction_args), SYCALL_MPSAFE | 0,
1.95      mycroft   205:            compat_13(sys_sigaction) },         /* 46 = compat_13 sigaction13 */
1.120     mycroft   206: #ifdef COMPAT_43
1.185     ad        207:        { 0, 0, SYCALL_MPSAFE | 0,
1.120     mycroft   208:            sys_getgid_with_egid },             /* 47 = getgid */
                    209: #else
1.185     ad        210:        { 0, 0, SYCALL_MPSAFE | 0,
1.37      mycroft   211:            sys_getgid },                       /* 47 = getgid */
1.120     mycroft   212: #endif
1.185     ad        213:        { 2, s(struct compat_13_sys_sigprocmask_args), SYCALL_MPSAFE | 0,
1.95      mycroft   214:            compat_13(sys_sigprocmask) },       /* 48 = compat_13 sigprocmask13 */
1.185     ad        215:        { 2, s(struct sys___getlogin_args), SYCALL_MPSAFE | 0,
1.46      jtc       216:            sys___getlogin },                   /* 49 = __getlogin */
1.136     thorpej   217:        { 1, s(struct sys___setlogin_args), 0,
                    218:            sys___setlogin },                   /* 50 = __setlogin */
1.123     thorpej   219:        { 1, s(struct sys_acct_args), 0,
1.37      mycroft   220:            sys_acct },                         /* 51 = acct */
1.185     ad        221:        { 0, 0, SYCALL_MPSAFE | 0,
1.95      mycroft   222:            compat_13(sys_sigpending) },        /* 52 = compat_13 sigpending13 */
1.185     ad        223:        { 2, s(struct compat_13_sys_sigaltstack_args), SYCALL_MPSAFE | 0,
1.71      kleink    224:            compat_13(sys_sigaltstack) },       /* 53 = compat_13 sigaltstack13 */
1.123     thorpej   225:        { 3, s(struct sys_ioctl_args), 0,
1.37      mycroft   226:            sys_ioctl },                        /* 54 = ioctl */
1.123     thorpej   227:        { 1, s(struct compat_12_sys_reboot_args), 0,
1.43      mrg       228:            compat_12(sys_reboot) },            /* 55 = compat_12 oreboot */
1.123     thorpej   229:        { 1, s(struct sys_revoke_args), 0,
1.37      mycroft   230:            sys_revoke },                       /* 56 = revoke */
1.189.2.1  ad        231:        { 2, s(struct sys_symlink_args), SYCALL_MPSAFE | 0,
1.37      mycroft   232:            sys_symlink },                      /* 57 = symlink */
1.123     thorpej   233:        { 3, s(struct sys_readlink_args), 0,
1.37      mycroft   234:            sys_readlink },                     /* 58 = readlink */
1.123     thorpej   235:        { 3, s(struct sys_execve_args), 0,
1.37      mycroft   236:            sys_execve },                       /* 59 = execve */
1.123     thorpej   237:        { 1, s(struct sys_umask_args), 0,
1.37      mycroft   238:            sys_umask },                        /* 60 = umask */
1.123     thorpej   239:        { 1, s(struct sys_chroot_args), 0,
1.37      mycroft   240:            sys_chroot },                       /* 61 = chroot */
1.123     thorpej   241:        { 2, s(struct compat_43_sys_fstat_args), 0,
1.66      christos  242:            compat_43(sys_fstat) },             /* 62 = compat_43 fstat43 */
1.123     thorpej   243:        { 4, s(struct compat_43_sys_getkerninfo_args), 0,
1.38      mycroft   244:            compat_43(sys_getkerninfo) },       /* 63 = compat_43 ogetkerninfo */
1.123     thorpej   245:        { 0, 0, 0,
1.38      mycroft   246:            compat_43(sys_getpagesize) },       /* 64 = compat_43 ogetpagesize */
1.123     thorpej   247:        { 2, s(struct compat_12_sys_msync_args), 0,
1.66      christos  248:            compat_12(sys_msync) },             /* 65 = compat_12 msync */
1.123     thorpej   249:        { 0, 0, 0,
1.37      mycroft   250:            sys_vfork },                        /* 66 = vfork */
1.123     thorpej   251:        { 0, 0, 0,
1.37      mycroft   252:            sys_nosys },                        /* 67 = obsolete vread */
1.123     thorpej   253:        { 0, 0, 0,
1.37      mycroft   254:            sys_nosys },                        /* 68 = obsolete vwrite */
1.123     thorpej   255:        { 1, s(struct sys_sbrk_args), 0,
1.37      mycroft   256:            sys_sbrk },                         /* 69 = sbrk */
1.123     thorpej   257:        { 1, s(struct sys_sstk_args), 0,
1.37      mycroft   258:            sys_sstk },                         /* 70 = sstk */
1.123     thorpej   259:        { 6, s(struct compat_43_sys_mmap_args), 0,
1.38      mycroft   260:            compat_43(sys_mmap) },              /* 71 = compat_43 ommap */
1.123     thorpej   261:        { 1, s(struct sys_ovadvise_args), 0,
1.37      mycroft   262:            sys_ovadvise },                     /* 72 = vadvise */
1.123     thorpej   263:        { 2, s(struct sys_munmap_args), 0,
1.37      mycroft   264:            sys_munmap },                       /* 73 = munmap */
1.123     thorpej   265:        { 3, s(struct sys_mprotect_args), 0,
1.37      mycroft   266:            sys_mprotect },                     /* 74 = mprotect */
1.123     thorpej   267:        { 3, s(struct sys_madvise_args), 0,
1.37      mycroft   268:            sys_madvise },                      /* 75 = madvise */
1.123     thorpej   269:        { 0, 0, 0,
1.37      mycroft   270:            sys_nosys },                        /* 76 = obsolete vhangup */
1.123     thorpej   271:        { 0, 0, 0,
1.37      mycroft   272:            sys_nosys },                        /* 77 = obsolete vlimit */
1.123     thorpej   273:        { 3, s(struct sys_mincore_args), 0,
1.37      mycroft   274:            sys_mincore },                      /* 78 = mincore */
1.185     ad        275:        { 2, s(struct sys_getgroups_args), SYCALL_MPSAFE | 0,
1.37      mycroft   276:            sys_getgroups },                    /* 79 = getgroups */
1.123     thorpej   277:        { 2, s(struct sys_setgroups_args), 0,
1.37      mycroft   278:            sys_setgroups },                    /* 80 = setgroups */
1.185     ad        279:        { 0, 0, SYCALL_MPSAFE | 0,
1.37      mycroft   280:            sys_getpgrp },                      /* 81 = getpgrp */
1.123     thorpej   281:        { 2, s(struct sys_setpgid_args), 0,
1.37      mycroft   282:            sys_setpgid },                      /* 82 = setpgid */
1.123     thorpej   283:        { 3, s(struct sys_setitimer_args), 0,
1.37      mycroft   284:            sys_setitimer },                    /* 83 = setitimer */
1.185     ad        285:        { 0, 0, SYCALL_MPSAFE | 0,
1.38      mycroft   286:            compat_43(sys_wait) },              /* 84 = compat_43 owait */
1.123     thorpej   287:        { 1, s(struct compat_12_sys_swapon_args), 0,
1.58      mrg       288:            compat_12(sys_swapon) },            /* 85 = compat_12 oswapon */
1.123     thorpej   289:        { 2, s(struct sys_getitimer_args), 0,
1.37      mycroft   290:            sys_getitimer },                    /* 86 = getitimer */
1.123     thorpej   291:        { 2, s(struct compat_43_sys_gethostname_args), 0,
1.38      mycroft   292:            compat_43(sys_gethostname) },       /* 87 = compat_43 ogethostname */
1.123     thorpej   293:        { 2, s(struct compat_43_sys_sethostname_args), 0,
1.38      mycroft   294:            compat_43(sys_sethostname) },       /* 88 = compat_43 osethostname */
1.123     thorpej   295:        { 0, 0, 0,
1.38      mycroft   296:            compat_43(sys_getdtablesize) },     /* 89 = compat_43 ogetdtablesize */
1.123     thorpej   297:        { 2, s(struct sys_dup2_args), 0,
1.37      mycroft   298:            sys_dup2 },                         /* 90 = dup2 */
1.123     thorpej   299:        { 0, 0, 0,
1.37      mycroft   300:            sys_nosys },                        /* 91 = unimplemented getdopt */
1.123     thorpej   301:        { 3, s(struct sys_fcntl_args), 0,
1.37      mycroft   302:            sys_fcntl },                        /* 92 = fcntl */
1.189.2.2  ad        303:        { 5, s(struct sys_select_args), SYCALL_MPSAFE | 0,
1.37      mycroft   304:            sys_select },                       /* 93 = select */
1.123     thorpej   305:        { 0, 0, 0,
1.37      mycroft   306:            sys_nosys },                        /* 94 = unimplemented setdopt */
1.189.2.1  ad        307:        { 1, s(struct sys_fsync_args), SYCALL_MPSAFE | 0,
1.37      mycroft   308:            sys_fsync },                        /* 95 = fsync */
1.123     thorpej   309:        { 3, s(struct sys_setpriority_args), 0,
1.37      mycroft   310:            sys_setpriority },                  /* 96 = setpriority */
1.174     mrg       311:        { 3, s(struct compat_30_sys_socket_args), 0,
                    312:            compat_30(sys_socket) },            /* 97 = compat_30 socket */
1.123     thorpej   313:        { 3, s(struct sys_connect_args), 0,
1.37      mycroft   314:            sys_connect },                      /* 98 = connect */
1.123     thorpej   315:        { 3, s(struct compat_43_sys_accept_args), 0,
1.38      mycroft   316:            compat_43(sys_accept) },            /* 99 = compat_43 oaccept */
1.185     ad        317:        { 2, s(struct sys_getpriority_args), SYCALL_MPSAFE | 0,
1.37      mycroft   318:            sys_getpriority },                  /* 100 = getpriority */
1.123     thorpej   319:        { 4, s(struct compat_43_sys_send_args), 0,
1.38      mycroft   320:            compat_43(sys_send) },              /* 101 = compat_43 osend */
1.123     thorpej   321:        { 4, s(struct compat_43_sys_recv_args), 0,
1.38      mycroft   322:            compat_43(sys_recv) },              /* 102 = compat_43 orecv */
1.185     ad        323:        { 1, s(struct compat_13_sys_sigreturn_args), SYCALL_MPSAFE | 0,
1.96      mycroft   324:            compat_13(sys_sigreturn) },         /* 103 = compat_13 sigreturn13 */
1.123     thorpej   325:        { 3, s(struct sys_bind_args), 0,
1.37      mycroft   326:            sys_bind },                         /* 104 = bind */
1.123     thorpej   327:        { 5, s(struct sys_setsockopt_args), 0,
1.37      mycroft   328:            sys_setsockopt },                   /* 105 = setsockopt */
1.123     thorpej   329:        { 2, s(struct sys_listen_args), 0,
1.37      mycroft   330:            sys_listen },                       /* 106 = listen */
1.123     thorpej   331:        { 0, 0, 0,
1.37      mycroft   332:            sys_nosys },                        /* 107 = obsolete vtimes */
1.185     ad        333:        { 3, s(struct compat_43_sys_sigvec_args), SYCALL_MPSAFE | 0,
1.38      mycroft   334:            compat_43(sys_sigvec) },            /* 108 = compat_43 osigvec */
1.185     ad        335:        { 1, s(struct compat_43_sys_sigblock_args), SYCALL_MPSAFE | 0,
1.38      mycroft   336:            compat_43(sys_sigblock) },          /* 109 = compat_43 osigblock */
1.185     ad        337:        { 1, s(struct compat_43_sys_sigsetmask_args), SYCALL_MPSAFE | 0,
1.38      mycroft   338:            compat_43(sys_sigsetmask) },        /* 110 = compat_43 osigsetmask */
1.185     ad        339:        { 1, s(struct compat_13_sys_sigsuspend_args), SYCALL_MPSAFE | 0,
1.95      mycroft   340:            compat_13(sys_sigsuspend) },        /* 111 = compat_13 sigsuspend13 */
1.185     ad        341:        { 2, s(struct compat_43_sys_sigstack_args), SYCALL_MPSAFE | 0,
1.38      mycroft   342:            compat_43(sys_sigstack) },          /* 112 = compat_43 osigstack */
1.123     thorpej   343:        { 3, s(struct compat_43_sys_recvmsg_args), 0,
1.38      mycroft   344:            compat_43(sys_recvmsg) },           /* 113 = compat_43 orecvmsg */
1.123     thorpej   345:        { 3, s(struct compat_43_sys_sendmsg_args), 0,
1.38      mycroft   346:            compat_43(sys_sendmsg) },           /* 114 = compat_43 osendmsg */
1.123     thorpej   347:        { 0, 0, 0,
1.37      mycroft   348:            sys_nosys },                        /* 115 = obsolete vtrace */
1.123     thorpej   349:        { 2, s(struct sys_gettimeofday_args), 0,
1.37      mycroft   350:            sys_gettimeofday },                 /* 116 = gettimeofday */
1.123     thorpej   351:        { 2, s(struct sys_getrusage_args), 0,
1.37      mycroft   352:            sys_getrusage },                    /* 117 = getrusage */
1.123     thorpej   353:        { 5, s(struct sys_getsockopt_args), 0,
1.37      mycroft   354:            sys_getsockopt },                   /* 118 = getsockopt */
1.123     thorpej   355:        { 0, 0, 0,
1.37      mycroft   356:            sys_nosys },                        /* 119 = obsolete resuba */
1.189.2.1  ad        357:        { 3, s(struct sys_readv_args), SYCALL_MPSAFE | 0,
1.37      mycroft   358:            sys_readv },                        /* 120 = readv */
1.189.2.1  ad        359:        { 3, s(struct sys_writev_args), SYCALL_MPSAFE | 0,
1.37      mycroft   360:            sys_writev },                       /* 121 = writev */
1.123     thorpej   361:        { 2, s(struct sys_settimeofday_args), 0,
1.37      mycroft   362:            sys_settimeofday },                 /* 122 = settimeofday */
1.189.2.1  ad        363:        { 3, s(struct sys_fchown_args), SYCALL_MPSAFE | 0,
1.37      mycroft   364:            sys_fchown },                       /* 123 = fchown */
1.189.2.1  ad        365:        { 2, s(struct sys_fchmod_args), SYCALL_MPSAFE | 0,
1.37      mycroft   366:            sys_fchmod },                       /* 124 = fchmod */
1.123     thorpej   367:        { 6, s(struct compat_43_sys_recvfrom_args), 0,
1.38      mycroft   368:            compat_43(sys_recvfrom) },          /* 125 = compat_43 orecvfrom */
1.123     thorpej   369:        { 2, s(struct sys_setreuid_args), 0,
1.42      mycroft   370:            sys_setreuid },                     /* 126 = setreuid */
1.123     thorpej   371:        { 2, s(struct sys_setregid_args), 0,
1.42      mycroft   372:            sys_setregid },                     /* 127 = setregid */
1.123     thorpej   373:        { 2, s(struct sys_rename_args), 0,
1.37      mycroft   374:            sys_rename },                       /* 128 = rename */
1.189.2.1  ad        375:        { 2, s(struct compat_43_sys_truncate_args), SYCALL_MPSAFE | 0,
1.38      mycroft   376:            compat_43(sys_truncate) },          /* 129 = compat_43 otruncate */
1.189.2.1  ad        377:        { 2, s(struct compat_43_sys_ftruncate_args), SYCALL_MPSAFE | 0,
1.38      mycroft   378:            compat_43(sys_ftruncate) },         /* 130 = compat_43 oftruncate */
1.123     thorpej   379:        { 2, s(struct sys_flock_args), 0,
1.37      mycroft   380:            sys_flock },                        /* 131 = flock */
1.189.2.1  ad        381:        { 2, s(struct sys_mkfifo_args), SYCALL_MPSAFE | 0,
1.37      mycroft   382:            sys_mkfifo },                       /* 132 = mkfifo */
1.123     thorpej   383:        { 6, s(struct sys_sendto_args), 0,
1.37      mycroft   384:            sys_sendto },                       /* 133 = sendto */
1.123     thorpej   385:        { 2, s(struct sys_shutdown_args), 0,
1.37      mycroft   386:            sys_shutdown },                     /* 134 = shutdown */
1.123     thorpej   387:        { 4, s(struct sys_socketpair_args), 0,
1.37      mycroft   388:            sys_socketpair },                   /* 135 = socketpair */
1.189.2.1  ad        389:        { 2, s(struct sys_mkdir_args), SYCALL_MPSAFE | 0,
1.37      mycroft   390:            sys_mkdir },                        /* 136 = mkdir */
1.189.2.1  ad        391:        { 1, s(struct sys_rmdir_args), SYCALL_MPSAFE | 0,
1.37      mycroft   392:            sys_rmdir },                        /* 137 = rmdir */
1.189.2.1  ad        393:        { 2, s(struct sys_utimes_args), SYCALL_MPSAFE | 0,
1.37      mycroft   394:            sys_utimes },                       /* 138 = utimes */
1.123     thorpej   395:        { 0, 0, 0,
1.37      mycroft   396:            sys_nosys },                        /* 139 = obsolete 4.2 sigreturn */
1.123     thorpej   397:        { 2, s(struct sys_adjtime_args), 0,
1.37      mycroft   398:            sys_adjtime },                      /* 140 = adjtime */
1.123     thorpej   399:        { 3, s(struct compat_43_sys_getpeername_args), 0,
1.38      mycroft   400:            compat_43(sys_getpeername) },       /* 141 = compat_43 ogetpeername */
1.123     thorpej   401:        { 0, 0, 0,
1.38      mycroft   402:            compat_43(sys_gethostid) },         /* 142 = compat_43 ogethostid */
1.123     thorpej   403:        { 1, s(struct compat_43_sys_sethostid_args), 0,
1.38      mycroft   404:            compat_43(sys_sethostid) },         /* 143 = compat_43 osethostid */
1.123     thorpej   405:        { 2, s(struct compat_43_sys_getrlimit_args), 0,
1.38      mycroft   406:            compat_43(sys_getrlimit) },         /* 144 = compat_43 ogetrlimit */
1.123     thorpej   407:        { 2, s(struct compat_43_sys_setrlimit_args), 0,
1.38      mycroft   408:            compat_43(sys_setrlimit) },         /* 145 = compat_43 osetrlimit */
1.123     thorpej   409:        { 2, s(struct compat_43_sys_killpg_args), 0,
1.38      mycroft   410:            compat_43(sys_killpg) },            /* 146 = compat_43 okillpg */
1.123     thorpej   411:        { 0, 0, 0,
1.37      mycroft   412:            sys_setsid },                       /* 147 = setsid */
1.123     thorpej   413:        { 4, s(struct sys_quotactl_args), 0,
1.37      mycroft   414:            sys_quotactl },                     /* 148 = quotactl */
1.123     thorpej   415:        { 0, 0, 0,
1.38      mycroft   416:            compat_43(sys_quota) },             /* 149 = compat_43 oquota */
1.123     thorpej   417:        { 3, s(struct compat_43_sys_getsockname_args), 0,
1.38      mycroft   418:            compat_43(sys_getsockname) },       /* 150 = compat_43 ogetsockname */
1.123     thorpej   419:        { 0, 0, 0,
1.37      mycroft   420:            sys_nosys },                        /* 151 = unimplemented */
1.123     thorpej   421:        { 0, 0, 0,
1.37      mycroft   422:            sys_nosys },                        /* 152 = unimplemented */
1.123     thorpej   423:        { 0, 0, 0,
1.37      mycroft   424:            sys_nosys },                        /* 153 = unimplemented */
1.123     thorpej   425:        { 0, 0, 0,
1.37      mycroft   426:            sys_nosys },                        /* 154 = unimplemented */
1.106     christos  427: #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
1.123     thorpej   428:        { 2, s(struct sys_nfssvc_args), 0,
1.37      mycroft   429:            sys_nfssvc },                       /* 155 = nfssvc */
1.28      cgd       430: #else
1.123     thorpej   431:        { 0, 0, 0,
1.106     christos  432:            sys_nosys },                        /* 155 = excluded nfssvc */
1.28      cgd       433: #endif
1.123     thorpej   434:        { 4, s(struct compat_43_sys_getdirentries_args), 0,
1.38      mycroft   435:            compat_43(sys_getdirentries) },     /* 156 = compat_43 ogetdirentries */
1.156     christos  436:        { 2, s(struct compat_20_sys_statfs_args), 0,
                    437:            compat_20(sys_statfs) },            /* 157 = compat_20 statfs */
                    438:        { 2, s(struct compat_20_sys_fstatfs_args), 0,
                    439:            compat_20(sys_fstatfs) },           /* 158 = compat_20 fstatfs */
1.123     thorpej   440:        { 0, 0, 0,
1.37      mycroft   441:            sys_nosys },                        /* 159 = unimplemented */
1.123     thorpej   442:        { 0, 0, 0,
1.37      mycroft   443:            sys_nosys },                        /* 160 = unimplemented */
1.175     martin    444:        { 2, s(struct compat_30_sys_getfh_args), 0,
                    445:            compat_30(sys_getfh) },             /* 161 = compat_30 getfh */
1.123     thorpej   446:        { 2, s(struct compat_09_sys_getdomainname_args), 0,
1.38      mycroft   447:            compat_09(sys_getdomainname) },     /* 162 = compat_09 ogetdomainname */
1.123     thorpej   448:        { 2, s(struct compat_09_sys_setdomainname_args), 0,
1.38      mycroft   449:            compat_09(sys_setdomainname) },     /* 163 = compat_09 osetdomainname */
1.123     thorpej   450:        { 1, s(struct compat_09_sys_uname_args), 0,
1.38      mycroft   451:            compat_09(sys_uname) },             /* 164 = compat_09 ouname */
1.123     thorpej   452:        { 2, s(struct sys_sysarch_args), 0,
1.37      mycroft   453:            sys_sysarch },                      /* 165 = sysarch */
1.123     thorpej   454:        { 0, 0, 0,
1.37      mycroft   455:            sys_nosys },                        /* 166 = unimplemented */
1.123     thorpej   456:        { 0, 0, 0,
1.37      mycroft   457:            sys_nosys },                        /* 167 = unimplemented */
1.123     thorpej   458:        { 0, 0, 0,
1.37      mycroft   459:            sys_nosys },                        /* 168 = unimplemented */
1.129     eeh       460: #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64)
1.189.2.3! ad        461:        { 5, s(struct compat_10_sys_semsys_args), SYCALL_MPSAFE | 0,
1.38      mycroft   462:            compat_10(sys_semsys) },            /* 169 = compat_10 osemsys */
1.28      cgd       463: #else
1.123     thorpej   464:        { 0, 0, 0,
1.106     christos  465:            sys_nosys },                        /* 169 = excluded 1.0 semsys */
1.28      cgd       466: #endif
1.129     eeh       467: #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64)
1.123     thorpej   468:        { 6, s(struct compat_10_sys_msgsys_args), 0,
1.38      mycroft   469:            compat_10(sys_msgsys) },            /* 170 = compat_10 omsgsys */
1.28      cgd       470: #else
1.123     thorpej   471:        { 0, 0, 0,
1.106     christos  472:            sys_nosys },                        /* 170 = excluded 1.0 msgsys */
1.28      cgd       473: #endif
1.129     eeh       474: #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64)
1.123     thorpej   475:        { 4, s(struct compat_10_sys_shmsys_args), 0,
1.38      mycroft   476:            compat_10(sys_shmsys) },            /* 171 = compat_10 oshmsys */
1.28      cgd       477: #else
1.123     thorpej   478:        { 0, 0, 0,
1.106     christos  479:            sys_nosys },                        /* 171 = excluded 1.0 shmsys */
1.28      cgd       480: #endif
1.123     thorpej   481:        { 0, 0, 0,
1.37      mycroft   482:            sys_nosys },                        /* 172 = unimplemented */
1.189.2.1  ad        483:        { 5, s(struct sys_pread_args), SYCALL_MPSAFE | 0,
1.92      thorpej   484:            sys_pread },                        /* 173 = pread */
1.189.2.1  ad        485:        { 5, s(struct sys_pwrite_args), SYCALL_MPSAFE | 0,
1.92      thorpej   486:            sys_pwrite },                       /* 174 = pwrite */
1.173     drochner  487:        { 1, s(struct compat_30_sys_ntp_gettime_args), 0,
                    488:            compat_30(sys_ntp_gettime) },       /* 175 = compat_30 ntp_gettime */
1.116     bjh21     489: #if defined(NTP) || !defined(_KERNEL)
1.123     thorpej   490:        { 1, s(struct sys_ntp_adjtime_args), 0,
1.47      thorpej   491:            sys_ntp_adjtime },                  /* 176 = ntp_adjtime */
1.116     bjh21     492: #else
1.123     thorpej   493:        { 0, 0, 0,
1.116     bjh21     494:            sys_nosys },                        /* 176 = excluded ntp_adjtime */
                    495: #endif
1.123     thorpej   496:        { 0, 0, 0,
1.37      mycroft   497:            sys_nosys },                        /* 177 = unimplemented */
1.123     thorpej   498:        { 0, 0, 0,
1.37      mycroft   499:            sys_nosys },                        /* 178 = unimplemented */
1.123     thorpej   500:        { 0, 0, 0,
1.37      mycroft   501:            sys_nosys },                        /* 179 = unimplemented */
1.123     thorpej   502:        { 0, 0, 0,
1.37      mycroft   503:            sys_nosys },                        /* 180 = unimplemented */
1.123     thorpej   504:        { 1, s(struct sys_setgid_args), 0,
1.37      mycroft   505:            sys_setgid },                       /* 181 = setgid */
1.123     thorpej   506:        { 1, s(struct sys_setegid_args), 0,
1.37      mycroft   507:            sys_setegid },                      /* 182 = setegid */
1.123     thorpej   508:        { 1, s(struct sys_seteuid_args), 0,
1.37      mycroft   509:            sys_seteuid },                      /* 183 = seteuid */
1.106     christos  510: #if defined(LFS) || !defined(_KERNEL)
1.123     thorpej   511:        { 3, s(struct sys_lfs_bmapv_args), 0,
1.106     christos  512:            sys_lfs_bmapv },                    /* 184 = lfs_bmapv */
1.123     thorpej   513:        { 3, s(struct sys_lfs_markv_args), 0,
1.106     christos  514:            sys_lfs_markv },                    /* 185 = lfs_markv */
1.123     thorpej   515:        { 2, s(struct sys_lfs_segclean_args), 0,
1.106     christos  516:            sys_lfs_segclean },                 /* 186 = lfs_segclean */
1.123     thorpej   517:        { 2, s(struct sys_lfs_segwait_args), 0,
1.106     christos  518:            sys_lfs_segwait },                  /* 187 = lfs_segwait */
1.28      cgd       519: #else
1.123     thorpej   520:        { 0, 0, 0,
1.106     christos  521:            sys_nosys },                        /* 184 = excluded lfs_bmapv */
1.123     thorpej   522:        { 0, 0, 0,
1.106     christos  523:            sys_nosys },                        /* 185 = excluded lfs_markv */
1.123     thorpej   524:        { 0, 0, 0,
1.106     christos  525:            sys_nosys },                        /* 186 = excluded lfs_segclean */
1.123     thorpej   526:        { 0, 0, 0,
1.106     christos  527:            sys_nosys },                        /* 187 = excluded lfs_segwait */
1.28      cgd       528: #endif
1.189.2.1  ad        529:        { 2, s(struct compat_12_sys_stat_args), SYCALL_MPSAFE | 0,
1.66      christos  530:            compat_12(sys_stat) },              /* 188 = compat_12 stat12 */
1.123     thorpej   531:        { 2, s(struct compat_12_sys_fstat_args), 0,
1.66      christos  532:            compat_12(sys_fstat) },             /* 189 = compat_12 fstat12 */
1.189.2.1  ad        533:        { 2, s(struct compat_12_sys_lstat_args), SYCALL_MPSAFE | 0,
1.66      christos  534:            compat_12(sys_lstat) },             /* 190 = compat_12 lstat12 */
1.123     thorpej   535:        { 2, s(struct sys_pathconf_args), 0,
1.37      mycroft   536:            sys_pathconf },                     /* 191 = pathconf */
1.123     thorpej   537:        { 2, s(struct sys_fpathconf_args), 0,
1.37      mycroft   538:            sys_fpathconf },                    /* 192 = fpathconf */
1.123     thorpej   539:        { 0, 0, 0,
1.37      mycroft   540:            sys_nosys },                        /* 193 = unimplemented */
1.123     thorpej   541:        { 2, s(struct sys_getrlimit_args), 0,
1.37      mycroft   542:            sys_getrlimit },                    /* 194 = getrlimit */
1.123     thorpej   543:        { 2, s(struct sys_setrlimit_args), 0,
1.37      mycroft   544:            sys_setrlimit },                    /* 195 = setrlimit */
1.123     thorpej   545:        { 4, s(struct compat_12_sys_getdirentries_args), 0,
1.63      fvdl      546:            compat_12(sys_getdirentries) },     /* 196 = compat_12 getdirentries */
1.123     thorpej   547:        { 7, s(struct sys_mmap_args), 0,
1.37      mycroft   548:            sys_mmap },                         /* 197 = mmap */
1.123     thorpej   549:        { 0, 0, 0,
1.51      cgd       550:            sys_nosys },                        /* 198 = __syscall (indir) */
1.189.2.1  ad        551:        { 4, s(struct sys_lseek_args), SYCALL_MPSAFE | 0,
1.37      mycroft   552:            sys_lseek },                        /* 199 = lseek */
1.189.2.1  ad        553:        { 3, s(struct sys_truncate_args), SYCALL_MPSAFE | 0,
1.37      mycroft   554:            sys_truncate },                     /* 200 = truncate */
1.189.2.1  ad        555:        { 3, s(struct sys_ftruncate_args), SYCALL_MPSAFE | 0,
1.37      mycroft   556:            sys_ftruncate },                    /* 201 = ftruncate */
1.123     thorpej   557:        { 6, s(struct sys___sysctl_args), 0,
1.37      mycroft   558:            sys___sysctl },                     /* 202 = __sysctl */
1.123     thorpej   559:        { 2, s(struct sys_mlock_args), 0,
1.37      mycroft   560:            sys_mlock },                        /* 203 = mlock */
1.123     thorpej   561:        { 2, s(struct sys_munlock_args), 0,
1.37      mycroft   562:            sys_munlock },                      /* 204 = munlock */
1.189.2.1  ad        563:        { 1, s(struct sys_undelete_args), SYCALL_MPSAFE | 0,
1.37      mycroft   564:            sys_undelete },                     /* 205 = undelete */
1.189.2.1  ad        565:        { 2, s(struct sys_futimes_args), SYCALL_MPSAFE | 0,
1.41      mycroft   566:            sys_futimes },                      /* 206 = futimes */
1.185     ad        567:        { 1, s(struct sys_getpgid_args), SYCALL_MPSAFE | 0,
1.43      mrg       568:            sys_getpgid },                      /* 207 = getpgid */
1.123     thorpej   569:        { 2, s(struct sys_reboot_args), 0,
1.43      mrg       570:            sys_reboot },                       /* 208 = reboot */
1.189.2.2  ad        571:        { 3, s(struct sys_poll_args), SYCALL_MPSAFE | 0,
1.44      mycroft   572:            sys_poll },                         /* 209 = poll */
1.106     christos  573: #if defined(LKM) || !defined(_KERNEL)
1.123     thorpej   574:        { 0, 0, 0,
1.37      mycroft   575:            sys_lkmnosys },                     /* 210 = lkmnosys */
1.123     thorpej   576:        { 0, 0, 0,
1.37      mycroft   577:            sys_lkmnosys },                     /* 211 = lkmnosys */
1.123     thorpej   578:        { 0, 0, 0,
1.37      mycroft   579:            sys_lkmnosys },                     /* 212 = lkmnosys */
1.123     thorpej   580:        { 0, 0, 0,
1.37      mycroft   581:            sys_lkmnosys },                     /* 213 = lkmnosys */
1.123     thorpej   582:        { 0, 0, 0,
1.37      mycroft   583:            sys_lkmnosys },                     /* 214 = lkmnosys */
1.123     thorpej   584:        { 0, 0, 0,
1.37      mycroft   585:            sys_lkmnosys },                     /* 215 = lkmnosys */
1.123     thorpej   586:        { 0, 0, 0,
1.37      mycroft   587:            sys_lkmnosys },                     /* 216 = lkmnosys */
1.123     thorpej   588:        { 0, 0, 0,
1.37      mycroft   589:            sys_lkmnosys },                     /* 217 = lkmnosys */
1.123     thorpej   590:        { 0, 0, 0,
1.37      mycroft   591:            sys_lkmnosys },                     /* 218 = lkmnosys */
1.123     thorpej   592:        { 0, 0, 0,
1.37      mycroft   593:            sys_lkmnosys },                     /* 219 = lkmnosys */
1.16      cgd       594: #else  /* !LKM */
1.123     thorpej   595:        { 0, 0, 0,
1.106     christos  596:            sys_nosys },                        /* 210 = excluded lkmnosys */
1.123     thorpej   597:        { 0, 0, 0,
1.106     christos  598:            sys_nosys },                        /* 211 = excluded lkmnosys */
1.123     thorpej   599:        { 0, 0, 0,
1.106     christos  600:            sys_nosys },                        /* 212 = excluded lkmnosys */
1.123     thorpej   601:        { 0, 0, 0,
1.106     christos  602:            sys_nosys },                        /* 213 = excluded lkmnosys */
1.123     thorpej   603:        { 0, 0, 0,
1.106     christos  604:            sys_nosys },                        /* 214 = excluded lkmnosys */
1.123     thorpej   605:        { 0, 0, 0,
1.106     christos  606:            sys_nosys },                        /* 215 = excluded lkmnosys */
1.123     thorpej   607:        { 0, 0, 0,
1.106     christos  608:            sys_nosys },                        /* 216 = excluded lkmnosys */
1.123     thorpej   609:        { 0, 0, 0,
1.106     christos  610:            sys_nosys },                        /* 217 = excluded lkmnosys */
1.123     thorpej   611:        { 0, 0, 0,
1.106     christos  612:            sys_nosys },                        /* 218 = excluded lkmnosys */
1.123     thorpej   613:        { 0, 0, 0,
1.106     christos  614:            sys_nosys },                        /* 219 = excluded lkmnosys */
1.11      brezak    615: #endif /* !LKM */
1.106     christos  616: #if defined(SYSVSEM) || !defined(_KERNEL)
1.189.2.3! ad        617:        { 4, s(struct compat_14_sys___semctl_args), SYCALL_MPSAFE | 0,
1.111     thorpej   618:            compat_14(sys___semctl) },          /* 220 = compat_14 __semctl */
1.189.2.3! ad        619:        { 3, s(struct sys_semget_args), SYCALL_MPSAFE | 0,
1.37      mycroft   620:            sys_semget },                       /* 221 = semget */
1.189.2.3! ad        621:        { 3, s(struct sys_semop_args), SYCALL_MPSAFE | 0,
1.37      mycroft   622:            sys_semop },                        /* 222 = semop */
1.189.2.3! ad        623:        { 1, s(struct sys_semconfig_args), SYCALL_MPSAFE | 0,
1.37      mycroft   624:            sys_semconfig },                    /* 223 = semconfig */
1.28      cgd       625: #else
1.123     thorpej   626:        { 0, 0, 0,
1.111     thorpej   627:            sys_nosys },                        /* 220 = excluded compat_14_semctl */
1.123     thorpej   628:        { 0, 0, 0,
1.106     christos  629:            sys_nosys },                        /* 221 = excluded semget */
1.123     thorpej   630:        { 0, 0, 0,
1.106     christos  631:            sys_nosys },                        /* 222 = excluded semop */
1.123     thorpej   632:        { 0, 0, 0,
1.106     christos  633:            sys_nosys },                        /* 223 = excluded semconfig */
1.28      cgd       634: #endif
1.106     christos  635: #if defined(SYSVMSG) || !defined(_KERNEL)
1.185     ad        636:        { 3, s(struct compat_14_sys_msgctl_args), SYCALL_MPSAFE | 0,
1.111     thorpej   637:            compat_14(sys_msgctl) },            /* 224 = compat_14 msgctl */
1.185     ad        638:        { 2, s(struct sys_msgget_args), SYCALL_MPSAFE | 0,
1.37      mycroft   639:            sys_msgget },                       /* 225 = msgget */
1.185     ad        640:        { 4, s(struct sys_msgsnd_args), SYCALL_MPSAFE | 0,
1.37      mycroft   641:            sys_msgsnd },                       /* 226 = msgsnd */
1.185     ad        642:        { 5, s(struct sys_msgrcv_args), SYCALL_MPSAFE | 0,
1.37      mycroft   643:            sys_msgrcv },                       /* 227 = msgrcv */
1.28      cgd       644: #else
1.123     thorpej   645:        { 0, 0, 0,
1.111     thorpej   646:            sys_nosys },                        /* 224 = excluded compat_14_msgctl */
1.123     thorpej   647:        { 0, 0, 0,
1.106     christos  648:            sys_nosys },                        /* 225 = excluded msgget */
1.123     thorpej   649:        { 0, 0, 0,
1.106     christos  650:            sys_nosys },                        /* 226 = excluded msgsnd */
1.123     thorpej   651:        { 0, 0, 0,
1.106     christos  652:            sys_nosys },                        /* 227 = excluded msgrcv */
1.28      cgd       653: #endif
1.106     christos  654: #if defined(SYSVSHM) || !defined(_KERNEL)
1.123     thorpej   655:        { 3, s(struct sys_shmat_args), 0,
1.37      mycroft   656:            sys_shmat },                        /* 228 = shmat */
1.123     thorpej   657:        { 3, s(struct compat_14_sys_shmctl_args), 0,
1.111     thorpej   658:            compat_14(sys_shmctl) },            /* 229 = compat_14 shmctl */
1.123     thorpej   659:        { 1, s(struct sys_shmdt_args), 0,
1.37      mycroft   660:            sys_shmdt },                        /* 230 = shmdt */
1.123     thorpej   661:        { 3, s(struct sys_shmget_args), 0,
1.37      mycroft   662:            sys_shmget },                       /* 231 = shmget */
1.28      cgd       663: #else
1.123     thorpej   664:        { 0, 0, 0,
1.106     christos  665:            sys_nosys },                        /* 228 = excluded shmat */
1.123     thorpej   666:        { 0, 0, 0,
1.111     thorpej   667:            sys_nosys },                        /* 229 = excluded compat_14_shmctl */
1.123     thorpej   668:        { 0, 0, 0,
1.106     christos  669:            sys_nosys },                        /* 230 = excluded shmdt */
1.123     thorpej   670:        { 0, 0, 0,
1.106     christos  671:            sys_nosys },                        /* 231 = excluded shmget */
1.28      cgd       672: #endif
1.123     thorpej   673:        { 2, s(struct sys_clock_gettime_args), 0,
1.48      jtc       674:            sys_clock_gettime },                /* 232 = clock_gettime */
1.123     thorpej   675:        { 2, s(struct sys_clock_settime_args), 0,
1.48      jtc       676:            sys_clock_settime },                /* 233 = clock_settime */
1.123     thorpej   677:        { 2, s(struct sys_clock_getres_args), 0,
1.48      jtc       678:            sys_clock_getres },                 /* 234 = clock_getres */
1.136     thorpej   679:        { 3, s(struct sys_timer_create_args), 0,
                    680:            sys_timer_create },                 /* 235 = timer_create */
                    681:        { 1, s(struct sys_timer_delete_args), 0,
                    682:            sys_timer_delete },                 /* 236 = timer_delete */
                    683:        { 4, s(struct sys_timer_settime_args), 0,
                    684:            sys_timer_settime },                /* 237 = timer_settime */
                    685:        { 2, s(struct sys_timer_gettime_args), 0,
                    686:            sys_timer_gettime },                /* 238 = timer_gettime */
                    687:        { 1, s(struct sys_timer_getoverrun_args), 0,
                    688:            sys_timer_getoverrun },             /* 239 = timer_getoverrun */
1.185     ad        689:        { 2, s(struct sys_nanosleep_args), SYCALL_MPSAFE | 0,
1.54      jtc       690:            sys_nanosleep },                    /* 240 = nanosleep */
1.123     thorpej   691:        { 1, s(struct sys_fdatasync_args), 0,
1.89      kleink    692:            sys_fdatasync },                    /* 241 = fdatasync */
1.123     thorpej   693:        { 1, s(struct sys_mlockall_args), 0,
1.107     thorpej   694:            sys_mlockall },                     /* 242 = mlockall */
1.123     thorpej   695:        { 0, 0, 0,
1.107     thorpej   696:            sys_munlockall },                   /* 243 = munlockall */
1.185     ad        697:        { 3, s(struct sys___sigtimedwait_args), SYCALL_MPSAFE | 0,
1.143     jdolecek  698:            sys___sigtimedwait },               /* 244 = __sigtimedwait */
1.123     thorpej   699:        { 0, 0, 0,
1.143     jdolecek  700:            sys_nosys },                        /* 245 = unimplemented sys_sigqueue */
1.123     thorpej   701:        { 0, 0, 0,
1.143     jdolecek  702:            sys_nosys },                        /* 246 = unimplemented */
1.150     christos  703: #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC))
1.189.2.3! ad        704:        { 2, s(struct sys__ksem_init_args), SYCALL_MPSAFE | 0,
1.139     christos  705:            sys__ksem_init },                   /* 247 = _ksem_init */
1.189.2.3! ad        706:        { 5, s(struct sys__ksem_open_args), SYCALL_MPSAFE | 0,
1.139     christos  707:            sys__ksem_open },                   /* 248 = _ksem_open */
1.189.2.3! ad        708:        { 1, s(struct sys__ksem_unlink_args), SYCALL_MPSAFE | 0,
1.139     christos  709:            sys__ksem_unlink },                 /* 249 = _ksem_unlink */
1.189.2.3! ad        710:        { 1, s(struct sys__ksem_close_args), SYCALL_MPSAFE | 0,
1.139     christos  711:            sys__ksem_close },                  /* 250 = _ksem_close */
1.189.2.3! ad        712:        { 1, s(struct sys__ksem_post_args), SYCALL_MPSAFE | 0,
1.139     christos  713:            sys__ksem_post },                   /* 251 = _ksem_post */
1.189.2.3! ad        714:        { 1, s(struct sys__ksem_wait_args), SYCALL_MPSAFE | 0,
1.139     christos  715:            sys__ksem_wait },                   /* 252 = _ksem_wait */
1.189.2.3! ad        716:        { 1, s(struct sys__ksem_trywait_args), SYCALL_MPSAFE | 0,
1.139     christos  717:            sys__ksem_trywait },                /* 253 = _ksem_trywait */
1.189.2.3! ad        718:        { 2, s(struct sys__ksem_getvalue_args), SYCALL_MPSAFE | 0,
1.139     christos  719:            sys__ksem_getvalue },               /* 254 = _ksem_getvalue */
1.189.2.3! ad        720:        { 1, s(struct sys__ksem_destroy_args), SYCALL_MPSAFE | 0,
1.139     christos  721:            sys__ksem_destroy },                /* 255 = _ksem_destroy */
1.141     thorpej   722:        { 0, 0, 0,
                    723:            sys_nosys },                        /* 256 = unimplemented sys__ksem_timedwait */
1.138     christos  724: #else
1.123     thorpej   725:        { 0, 0, 0,
1.139     christos  726:            sys_nosys },                        /* 247 = excluded sys__ksem_init */
1.123     thorpej   727:        { 0, 0, 0,
1.139     christos  728:            sys_nosys },                        /* 248 = excluded sys__ksem_open */
1.123     thorpej   729:        { 0, 0, 0,
1.139     christos  730:            sys_nosys },                        /* 249 = excluded sys__ksem_unlink */
1.123     thorpej   731:        { 0, 0, 0,
1.139     christos  732:            sys_nosys },                        /* 250 = excluded sys__ksem_close */
1.123     thorpej   733:        { 0, 0, 0,
1.139     christos  734:            sys_nosys },                        /* 251 = excluded sys__ksem_post */
1.123     thorpej   735:        { 0, 0, 0,
1.139     christos  736:            sys_nosys },                        /* 252 = excluded sys__ksem_wait */
1.123     thorpej   737:        { 0, 0, 0,
1.139     christos  738:            sys_nosys },                        /* 253 = excluded sys__ksem_trywait */
1.123     thorpej   739:        { 0, 0, 0,
1.139     christos  740:            sys_nosys },                        /* 254 = excluded sys__ksem_getvalue */
1.123     thorpej   741:        { 0, 0, 0,
1.139     christos  742:            sys_nosys },                        /* 255 = excluded sys__ksem_destroy */
1.141     thorpej   743:        { 0, 0, 0,
                    744:            sys_nosys },                        /* 256 = unimplemented sys__ksem_timedwait */
1.138     christos  745: #endif
1.123     thorpej   746:        { 0, 0, 0,
1.142     thorpej   747:            sys_nosys },                        /* 257 = unimplemented sys_mq_open */
1.123     thorpej   748:        { 0, 0, 0,
1.142     thorpej   749:            sys_nosys },                        /* 258 = unimplemented sys_mq_close */
1.123     thorpej   750:        { 0, 0, 0,
1.142     thorpej   751:            sys_nosys },                        /* 259 = unimplemented sys_mq_unlink */
1.123     thorpej   752:        { 0, 0, 0,
1.142     thorpej   753:            sys_nosys },                        /* 260 = unimplemented sys_mq_getattr */
1.123     thorpej   754:        { 0, 0, 0,
1.142     thorpej   755:            sys_nosys },                        /* 261 = unimplemented sys_mq_setattr */
1.123     thorpej   756:        { 0, 0, 0,
1.142     thorpej   757:            sys_nosys },                        /* 262 = unimplemented sys_mq_notify */
1.123     thorpej   758:        { 0, 0, 0,
1.142     thorpej   759:            sys_nosys },                        /* 263 = unimplemented sys_mq_send */
1.123     thorpej   760:        { 0, 0, 0,
1.142     thorpej   761:            sys_nosys },                        /* 264 = unimplemented sys_mq_receive */
1.123     thorpej   762:        { 0, 0, 0,
1.142     thorpej   763:            sys_nosys },                        /* 265 = unimplemented sys_mq_timedsend */
1.123     thorpej   764:        { 0, 0, 0,
1.142     thorpej   765:            sys_nosys },                        /* 266 = unimplemented sys_mq_timedreceive */
1.123     thorpej   766:        { 0, 0, 0,
1.55      kleink    767:            sys_nosys },                        /* 267 = unimplemented */
1.123     thorpej   768:        { 0, 0, 0,
1.55      kleink    769:            sys_nosys },                        /* 268 = unimplemented */
1.123     thorpej   770:        { 0, 0, 0,
1.55      kleink    771:            sys_nosys },                        /* 269 = unimplemented */
1.123     thorpej   772:        { 2, s(struct sys___posix_rename_args), 0,
1.80      kleink    773:            sys___posix_rename },               /* 270 = __posix_rename */
1.123     thorpej   774:        { 3, s(struct sys_swapctl_args), 0,
1.56      mrg       775:            sys_swapctl },                      /* 271 = swapctl */
1.189.2.1  ad        776:        { 3, s(struct compat_30_sys_getdents_args), SYCALL_MPSAFE | 0,
1.166     christos  777:            compat_30(sys_getdents) },          /* 272 = compat_30 getdents */
1.123     thorpej   778:        { 3, s(struct sys_minherit_args), 0,
1.60      veego     779:            sys_minherit },                     /* 273 = minherit */
1.189.2.1  ad        780:        { 2, s(struct sys_lchmod_args), SYCALL_MPSAFE | 0,
1.61      enami     781:            sys_lchmod },                       /* 274 = lchmod */
1.189.2.1  ad        782:        { 3, s(struct sys_lchown_args), SYCALL_MPSAFE | 0,
1.61      enami     783:            sys_lchown },                       /* 275 = lchown */
1.189.2.1  ad        784:        { 2, s(struct sys_lutimes_args), SYCALL_MPSAFE | 0,
1.61      enami     785:            sys_lutimes },                      /* 276 = lutimes */
1.123     thorpej   786:        { 3, s(struct sys___msync13_args), 0,
1.69      thorpej   787:            sys___msync13 },                    /* 277 = __msync13 */
1.189.2.1  ad        788:        { 2, s(struct compat_30_sys___stat13_args), SYCALL_MPSAFE | 0,
1.166     christos  789:            compat_30(sys___stat13) },          /* 278 = compat_30 __stat13 */
                    790:        { 2, s(struct compat_30_sys___fstat13_args), 0,
                    791:            compat_30(sys___fstat13) },         /* 279 = compat_30 __fstat13 */
1.189.2.1  ad        792:        { 2, s(struct compat_30_sys___lstat13_args), SYCALL_MPSAFE | 0,
1.166     christos  793:            compat_30(sys___lstat13) },         /* 280 = compat_30 __lstat13 */
1.185     ad        794:        { 2, s(struct sys___sigaltstack14_args), SYCALL_MPSAFE | 0,
1.73      kleink    795:            sys___sigaltstack14 },              /* 281 = __sigaltstack14 */
1.123     thorpej   796:        { 0, 0, 0,
1.74      thorpej   797:            sys___vfork14 },                    /* 282 = __vfork14 */
1.189.2.1  ad        798:        { 3, s(struct sys___posix_chown_args), SYCALL_MPSAFE | 0,
1.80      kleink    799:            sys___posix_chown },                /* 283 = __posix_chown */
1.189.2.1  ad        800:        { 3, s(struct sys___posix_fchown_args), SYCALL_MPSAFE | 0,
1.80      kleink    801:            sys___posix_fchown },               /* 284 = __posix_fchown */
1.189.2.1  ad        802:        { 3, s(struct sys___posix_lchown_args), SYCALL_MPSAFE | 0,
1.80      kleink    803:            sys___posix_lchown },               /* 285 = __posix_lchown */
1.185     ad        804:        { 1, s(struct sys_getsid_args), SYCALL_MPSAFE | 0,
1.79      thorpej   805:            sys_getsid },                       /* 286 = getsid */
1.127     thorpej   806:        { 2, s(struct sys___clone_args), 0,
                    807:            sys___clone },                      /* 287 = __clone */
1.106     christos  808: #if defined(KTRACE) || !defined(_KERNEL)
1.123     thorpej   809:        { 4, s(struct sys_fktrace_args), 0,
1.85      christos  810:            sys_fktrace },                      /* 288 = fktrace */
                    811: #else
1.123     thorpej   812:        { 0, 0, 0,
1.106     christos  813:            sys_nosys },                        /* 288 = excluded ktrace */
1.85      christos  814: #endif
1.189.2.1  ad        815:        { 5, s(struct sys_preadv_args), SYCALL_MPSAFE | 0,
1.92      thorpej   816:            sys_preadv },                       /* 289 = preadv */
1.189.2.1  ad        817:        { 5, s(struct sys_pwritev_args), SYCALL_MPSAFE | 0,
1.92      thorpej   818:            sys_pwritev },                      /* 290 = pwritev */
1.185     ad        819:        { 3, s(struct compat_16_sys___sigaction14_args), SYCALL_MPSAFE | 0,
1.148     christos  820:            compat_16(sys___sigaction14) },     /* 291 = compat_16 __sigaction14 */
1.185     ad        821:        { 1, s(struct sys___sigpending14_args), SYCALL_MPSAFE | 0,
1.95      mycroft   822:            sys___sigpending14 },               /* 292 = __sigpending14 */
1.185     ad        823:        { 3, s(struct sys___sigprocmask14_args), SYCALL_MPSAFE | 0,
1.95      mycroft   824:            sys___sigprocmask14 },              /* 293 = __sigprocmask14 */
1.185     ad        825:        { 1, s(struct sys___sigsuspend14_args), SYCALL_MPSAFE | 0,
1.95      mycroft   826:            sys___sigsuspend14 },               /* 294 = __sigsuspend14 */
1.185     ad        827:        { 1, s(struct compat_16_sys___sigreturn14_args), SYCALL_MPSAFE | 0,
1.145     christos  828:            compat_16(sys___sigreturn14) },     /* 295 = compat_16 __sigreturn14 */
1.123     thorpej   829:        { 2, s(struct sys___getcwd_args), 0,
1.103     sommerfe  830:            sys___getcwd },                     /* 296 = __getcwd */
1.123     thorpej   831:        { 1, s(struct sys_fchroot_args), 0,
1.103     sommerfe  832:            sys_fchroot },                      /* 297 = fchroot */
1.177     martin    833:        { 2, s(struct compat_30_sys_fhopen_args), 0,
                    834:            compat_30(sys_fhopen) },            /* 298 = compat_30 fhopen */
1.172     christos  835:        { 2, s(struct compat_30_sys_fhstat_args), 0,
                    836:            compat_30(sys_fhstat) },            /* 299 = compat_30 fhstat */
1.156     christos  837:        { 2, s(struct compat_20_sys_fhstatfs_args), 0,
                    838:            compat_20(sys_fhstatfs) },          /* 300 = compat_20 fhstatfs */
1.111     thorpej   839: #if defined(SYSVSEM) || !defined(_KERNEL)
1.189.2.3! ad        840:        { 4, s(struct sys_____semctl13_args), SYCALL_MPSAFE | 0,
1.113     christos  841:            sys_____semctl13 },                 /* 301 = ____semctl13 */
1.111     thorpej   842: #else
1.123     thorpej   843:        { 0, 0, 0,
1.113     christos  844:            sys_nosys },                        /* 301 = excluded ____semctl13 */
1.111     thorpej   845: #endif
                    846: #if defined(SYSVMSG) || !defined(_KERNEL)
1.185     ad        847:        { 3, s(struct sys___msgctl13_args), SYCALL_MPSAFE | 0,
1.111     thorpej   848:            sys___msgctl13 },                   /* 302 = __msgctl13 */
                    849: #else
1.123     thorpej   850:        { 0, 0, 0,
1.111     thorpej   851:            sys_nosys },                        /* 302 = excluded __msgctl13 */
                    852: #endif
                    853: #if defined(SYSVSHM) || !defined(_KERNEL)
1.123     thorpej   854:        { 3, s(struct sys___shmctl13_args), 0,
1.111     thorpej   855:            sys___shmctl13 },                   /* 303 = __shmctl13 */
                    856: #else
1.123     thorpej   857:        { 0, 0, 0,
1.111     thorpej   858:            sys_nosys },                        /* 303 = excluded __shmctl13 */
                    859: #endif
1.189.2.1  ad        860:        { 2, s(struct sys_lchflags_args), SYCALL_MPSAFE | 0,
1.114     mrg       861:            sys_lchflags },                     /* 304 = lchflags */
1.185     ad        862:        { 0, 0, SYCALL_MPSAFE | 0,
1.115     minoura   863:            sys_issetugid },                    /* 305 = issetugid */
1.185     ad        864:        { 3, s(struct sys_utrace_args), SYCALL_MPSAFE | 0,
1.121     jdolecek  865:            sys_utrace },                       /* 306 = utrace */
1.136     thorpej   866:        { 1, s(struct sys_getcontext_args), 0,
                    867:            sys_getcontext },                   /* 307 = getcontext */
                    868:        { 1, s(struct sys_setcontext_args), 0,
                    869:            sys_setcontext },                   /* 308 = setcontext */
1.189.2.1  ad        870:        { 3, s(struct sys__lwp_create_args), SYCALL_MPSAFE | 0,
1.136     thorpej   871:            sys__lwp_create },                  /* 309 = _lwp_create */
                    872:        { 0, 0, 0,
                    873:            sys__lwp_exit },                    /* 310 = _lwp_exit */
1.185     ad        874:        { 0, 0, SYCALL_MPSAFE | 0,
1.136     thorpej   875:            sys__lwp_self },                    /* 311 = _lwp_self */
1.185     ad        876:        { 2, s(struct sys__lwp_wait_args), SYCALL_MPSAFE | 0,
1.136     thorpej   877:            sys__lwp_wait },                    /* 312 = _lwp_wait */
1.185     ad        878:        { 1, s(struct sys__lwp_suspend_args), SYCALL_MPSAFE | 0,
1.136     thorpej   879:            sys__lwp_suspend },                 /* 313 = _lwp_suspend */
1.185     ad        880:        { 1, s(struct sys__lwp_continue_args), SYCALL_MPSAFE | 0,
1.136     thorpej   881:            sys__lwp_continue },                /* 314 = _lwp_continue */
1.185     ad        882:        { 1, s(struct sys__lwp_wakeup_args), SYCALL_MPSAFE | 0,
1.136     thorpej   883:            sys__lwp_wakeup },                  /* 315 = _lwp_wakeup */
1.185     ad        884:        { 0, 0, SYCALL_MPSAFE | 0,
1.136     thorpej   885:            sys__lwp_getprivate },              /* 316 = _lwp_getprivate */
1.185     ad        886:        { 1, s(struct sys__lwp_setprivate_args), SYCALL_MPSAFE | 0,
1.136     thorpej   887:            sys__lwp_setprivate },              /* 317 = _lwp_setprivate */
1.183     ad        888:        { 2, s(struct sys__lwp_kill_args), 0,
                    889:            sys__lwp_kill },                    /* 318 = _lwp_kill */
1.185     ad        890:        { 1, s(struct sys__lwp_detach_args), SYCALL_MPSAFE | 0,
1.183     ad        891:            sys__lwp_detach },                  /* 319 = _lwp_detach */
1.185     ad        892:        { 3, s(struct sys__lwp_park_args), SYCALL_MPSAFE | 0,
1.183     ad        893:            sys__lwp_park },                    /* 320 = _lwp_park */
1.185     ad        894:        { 2, s(struct sys__lwp_unpark_args), SYCALL_MPSAFE | 0,
1.183     ad        895:            sys__lwp_unpark },                  /* 321 = _lwp_unpark */
1.185     ad        896:        { 3, s(struct sys__lwp_unpark_all_args), SYCALL_MPSAFE | 0,
1.183     ad        897:            sys__lwp_unpark_all },              /* 322 = _lwp_unpark_all */
1.123     thorpej   898:        { 0, 0, 0,
                    899:            sys_nosys },                        /* 323 = unimplemented */
                    900:        { 0, 0, 0,
                    901:            sys_nosys },                        /* 324 = unimplemented */
                    902:        { 0, 0, 0,
                    903:            sys_nosys },                        /* 325 = unimplemented */
                    904:        { 0, 0, 0,
                    905:            sys_nosys },                        /* 326 = unimplemented */
                    906:        { 0, 0, 0,
                    907:            sys_nosys },                        /* 327 = unimplemented */
                    908:        { 0, 0, 0,
                    909:            sys_nosys },                        /* 328 = unimplemented */
                    910:        { 0, 0, 0,
                    911:            sys_nosys },                        /* 329 = unimplemented */
1.187     ad        912:        { 0, 0, SYCALL_MPSAFE | 0,
                    913:            sys_sa_register },                  /* 330 = sa_register */
                    914:        { 0, 0, SYCALL_MPSAFE | 0,
                    915:            sys_sa_stacks },                    /* 331 = sa_stacks */
                    916:        { 0, 0, SYCALL_MPSAFE | 0,
                    917:            sys_sa_enable },                    /* 332 = sa_enable */
                    918:        { 0, 0, SYCALL_MPSAFE | 0,
                    919:            sys_sa_setconcurrency },            /* 333 = sa_setconcurrency */
                    920:        { 0, 0, SYCALL_MPSAFE | 0,
                    921:            sys_sa_yield },                     /* 334 = sa_yield */
                    922:        { 0, 0, SYCALL_MPSAFE | 0,
                    923:            sys_sa_preempt },                   /* 335 = sa_preempt */
                    924:        { 0, 0, SYCALL_MPSAFE | 0,
                    925:            sys_sa_unblockyield },              /* 336 = sa_unblockyield */
1.123     thorpej   926:        { 0, 0, 0,
                    927:            sys_nosys },                        /* 337 = unimplemented */
                    928:        { 0, 0, 0,
                    929:            sys_nosys },                        /* 338 = unimplemented */
                    930:        { 0, 0, 0,
                    931:            sys_nosys },                        /* 339 = unimplemented */
1.185     ad        932:        { 5, s(struct sys___sigaction_sigtramp_args), SYCALL_MPSAFE | 0,
1.130     thorpej   933:            sys___sigaction_sigtramp },         /* 340 = __sigaction_sigtramp */
1.131     briggs    934:        { 3, s(struct sys_pmc_get_info_args), 0,
                    935:            sys_pmc_get_info },                 /* 341 = pmc_get_info */
                    936:        { 3, s(struct sys_pmc_control_args), 0,
                    937:            sys_pmc_control },                  /* 342 = pmc_control */
1.132     gmcgarry  938:        { 3, s(struct sys_rasctl_args), 0,
                    939:            sys_rasctl },                       /* 343 = rasctl */
1.123     thorpej   940:        { 0, 0, 0,
1.134     jdolecek  941:            sys_kqueue },                       /* 344 = kqueue */
                    942:        { 6, s(struct sys_kevent_args), 0,
                    943:            sys_kevent },                       /* 345 = kevent */
1.123     thorpej   944:        { 0, 0, 0,
1.142     thorpej   945:            sys_nosys },                        /* 346 = unimplemented sys_sched_setparam */
1.123     thorpej   946:        { 0, 0, 0,
1.142     thorpej   947:            sys_nosys },                        /* 347 = unimplemented sys_sched_getparam */
1.123     thorpej   948:        { 0, 0, 0,
1.142     thorpej   949:            sys_nosys },                        /* 348 = unimplemented sys_sched_setscheduler */
1.123     thorpej   950:        { 0, 0, 0,
1.142     thorpej   951:            sys_nosys },                        /* 349 = unimplemented sys_sched_getscheduler */
1.185     ad        952:        { 0, 0, SYCALL_MPSAFE | 0,
1.183     ad        953:            sys_sched_yield },                  /* 350 = sched_yield */
1.123     thorpej   954:        { 0, 0, 0,
1.142     thorpej   955:            sys_nosys },                        /* 351 = unimplemented sys_sched_get_priority_max */
1.123     thorpej   956:        { 0, 0, 0,
1.142     thorpej   957:            sys_nosys },                        /* 352 = unimplemented sys_sched_get_priority_min */
1.123     thorpej   958:        { 0, 0, 0,
1.142     thorpej   959:            sys_nosys },                        /* 353 = unimplemented sys_sched_rr_get_interval */
1.189.2.1  ad        960:        { 4, s(struct sys_fsync_range_args), SYCALL_MPSAFE | 0,
1.151     thorpej   961:            sys_fsync_range },                  /* 354 = fsync_range */
1.153     tsarna    962:        { 2, s(struct sys_uuidgen_args), 0,
                    963:            sys_uuidgen },                      /* 355 = uuidgen */
1.156     christos  964:        { 3, s(struct sys_getvfsstat_args), 0,
                    965:            sys_getvfsstat },                   /* 356 = getvfsstat */
                    966:        { 3, s(struct sys_statvfs1_args), 0,
                    967:            sys_statvfs1 },                     /* 357 = statvfs1 */
                    968:        { 3, s(struct sys_fstatvfs1_args), 0,
                    969:            sys_fstatvfs1 },                    /* 358 = fstatvfs1 */
1.177     martin    970:        { 3, s(struct compat_30_sys_fhstatvfs1_args), 0,
                    971:            compat_30(sys_fhstatvfs1) },        /* 359 = compat_30 fhstatvfs1 */
1.160     thorpej   972:        { 5, s(struct sys_extattrctl_args), 0,
                    973:            sys_extattrctl },                   /* 360 = extattrctl */
                    974:        { 5, s(struct sys_extattr_set_file_args), 0,
                    975:            sys_extattr_set_file },             /* 361 = extattr_set_file */
                    976:        { 5, s(struct sys_extattr_get_file_args), 0,
                    977:            sys_extattr_get_file },             /* 362 = extattr_get_file */
                    978:        { 3, s(struct sys_extattr_delete_file_args), 0,
                    979:            sys_extattr_delete_file },          /* 363 = extattr_delete_file */
                    980:        { 5, s(struct sys_extattr_set_fd_args), 0,
                    981:            sys_extattr_set_fd },               /* 364 = extattr_set_fd */
                    982:        { 5, s(struct sys_extattr_get_fd_args), 0,
                    983:            sys_extattr_get_fd },               /* 365 = extattr_get_fd */
                    984:        { 3, s(struct sys_extattr_delete_fd_args), 0,
                    985:            sys_extattr_delete_fd },            /* 366 = extattr_delete_fd */
                    986:        { 5, s(struct sys_extattr_set_link_args), 0,
                    987:            sys_extattr_set_link },             /* 367 = extattr_set_link */
                    988:        { 5, s(struct sys_extattr_get_link_args), 0,
                    989:            sys_extattr_get_link },             /* 368 = extattr_get_link */
                    990:        { 3, s(struct sys_extattr_delete_link_args), 0,
                    991:            sys_extattr_delete_link },          /* 369 = extattr_delete_link */
                    992:        { 4, s(struct sys_extattr_list_fd_args), 0,
                    993:            sys_extattr_list_fd },              /* 370 = extattr_list_fd */
                    994:        { 4, s(struct sys_extattr_list_file_args), 0,
                    995:            sys_extattr_list_file },            /* 371 = extattr_list_file */
                    996:        { 4, s(struct sys_extattr_list_link_args), 0,
                    997:            sys_extattr_list_link },            /* 372 = extattr_list_link */
1.189.2.2  ad        998:        { 6, s(struct sys_pselect_args), SYCALL_MPSAFE | 0,
1.162     matt      999:            sys_pselect },                      /* 373 = pselect */
1.189.2.2  ad       1000:        { 4, s(struct sys_pollts_args), SYCALL_MPSAFE | 0,
1.162     matt     1001:            sys_pollts },                       /* 374 = pollts */
1.165     thorpej  1002:        { 5, s(struct sys_setxattr_args), 0,
                   1003:            sys_setxattr },                     /* 375 = setxattr */
                   1004:        { 5, s(struct sys_lsetxattr_args), 0,
                   1005:            sys_lsetxattr },                    /* 376 = lsetxattr */
                   1006:        { 5, s(struct sys_fsetxattr_args), 0,
                   1007:            sys_fsetxattr },                    /* 377 = fsetxattr */
                   1008:        { 4, s(struct sys_getxattr_args), 0,
                   1009:            sys_getxattr },                     /* 378 = getxattr */
                   1010:        { 4, s(struct sys_lgetxattr_args), 0,
                   1011:            sys_lgetxattr },                    /* 379 = lgetxattr */
                   1012:        { 4, s(struct sys_fgetxattr_args), 0,
                   1013:            sys_fgetxattr },                    /* 380 = fgetxattr */
                   1014:        { 3, s(struct sys_listxattr_args), 0,
                   1015:            sys_listxattr },                    /* 381 = listxattr */
                   1016:        { 3, s(struct sys_llistxattr_args), 0,
                   1017:            sys_llistxattr },                   /* 382 = llistxattr */
                   1018:        { 3, s(struct sys_flistxattr_args), 0,
                   1019:            sys_flistxattr },                   /* 383 = flistxattr */
                   1020:        { 2, s(struct sys_removexattr_args), 0,
                   1021:            sys_removexattr },                  /* 384 = removexattr */
                   1022:        { 2, s(struct sys_lremovexattr_args), 0,
                   1023:            sys_lremovexattr },                 /* 385 = lremovexattr */
                   1024:        { 2, s(struct sys_fremovexattr_args), 0,
                   1025:            sys_fremovexattr },                 /* 386 = fremovexattr */
1.189.2.1  ad       1026:        { 2, s(struct sys___stat30_args), SYCALL_MPSAFE | 0,
1.166     christos 1027:            sys___stat30 },                     /* 387 = __stat30 */
                   1028:        { 2, s(struct sys___fstat30_args), 0,
                   1029:            sys___fstat30 },                    /* 388 = __fstat30 */
1.189.2.1  ad       1030:        { 2, s(struct sys___lstat30_args), SYCALL_MPSAFE | 0,
1.166     christos 1031:            sys___lstat30 },                    /* 389 = __lstat30 */
1.189.2.1  ad       1032:        { 3, s(struct sys___getdents30_args), SYCALL_MPSAFE | 0,
1.166     christos 1033:            sys___getdents30 },                 /* 390 = __getdents30 */
1.168     yamt     1034:        { 4, s(struct sys_posix_fadvise_args), 0,
                   1035:            sys_posix_fadvise },                /* 391 = posix_fadvise */
1.177     martin   1036:        { 2, s(struct compat_30_sys___fhstat30_args), 0,
                   1037:            compat_30(sys___fhstat30) },        /* 392 = compat_30 __fhstat30 */
1.173     drochner 1038:        { 1, s(struct sys___ntp_gettime30_args), 0,
                   1039:            sys___ntp_gettime30 },              /* 393 = __ntp_gettime30 */
1.174     mrg      1040:        { 3, s(struct sys___socket30_args), 0,
                   1041:            sys___socket30 },                   /* 394 = __socket30 */
1.175     martin   1042:        { 3, s(struct sys___getfh30_args), 0,
                   1043:            sys___getfh30 },                    /* 395 = __getfh30 */
1.177     martin   1044:        { 3, s(struct sys___fhopen40_args), 0,
                   1045:            sys___fhopen40 },                   /* 396 = __fhopen40 */
                   1046:        { 4, s(struct sys___fhstatvfs140_args), 0,
                   1047:            sys___fhstatvfs140 },               /* 397 = __fhstatvfs140 */
                   1048:        { 3, s(struct sys___fhstat40_args), 0,
                   1049:            sys___fhstat40 },                   /* 398 = __fhstat40 */
1.123     thorpej  1050:        { 0, 0, 0,
1.119     mycroft  1051:            sys_nosys },                        /* 399 = filler */
1.123     thorpej  1052:        { 0, 0, 0,
1.119     mycroft  1053:            sys_nosys },                        /* 400 = filler */
1.123     thorpej  1054:        { 0, 0, 0,
1.119     mycroft  1055:            sys_nosys },                        /* 401 = filler */
1.123     thorpej  1056:        { 0, 0, 0,
1.119     mycroft  1057:            sys_nosys },                        /* 402 = filler */
1.123     thorpej  1058:        { 0, 0, 0,
1.119     mycroft  1059:            sys_nosys },                        /* 403 = filler */
1.123     thorpej  1060:        { 0, 0, 0,
1.119     mycroft  1061:            sys_nosys },                        /* 404 = filler */
1.123     thorpej  1062:        { 0, 0, 0,
1.119     mycroft  1063:            sys_nosys },                        /* 405 = filler */
1.123     thorpej  1064:        { 0, 0, 0,
1.119     mycroft  1065:            sys_nosys },                        /* 406 = filler */
1.123     thorpej  1066:        { 0, 0, 0,
1.119     mycroft  1067:            sys_nosys },                        /* 407 = filler */
1.123     thorpej  1068:        { 0, 0, 0,
1.119     mycroft  1069:            sys_nosys },                        /* 408 = filler */
1.123     thorpej  1070:        { 0, 0, 0,
1.119     mycroft  1071:            sys_nosys },                        /* 409 = filler */
1.123     thorpej  1072:        { 0, 0, 0,
1.119     mycroft  1073:            sys_nosys },                        /* 410 = filler */
1.123     thorpej  1074:        { 0, 0, 0,
1.119     mycroft  1075:            sys_nosys },                        /* 411 = filler */
1.123     thorpej  1076:        { 0, 0, 0,
1.119     mycroft  1077:            sys_nosys },                        /* 412 = filler */
1.123     thorpej  1078:        { 0, 0, 0,
1.119     mycroft  1079:            sys_nosys },                        /* 413 = filler */
1.123     thorpej  1080:        { 0, 0, 0,
1.119     mycroft  1081:            sys_nosys },                        /* 414 = filler */
1.123     thorpej  1082:        { 0, 0, 0,
1.119     mycroft  1083:            sys_nosys },                        /* 415 = filler */
1.123     thorpej  1084:        { 0, 0, 0,
1.119     mycroft  1085:            sys_nosys },                        /* 416 = filler */
1.123     thorpej  1086:        { 0, 0, 0,
1.119     mycroft  1087:            sys_nosys },                        /* 417 = filler */
1.123     thorpej  1088:        { 0, 0, 0,
1.119     mycroft  1089:            sys_nosys },                        /* 418 = filler */
1.123     thorpej  1090:        { 0, 0, 0,
1.119     mycroft  1091:            sys_nosys },                        /* 419 = filler */
1.123     thorpej  1092:        { 0, 0, 0,
1.119     mycroft  1093:            sys_nosys },                        /* 420 = filler */
1.123     thorpej  1094:        { 0, 0, 0,
1.119     mycroft  1095:            sys_nosys },                        /* 421 = filler */
1.123     thorpej  1096:        { 0, 0, 0,
1.119     mycroft  1097:            sys_nosys },                        /* 422 = filler */
1.123     thorpej  1098:        { 0, 0, 0,
1.119     mycroft  1099:            sys_nosys },                        /* 423 = filler */
1.123     thorpej  1100:        { 0, 0, 0,
1.119     mycroft  1101:            sys_nosys },                        /* 424 = filler */
1.123     thorpej  1102:        { 0, 0, 0,
1.119     mycroft  1103:            sys_nosys },                        /* 425 = filler */
1.123     thorpej  1104:        { 0, 0, 0,
1.119     mycroft  1105:            sys_nosys },                        /* 426 = filler */
1.123     thorpej  1106:        { 0, 0, 0,
1.119     mycroft  1107:            sys_nosys },                        /* 427 = filler */
1.123     thorpej  1108:        { 0, 0, 0,
1.119     mycroft  1109:            sys_nosys },                        /* 428 = filler */
1.123     thorpej  1110:        { 0, 0, 0,
1.119     mycroft  1111:            sys_nosys },                        /* 429 = filler */
1.123     thorpej  1112:        { 0, 0, 0,
1.119     mycroft  1113:            sys_nosys },                        /* 430 = filler */
1.123     thorpej  1114:        { 0, 0, 0,
1.119     mycroft  1115:            sys_nosys },                        /* 431 = filler */
1.123     thorpej  1116:        { 0, 0, 0,
1.119     mycroft  1117:            sys_nosys },                        /* 432 = filler */
1.123     thorpej  1118:        { 0, 0, 0,
1.119     mycroft  1119:            sys_nosys },                        /* 433 = filler */
1.123     thorpej  1120:        { 0, 0, 0,
1.119     mycroft  1121:            sys_nosys },                        /* 434 = filler */
1.123     thorpej  1122:        { 0, 0, 0,
1.119     mycroft  1123:            sys_nosys },                        /* 435 = filler */
1.123     thorpej  1124:        { 0, 0, 0,
1.119     mycroft  1125:            sys_nosys },                        /* 436 = filler */
1.123     thorpej  1126:        { 0, 0, 0,
1.119     mycroft  1127:            sys_nosys },                        /* 437 = filler */
1.123     thorpej  1128:        { 0, 0, 0,
1.119     mycroft  1129:            sys_nosys },                        /* 438 = filler */
1.123     thorpej  1130:        { 0, 0, 0,
1.119     mycroft  1131:            sys_nosys },                        /* 439 = filler */
1.123     thorpej  1132:        { 0, 0, 0,
1.119     mycroft  1133:            sys_nosys },                        /* 440 = filler */
1.123     thorpej  1134:        { 0, 0, 0,
1.119     mycroft  1135:            sys_nosys },                        /* 441 = filler */
1.123     thorpej  1136:        { 0, 0, 0,
1.119     mycroft  1137:            sys_nosys },                        /* 442 = filler */
1.123     thorpej  1138:        { 0, 0, 0,
1.119     mycroft  1139:            sys_nosys },                        /* 443 = filler */
1.123     thorpej  1140:        { 0, 0, 0,
1.119     mycroft  1141:            sys_nosys },                        /* 444 = filler */
1.123     thorpej  1142:        { 0, 0, 0,
1.119     mycroft  1143:            sys_nosys },                        /* 445 = filler */
1.123     thorpej  1144:        { 0, 0, 0,
1.119     mycroft  1145:            sys_nosys },                        /* 446 = filler */
1.123     thorpej  1146:        { 0, 0, 0,
1.119     mycroft  1147:            sys_nosys },                        /* 447 = filler */
1.123     thorpej  1148:        { 0, 0, 0,
1.119     mycroft  1149:            sys_nosys },                        /* 448 = filler */
1.123     thorpej  1150:        { 0, 0, 0,
1.119     mycroft  1151:            sys_nosys },                        /* 449 = filler */
1.123     thorpej  1152:        { 0, 0, 0,
1.119     mycroft  1153:            sys_nosys },                        /* 450 = filler */
1.123     thorpej  1154:        { 0, 0, 0,
1.119     mycroft  1155:            sys_nosys },                        /* 451 = filler */
1.123     thorpej  1156:        { 0, 0, 0,
1.119     mycroft  1157:            sys_nosys },                        /* 452 = filler */
1.123     thorpej  1158:        { 0, 0, 0,
1.119     mycroft  1159:            sys_nosys },                        /* 453 = filler */
1.123     thorpej  1160:        { 0, 0, 0,
1.119     mycroft  1161:            sys_nosys },                        /* 454 = filler */
1.123     thorpej  1162:        { 0, 0, 0,
1.119     mycroft  1163:            sys_nosys },                        /* 455 = filler */
1.123     thorpej  1164:        { 0, 0, 0,
1.119     mycroft  1165:            sys_nosys },                        /* 456 = filler */
1.123     thorpej  1166:        { 0, 0, 0,
1.119     mycroft  1167:            sys_nosys },                        /* 457 = filler */
1.123     thorpej  1168:        { 0, 0, 0,
1.119     mycroft  1169:            sys_nosys },                        /* 458 = filler */
1.123     thorpej  1170:        { 0, 0, 0,
1.119     mycroft  1171:            sys_nosys },                        /* 459 = filler */
1.123     thorpej  1172:        { 0, 0, 0,
1.119     mycroft  1173:            sys_nosys },                        /* 460 = filler */
1.123     thorpej  1174:        { 0, 0, 0,
1.119     mycroft  1175:            sys_nosys },                        /* 461 = filler */
1.123     thorpej  1176:        { 0, 0, 0,
1.119     mycroft  1177:            sys_nosys },                        /* 462 = filler */
1.123     thorpej  1178:        { 0, 0, 0,
1.119     mycroft  1179:            sys_nosys },                        /* 463 = filler */
1.123     thorpej  1180:        { 0, 0, 0,
1.119     mycroft  1181:            sys_nosys },                        /* 464 = filler */
1.123     thorpej  1182:        { 0, 0, 0,
1.119     mycroft  1183:            sys_nosys },                        /* 465 = filler */
1.123     thorpej  1184:        { 0, 0, 0,
1.119     mycroft  1185:            sys_nosys },                        /* 466 = filler */
1.123     thorpej  1186:        { 0, 0, 0,
1.119     mycroft  1187:            sys_nosys },                        /* 467 = filler */
1.123     thorpej  1188:        { 0, 0, 0,
1.119     mycroft  1189:            sys_nosys },                        /* 468 = filler */
1.123     thorpej  1190:        { 0, 0, 0,
1.119     mycroft  1191:            sys_nosys },                        /* 469 = filler */
1.123     thorpej  1192:        { 0, 0, 0,
1.119     mycroft  1193:            sys_nosys },                        /* 470 = filler */
1.123     thorpej  1194:        { 0, 0, 0,
1.119     mycroft  1195:            sys_nosys },                        /* 471 = filler */
1.123     thorpej  1196:        { 0, 0, 0,
1.119     mycroft  1197:            sys_nosys },                        /* 472 = filler */
1.123     thorpej  1198:        { 0, 0, 0,
1.119     mycroft  1199:            sys_nosys },                        /* 473 = filler */
1.123     thorpej  1200:        { 0, 0, 0,
1.119     mycroft  1201:            sys_nosys },                        /* 474 = filler */
1.123     thorpej  1202:        { 0, 0, 0,
1.119     mycroft  1203:            sys_nosys },                        /* 475 = filler */
1.123     thorpej  1204:        { 0, 0, 0,
1.119     mycroft  1205:            sys_nosys },                        /* 476 = filler */
1.123     thorpej  1206:        { 0, 0, 0,
1.119     mycroft  1207:            sys_nosys },                        /* 477 = filler */
1.123     thorpej  1208:        { 0, 0, 0,
1.119     mycroft  1209:            sys_nosys },                        /* 478 = filler */
1.123     thorpej  1210:        { 0, 0, 0,
1.119     mycroft  1211:            sys_nosys },                        /* 479 = filler */
1.123     thorpej  1212:        { 0, 0, 0,
1.119     mycroft  1213:            sys_nosys },                        /* 480 = filler */
1.123     thorpej  1214:        { 0, 0, 0,
1.119     mycroft  1215:            sys_nosys },                        /* 481 = filler */
1.123     thorpej  1216:        { 0, 0, 0,
1.119     mycroft  1217:            sys_nosys },                        /* 482 = filler */
1.123     thorpej  1218:        { 0, 0, 0,
1.119     mycroft  1219:            sys_nosys },                        /* 483 = filler */
1.123     thorpej  1220:        { 0, 0, 0,
1.119     mycroft  1221:            sys_nosys },                        /* 484 = filler */
1.123     thorpej  1222:        { 0, 0, 0,
1.119     mycroft  1223:            sys_nosys },                        /* 485 = filler */
1.123     thorpej  1224:        { 0, 0, 0,
1.119     mycroft  1225:            sys_nosys },                        /* 486 = filler */
1.123     thorpej  1226:        { 0, 0, 0,
1.119     mycroft  1227:            sys_nosys },                        /* 487 = filler */
1.123     thorpej  1228:        { 0, 0, 0,
1.119     mycroft  1229:            sys_nosys },                        /* 488 = filler */
1.123     thorpej  1230:        { 0, 0, 0,
1.119     mycroft  1231:            sys_nosys },                        /* 489 = filler */
1.123     thorpej  1232:        { 0, 0, 0,
1.119     mycroft  1233:            sys_nosys },                        /* 490 = filler */
1.123     thorpej  1234:        { 0, 0, 0,
1.119     mycroft  1235:            sys_nosys },                        /* 491 = filler */
1.123     thorpej  1236:        { 0, 0, 0,
1.119     mycroft  1237:            sys_nosys },                        /* 492 = filler */
1.123     thorpej  1238:        { 0, 0, 0,
1.119     mycroft  1239:            sys_nosys },                        /* 493 = filler */
1.123     thorpej  1240:        { 0, 0, 0,
1.119     mycroft  1241:            sys_nosys },                        /* 494 = filler */
1.123     thorpej  1242:        { 0, 0, 0,
1.119     mycroft  1243:            sys_nosys },                        /* 495 = filler */
1.123     thorpej  1244:        { 0, 0, 0,
1.119     mycroft  1245:            sys_nosys },                        /* 496 = filler */
1.123     thorpej  1246:        { 0, 0, 0,
1.119     mycroft  1247:            sys_nosys },                        /* 497 = filler */
1.123     thorpej  1248:        { 0, 0, 0,
1.119     mycroft  1249:            sys_nosys },                        /* 498 = filler */
1.123     thorpej  1250:        { 0, 0, 0,
1.119     mycroft  1251:            sys_nosys },                        /* 499 = filler */
1.123     thorpej  1252:        { 0, 0, 0,
1.119     mycroft  1253:            sys_nosys },                        /* 500 = filler */
1.123     thorpej  1254:        { 0, 0, 0,
1.119     mycroft  1255:            sys_nosys },                        /* 501 = filler */
1.123     thorpej  1256:        { 0, 0, 0,
1.119     mycroft  1257:            sys_nosys },                        /* 502 = filler */
1.123     thorpej  1258:        { 0, 0, 0,
1.119     mycroft  1259:            sys_nosys },                        /* 503 = filler */
1.123     thorpej  1260:        { 0, 0, 0,
1.119     mycroft  1261:            sys_nosys },                        /* 504 = filler */
1.123     thorpej  1262:        { 0, 0, 0,
1.119     mycroft  1263:            sys_nosys },                        /* 505 = filler */
1.123     thorpej  1264:        { 0, 0, 0,
1.119     mycroft  1265:            sys_nosys },                        /* 506 = filler */
1.123     thorpej  1266:        { 0, 0, 0,
1.119     mycroft  1267:            sys_nosys },                        /* 507 = filler */
1.123     thorpej  1268:        { 0, 0, 0,
1.119     mycroft  1269:            sys_nosys },                        /* 508 = filler */
1.123     thorpej  1270:        { 0, 0, 0,
1.119     mycroft  1271:            sys_nosys },                        /* 509 = filler */
1.123     thorpej  1272:        { 0, 0, 0,
1.119     mycroft  1273:            sys_nosys },                        /* 510 = filler */
1.123     thorpej  1274:        { 0, 0, 0,
1.119     mycroft  1275:            sys_nosys },                        /* 511 = filler */
1.1       cgd      1276: };
                   1277:

CVSweb <webmaster@jp.NetBSD.org>