syscalls.cc revision 5958
1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; 9 * redistributions in binary form must reproduce the above copyright 10 * notice, this list of conditions and the following disclaimer in the 11 * documentation and/or other materials provided with the distribution; 12 * neither the name of the copyright holders nor the names of its 13 * contributors may be used to endorse or promote products derived from 14 * this software without specific prior written permission. 15 * 16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 17 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 18 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 19 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 20 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Gabe Black 29 */ 30 31#include "arch/sparc/linux/process.hh" 32#include "sim/syscall_emul.hh" 33 34class LiveProcess; 35class ThreadContext; 36 37namespace SparcISA { 38 39/// Target uname() handler. 40static SyscallReturn 41unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process, 42 ThreadContext *tc) 43{ 44 TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, 0)); 45 46 strcpy(name->sysname, "Linux"); 47 strcpy(name->nodename, "m5.eecs.umich.edu"); 48 strcpy(name->release, "2.6.12-9-sparc64"); 49 strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003"); 50 strcpy(name->machine, "sparc"); 51 52 name.copyOut(tc->getMemPort()); 53 54 return 0; 55} 56 57 58SyscallReturn getresuidFunc(SyscallDesc *desc, int num, 59 LiveProcess *p, ThreadContext *tc) 60{ 61 const IntReg id = htog(100); 62 Addr ruid = p->getSyscallArg(tc, 0); 63 Addr euid = p->getSyscallArg(tc, 1); 64 Addr suid = p->getSyscallArg(tc, 2); 65 //Handle the EFAULT case 66 //Set the ruid 67 if(ruid) 68 { 69 BufferArg ruidBuff(ruid, sizeof(IntReg)); 70 memcpy(ruidBuff.bufferPtr(), &id, sizeof(IntReg)); 71 ruidBuff.copyOut(tc->getMemPort()); 72 } 73 //Set the euid 74 if(euid) 75 { 76 BufferArg euidBuff(euid, sizeof(IntReg)); 77 memcpy(euidBuff.bufferPtr(), &id, sizeof(IntReg)); 78 euidBuff.copyOut(tc->getMemPort()); 79 } 80 //Set the suid 81 if(suid) 82 { 83 BufferArg suidBuff(suid, sizeof(IntReg)); 84 memcpy(suidBuff.bufferPtr(), &id, sizeof(IntReg)); 85 suidBuff.copyOut(tc->getMemPort()); 86 } 87 return 0; 88} 89 90SyscallDesc SparcLinuxProcess::syscall32Descs[] = { 91 /* 0 */ SyscallDesc("restart_syscall", unimplementedFunc), 92 /* 1 */ SyscallDesc("exit", exitFunc), //32 bit 93 /* 2 */ SyscallDesc("fork", unimplementedFunc), 94 /* 3 */ SyscallDesc("read", readFunc), 95 /* 4 */ SyscallDesc("write", writeFunc), 96 /* 5 */ SyscallDesc("open", openFunc<Sparc32Linux>), //32 bit 97 /* 6 */ SyscallDesc("close", closeFunc), 98 /* 7 */ SyscallDesc("wait4", unimplementedFunc), //32 bit 99 /* 8 */ SyscallDesc("creat", unimplementedFunc), //32 bit 100 /* 9 */ SyscallDesc("link", unimplementedFunc), 101 /* 10 */ SyscallDesc("unlink", unlinkFunc), 102 /* 11 */ SyscallDesc("execv", unimplementedFunc), 103 /* 12 */ SyscallDesc("chdir", unimplementedFunc), 104 /* 13 */ SyscallDesc("chown", chownFunc), //32 bit 105 /* 14 */ SyscallDesc("mknod", unimplementedFunc), 106 /* 15 */ SyscallDesc("chmod", unimplementedFunc), 107 /* 16 */ SyscallDesc("lchown", unimplementedFunc), //32 bit 108 /* 17 */ SyscallDesc("brk", brkFunc), 109 /* 18 */ SyscallDesc("perfctr", unimplementedFunc), //32 bit 110 /* 19 */ SyscallDesc("lseek", lseekFunc), //32 bit 111 /* 20 */ SyscallDesc("getpid", getpidFunc), 112 /* 21 */ SyscallDesc("capget", unimplementedFunc), 113 /* 22 */ SyscallDesc("capset", unimplementedFunc), 114 /* 23 */ SyscallDesc("setuid", setuidFunc), //32 bit 115 /* 24 */ SyscallDesc("getuid", getuidFunc), //32 bit 116 /* 25 */ SyscallDesc("time", unimplementedFunc), 117 /* 26 */ SyscallDesc("ptrace", unimplementedFunc), 118 /* 27 */ SyscallDesc("alarm", unimplementedFunc), 119 /* 28 */ SyscallDesc("sigaltstack", unimplementedFunc), //32 bit 120 /* 29 */ SyscallDesc("pause", unimplementedFunc), //32 bit 121 /* 30 */ SyscallDesc("utime", unimplementedFunc), 122 /* 31 */ SyscallDesc("lchown32", unimplementedFunc), 123 /* 32 */ SyscallDesc("fchown32", unimplementedFunc), 124 /* 33 */ SyscallDesc("access", unimplementedFunc), //32 bit 125 /* 34 */ SyscallDesc("nice", unimplementedFunc), //32 bit 126 /* 35 */ SyscallDesc("chown32", unimplementedFunc), 127 /* 36 */ SyscallDesc("sync", unimplementedFunc), 128 /* 37 */ SyscallDesc("kill", unimplementedFunc), //32 bit 129 /* 38 */ SyscallDesc("stat", unimplementedFunc), 130 /* 39 */ SyscallDesc("sendfile", unimplementedFunc), //32 bit 131 /* 40 */ SyscallDesc("lstat", unimplementedFunc), 132 /* 41 */ SyscallDesc("dup", unimplementedFunc), 133 /* 42 */ SyscallDesc("pipe", pipePseudoFunc), 134 /* 43 */ SyscallDesc("times", ignoreFunc), 135 /* 44 */ SyscallDesc("getuid32", unimplementedFunc), 136 /* 45 */ SyscallDesc("umount2", unimplementedFunc), //32 bit 137 /* 46 */ SyscallDesc("setgid", unimplementedFunc), //32 bit 138 /* 47 */ SyscallDesc("getgid", getgidFunc), //32 bit 139 /* 48 */ SyscallDesc("signal", unimplementedFunc), //32 bit 140 /* 49 */ SyscallDesc("geteuid", geteuidFunc), //32 bit 141 /* 50 */ SyscallDesc("getegid", getegidFunc), //32 bit 142 /* 51 */ SyscallDesc("acct", unimplementedFunc), 143 /* 52 */ SyscallDesc("memory_ordering", unimplementedFunc), 144 /* 53 */ SyscallDesc("getgid32", unimplementedFunc), 145 /* 54 */ SyscallDesc("ioctl", unimplementedFunc), 146 /* 55 */ SyscallDesc("reboot", unimplementedFunc), //32 bit 147 /* 56 */ SyscallDesc("mmap2", unimplementedFunc), //32 bit 148 /* 57 */ SyscallDesc("symlink", unimplementedFunc), 149 /* 58 */ SyscallDesc("readlink", readlinkFunc), //32 bit 150 /* 59 */ SyscallDesc("execve", unimplementedFunc), //32 bit 151 /* 60 */ SyscallDesc("umask", unimplementedFunc), //32 bit 152 /* 61 */ SyscallDesc("chroot", unimplementedFunc), 153 /* 62 */ SyscallDesc("fstat", unimplementedFunc), 154 /* 63 */ SyscallDesc("fstat64", fstat64Func<Sparc32Linux>), 155 /* 64 */ SyscallDesc("getpagesize", unimplementedFunc), 156 /* 65 */ SyscallDesc("msync", unimplementedFunc), //32 bit 157 /* 66 */ SyscallDesc("vfork", unimplementedFunc), 158 /* 67 */ SyscallDesc("pread64", unimplementedFunc), //32 bit 159 /* 68 */ SyscallDesc("pwrite64", unimplementedFunc), //32 bit 160 /* 69 */ SyscallDesc("geteuid32", unimplementedFunc), 161 /* 70 */ SyscallDesc("getegid32", unimplementedFunc), 162 /* 71 */ SyscallDesc("mmap", mmapFunc<Sparc32Linux>), 163 /* 72 */ SyscallDesc("setreuid32", unimplementedFunc), 164 /* 73 */ SyscallDesc("munmap", munmapFunc), 165 /* 74 */ SyscallDesc("mprotect", unimplementedFunc), 166 /* 75 */ SyscallDesc("madvise", unimplementedFunc), 167 /* 76 */ SyscallDesc("vhangup", unimplementedFunc), 168 /* 77 */ SyscallDesc("truncate64", unimplementedFunc), //32 bit 169 /* 78 */ SyscallDesc("mincore", unimplementedFunc), 170 /* 79 */ SyscallDesc("getgroups", unimplementedFunc), //32 bit 171 /* 80 */ SyscallDesc("setgroups", unimplementedFunc), //32 bit 172 /* 81 */ SyscallDesc("getpgrp", unimplementedFunc), 173 /* 82 */ SyscallDesc("setgroups32", unimplementedFunc), //32 bit 174 /* 83 */ SyscallDesc("setitimer", unimplementedFunc), //32 bit 175 /* 84 */ SyscallDesc("ftruncate64", unimplementedFunc), //32 bit 176 /* 85 */ SyscallDesc("swapon", unimplementedFunc), //32 bit 177 /* 86 */ SyscallDesc("getitimer", unimplementedFunc), //32 bit 178 /* 87 */ SyscallDesc("setuid32", unimplementedFunc), 179 /* 88 */ SyscallDesc("sethostname", unimplementedFunc), //32 bit 180 /* 89 */ SyscallDesc("setgid32", unimplementedFunc), 181 /* 90 */ SyscallDesc("dup2", unimplementedFunc), 182 /* 91 */ SyscallDesc("setfsuid32", unimplementedFunc), 183 /* 92 */ SyscallDesc("fcntl", unimplementedFunc), 184 /* 93 */ SyscallDesc("select", unimplementedFunc), //32 bit 185 /* 94 */ SyscallDesc("setfsgid32", unimplementedFunc), 186 /* 95 */ SyscallDesc("fsync", unimplementedFunc), 187 /* 96 */ SyscallDesc("setpriority", unimplementedFunc), //32 bit 188 /* 97 */ SyscallDesc("socket", unimplementedFunc), 189 /* 98 */ SyscallDesc("connect", unimplementedFunc), 190 /* 99 */ SyscallDesc("accept", unimplementedFunc), 191 /* 100 */ SyscallDesc("getpriority", unimplementedFunc), //32 bit 192 /* 101 */ SyscallDesc("rt_sigreturn", unimplementedFunc), //32 bit 193 /* 102 */ SyscallDesc("rt_sigaction", ignoreFunc), //32 bit 194 /* 103 */ SyscallDesc("rt_sigprocmask", unimplementedFunc), //32 bit 195 /* 104 */ SyscallDesc("rt_sigpending", unimplementedFunc), //32 bit 196 /* 105 */ SyscallDesc("rt_sigtimedwait", unimplementedFunc), 197 /* 106 */ SyscallDesc("rt_sigqueueinfo", unimplementedFunc), //32 bit 198 /* 107 */ SyscallDesc("rt_sigsuspend", unimplementedFunc), 199 /* 108 */ SyscallDesc("setresuid32", unimplementedFunc), 200 /* 109 */ SyscallDesc("getresuid32", getresuidFunc), 201 /* 110 */ SyscallDesc("setresgid32", unimplementedFunc), 202 /* 111 */ SyscallDesc("getresgid32", unimplementedFunc), 203 /* 112 */ SyscallDesc("setregid32", unimplementedFunc), 204 /* 113 */ SyscallDesc("revcmsg", unimplementedFunc), 205 /* 114 */ SyscallDesc("sendmsg", unimplementedFunc), 206 /* 115 */ SyscallDesc("getgroups32", unimplementedFunc), //32 bit 207 /* 116 */ SyscallDesc("gettimeofday", unimplementedFunc), //32 bit 208 /* 117 */ SyscallDesc("getrusage", unimplementedFunc), //32 bit 209 /* 118 */ SyscallDesc("getsockopt", unimplementedFunc), 210 /* 119 */ SyscallDesc("getcwd", getcwdFunc), 211 /* 120 */ SyscallDesc("readv", unimplementedFunc), 212 /* 121 */ SyscallDesc("writev", unimplementedFunc), 213 /* 122 */ SyscallDesc("settimeofday", unimplementedFunc), //32 bit 214 /* 123 */ SyscallDesc("fchown", unimplementedFunc), //32 bit 215 /* 124 */ SyscallDesc("fchmod", unimplementedFunc), 216 /* 125 */ SyscallDesc("recvfrom", unimplementedFunc), 217 /* 126 */ SyscallDesc("setreuid", unimplementedFunc), //32 bit 218 /* 127 */ SyscallDesc("setregid", unimplementedFunc), //32 bit 219 /* 128 */ SyscallDesc("rename", renameFunc), 220 /* 129 */ SyscallDesc("truncate", unimplementedFunc), 221 /* 130 */ SyscallDesc("ftruncate", unimplementedFunc), 222 /* 131 */ SyscallDesc("flock", unimplementedFunc), 223 /* 132 */ SyscallDesc("lstat64", unimplementedFunc), 224 /* 133 */ SyscallDesc("sendto", unimplementedFunc), 225 /* 134 */ SyscallDesc("shutdown", unimplementedFunc), 226 /* 135 */ SyscallDesc("socketpair", unimplementedFunc), 227 /* 136 */ SyscallDesc("mkdir", mkdirFunc), //32 bit 228 /* 137 */ SyscallDesc("rmdir", unimplementedFunc), 229 /* 138 */ SyscallDesc("utimes", unimplementedFunc), //32 bit 230 /* 139 */ SyscallDesc("stat64", unimplementedFunc), 231 /* 140 */ SyscallDesc("sendfile64", unimplementedFunc), //32 bit 232 /* 141 */ SyscallDesc("getpeername", unimplementedFunc), 233 /* 142 */ SyscallDesc("futex", unimplementedFunc), //32 bit 234 /* 143 */ SyscallDesc("gettid", unimplementedFunc), 235 /* 144 */ SyscallDesc("getrlimit", unimplementedFunc), 236 /* 145 */ SyscallDesc("setrlimit", unimplementedFunc), 237 /* 146 */ SyscallDesc("pivot_root", unimplementedFunc), 238 /* 147 */ SyscallDesc("prctl", unimplementedFunc), //32 bit 239 /* 148 */ SyscallDesc("pciconfig_read", unimplementedFunc), 240 /* 149 */ SyscallDesc("pciconfig_write", unimplementedFunc), 241 /* 150 */ SyscallDesc("getsockname", unimplementedFunc), 242 /* 151 */ SyscallDesc("inotify_init", unimplementedFunc), 243 /* 152 */ SyscallDesc("inotify_add_watch", unimplementedFunc), 244 /* 153 */ SyscallDesc("poll", unimplementedFunc), 245 /* 154 */ SyscallDesc("getdents64", unimplementedFunc), 246 /* 155 */ SyscallDesc("fcntl64", unimplementedFunc), 247 /* 156 */ SyscallDesc("inotify_rm_watch", unimplementedFunc), 248 /* 157 */ SyscallDesc("statfs", unimplementedFunc), 249 /* 158 */ SyscallDesc("fstatfs", unimplementedFunc), 250 /* 159 */ SyscallDesc("umount", unimplementedFunc), 251 /* 160 */ SyscallDesc("sched_setaffinity", unimplementedFunc), 252 /* 161 */ SyscallDesc("sched_getaffinity", unimplementedFunc), 253 /* 162 */ SyscallDesc("getdomainname", unimplementedFunc), //32 bit 254 /* 163 */ SyscallDesc("setdomainname", unimplementedFunc), //32 bit 255 /* 164 */ SyscallDesc("ni_syscall", unimplementedFunc), 256 /* 165 */ SyscallDesc("quotactl", unimplementedFunc), 257 /* 166 */ SyscallDesc("set_tid_address", unimplementedFunc), 258 /* 167 */ SyscallDesc("mount", unimplementedFunc), 259 /* 168 */ SyscallDesc("ustat", unimplementedFunc), 260 /* 169 */ SyscallDesc("setxattr", unimplementedFunc), //32 bit 261 /* 170 */ SyscallDesc("lsetxattr", unimplementedFunc), //32 bit 262 /* 171 */ SyscallDesc("fsetxattr", unimplementedFunc), //32 bit 263 /* 172 */ SyscallDesc("getxattr", unimplementedFunc), 264 /* 173 */ SyscallDesc("lgetxattr", unimplementedFunc), 265 /* 174 */ SyscallDesc("getdents", unimplementedFunc), 266 /* 175 */ SyscallDesc("setsid", unimplementedFunc), 267 /* 176 */ SyscallDesc("fchdir", unimplementedFunc), 268 /* 177 */ SyscallDesc("fgetxattr", unimplementedFunc), //32 bit 269 /* 178 */ SyscallDesc("listxattr", unimplementedFunc), 270 /* 179 */ SyscallDesc("llistxattr", unimplementedFunc), 271 /* 180 */ SyscallDesc("flistxattr", unimplementedFunc), //32 bit 272 /* 181 */ SyscallDesc("removexattr", unimplementedFunc), 273 /* 182 */ SyscallDesc("lremovexattr", unimplementedFunc), 274 /* 183 */ SyscallDesc("sigpending", unimplementedFunc), 275 /* 184 */ SyscallDesc("query_module", unimplementedFunc), 276 /* 185 */ SyscallDesc("setpgid", unimplementedFunc), //32 bit 277 /* 186 */ SyscallDesc("fremovexattr", unimplementedFunc), //32 bit 278 /* 187 */ SyscallDesc("tkill", unimplementedFunc), //32 bit 279 /* 188 */ SyscallDesc("exit_group", exitFunc), //32 bit 280 /* 189 */ SyscallDesc("uname", unameFunc), 281 /* 190 */ SyscallDesc("init_module", unimplementedFunc), //32 bit 282 /* 191 */ SyscallDesc("personality", unimplementedFunc), 283 /* 192 */ SyscallDesc("remap_file_pages", unimplementedFunc), 284 /* 193 */ SyscallDesc("epoll_create", unimplementedFunc), //32 bit 285 /* 194 */ SyscallDesc("epoll_ctl", unimplementedFunc), //32 bit 286 /* 195 */ SyscallDesc("epoll_wait", unimplementedFunc), //32 bit 287 /* 196 */ SyscallDesc("ioprio_set", unimplementedFunc), //32 bit 288 /* 197 */ SyscallDesc("getppid", getppidFunc), 289 /* 198 */ SyscallDesc("sigaction", unimplementedFunc), //32 bit 290 /* 199 */ SyscallDesc("sgetmask", unimplementedFunc), 291 /* 200 */ SyscallDesc("ssetmask", unimplementedFunc), 292 /* 201 */ SyscallDesc("sigsuspend", unimplementedFunc), 293 /* 202 */ SyscallDesc("oldlstat", unimplementedFunc), 294 /* 203 */ SyscallDesc("uselib", unimplementedFunc), 295 /* 204 */ SyscallDesc("readdir", unimplementedFunc), 296 /* 205 */ SyscallDesc("readahead", unimplementedFunc), //32 bit 297 /* 206 */ SyscallDesc("socketcall", unimplementedFunc), //32 bit 298 /* 207 */ SyscallDesc("syslog", unimplementedFunc), //32 bit 299 /* 208 */ SyscallDesc("lookup_dcookie", unimplementedFunc), //32 bit 300 /* 209 */ SyscallDesc("fadvise64", unimplementedFunc), //32 bit 301 /* 210 */ SyscallDesc("fadvise64_64", unimplementedFunc), //32 bit 302 /* 211 */ SyscallDesc("tgkill", unimplementedFunc), //32 bit 303 /* 212 */ SyscallDesc("waitpid", unimplementedFunc), //32 bit 304 /* 213 */ SyscallDesc("swapoff", unimplementedFunc), 305 /* 214 */ SyscallDesc("sysinfo", unimplementedFunc), //32 bit 306 /* 215 */ SyscallDesc("ipc", unimplementedFunc), //32 bit 307 /* 216 */ SyscallDesc("sigreturn", unimplementedFunc), //32 bit 308 /* 217 */ SyscallDesc("clone", unimplementedFunc), 309 /* 218 */ SyscallDesc("ioprio_get", unimplementedFunc), //32 bit 310 /* 219 */ SyscallDesc("adjtimex", unimplementedFunc), //32 bit 311 /* 220 */ SyscallDesc("sigprocmask", unimplementedFunc), //32 bit 312 /* 221 */ SyscallDesc("create_module", unimplementedFunc), 313 /* 222 */ SyscallDesc("delete_module", unimplementedFunc), //32 bit 314 /* 223 */ SyscallDesc("get_kernel_syms", unimplementedFunc), 315 /* 224 */ SyscallDesc("getpgid", unimplementedFunc), //32 bit 316 /* 225 */ SyscallDesc("bdflush", unimplementedFunc), //32 bit 317 /* 226 */ SyscallDesc("sysfs", unimplementedFunc), //32 bit 318 /* 227 */ SyscallDesc("afs_syscall", unimplementedFunc), 319 /* 228 */ SyscallDesc("setfsuid", unimplementedFunc), //32 bit 320 /* 229 */ SyscallDesc("setfsgid", unimplementedFunc), //32 bit 321 /* 230 */ SyscallDesc("_newselect", unimplementedFunc), //32 bit 322 /* 231 */ SyscallDesc("time", ignoreFunc), 323 /* 232 */ SyscallDesc("oldstat", unimplementedFunc), 324 /* 233 */ SyscallDesc("stime", unimplementedFunc), 325 /* 234 */ SyscallDesc("statfs64", unimplementedFunc), 326 /* 235 */ SyscallDesc("fstatfs64", unimplementedFunc), 327 /* 236 */ SyscallDesc("_llseek", _llseekFunc), 328 /* 237 */ SyscallDesc("mlock", unimplementedFunc), 329 /* 238 */ SyscallDesc("munlock", unimplementedFunc), 330 /* 239 */ SyscallDesc("mlockall", unimplementedFunc), //32 bit 331 /* 240 */ SyscallDesc("munlockall", unimplementedFunc), 332 /* 241 */ SyscallDesc("sched_setparam", unimplementedFunc), //32 bit 333 /* 242 */ SyscallDesc("sched_getparam", unimplementedFunc), //32 bit 334 /* 243 */ SyscallDesc("sched_setscheduler", unimplementedFunc), //32 bit 335 /* 244 */ SyscallDesc("sched_getscheduler", unimplementedFunc), //32 bit 336 /* 245 */ SyscallDesc("sched_yield", unimplementedFunc), 337 /* 246 */ SyscallDesc("sched_get_priority_max", unimplementedFunc), //32 bit 338 /* 247 */ SyscallDesc("sched_get_priority_min", unimplementedFunc), //32 bit 339 /* 248 */ SyscallDesc("sched_rr_get_interval", unimplementedFunc), //32 bit 340 /* 249 */ SyscallDesc("nanosleep", unimplementedFunc), 341 /* 250 */ SyscallDesc("mremap", mremapFunc<Sparc32Linux>), //32 bit 342 /* 251 */ SyscallDesc("_sysctl", unimplementedFunc), //32 bit 343 /* 252 */ SyscallDesc("getsid", unimplementedFunc), //32 bit 344 /* 253 */ SyscallDesc("fdatasync", unimplementedFunc), 345 /* 254 */ SyscallDesc("nfsservctl", unimplementedFunc), //32 bit 346 /* 255 */ SyscallDesc("aplib", unimplementedFunc), 347 /* 256 */ SyscallDesc("clock_settime", unimplementedFunc), 348 /* 257 */ SyscallDesc("clock_gettime", unimplementedFunc), 349 /* 258 */ SyscallDesc("clock_getres", unimplementedFunc), 350 /* 259 */ SyscallDesc("clock_nanosleep", unimplementedFunc), //32 bit 351 /* 260 */ SyscallDesc("sched_getaffinity", unimplementedFunc), 352 /* 261 */ SyscallDesc("sched_setaffinity", unimplementedFunc), 353 /* 262 */ SyscallDesc("timer_settime", unimplementedFunc), //32 bit 354 /* 263 */ SyscallDesc("timer_gettime", unimplementedFunc), 355 /* 264 */ SyscallDesc("timer_getoverrun", unimplementedFunc), 356 /* 265 */ SyscallDesc("timer_delete", unimplementedFunc), 357 /* 266 */ SyscallDesc("timer_create", unimplementedFunc), 358 /* 267 */ SyscallDesc("vserver", unimplementedFunc), 359 /* 268 */ SyscallDesc("io_setup", unimplementedFunc), 360 /* 269 */ SyscallDesc("io_destroy", unimplementedFunc), 361 /* 270 */ SyscallDesc("io_submit", unimplementedFunc), //32 bit 362 /* 271 */ SyscallDesc("io_cancel", unimplementedFunc), 363 /* 272 */ SyscallDesc("io_getevents", unimplementedFunc), 364 /* 273 */ SyscallDesc("mq_open", unimplementedFunc), //32 bit 365 /* 274 */ SyscallDesc("mq_unlink", unimplementedFunc), 366 /* 275 */ SyscallDesc("mq_timedsend", unimplementedFunc), 367 /* 276 */ SyscallDesc("mq_timedreceive", unimplementedFunc), 368 /* 277 */ SyscallDesc("mq_notify", unimplementedFunc), 369 /* 278 */ SyscallDesc("mq_getsetattr", unimplementedFunc), 370 /* 279 */ SyscallDesc("waitid", unimplementedFunc), 371 /* 280 */ SyscallDesc("sys_setaltroot", unimplementedFunc), 372 /* 281 */ SyscallDesc("add_key", unimplementedFunc), 373 /* 282 */ SyscallDesc("request_key", unimplementedFunc), 374 /* 283 */ SyscallDesc("keyctl", unimplementedFunc), 375 /* 284 */ SyscallDesc("openat", unimplementedFunc), 376 /* 285 */ SyscallDesc("mkdirat", unimplementedFunc), 377 /* 286 */ SyscallDesc("mknodat", unimplementedFunc), 378 /* 287 */ SyscallDesc("fchownat", unimplementedFunc), 379 /* 288 */ SyscallDesc("futimesat", unimplementedFunc), 380 /* 289 */ SyscallDesc("fstatat64", unimplementedFunc), 381 /* 290 */ SyscallDesc("unlinkat", unimplementedFunc), 382 /* 291 */ SyscallDesc("renameat", unimplementedFunc), 383 /* 292 */ SyscallDesc("linkat", unimplementedFunc), 384 /* 293 */ SyscallDesc("symlinkat", unimplementedFunc), 385 /* 294 */ SyscallDesc("readlinkat", unimplementedFunc), 386 /* 295 */ SyscallDesc("fchmodat", unimplementedFunc), 387 /* 296 */ SyscallDesc("faccessat", unimplementedFunc), 388 /* 297 */ SyscallDesc("pselect6", unimplementedFunc), 389 /* 298 */ SyscallDesc("ppoll", unimplementedFunc), 390 /* 299 */ SyscallDesc("unshare", unimplementedFunc) 391}; 392 393SyscallDesc SparcLinuxProcess::syscallDescs[] = { 394 /* 0 */ SyscallDesc("restart_syscall", unimplementedFunc), 395 /* 1 */ SyscallDesc("exit", exitFunc), 396 /* 2 */ SyscallDesc("fork", unimplementedFunc), 397 /* 3 */ SyscallDesc("read", readFunc), 398 /* 4 */ SyscallDesc("write", writeFunc), 399 /* 5 */ SyscallDesc("open", openFunc<SparcLinux>), 400 /* 6 */ SyscallDesc("close", closeFunc), 401 /* 7 */ SyscallDesc("wait4", unimplementedFunc), 402 /* 8 */ SyscallDesc("creat", unimplementedFunc), 403 /* 9 */ SyscallDesc("link", unimplementedFunc), 404 /* 10 */ SyscallDesc("unlink", unlinkFunc), 405 /* 11 */ SyscallDesc("execv", unimplementedFunc), 406 /* 12 */ SyscallDesc("chdir", unimplementedFunc), 407 /* 13 */ SyscallDesc("chown", chownFunc), 408 /* 14 */ SyscallDesc("mknod", unimplementedFunc), 409 /* 15 */ SyscallDesc("chmod", chmodFunc<Linux>), 410 /* 16 */ SyscallDesc("lchown", unimplementedFunc), 411 /* 17 */ SyscallDesc("brk", brkFunc), 412 /* 18 */ SyscallDesc("perfctr", unimplementedFunc), 413 /* 19 */ SyscallDesc("lseek", lseekFunc), 414 /* 20 */ SyscallDesc("getpid", getpidFunc), 415 /* 21 */ SyscallDesc("capget", unimplementedFunc), 416 /* 22 */ SyscallDesc("capset", unimplementedFunc), 417 /* 23 */ SyscallDesc("setuid", setuidFunc), 418 /* 24 */ SyscallDesc("getuid", getuidFunc), 419 /* 25 */ SyscallDesc("time", unimplementedFunc), 420 /* 26 */ SyscallDesc("ptrace", unimplementedFunc), 421 /* 27 */ SyscallDesc("alarm", unimplementedFunc), 422 /* 28 */ SyscallDesc("sigaltstack", unimplementedFunc), 423 /* 29 */ SyscallDesc("pause", unimplementedFunc), 424 /* 30 */ SyscallDesc("utime", unimplementedFunc), 425 /* 31 */ SyscallDesc("lchown32", unimplementedFunc), 426 /* 32 */ SyscallDesc("fchown32", unimplementedFunc), 427 /* 33 */ SyscallDesc("access", unimplementedFunc), 428 /* 34 */ SyscallDesc("nice", unimplementedFunc), 429 /* 35 */ SyscallDesc("chown32", unimplementedFunc), 430 /* 36 */ SyscallDesc("sync", unimplementedFunc), 431 /* 37 */ SyscallDesc("kill", unimplementedFunc), 432 /* 38 */ SyscallDesc("stat", unimplementedFunc), 433 /* 39 */ SyscallDesc("sendfile", unimplementedFunc), 434 /* 40 */ SyscallDesc("lstat", unimplementedFunc), 435 /* 41 */ SyscallDesc("dup", unimplementedFunc), 436 /* 42 */ SyscallDesc("pipe", pipePseudoFunc), 437 /* 43 */ SyscallDesc("times", ignoreFunc), 438 /* 44 */ SyscallDesc("getuid32", unimplementedFunc), 439 /* 45 */ SyscallDesc("umount2", unimplementedFunc), 440 /* 46 */ SyscallDesc("setgid", unimplementedFunc), 441 /* 47 */ SyscallDesc("getgid", getgidFunc), 442 /* 48 */ SyscallDesc("signal", unimplementedFunc), 443 /* 49 */ SyscallDesc("geteuid", geteuidFunc), 444 /* 50 */ SyscallDesc("getegid", getegidFunc), 445 /* 51 */ SyscallDesc("acct", unimplementedFunc), 446 /* 52 */ SyscallDesc("memory_ordering", unimplementedFunc), 447 /* 53 */ SyscallDesc("getgid32", unimplementedFunc), 448 /* 54 */ SyscallDesc("ioctl", unimplementedFunc), 449 /* 55 */ SyscallDesc("reboot", unimplementedFunc), 450 /* 56 */ SyscallDesc("mmap2", unimplementedFunc), 451 /* 57 */ SyscallDesc("symlink", unimplementedFunc), 452 /* 58 */ SyscallDesc("readlink", readlinkFunc), 453 /* 59 */ SyscallDesc("execve", unimplementedFunc), 454 /* 60 */ SyscallDesc("umask", unimplementedFunc), 455 /* 61 */ SyscallDesc("chroot", unimplementedFunc), 456 /* 62 */ SyscallDesc("fstat", fstatFunc<SparcLinux>), 457 /* 63 */ SyscallDesc("fstat64", unimplementedFunc), 458 /* 64 */ SyscallDesc("getpagesize", unimplementedFunc), 459 /* 65 */ SyscallDesc("msync", unimplementedFunc), 460 /* 66 */ SyscallDesc("vfork", unimplementedFunc), 461 /* 67 */ SyscallDesc("pread64", unimplementedFunc), 462 /* 68 */ SyscallDesc("pwrite64", unimplementedFunc), 463 /* 69 */ SyscallDesc("geteuid32", unimplementedFunc), 464 /* 70 */ SyscallDesc("getegid32", unimplementedFunc), 465 /* 71 */ SyscallDesc("mmap", mmapFunc<SparcLinux>), 466 /* 72 */ SyscallDesc("setreuid32", unimplementedFunc), 467 /* 73 */ SyscallDesc("munmap", munmapFunc), 468 /* 74 */ SyscallDesc("mprotect", unimplementedFunc), 469 /* 75 */ SyscallDesc("madvise", unimplementedFunc), 470 /* 76 */ SyscallDesc("vhangup", unimplementedFunc), 471 /* 77 */ SyscallDesc("truncate64", unimplementedFunc), 472 /* 78 */ SyscallDesc("mincore", unimplementedFunc), 473 /* 79 */ SyscallDesc("getgroups", unimplementedFunc), 474 /* 80 */ SyscallDesc("setgroups", unimplementedFunc), 475 /* 81 */ SyscallDesc("getpgrp", unimplementedFunc), 476 /* 82 */ SyscallDesc("setgroups32", unimplementedFunc), 477 /* 83 */ SyscallDesc("setitimer", unimplementedFunc), 478 /* 84 */ SyscallDesc("ftruncate64", unimplementedFunc), 479 /* 85 */ SyscallDesc("swapon", unimplementedFunc), 480 /* 86 */ SyscallDesc("getitimer", unimplementedFunc), 481 /* 87 */ SyscallDesc("setuid32", unimplementedFunc), 482 /* 88 */ SyscallDesc("sethostname", unimplementedFunc), 483 /* 89 */ SyscallDesc("setgid32", unimplementedFunc), 484 /* 90 */ SyscallDesc("dup2", unimplementedFunc), 485 /* 91 */ SyscallDesc("setfsuid32", unimplementedFunc), 486 /* 92 */ SyscallDesc("fcntl", unimplementedFunc), 487 /* 93 */ SyscallDesc("select", unimplementedFunc), 488 /* 94 */ SyscallDesc("setfsgid32", unimplementedFunc), 489 /* 95 */ SyscallDesc("fsync", unimplementedFunc), 490 /* 96 */ SyscallDesc("setpriority", unimplementedFunc), 491 /* 97 */ SyscallDesc("socket", unimplementedFunc), 492 /* 98 */ SyscallDesc("connect", unimplementedFunc), 493 /* 99 */ SyscallDesc("accept", unimplementedFunc), 494 /* 100 */ SyscallDesc("getpriority", unimplementedFunc), 495 /* 101 */ SyscallDesc("rt_sigreturn", unimplementedFunc), 496 /* 102 */ SyscallDesc("rt_sigaction", ignoreFunc), 497 /* 103 */ SyscallDesc("rt_sigprocmask", unimplementedFunc), 498 /* 104 */ SyscallDesc("rt_sigpending", unimplementedFunc), 499 /* 105 */ SyscallDesc("rt_sigtimedwait", unimplementedFunc), 500 /* 106 */ SyscallDesc("rt_sigqueueinfo", unimplementedFunc), 501 /* 107 */ SyscallDesc("rt_sigsuspend", unimplementedFunc), 502 /* 108 */ SyscallDesc("setresuid", unimplementedFunc), 503 /* 109 */ SyscallDesc("getresuid", getresuidFunc), 504 /* 110 */ SyscallDesc("setresgid", unimplementedFunc), 505 /* 111 */ SyscallDesc("getresgid", unimplementedFunc), 506 /* 112 */ SyscallDesc("setregid32", unimplementedFunc), 507 /* 113 */ SyscallDesc("recvmsg", unimplementedFunc), 508 /* 114 */ SyscallDesc("sendmsg", unimplementedFunc), 509 /* 115 */ SyscallDesc("getgroups32", unimplementedFunc), 510 /* 116 */ SyscallDesc("gettimeofday", unimplementedFunc), 511 /* 117 */ SyscallDesc("getrusage", unimplementedFunc), 512 /* 118 */ SyscallDesc("getsockopt", unimplementedFunc), 513 /* 119 */ SyscallDesc("getcwd", unimplementedFunc), 514 /* 120 */ SyscallDesc("readv", unimplementedFunc), 515 /* 121 */ SyscallDesc("writev", unimplementedFunc), 516 /* 122 */ SyscallDesc("settimeofday", unimplementedFunc), 517 /* 123 */ SyscallDesc("fchown", unimplementedFunc), 518 /* 124 */ SyscallDesc("fchmod", unimplementedFunc), 519 /* 125 */ SyscallDesc("recvfrom", unimplementedFunc), 520 /* 126 */ SyscallDesc("setreuid", unimplementedFunc), 521 /* 127 */ SyscallDesc("setregid", unimplementedFunc), 522 /* 128 */ SyscallDesc("rename", renameFunc), 523 /* 129 */ SyscallDesc("truncate", unimplementedFunc), 524 /* 130 */ SyscallDesc("ftruncate", unimplementedFunc), 525 /* 131 */ SyscallDesc("flock", unimplementedFunc), 526 /* 132 */ SyscallDesc("lstat64", unimplementedFunc), 527 /* 133 */ SyscallDesc("sendto", unimplementedFunc), 528 /* 134 */ SyscallDesc("shutdown", unimplementedFunc), 529 /* 135 */ SyscallDesc("socketpair", unimplementedFunc), 530 /* 136 */ SyscallDesc("mkdir", mkdirFunc), 531 /* 137 */ SyscallDesc("rmdir", unimplementedFunc), 532 /* 138 */ SyscallDesc("utimes", unimplementedFunc), 533 /* 139 */ SyscallDesc("stat64", unimplementedFunc), 534 /* 140 */ SyscallDesc("sendfile64", unimplementedFunc), 535 /* 141 */ SyscallDesc("getpeername", unimplementedFunc), 536 /* 142 */ SyscallDesc("futex", unimplementedFunc), 537 /* 143 */ SyscallDesc("gettid", unimplementedFunc), 538 /* 144 */ SyscallDesc("getrlimit", unimplementedFunc), 539 /* 145 */ SyscallDesc("setrlimit", unimplementedFunc), 540 /* 146 */ SyscallDesc("pivot_root", unimplementedFunc), 541 /* 147 */ SyscallDesc("prctl", unimplementedFunc), 542 /* 148 */ SyscallDesc("pciconfig_read", unimplementedFunc), 543 /* 149 */ SyscallDesc("pciconfig_write", unimplementedFunc), 544 /* 150 */ SyscallDesc("getsockname", unimplementedFunc), 545 /* 151 */ SyscallDesc("inotify_init", unimplementedFunc), 546 /* 152 */ SyscallDesc("inotify_add_watch", unimplementedFunc), 547 /* 153 */ SyscallDesc("poll", unimplementedFunc), 548 /* 154 */ SyscallDesc("getdents64", unimplementedFunc), 549 /* 155 */ SyscallDesc("fcntl64", unimplementedFunc), 550 /* 156 */ SyscallDesc("inotify_rm_watch", unimplementedFunc), 551 /* 157 */ SyscallDesc("statfs", unimplementedFunc), 552 /* 158 */ SyscallDesc("fstatfs", unimplementedFunc), 553 /* 159 */ SyscallDesc("umount", unimplementedFunc), 554 /* 160 */ SyscallDesc("sched_set_affinity", unimplementedFunc), 555 /* 161 */ SyscallDesc("sched_get_affinity", unimplementedFunc), 556 /* 162 */ SyscallDesc("getdomainname", unimplementedFunc), 557 /* 163 */ SyscallDesc("setdomainname", unimplementedFunc), 558 /* 164 */ SyscallDesc("utrap_install", unimplementedFunc), 559 /* 165 */ SyscallDesc("quotactl", unimplementedFunc), 560 /* 166 */ SyscallDesc("set_tid_address", unimplementedFunc), 561 /* 167 */ SyscallDesc("mount", unimplementedFunc), 562 /* 168 */ SyscallDesc("ustat", unimplementedFunc), 563 /* 169 */ SyscallDesc("setxattr", unimplementedFunc), 564 /* 170 */ SyscallDesc("lsetxattr", unimplementedFunc), 565 /* 171 */ SyscallDesc("fsetxattr", unimplementedFunc), 566 /* 172 */ SyscallDesc("getxattr", unimplementedFunc), 567 /* 173 */ SyscallDesc("lgetxattr", unimplementedFunc), 568 /* 174 */ SyscallDesc("getdents", unimplementedFunc), 569 /* 175 */ SyscallDesc("setsid", unimplementedFunc), 570 /* 176 */ SyscallDesc("fchdir", unimplementedFunc), 571 /* 177 */ SyscallDesc("fgetxattr", unimplementedFunc), 572 /* 178 */ SyscallDesc("listxattr", unimplementedFunc), 573 /* 179 */ SyscallDesc("llistxattr", unimplementedFunc), 574 /* 180 */ SyscallDesc("flistxattr", unimplementedFunc), 575 /* 181 */ SyscallDesc("removexattr", unimplementedFunc), 576 /* 182 */ SyscallDesc("lremovexattr", unimplementedFunc), 577 /* 183 */ SyscallDesc("sigpending", unimplementedFunc), 578 /* 184 */ SyscallDesc("query_module", unimplementedFunc), 579 /* 185 */ SyscallDesc("setpgid", unimplementedFunc), 580 /* 186 */ SyscallDesc("fremovexattr", unimplementedFunc), 581 /* 187 */ SyscallDesc("tkill", unimplementedFunc), 582 /* 188 */ SyscallDesc("exit_group", exitFunc), 583 /* 189 */ SyscallDesc("uname", unameFunc), 584 /* 190 */ SyscallDesc("init_module", unimplementedFunc), 585 /* 191 */ SyscallDesc("personality", unimplementedFunc), 586 /* 192 */ SyscallDesc("remap_file_pages", unimplementedFunc), 587 /* 193 */ SyscallDesc("epoll_create", unimplementedFunc), 588 /* 194 */ SyscallDesc("epoll_ctl", unimplementedFunc), 589 /* 195 */ SyscallDesc("epoll_wait", unimplementedFunc), 590 /* 196 */ SyscallDesc("ioprio_set", unimplementedFunc), 591 /* 197 */ SyscallDesc("getppid", getppidFunc), 592 /* 198 */ SyscallDesc("sigaction", ignoreFunc), 593 /* 199 */ SyscallDesc("sgetmask", unimplementedFunc), 594 /* 200 */ SyscallDesc("ssetmask", unimplementedFunc), 595 /* 201 */ SyscallDesc("sigsuspend", unimplementedFunc), 596 /* 202 */ SyscallDesc("oldlstat", unimplementedFunc), 597 /* 203 */ SyscallDesc("uselib", unimplementedFunc), 598 /* 204 */ SyscallDesc("readdir", unimplementedFunc), 599 /* 205 */ SyscallDesc("readahead", unimplementedFunc), 600 /* 206 */ SyscallDesc("socketcall", unimplementedFunc), 601 /* 207 */ SyscallDesc("syslog", unimplementedFunc), 602 /* 208 */ SyscallDesc("lookup_dcookie", unimplementedFunc), 603 /* 209 */ SyscallDesc("fadvise64", unimplementedFunc), 604 /* 210 */ SyscallDesc("fadvise64_64", unimplementedFunc), 605 /* 211 */ SyscallDesc("tgkill", unimplementedFunc), 606 /* 212 */ SyscallDesc("waitpid", unimplementedFunc), 607 /* 213 */ SyscallDesc("swapoff", unimplementedFunc), 608 /* 214 */ SyscallDesc("sysinfo", unimplementedFunc), 609 /* 215 */ SyscallDesc("ipc", unimplementedFunc), 610 /* 216 */ SyscallDesc("sigreturn", unimplementedFunc), 611 /* 217 */ SyscallDesc("clone", unimplementedFunc), 612 /* 218 */ SyscallDesc("ioprio_get", unimplementedFunc), 613 /* 219 */ SyscallDesc("adjtimex", unimplementedFunc), 614 /* 220 */ SyscallDesc("sigprocmask", unimplementedFunc), 615 /* 221 */ SyscallDesc("create_module", unimplementedFunc), 616 /* 222 */ SyscallDesc("delete_module", unimplementedFunc), 617 /* 223 */ SyscallDesc("get_kernel_syms", unimplementedFunc), 618 /* 224 */ SyscallDesc("getpgid", unimplementedFunc), 619 /* 225 */ SyscallDesc("bdflush", unimplementedFunc), 620 /* 226 */ SyscallDesc("sysfs", unimplementedFunc), 621 /* 227 */ SyscallDesc("afs_syscall", unimplementedFunc), 622 /* 228 */ SyscallDesc("setfsuid", unimplementedFunc), 623 /* 229 */ SyscallDesc("setfsgid", unimplementedFunc), 624 /* 230 */ SyscallDesc("_newselect", unimplementedFunc), 625 /* 231 */ SyscallDesc("time", ignoreFunc), 626 /* 232 */ SyscallDesc("oldstat", unimplementedFunc), 627 /* 233 */ SyscallDesc("stime", unimplementedFunc), 628 /* 234 */ SyscallDesc("statfs64", unimplementedFunc), 629 /* 235 */ SyscallDesc("fstatfs64", unimplementedFunc), 630 /* 236 */ SyscallDesc("_llseek", _llseekFunc), 631 /* 237 */ SyscallDesc("mlock", unimplementedFunc), 632 /* 238 */ SyscallDesc("munlock", unimplementedFunc), 633 /* 239 */ SyscallDesc("mlockall", unimplementedFunc), 634 /* 240 */ SyscallDesc("munlockall", unimplementedFunc), 635 /* 241 */ SyscallDesc("sched_setparam", unimplementedFunc), 636 /* 242 */ SyscallDesc("sched_getparam", unimplementedFunc), 637 /* 243 */ SyscallDesc("sched_setscheduler", unimplementedFunc), 638 /* 244 */ SyscallDesc("sched_getscheduler", unimplementedFunc), 639 /* 245 */ SyscallDesc("sched_yield", unimplementedFunc), 640 /* 246 */ SyscallDesc("sched_get_priority_max", unimplementedFunc), 641 /* 247 */ SyscallDesc("sched_get_priority_min", unimplementedFunc), 642 /* 248 */ SyscallDesc("sched_rr_get_interval", unimplementedFunc), 643 /* 249 */ SyscallDesc("nanosleep", unimplementedFunc), 644 /* 250 */ SyscallDesc("mremap", mremapFunc<SparcLinux>), 645 /* 251 */ SyscallDesc("_sysctl", unimplementedFunc), 646 /* 252 */ SyscallDesc("getsid", unimplementedFunc), 647 /* 253 */ SyscallDesc("fdatasync", unimplementedFunc), 648 /* 254 */ SyscallDesc("nfsservctl", unimplementedFunc), 649 /* 255 */ SyscallDesc("aplib", unimplementedFunc), 650 /* 256 */ SyscallDesc("clock_settime", unimplementedFunc), 651 /* 257 */ SyscallDesc("clock_gettime", unimplementedFunc), 652 /* 258 */ SyscallDesc("clock_getres", unimplementedFunc), 653 /* 259 */ SyscallDesc("clock_nanosleep", unimplementedFunc), 654 /* 260 */ SyscallDesc("sched_getaffinity", unimplementedFunc), 655 /* 261 */ SyscallDesc("sched_setaffinity", unimplementedFunc), 656 /* 262 */ SyscallDesc("timer_settime", unimplementedFunc), 657 /* 263 */ SyscallDesc("timer_gettime", unimplementedFunc), 658 /* 264 */ SyscallDesc("timer_getoverrun", unimplementedFunc), 659 /* 265 */ SyscallDesc("timer_delete", unimplementedFunc), 660 /* 266 */ SyscallDesc("timer_create", unimplementedFunc), 661 /* 267 */ SyscallDesc("vserver", unimplementedFunc), 662 /* 268 */ SyscallDesc("io_setup", unimplementedFunc), 663 /* 269 */ SyscallDesc("io_destroy", unimplementedFunc), 664 /* 270 */ SyscallDesc("io_submit", unimplementedFunc), 665 /* 271 */ SyscallDesc("io_cancel", unimplementedFunc), 666 /* 272 */ SyscallDesc("io_getevents", unimplementedFunc), 667 /* 273 */ SyscallDesc("mq_open", unimplementedFunc), 668 /* 274 */ SyscallDesc("mq_unlink", unimplementedFunc), 669 /* 275 */ SyscallDesc("mq_timedsend", unimplementedFunc), 670 /* 276 */ SyscallDesc("mq_timedreceive", unimplementedFunc), 671 /* 277 */ SyscallDesc("mq_notify", unimplementedFunc), 672 /* 278 */ SyscallDesc("mq_getsetattr", unimplementedFunc), 673 /* 279 */ SyscallDesc("waitid", unimplementedFunc), 674 /* 280 */ SyscallDesc("sys_setaltroot", unimplementedFunc), 675 /* 281 */ SyscallDesc("add_key", unimplementedFunc), 676 /* 282 */ SyscallDesc("request_key", unimplementedFunc), 677 /* 283 */ SyscallDesc("keyctl", unimplementedFunc) 678}; 679 680} // namespace SparcISA 681