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