NetBSD/sys/compat/ibcs2/ibcs2_syscalls.c

304 lines
9.1 KiB
C

/* $NetBSD: ibcs2_syscalls.c,v 1.48 2009/01/13 22:33:09 pooka Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.37 2009/01/13 22:27:43 pooka Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ibcs2_syscalls.c,v 1.48 2009/01/13 22:33:09 pooka Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
#endif
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/sched.h>
#include <sys/syscallargs.h>
#include <compat/sys/time.h>
#include <compat/ibcs2/ibcs2_types.h>
#include <compat/ibcs2/ibcs2_signal.h>
#include <compat/ibcs2/ibcs2_syscallargs.h>
#include <compat/ibcs2/ibcs2_statfs.h>
#endif /* _KERNEL_OPT */
const char *const ibcs2_syscallnames[] = {
/* 0 */ "syscall",
/* 1 */ "exit",
/* 2 */ "fork",
/* 3 */ "read",
/* 4 */ "write",
/* 5 */ "open",
/* 6 */ "close",
/* 7 */ "waitsys",
/* 8 */ "creat",
/* 9 */ "link",
/* 10 */ "unlink",
/* 11 */ "execv",
/* 12 */ "chdir",
/* 13 */ "time",
/* 14 */ "mknod",
/* 15 */ "chmod",
/* 16 */ "__posix_chown",
/* 17 */ "obreak",
/* 18 */ "stat",
/* 19 */ "lseek",
/* 20 */ "getpid_with_ppid",
/* 21 */ "mount",
/* 22 */ "umount",
/* 23 */ "setuid",
/* 24 */ "getuid_with_euid",
/* 25 */ "stime",
/* 26 */ "#26 (unimplemented ibcs2_ptrace)",
/* 27 */ "alarm",
/* 28 */ "fstat",
/* 29 */ "pause",
/* 30 */ "utime",
/* 31 */ "#31 (unimplemented was stty)",
/* 32 */ "gtty",
/* 33 */ "access",
/* 34 */ "nice",
/* 35 */ "statfs",
/* 36 */ "sync",
/* 37 */ "kill",
/* 38 */ "fstatfs",
/* 39 */ "pgrpsys",
/* 40 */ "#40 (unimplemented ibcs2_xenix)",
/* 41 */ "dup",
/* 42 */ "pipe",
/* 43 */ "times",
/* 44 */ "#44 (unimplemented profil)",
/* 45 */ "plock",
/* 46 */ "setgid",
/* 47 */ "getgid_with_egid",
/* 48 */ "sigsys",
#ifdef SYSVMSG
/* 49 */ "msgsys",
#else
/* 49 */ "#49 (unimplemented msgsys)",
#endif
/* 50 */ "sysmachine",
/* 51 */ "#51 (unimplemented ibcs2_acct)",
#ifdef SYSVSHM
/* 52 */ "shmsys",
#else
/* 52 */ "#52 (unimplemented shmsys)",
#endif
#ifdef SYSVSEM
/* 53 */ "semsys",
#else
/* 53 */ "#53 (unimplemented semsys)",
#endif
/* 54 */ "ioctl",
/* 55 */ "uadmin",
/* 56 */ "#56 (unimplemented)",
/* 57 */ "utssys",
/* 58 */ "fsync",
/* 59 */ "execve",
/* 60 */ "umask",
/* 61 */ "chroot",
/* 62 */ "fcntl",
/* 63 */ "ulimit",
/* 64 */ "#64 (unimplemented reserved for unix/pc)",
/* 65 */ "#65 (unimplemented reserved for unix/pc)",
/* 66 */ "#66 (unimplemented reserved for unix/pc)",
/* 67 */ "#67 (unimplemented reserved for unix/pc)",
/* 68 */ "#68 (unimplemented reserved for unix/pc)",
/* 69 */ "#69 (unimplemented reserved for unix/pc)",
/* 70 */ "#70 (obsolete rfs_advfs)",
/* 71 */ "#71 (obsolete rfs_unadvfs)",
/* 72 */ "#72 (obsolete rfs_rmount)",
/* 73 */ "#73 (obsolete rfs_rumount)",
/* 74 */ "#74 (obsolete rfs_rfstart)",
/* 75 */ "#75 (obsolete rfs_sigret)",
/* 76 */ "#76 (obsolete rfs_rdebug)",
/* 77 */ "#77 (obsolete rfs_rfstop)",
/* 78 */ "#78 (unimplemented rfs_rfsys)",
/* 79 */ "rmdir",
/* 80 */ "mkdir",
/* 81 */ "getdents",
/* 82 */ "#82 (unimplemented)",
/* 83 */ "#83 (unimplemented)",
/* 84 */ "sysfs",
/* 85 */ "getmsg",
/* 86 */ "putmsg",
/* 87 */ "poll",
/* 88 */ "#88 (unimplemented)",
/* 89 */ "#89 (unimplemented)",
/* 90 */ "symlink",
/* 91 */ "lstat",
/* 92 */ "readlink",
/* 93 */ "fchmod",
/* 94 */ "fchown",
/* 95 */ "#95 (unimplemented)",
/* 96 */ "sigreturn",
/* 97 */ "sigaltstack",
/* 98 */ "#98 (unimplemented)",
/* 99 */ "#99 (unimplemented)",
/* 100 */ "#100 (unimplemented getcontext/setcontext/sigsetjmp)",
/* 101 */ "#101 (unimplemented)",
/* 102 */ "#102 (unimplemented)",
/* 103 */ "statvfs",
/* 104 */ "fstatvfs",
/* 105 */ "#105 (unimplemented)",
/* 106 */ "#106 (unimplemented)",
/* 107 */ "#107 (unimplemented waitid)",
/* 108 */ "#108 (unimplemented sigsendset)",
/* 109 */ "#109 (unimplemented)",
/* 110 */ "#110 (unimplemented)",
/* 111 */ "#111 (unimplemented)",
/* 112 */ "#112 (unimplemented priocntl)",
/* 113 */ "#113 (unimplemented)",
/* 114 */ "#114 (unimplemented)",
/* 115 */ "mmap",
/* 116 */ "mprotect",
/* 117 */ "munmap",
/* 118 */ "#118 (unimplemented)",
/* 119 */ "#119 (unimplemented vfork)",
/* 120 */ "fchdir",
/* 121 */ "readv",
/* 122 */ "writev",
/* 123 */ "#123 (unimplemented xstat)",
/* 124 */ "#124 (unimplemented lxstat)",
/* 125 */ "#125 (unimplemented fxstat)",
/* 126 */ "#126 (unimplemented)",
/* 127 */ "#127 (unimplemented)",
/* 128 */ "#128 (unimplemented setrlimit)",
/* 129 */ "#129 (unimplemented getrlimit)",
/* 130 */ "#130 (unimplemented lchown)",
/* 131 */ "memcntl",
/* 132 */ "#132 (unimplemented getpmsg)",
/* 133 */ "#133 (unimplemented putpmsg)",
/* 134 */ "#134 (unimplemented)",
/* 135 */ "#135 (unimplemented)",
/* 136 */ "#136 (unimplemented setegid)",
/* 137 */ "#137 (unimplemented)",
/* 138 */ "#138 (unimplemented adjtime)",
/* 139 */ "#139 (unimplemented)",
/* 140 */ "#140 (unimplemented)",
/* 141 */ "#141 (unimplemented seteuid)",
/* 142 */ "#142 (unimplemented)",
/* 143 */ "#143 (unimplemented)",
/* 144 */ "#144 (unimplemented)",
/* 145 */ "#145 (unimplemented)",
/* 146 */ "#146 (unimplemented)",
/* 147 */ "#147 (unimplemented)",
/* 148 */ "#148 (unimplemented)",
/* 149 */ "#149 (unimplemented)",
/* 150 */ "#150 (unimplemented)",
/* 151 */ "#151 (unimplemented)",
/* 152 */ "#152 (unimplemented)",
/* 153 */ "#153 (unimplemented)",
/* 154 */ "#154 (unimplemented)",
/* 155 */ "#155 (unimplemented)",
/* 156 */ "#156 (unimplemented)",
/* 157 */ "#157 (unimplemented)",
/* 158 */ "#158 (unimplemented)",
/* 159 */ "#159 (unimplemented)",
/* 160 */ "#160 (unimplemented)",
/* 161 */ "#161 (unimplemented)",
/* 162 */ "#162 (unimplemented)",
/* 163 */ "#163 (unimplemented)",
/* 164 */ "#164 (unimplemented)",
/* 165 */ "#165 (unimplemented)",
/* 166 */ "#166 (unimplemented)",
/* 167 */ "#167 (unimplemented)",
/* 168 */ "#168 (unimplemented)",
/* 169 */ "#169 (unimplemented)",
/* 170 */ "#170 (unimplemented)",
/* 171 */ "gettimeofday",
/* 172 */ "settimeofday",
/* 173 */ "#173 (unimplemented)",
/* 174 */ "#174 (unimplemented)",
/* 175 */ "#175 (unimplemented)",
/* 176 */ "#176 (unimplemented)",
/* 177 */ "#177 (unimplemented)",
/* 178 */ "#178 (unimplemented)",
/* 179 */ "#179 (unimplemented)",
/* 180 */ "#180 (unimplemented)",
/* 181 */ "#181 (unimplemented)",
/* 182 */ "#182 (unimplemented)",
/* 183 */ "#183 (unimplemented)",
/* 184 */ "#184 (unimplemented)",
/* 185 */ "#185 (unimplemented)",
/* 186 */ "#186 (unimplemented)",
/* 187 */ "#187 (unimplemented)",
/* 188 */ "#188 (unimplemented)",
/* 189 */ "#189 (unimplemented)",
/* 190 */ "#190 (unimplemented)",
/* 191 */ "truncate",
/* 192 */ "ftruncate",
/* 193 */ "#193 (unimplemented)",
/* 194 */ "#194 (unimplemented)",
/* 195 */ "#195 (unimplemented)",
/* 196 */ "#196 (unimplemented)",
/* 197 */ "#197 (unimplemented)",
/* 198 */ "#198 (unimplemented)",
/* 199 */ "#199 (unimplemented)",
/* 200 */ "#200 (unimplemented)",
/* 201 */ "locking",
/* 202 */ "#202 (unimplemented xenix_creatsem)",
/* 203 */ "#203 (unimplemented xenix_opensem)",
/* 204 */ "#204 (unimplemented xenix_sigsem)",
/* 205 */ "#205 (unimplemented xenix_waitsem)",
/* 206 */ "#206 (unimplemented xenix_nbwaitsem)",
/* 207 */ "rdchk",
/* 208 */ "#208 (unimplemented)",
/* 209 */ "#209 (unimplemented)",
/* 210 */ "chsize",
/* 211 */ "ftime",
/* 212 */ "nap",
/* 213 */ "#213 (unimplemented xenix_sdget)",
/* 214 */ "#214 (unimplemented xenix_sdfree)",
/* 215 */ "#215 (unimplemented xenix_sdenter)",
/* 216 */ "#216 (unimplemented xenix_sdleave)",
/* 217 */ "#217 (unimplemented xenix_sdgetv)",
/* 218 */ "#218 (unimplemented xenix_sdwaitv)",
/* 219 */ "#219 (unimplemented)",
/* 220 */ "#220 (unimplemented)",
/* 221 */ "#221 (unimplemented)",
/* 222 */ "#222 (unimplemented)",
/* 223 */ "#223 (unimplemented)",
/* 224 */ "#224 (unimplemented)",
/* 225 */ "#225 (unimplemented)",
/* 226 */ "#226 (unimplemented)",
/* 227 */ "#227 (unimplemented)",
/* 228 */ "#228 (unimplemented)",
/* 229 */ "#229 (unimplemented)",
/* 230 */ "#230 (unimplemented)",
/* 231 */ "#231 (unimplemented)",
/* 232 */ "#232 (unimplemented xenix_proctl)",
/* 233 */ "#233 (unimplemented xenix_execseg)",
/* 234 */ "#234 (unimplemented xenix_unexecseg)",
/* 235 */ "#235 (unimplemented)",
/* 236 */ "select",
/* 237 */ "eaccess",
/* 238 */ "#238 (unimplemented xenix_paccess)",
/* 239 */ "sigaction",
/* 240 */ "sigprocmask",
/* 241 */ "sigpending",
/* 242 */ "sigsuspend",
/* 243 */ "getgroups",
/* 244 */ "setgroups",
/* 245 */ "sysconf",
/* 246 */ "pathconf",
/* 247 */ "fpathconf",
/* 248 */ "__posix_rename",
/* 249 */ "#249 (unimplemented)",
/* 250 */ "scoinfo",
/* 251 */ "#251 (unimplemented)",
/* 252 */ "#252 (unimplemented)",
/* 253 */ "#253 (unimplemented)",
/* 254 */ "#254 (unimplemented)",
/* 255 */ "#255 (unimplemented getitimer)",
/* 256 */ "#256 (unimplemented setitimer)",
/* 257 */ "#257 (unimplemented)",
/* 258 */ "#258 (unimplemented setreuid)",
/* 259 */ "#259 (unimplemented setregid)",
};