NetBSD/sys/compat/linux/arch/powerpc/linux_syscalls.c

304 lines
9.1 KiB
C

/* $NetBSD: linux_syscalls.c,v 1.46 2009/01/17 22:34:02 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.42 2009/01/17 22:28:52 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.46 2009/01/17 22:34:02 njoly Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
#include <sys/poll.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <compat/linux/common/linux_types.h>
#include <compat/linux/common/linux_signal.h>
#include <compat/linux/common/linux_siginfo.h>
#include <compat/linux/common/linux_machdep.h>
#include <compat/linux/common/linux_mmap.h>
#include <compat/linux/linux_syscallargs.h>
#endif /* _KERNEL_OPT */
const char *const linux_syscallnames[] = {
/* 0 */ "syscall",
/* 1 */ "exit",
/* 2 */ "fork",
/* 3 */ "read",
/* 4 */ "write",
/* 5 */ "open",
/* 6 */ "close",
/* 7 */ "waitpid",
/* 8 */ "creat",
/* 9 */ "link",
/* 10 */ "unlink",
/* 11 */ "execve",
/* 12 */ "chdir",
/* 13 */ "time",
/* 14 */ "mknod",
/* 15 */ "chmod",
/* 16 */ "__posix_lchown",
/* 17 */ "#17 (obsolete break)",
/* 18 */ "#18 (obsolete ostat)",
/* 19 */ "lseek",
/* 20 */ "getpid",
/* 21 */ "#21 (unimplemented mount)",
/* 22 */ "#22 (obsolete umount)",
/* 23 */ "setuid",
/* 24 */ "getuid",
/* 25 */ "stime",
/* 26 */ "ptrace",
/* 27 */ "alarm",
/* 28 */ "#28 (obsolete ofstat)",
/* 29 */ "pause",
/* 30 */ "utime",
/* 31 */ "#31 (obsolete stty)",
/* 32 */ "#32 (obsolete gtty)",
/* 33 */ "access",
/* 34 */ "nice",
/* 35 */ "#35 (obsolete ftime)",
/* 36 */ "sync",
/* 37 */ "kill",
/* 38 */ "__posix_rename",
/* 39 */ "mkdir",
/* 40 */ "rmdir",
/* 41 */ "dup",
/* 42 */ "pipe",
/* 43 */ "times",
/* 44 */ "#44 (obsolete prof)",
/* 45 */ "brk",
/* 46 */ "setgid",
/* 47 */ "getgid",
/* 48 */ "signal",
/* 49 */ "geteuid",
/* 50 */ "getegid",
/* 51 */ "acct",
/* 52 */ "#52 (unimplemented umount)",
/* 53 */ "#53 (obsolete lock)",
/* 54 */ "ioctl",
/* 55 */ "fcntl",
/* 56 */ "#56 (obsolete mpx)",
/* 57 */ "setpgid",
/* 58 */ "#58 (obsolete ulimit)",
/* 59 */ "olduname",
/* 60 */ "umask",
/* 61 */ "chroot",
/* 62 */ "#62 (unimplemented ustat)",
/* 63 */ "dup2",
/* 64 */ "getppid",
/* 65 */ "getpgrp",
/* 66 */ "setsid",
/* 67 */ "sigaction",
/* 68 */ "siggetmask",
/* 69 */ "sigsetmask",
/* 70 */ "setreuid",
/* 71 */ "setregid",
/* 72 */ "sigsuspend",
/* 73 */ "sigpending",
/* 74 */ "sethostname",
/* 75 */ "setrlimit",
/* 76 */ "getrlimit",
/* 77 */ "getrusage",
/* 78 */ "gettimeofday",
/* 79 */ "settimeofday",
/* 80 */ "getgroups",
/* 81 */ "setgroups",
/* 82 */ "select",
/* 83 */ "symlink",
/* 84 */ "oolstat",
/* 85 */ "readlink",
#ifdef EXEC_AOUT
/* 86 */ "uselib",
#else
/* 86 */ "#86 (unimplemented sys_uselib)",
#endif
/* 87 */ "swapon",
/* 88 */ "reboot",
/* 89 */ "readdir",
/* 90 */ "mmap",
/* 91 */ "munmap",
/* 92 */ "truncate",
/* 93 */ "ftruncate",
/* 94 */ "fchmod",
/* 95 */ "__posix_fchown",
/* 96 */ "getpriority",
/* 97 */ "setpriority",
/* 98 */ "profil",
/* 99 */ "statfs",
/* 100 */ "fstatfs",
/* 101 */ "ioperm",
/* 102 */ "socketcall",
/* 103 */ "#103 (unimplemented syslog)",
/* 104 */ "setitimer",
/* 105 */ "getitimer",
/* 106 */ "stat",
/* 107 */ "lstat",
/* 108 */ "fstat",
/* 109 */ "uname",
/* 110 */ "#110 (unimplemented iopl)",
/* 111 */ "#111 (unimplemented vhangup)",
/* 112 */ "#112 (unimplemented idle)",
/* 113 */ "#113 (unimplemented vm86old)",
/* 114 */ "wait4",
/* 115 */ "swapoff",
/* 116 */ "sysinfo",
/* 117 */ "ipc",
/* 118 */ "fsync",
/* 119 */ "sigreturn",
/* 120 */ "clone",
/* 121 */ "setdomainname",
/* 122 */ "new_uname",
/* 123 */ "#123 (unimplemented modify_ldt)",
/* 124 */ "#124 (unimplemented adjtimex)",
/* 125 */ "mprotect",
/* 126 */ "sigprocmask",
/* 127 */ "#127 (unimplemented create_module)",
/* 128 */ "#128 (unimplemented init_module)",
/* 129 */ "#129 (unimplemented delete_module)",
/* 130 */ "#130 (unimplemented get_kernel_syms)",
/* 131 */ "#131 (unimplemented quotactl)",
/* 132 */ "getpgid",
/* 133 */ "fchdir",
/* 134 */ "#134 (unimplemented bdflush)",
/* 135 */ "#135 (unimplemented sysfs)",
/* 136 */ "personality",
/* 137 */ "#137 (unimplemented afs_syscall)",
/* 138 */ "setfsuid",
/* 139 */ "setfsgid",
/* 140 */ "llseek",
/* 141 */ "getdents",
/* 142 */ "new_select",
/* 143 */ "flock",
/* 144 */ "__msync13",
/* 145 */ "readv",
/* 146 */ "writev",
/* 147 */ "getsid",
/* 148 */ "fdatasync",
/* 149 */ "__sysctl",
/* 150 */ "mlock",
/* 151 */ "munlock",
/* 152 */ "mlockall",
/* 153 */ "munlockall",
/* 154 */ "sched_setparam",
/* 155 */ "sched_getparam",
/* 156 */ "sched_setscheduler",
/* 157 */ "sched_getscheduler",
/* 158 */ "sched_yield",
/* 159 */ "sched_get_priority_max",
/* 160 */ "sched_get_priority_min",
/* 161 */ "#161 (unimplemented sched_rr_get_interval)",
/* 162 */ "nanosleep",
/* 163 */ "mremap",
/* 164 */ "setresuid",
/* 165 */ "getresuid",
/* 166 */ "#166 (unimplemented query_module)",
/* 167 */ "poll",
/* 168 */ "#168 (unimplemented nfsservctl)",
/* 169 */ "setresgid",
/* 170 */ "getresgid",
/* 171 */ "#171 (unimplemented prctl)",
/* 172 */ "rt_sigreturn",
/* 173 */ "rt_sigaction",
/* 174 */ "rt_sigprocmask",
/* 175 */ "rt_sigpending",
/* 176 */ "#176 (unimplemented rt_sigtimedwait)",
/* 177 */ "rt_queueinfo",
/* 178 */ "rt_sigsuspend",
/* 179 */ "pread",
/* 180 */ "pwrite",
/* 181 */ "__posix_chown",
/* 182 */ "__getcwd",
/* 183 */ "#183 (unimplemented capget)",
/* 184 */ "#184 (unimplemented capset)",
/* 185 */ "sigaltstack",
/* 186 */ "#186 (unimplemented sendfile)",
/* 187 */ "#187 (unimplemented getpmsg)",
/* 188 */ "#188 (unimplemented putpmsg)",
/* 189 */ "__vfork14",
/* 190 */ "ugetrlimit",
/* 191 */ "#191 (unimplemented / * unused * /)",
#define linux_sys_mmap2_args linux_sys_mmap_args
/* 192 */ "mmap2",
/* 193 */ "truncate64",
/* 194 */ "ftruncate64",
/* 195 */ "stat64",
/* 196 */ "lstat64",
/* 197 */ "fstat64",
/* 198 */ "#198 (unimplemented sys_pciconfig_read)",
/* 199 */ "#199 (unimplemented sys_pciconfig_write)",
/* 200 */ "#200 (unimplemented sys_pciconfig_iobase)",
/* 201 */ "#201 (unimplemented / * Unused ( MacOnLinux project ) * /)",
/* 202 */ "getdents64",
/* 203 */ "#203 (unimplemented pivot_root)",
/* 204 */ "fcntl64",
/* 205 */ "mincore",
/* 206 */ "madvise",
/* 207 */ "#207 (unimplemented gettid)",
/* 208 */ "#208 (unimplemented tkill)",
/* 209 */ "setxattr",
/* 210 */ "lsetxattr",
/* 211 */ "fsetxattr",
/* 212 */ "getxattr",
/* 213 */ "lgetxattr",
/* 214 */ "fgetxattr",
/* 215 */ "listxattr",
/* 216 */ "llistxattr",
/* 217 */ "flistxattr",
/* 218 */ "removexattr",
/* 219 */ "lremovexattr",
/* 220 */ "fremovexattr",
/* 221 */ "#221 (unimplemented futex)",
/* 222 */ "#222 (unimplemented sched_setaffinity)",
/* 223 */ "#223 (unimplemented sched_getaffinity)",
/* 224 */ "#224 (unimplemented / * unused * /)",
/* 225 */ "#225 (unimplemented tuxcall)",
/* 226 */ "#226 (unimplemented sendfile64)",
/* 227 */ "#227 (unimplemented io_setup)",
/* 228 */ "#228 (unimplemented io_destroy)",
/* 229 */ "#229 (unimplemented io_getevents)",
/* 230 */ "#230 (unimplemented io_submit)",
/* 231 */ "#231 (unimplemented io_cancel)",
/* 232 */ "#232 (unimplemented set_tid_address)",
/* 233 */ "#233 (unimplemented fadvise64)",
/* 234 */ "exit_group",
/* 235 */ "#235 (unimplemented lookup_dcookie)",
/* 236 */ "#236 (unimplemented epoll_create)",
/* 237 */ "#237 (unimplemented epoll_ctl)",
/* 238 */ "#238 (unimplemented epoll_wait)",
/* 239 */ "#239 (unimplemented remap_file_pages)",
/* 240 */ "#240 (unimplemented timer_create)",
/* 241 */ "#241 (unimplemented timer_settime)",
/* 242 */ "#242 (unimplemented timer_gettime)",
/* 243 */ "#243 (unimplemented timer_getoverrun)",
/* 244 */ "#244 (unimplemented timer_delete)",
/* 245 */ "clock_settime",
/* 246 */ "clock_gettime",
/* 247 */ "clock_getres",
/* 248 */ "clock_nanosleep",
/* 249 */ "#249 (unimplemented swapcontext)",
/* 250 */ "#250 (unimplemented tgkill)",
/* 251 */ "#251 (unimplemented utimes)",
/* 252 */ "statfs64",
/* 253 */ "fstatfs64",
/* 254 */ "#254 (unimplemented fadvise64_64)",
/* 255 */ "#255 (unimplemented rtas)",
/* 256 */ "#256 (unimplemented / * reserved for sys_debug_setcontext * /)",
/* 257 */ "#257 (unimplemented / * reserved for vserver * /)",
/* 258 */ "#258 (unimplemented / * reserved for new sys_remap_file_pages * /)",
/* 259 */ "#259 (unimplemented / * reserved for new sys_mbind * /)",
/* 260 */ "#260 (unimplemented / * reserved for new sys_get_mempolicy * /)",
/* 261 */ "#261 (unimplemented / * reserved for new sys_set_mempolicy * /)",
/* 262 */ "#262 (unimplemented mq_open)",
/* 263 */ "#263 (unimplemented mq_unlink)",
/* 264 */ "#264 (unimplemented mq_timedsend)",
/* 265 */ "#265 (unimplemented mq_timedreceive)",
/* 266 */ "#266 (unimplemented mq_notify)",
/* 267 */ "#267 (unimplemented mq_getsetattr)",
/* 268 */ "#268 (unimplemented kexec_load)",
};