syscalls.cc revision 9149
14188Sgblack@eecs.umich.edu/* 24188Sgblack@eecs.umich.edu * Copyright (c) 2003-2005 The Regents of The University of Michigan 34188Sgblack@eecs.umich.edu * All rights reserved. 44188Sgblack@eecs.umich.edu * 54188Sgblack@eecs.umich.edu * Redistribution and use in source and binary forms, with or without 64188Sgblack@eecs.umich.edu * modification, are permitted provided that the following conditions are 74188Sgblack@eecs.umich.edu * met: redistributions of source code must retain the above copyright 84188Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer; 94188Sgblack@eecs.umich.edu * redistributions in binary form must reproduce the above copyright 104188Sgblack@eecs.umich.edu * notice, this list of conditions and the following disclaimer in the 114188Sgblack@eecs.umich.edu * documentation and/or other materials provided with the distribution; 124188Sgblack@eecs.umich.edu * neither the name of the copyright holders nor the names of its 134188Sgblack@eecs.umich.edu * contributors may be used to endorse or promote products derived from 144188Sgblack@eecs.umich.edu * this software without specific prior written permission. 154188Sgblack@eecs.umich.edu * 164188Sgblack@eecs.umich.edu * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 174188Sgblack@eecs.umich.edu * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 184188Sgblack@eecs.umich.edu * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 194188Sgblack@eecs.umich.edu * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 204188Sgblack@eecs.umich.edu * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 214188Sgblack@eecs.umich.edu * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 224188Sgblack@eecs.umich.edu * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 234188Sgblack@eecs.umich.edu * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 244188Sgblack@eecs.umich.edu * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 254188Sgblack@eecs.umich.edu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 264188Sgblack@eecs.umich.edu * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 274188Sgblack@eecs.umich.edu * 284188Sgblack@eecs.umich.edu * Authors: Gabe Black 294188Sgblack@eecs.umich.edu */ 304188Sgblack@eecs.umich.edu 314188Sgblack@eecs.umich.edu#include "arch/sparc/linux/process.hh" 324188Sgblack@eecs.umich.edu#include "sim/syscall_emul.hh" 334188Sgblack@eecs.umich.edu 344188Sgblack@eecs.umich.educlass LiveProcess; 354188Sgblack@eecs.umich.educlass ThreadContext; 364188Sgblack@eecs.umich.edu 374188Sgblack@eecs.umich.edunamespace SparcISA { 384188Sgblack@eecs.umich.edu 394188Sgblack@eecs.umich.edu/// Target uname() handler. 404188Sgblack@eecs.umich.edustatic SyscallReturn 414188Sgblack@eecs.umich.eduunameFunc(SyscallDesc *desc, int callnum, LiveProcess *process, 424188Sgblack@eecs.umich.edu ThreadContext *tc) 434188Sgblack@eecs.umich.edu{ 446701Sgblack@eecs.umich.edu int index = 0; 456701Sgblack@eecs.umich.edu TypedBufferArg<Linux::utsname> name(process->getSyscallArg(tc, index)); 464188Sgblack@eecs.umich.edu 474188Sgblack@eecs.umich.edu strcpy(name->sysname, "Linux"); 489149SAli.Saidi@ARM.com strcpy(name->nodename, "sim.gem5.org"); 499149SAli.Saidi@ARM.com strcpy(name->release, "3.0.0-sparc64"); 504188Sgblack@eecs.umich.edu strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003"); 514188Sgblack@eecs.umich.edu strcpy(name->machine, "sparc"); 524188Sgblack@eecs.umich.edu 538706Sandreas.hansson@arm.com name.copyOut(tc->getMemProxy()); 544188Sgblack@eecs.umich.edu 554188Sgblack@eecs.umich.edu return 0; 564188Sgblack@eecs.umich.edu} 574188Sgblack@eecs.umich.edu 584188Sgblack@eecs.umich.edu 597741Sgblack@eecs.umich.eduSyscallReturn 607741Sgblack@eecs.umich.edugetresuidFunc(SyscallDesc *desc, int num, LiveProcess *p, ThreadContext *tc) 614188Sgblack@eecs.umich.edu{ 624188Sgblack@eecs.umich.edu const IntReg id = htog(100); 636701Sgblack@eecs.umich.edu int index = 0; 646701Sgblack@eecs.umich.edu Addr ruid = p->getSyscallArg(tc, index); 656701Sgblack@eecs.umich.edu Addr euid = p->getSyscallArg(tc, index); 666701Sgblack@eecs.umich.edu Addr suid = p->getSyscallArg(tc, index); 677741Sgblack@eecs.umich.edu // Handle the EFAULT case 687741Sgblack@eecs.umich.edu // Set the ruid 697741Sgblack@eecs.umich.edu if (ruid) { 704188Sgblack@eecs.umich.edu BufferArg ruidBuff(ruid, sizeof(IntReg)); 714188Sgblack@eecs.umich.edu memcpy(ruidBuff.bufferPtr(), &id, sizeof(IntReg)); 728706Sandreas.hansson@arm.com ruidBuff.copyOut(tc->getMemProxy()); 734188Sgblack@eecs.umich.edu } 747741Sgblack@eecs.umich.edu // Set the euid 757741Sgblack@eecs.umich.edu if (euid) { 764188Sgblack@eecs.umich.edu BufferArg euidBuff(euid, sizeof(IntReg)); 774188Sgblack@eecs.umich.edu memcpy(euidBuff.bufferPtr(), &id, sizeof(IntReg)); 788706Sandreas.hansson@arm.com euidBuff.copyOut(tc->getMemProxy()); 794188Sgblack@eecs.umich.edu } 807741Sgblack@eecs.umich.edu // Set the suid 817741Sgblack@eecs.umich.edu if (suid) { 824188Sgblack@eecs.umich.edu BufferArg suidBuff(suid, sizeof(IntReg)); 834188Sgblack@eecs.umich.edu memcpy(suidBuff.bufferPtr(), &id, sizeof(IntReg)); 848706Sandreas.hansson@arm.com suidBuff.copyOut(tc->getMemProxy()); 854188Sgblack@eecs.umich.edu } 864188Sgblack@eecs.umich.edu return 0; 874188Sgblack@eecs.umich.edu} 884188Sgblack@eecs.umich.edu 894188Sgblack@eecs.umich.eduSyscallDesc SparcLinuxProcess::syscall32Descs[] = { 904188Sgblack@eecs.umich.edu /* 0 */ SyscallDesc("restart_syscall", unimplementedFunc), 917741Sgblack@eecs.umich.edu /* 1 */ SyscallDesc("exit", exitFunc), // 32 bit 924188Sgblack@eecs.umich.edu /* 2 */ SyscallDesc("fork", unimplementedFunc), 934188Sgblack@eecs.umich.edu /* 3 */ SyscallDesc("read", readFunc), 944188Sgblack@eecs.umich.edu /* 4 */ SyscallDesc("write", writeFunc), 957741Sgblack@eecs.umich.edu /* 5 */ SyscallDesc("open", openFunc<Sparc32Linux>), // 32 bit 964188Sgblack@eecs.umich.edu /* 6 */ SyscallDesc("close", closeFunc), 977741Sgblack@eecs.umich.edu /* 7 */ SyscallDesc("wait4", unimplementedFunc), // 32 bit 987741Sgblack@eecs.umich.edu /* 8 */ SyscallDesc("creat", unimplementedFunc), // 32 bit 994188Sgblack@eecs.umich.edu /* 9 */ SyscallDesc("link", unimplementedFunc), 1004188Sgblack@eecs.umich.edu /* 10 */ SyscallDesc("unlink", unlinkFunc), 1014188Sgblack@eecs.umich.edu /* 11 */ SyscallDesc("execv", unimplementedFunc), 1024188Sgblack@eecs.umich.edu /* 12 */ SyscallDesc("chdir", unimplementedFunc), 1037741Sgblack@eecs.umich.edu /* 13 */ SyscallDesc("chown", chownFunc), // 32 bit 1044188Sgblack@eecs.umich.edu /* 14 */ SyscallDesc("mknod", unimplementedFunc), 1054188Sgblack@eecs.umich.edu /* 15 */ SyscallDesc("chmod", unimplementedFunc), 1067741Sgblack@eecs.umich.edu /* 16 */ SyscallDesc("lchown", unimplementedFunc), // 32 bit 1075748SSteve.Reinhardt@amd.com /* 17 */ SyscallDesc("brk", brkFunc), 1087741Sgblack@eecs.umich.edu /* 18 */ SyscallDesc("perfctr", unimplementedFunc), // 32 bit 1097741Sgblack@eecs.umich.edu /* 19 */ SyscallDesc("lseek", lseekFunc), // 32 bit 1104188Sgblack@eecs.umich.edu /* 20 */ SyscallDesc("getpid", getpidFunc), 1114188Sgblack@eecs.umich.edu /* 21 */ SyscallDesc("capget", unimplementedFunc), 1124188Sgblack@eecs.umich.edu /* 22 */ SyscallDesc("capset", unimplementedFunc), 1137741Sgblack@eecs.umich.edu /* 23 */ SyscallDesc("setuid", setuidFunc), // 32 bit 1147741Sgblack@eecs.umich.edu /* 24 */ SyscallDesc("getuid", getuidFunc), // 32 bit 1154188Sgblack@eecs.umich.edu /* 25 */ SyscallDesc("time", unimplementedFunc), 1164188Sgblack@eecs.umich.edu /* 26 */ SyscallDesc("ptrace", unimplementedFunc), 1174188Sgblack@eecs.umich.edu /* 27 */ SyscallDesc("alarm", unimplementedFunc), 1187741Sgblack@eecs.umich.edu /* 28 */ SyscallDesc("sigaltstack", unimplementedFunc), // 32 bit 1197741Sgblack@eecs.umich.edu /* 29 */ SyscallDesc("pause", unimplementedFunc), // 32 bit 1204188Sgblack@eecs.umich.edu /* 30 */ SyscallDesc("utime", unimplementedFunc), 1214188Sgblack@eecs.umich.edu /* 31 */ SyscallDesc("lchown32", unimplementedFunc), 1224188Sgblack@eecs.umich.edu /* 32 */ SyscallDesc("fchown32", unimplementedFunc), 1237741Sgblack@eecs.umich.edu /* 33 */ SyscallDesc("access", unimplementedFunc), // 32 bit 1247741Sgblack@eecs.umich.edu /* 34 */ SyscallDesc("nice", unimplementedFunc), // 32 bit 1254188Sgblack@eecs.umich.edu /* 35 */ SyscallDesc("chown32", unimplementedFunc), 1264188Sgblack@eecs.umich.edu /* 36 */ SyscallDesc("sync", unimplementedFunc), 1277741Sgblack@eecs.umich.edu /* 37 */ SyscallDesc("kill", unimplementedFunc), // 32 bit 1284188Sgblack@eecs.umich.edu /* 38 */ SyscallDesc("stat", unimplementedFunc), 1297741Sgblack@eecs.umich.edu /* 39 */ SyscallDesc("sendfile", unimplementedFunc), // 32 bit 1304188Sgblack@eecs.umich.edu /* 40 */ SyscallDesc("lstat", unimplementedFunc), 1314188Sgblack@eecs.umich.edu /* 41 */ SyscallDesc("dup", unimplementedFunc), 1324188Sgblack@eecs.umich.edu /* 42 */ SyscallDesc("pipe", pipePseudoFunc), 1334264Sgblack@eecs.umich.edu /* 43 */ SyscallDesc("times", ignoreFunc), 1344188Sgblack@eecs.umich.edu /* 44 */ SyscallDesc("getuid32", unimplementedFunc), 1357741Sgblack@eecs.umich.edu /* 45 */ SyscallDesc("umount2", unimplementedFunc), // 32 bit 1367741Sgblack@eecs.umich.edu /* 46 */ SyscallDesc("setgid", unimplementedFunc), // 32 bit 1377741Sgblack@eecs.umich.edu /* 47 */ SyscallDesc("getgid", getgidFunc), // 32 bit 1387741Sgblack@eecs.umich.edu /* 48 */ SyscallDesc("signal", unimplementedFunc), // 32 bit 1397741Sgblack@eecs.umich.edu /* 49 */ SyscallDesc("geteuid", geteuidFunc), // 32 bit 1407741Sgblack@eecs.umich.edu /* 50 */ SyscallDesc("getegid", getegidFunc), // 32 bit 1414188Sgblack@eecs.umich.edu /* 51 */ SyscallDesc("acct", unimplementedFunc), 1424188Sgblack@eecs.umich.edu /* 52 */ SyscallDesc("memory_ordering", unimplementedFunc), 1434188Sgblack@eecs.umich.edu /* 53 */ SyscallDesc("getgid32", unimplementedFunc), 1444188Sgblack@eecs.umich.edu /* 54 */ SyscallDesc("ioctl", unimplementedFunc), 1457741Sgblack@eecs.umich.edu /* 55 */ SyscallDesc("reboot", unimplementedFunc), // 32 bit 1467741Sgblack@eecs.umich.edu /* 56 */ SyscallDesc("mmap2", unimplementedFunc), // 32 bit 1474188Sgblack@eecs.umich.edu /* 57 */ SyscallDesc("symlink", unimplementedFunc), 1487741Sgblack@eecs.umich.edu /* 58 */ SyscallDesc("readlink", readlinkFunc), // 32 bit 1497741Sgblack@eecs.umich.edu /* 59 */ SyscallDesc("execve", unimplementedFunc), // 32 bit 1507741Sgblack@eecs.umich.edu /* 60 */ SyscallDesc("umask", unimplementedFunc), // 32 bit 1514188Sgblack@eecs.umich.edu /* 61 */ SyscallDesc("chroot", unimplementedFunc), 1524188Sgblack@eecs.umich.edu /* 62 */ SyscallDesc("fstat", unimplementedFunc), 1534188Sgblack@eecs.umich.edu /* 63 */ SyscallDesc("fstat64", fstat64Func<Sparc32Linux>), 1544188Sgblack@eecs.umich.edu /* 64 */ SyscallDesc("getpagesize", unimplementedFunc), 1557741Sgblack@eecs.umich.edu /* 65 */ SyscallDesc("msync", unimplementedFunc), // 32 bit 1564188Sgblack@eecs.umich.edu /* 66 */ SyscallDesc("vfork", unimplementedFunc), 1577741Sgblack@eecs.umich.edu /* 67 */ SyscallDesc("pread64", unimplementedFunc), // 32 bit 1587741Sgblack@eecs.umich.edu /* 68 */ SyscallDesc("pwrite64", unimplementedFunc), // 32 bit 1594188Sgblack@eecs.umich.edu /* 69 */ SyscallDesc("geteuid32", unimplementedFunc), 1604188Sgblack@eecs.umich.edu /* 70 */ SyscallDesc("getegid32", unimplementedFunc), 1614188Sgblack@eecs.umich.edu /* 71 */ SyscallDesc("mmap", mmapFunc<Sparc32Linux>), 1624188Sgblack@eecs.umich.edu /* 72 */ SyscallDesc("setreuid32", unimplementedFunc), 1634188Sgblack@eecs.umich.edu /* 73 */ SyscallDesc("munmap", munmapFunc), 1646109Ssanchezd@stanford.edu /* 74 */ SyscallDesc("mprotect", ignoreFunc), 1654188Sgblack@eecs.umich.edu /* 75 */ SyscallDesc("madvise", unimplementedFunc), 1664188Sgblack@eecs.umich.edu /* 76 */ SyscallDesc("vhangup", unimplementedFunc), 1677741Sgblack@eecs.umich.edu /* 77 */ SyscallDesc("truncate64", unimplementedFunc), // 32 bit 1684188Sgblack@eecs.umich.edu /* 78 */ SyscallDesc("mincore", unimplementedFunc), 1697741Sgblack@eecs.umich.edu /* 79 */ SyscallDesc("getgroups", unimplementedFunc), // 32 bit 1707741Sgblack@eecs.umich.edu /* 80 */ SyscallDesc("setgroups", unimplementedFunc), // 32 bit 1714188Sgblack@eecs.umich.edu /* 81 */ SyscallDesc("getpgrp", unimplementedFunc), 1727741Sgblack@eecs.umich.edu /* 82 */ SyscallDesc("setgroups32", unimplementedFunc), // 32 bit 1737741Sgblack@eecs.umich.edu /* 83 */ SyscallDesc("setitimer", unimplementedFunc), // 32 bit 1747741Sgblack@eecs.umich.edu /* 84 */ SyscallDesc("ftruncate64", unimplementedFunc), // 32 bit 1757741Sgblack@eecs.umich.edu /* 85 */ SyscallDesc("swapon", unimplementedFunc), // 32 bit 1767741Sgblack@eecs.umich.edu /* 86 */ SyscallDesc("getitimer", unimplementedFunc), // 32 bit 1774188Sgblack@eecs.umich.edu /* 87 */ SyscallDesc("setuid32", unimplementedFunc), 1787741Sgblack@eecs.umich.edu /* 88 */ SyscallDesc("sethostname", unimplementedFunc), // 32 bit 1794188Sgblack@eecs.umich.edu /* 89 */ SyscallDesc("setgid32", unimplementedFunc), 1804188Sgblack@eecs.umich.edu /* 90 */ SyscallDesc("dup2", unimplementedFunc), 1814188Sgblack@eecs.umich.edu /* 91 */ SyscallDesc("setfsuid32", unimplementedFunc), 1824188Sgblack@eecs.umich.edu /* 92 */ SyscallDesc("fcntl", unimplementedFunc), 1837741Sgblack@eecs.umich.edu /* 93 */ SyscallDesc("select", unimplementedFunc), // 32 bit 1844188Sgblack@eecs.umich.edu /* 94 */ SyscallDesc("setfsgid32", unimplementedFunc), 1854188Sgblack@eecs.umich.edu /* 95 */ SyscallDesc("fsync", unimplementedFunc), 1867741Sgblack@eecs.umich.edu /* 96 */ SyscallDesc("setpriority", unimplementedFunc), // 32 bit 1874188Sgblack@eecs.umich.edu /* 97 */ SyscallDesc("socket", unimplementedFunc), 1884188Sgblack@eecs.umich.edu /* 98 */ SyscallDesc("connect", unimplementedFunc), 1894188Sgblack@eecs.umich.edu /* 99 */ SyscallDesc("accept", unimplementedFunc), 1907741Sgblack@eecs.umich.edu /* 100 */ SyscallDesc("getpriority", unimplementedFunc), // 32 bit 1917741Sgblack@eecs.umich.edu /* 101 */ SyscallDesc("rt_sigreturn", unimplementedFunc), // 32 bit 1927741Sgblack@eecs.umich.edu /* 102 */ SyscallDesc("rt_sigaction", ignoreFunc), // 32 bit 1937741Sgblack@eecs.umich.edu /* 103 */ SyscallDesc("rt_sigprocmask", ignoreFunc), // 32 bit 1947741Sgblack@eecs.umich.edu /* 104 */ SyscallDesc("rt_sigpending", unimplementedFunc), // 32 bit 1954188Sgblack@eecs.umich.edu /* 105 */ SyscallDesc("rt_sigtimedwait", unimplementedFunc), 1967741Sgblack@eecs.umich.edu /* 106 */ SyscallDesc("rt_sigqueueinfo", unimplementedFunc), // 32 bit 1974188Sgblack@eecs.umich.edu /* 107 */ SyscallDesc("rt_sigsuspend", unimplementedFunc), 1984188Sgblack@eecs.umich.edu /* 108 */ SyscallDesc("setresuid32", unimplementedFunc), 1994188Sgblack@eecs.umich.edu /* 109 */ SyscallDesc("getresuid32", getresuidFunc), 2006109Ssanchezd@stanford.edu /* 110 */ SyscallDesc("setresgid32", ignoreFunc), 2014188Sgblack@eecs.umich.edu /* 111 */ SyscallDesc("getresgid32", unimplementedFunc), 2024188Sgblack@eecs.umich.edu /* 112 */ SyscallDesc("setregid32", unimplementedFunc), 2034188Sgblack@eecs.umich.edu /* 113 */ SyscallDesc("revcmsg", unimplementedFunc), 2044188Sgblack@eecs.umich.edu /* 114 */ SyscallDesc("sendmsg", unimplementedFunc), 2057741Sgblack@eecs.umich.edu /* 115 */ SyscallDesc("getgroups32", unimplementedFunc), // 32 bit 2067741Sgblack@eecs.umich.edu /* 116 */ SyscallDesc("gettimeofday", gettimeofdayFunc<Sparc32Linux>), // 32 bit 2077741Sgblack@eecs.umich.edu /* 117 */ SyscallDesc("getrusage", unimplementedFunc), // 32 bit 2084188Sgblack@eecs.umich.edu /* 118 */ SyscallDesc("getsockopt", unimplementedFunc), 2095513SMichael.Adler@intel.com /* 119 */ SyscallDesc("getcwd", getcwdFunc), 2104188Sgblack@eecs.umich.edu /* 120 */ SyscallDesc("readv", unimplementedFunc), 2114188Sgblack@eecs.umich.edu /* 121 */ SyscallDesc("writev", unimplementedFunc), 2127741Sgblack@eecs.umich.edu /* 122 */ SyscallDesc("settimeofday", unimplementedFunc), // 32 bit 2137741Sgblack@eecs.umich.edu /* 123 */ SyscallDesc("fchown", unimplementedFunc), // 32 bit 2144188Sgblack@eecs.umich.edu /* 124 */ SyscallDesc("fchmod", unimplementedFunc), 2154188Sgblack@eecs.umich.edu /* 125 */ SyscallDesc("recvfrom", unimplementedFunc), 2167741Sgblack@eecs.umich.edu /* 126 */ SyscallDesc("setreuid", unimplementedFunc), // 32 bit 2177741Sgblack@eecs.umich.edu /* 127 */ SyscallDesc("setregid", unimplementedFunc), // 32 bit 2184236Sgblack@eecs.umich.edu /* 128 */ SyscallDesc("rename", renameFunc), 2194188Sgblack@eecs.umich.edu /* 129 */ SyscallDesc("truncate", unimplementedFunc), 2204188Sgblack@eecs.umich.edu /* 130 */ SyscallDesc("ftruncate", unimplementedFunc), 2214188Sgblack@eecs.umich.edu /* 131 */ SyscallDesc("flock", unimplementedFunc), 2224188Sgblack@eecs.umich.edu /* 132 */ SyscallDesc("lstat64", unimplementedFunc), 2234188Sgblack@eecs.umich.edu /* 133 */ SyscallDesc("sendto", unimplementedFunc), 2244188Sgblack@eecs.umich.edu /* 134 */ SyscallDesc("shutdown", unimplementedFunc), 2254188Sgblack@eecs.umich.edu /* 135 */ SyscallDesc("socketpair", unimplementedFunc), 2267741Sgblack@eecs.umich.edu /* 136 */ SyscallDesc("mkdir", mkdirFunc), // 32 bit 2274188Sgblack@eecs.umich.edu /* 137 */ SyscallDesc("rmdir", unimplementedFunc), 2287741Sgblack@eecs.umich.edu /* 138 */ SyscallDesc("utimes", unimplementedFunc), // 32 bit 2294188Sgblack@eecs.umich.edu /* 139 */ SyscallDesc("stat64", unimplementedFunc), 2307741Sgblack@eecs.umich.edu /* 140 */ SyscallDesc("sendfile64", unimplementedFunc), // 32 bit 2314188Sgblack@eecs.umich.edu /* 141 */ SyscallDesc("getpeername", unimplementedFunc), 2327741Sgblack@eecs.umich.edu /* 142 */ SyscallDesc("futex", unimplementedFunc), // 32 bit 2334188Sgblack@eecs.umich.edu /* 143 */ SyscallDesc("gettid", unimplementedFunc), 2344188Sgblack@eecs.umich.edu /* 144 */ SyscallDesc("getrlimit", unimplementedFunc), 2354188Sgblack@eecs.umich.edu /* 145 */ SyscallDesc("setrlimit", unimplementedFunc), 2364188Sgblack@eecs.umich.edu /* 146 */ SyscallDesc("pivot_root", unimplementedFunc), 2377741Sgblack@eecs.umich.edu /* 147 */ SyscallDesc("prctl", unimplementedFunc), // 32 bit 2384188Sgblack@eecs.umich.edu /* 148 */ SyscallDesc("pciconfig_read", unimplementedFunc), 2394188Sgblack@eecs.umich.edu /* 149 */ SyscallDesc("pciconfig_write", unimplementedFunc), 2404188Sgblack@eecs.umich.edu /* 150 */ SyscallDesc("getsockname", unimplementedFunc), 2414188Sgblack@eecs.umich.edu /* 151 */ SyscallDesc("inotify_init", unimplementedFunc), 2424188Sgblack@eecs.umich.edu /* 152 */ SyscallDesc("inotify_add_watch", unimplementedFunc), 2434188Sgblack@eecs.umich.edu /* 153 */ SyscallDesc("poll", unimplementedFunc), 2444188Sgblack@eecs.umich.edu /* 154 */ SyscallDesc("getdents64", unimplementedFunc), 2454188Sgblack@eecs.umich.edu /* 155 */ SyscallDesc("fcntl64", unimplementedFunc), 2464188Sgblack@eecs.umich.edu /* 156 */ SyscallDesc("inotify_rm_watch", unimplementedFunc), 2474188Sgblack@eecs.umich.edu /* 157 */ SyscallDesc("statfs", unimplementedFunc), 2484188Sgblack@eecs.umich.edu /* 158 */ SyscallDesc("fstatfs", unimplementedFunc), 2494188Sgblack@eecs.umich.edu /* 159 */ SyscallDesc("umount", unimplementedFunc), 2504188Sgblack@eecs.umich.edu /* 160 */ SyscallDesc("sched_setaffinity", unimplementedFunc), 2514188Sgblack@eecs.umich.edu /* 161 */ SyscallDesc("sched_getaffinity", unimplementedFunc), 2527741Sgblack@eecs.umich.edu /* 162 */ SyscallDesc("getdomainname", unimplementedFunc), // 32 bit 2537741Sgblack@eecs.umich.edu /* 163 */ SyscallDesc("setdomainname", unimplementedFunc), // 32 bit 2544188Sgblack@eecs.umich.edu /* 164 */ SyscallDesc("ni_syscall", unimplementedFunc), 2554188Sgblack@eecs.umich.edu /* 165 */ SyscallDesc("quotactl", unimplementedFunc), 2564188Sgblack@eecs.umich.edu /* 166 */ SyscallDesc("set_tid_address", unimplementedFunc), 2574188Sgblack@eecs.umich.edu /* 167 */ SyscallDesc("mount", unimplementedFunc), 2584188Sgblack@eecs.umich.edu /* 168 */ SyscallDesc("ustat", unimplementedFunc), 2597741Sgblack@eecs.umich.edu /* 169 */ SyscallDesc("setxattr", unimplementedFunc), // 32 bit 2607741Sgblack@eecs.umich.edu /* 170 */ SyscallDesc("lsetxattr", unimplementedFunc), // 32 bit 2617741Sgblack@eecs.umich.edu /* 171 */ SyscallDesc("fsetxattr", unimplementedFunc), // 32 bit 2624188Sgblack@eecs.umich.edu /* 172 */ SyscallDesc("getxattr", unimplementedFunc), 2634188Sgblack@eecs.umich.edu /* 173 */ SyscallDesc("lgetxattr", unimplementedFunc), 2644188Sgblack@eecs.umich.edu /* 174 */ SyscallDesc("getdents", unimplementedFunc), 2654188Sgblack@eecs.umich.edu /* 175 */ SyscallDesc("setsid", unimplementedFunc), 2664188Sgblack@eecs.umich.edu /* 176 */ SyscallDesc("fchdir", unimplementedFunc), 2677741Sgblack@eecs.umich.edu /* 177 */ SyscallDesc("fgetxattr", unimplementedFunc), // 32 bit 2684188Sgblack@eecs.umich.edu /* 178 */ SyscallDesc("listxattr", unimplementedFunc), 2694188Sgblack@eecs.umich.edu /* 179 */ SyscallDesc("llistxattr", unimplementedFunc), 2707741Sgblack@eecs.umich.edu /* 180 */ SyscallDesc("flistxattr", unimplementedFunc), // 32 bit 2714188Sgblack@eecs.umich.edu /* 181 */ SyscallDesc("removexattr", unimplementedFunc), 2724188Sgblack@eecs.umich.edu /* 182 */ SyscallDesc("lremovexattr", unimplementedFunc), 2734188Sgblack@eecs.umich.edu /* 183 */ SyscallDesc("sigpending", unimplementedFunc), 2744188Sgblack@eecs.umich.edu /* 184 */ SyscallDesc("query_module", unimplementedFunc), 2757741Sgblack@eecs.umich.edu /* 185 */ SyscallDesc("setpgid", unimplementedFunc), // 32 bit 2767741Sgblack@eecs.umich.edu /* 186 */ SyscallDesc("fremovexattr", unimplementedFunc), // 32 bit 2777741Sgblack@eecs.umich.edu /* 187 */ SyscallDesc("tkill", unimplementedFunc), // 32 bit 2787741Sgblack@eecs.umich.edu /* 188 */ SyscallDesc("exit_group", exitGroupFunc), // 32 bit 2794188Sgblack@eecs.umich.edu /* 189 */ SyscallDesc("uname", unameFunc), 2807741Sgblack@eecs.umich.edu /* 190 */ SyscallDesc("init_module", unimplementedFunc), // 32 bit 2814188Sgblack@eecs.umich.edu /* 191 */ SyscallDesc("personality", unimplementedFunc), 2824188Sgblack@eecs.umich.edu /* 192 */ SyscallDesc("remap_file_pages", unimplementedFunc), 2837741Sgblack@eecs.umich.edu /* 193 */ SyscallDesc("epoll_create", unimplementedFunc), // 32 bit 2847741Sgblack@eecs.umich.edu /* 194 */ SyscallDesc("epoll_ctl", unimplementedFunc), // 32 bit 2857741Sgblack@eecs.umich.edu /* 195 */ SyscallDesc("epoll_wait", unimplementedFunc), // 32 bit 2867741Sgblack@eecs.umich.edu /* 196 */ SyscallDesc("ioprio_set", unimplementedFunc), // 32 bit 2874188Sgblack@eecs.umich.edu /* 197 */ SyscallDesc("getppid", getppidFunc), 2887741Sgblack@eecs.umich.edu /* 198 */ SyscallDesc("sigaction", unimplementedFunc), // 32 bit 2894188Sgblack@eecs.umich.edu /* 199 */ SyscallDesc("sgetmask", unimplementedFunc), 2904188Sgblack@eecs.umich.edu /* 200 */ SyscallDesc("ssetmask", unimplementedFunc), 2914188Sgblack@eecs.umich.edu /* 201 */ SyscallDesc("sigsuspend", unimplementedFunc), 2924188Sgblack@eecs.umich.edu /* 202 */ SyscallDesc("oldlstat", unimplementedFunc), 2934188Sgblack@eecs.umich.edu /* 203 */ SyscallDesc("uselib", unimplementedFunc), 2944188Sgblack@eecs.umich.edu /* 204 */ SyscallDesc("readdir", unimplementedFunc), 2957741Sgblack@eecs.umich.edu /* 205 */ SyscallDesc("readahead", unimplementedFunc), // 32 bit 2967741Sgblack@eecs.umich.edu /* 206 */ SyscallDesc("socketcall", unimplementedFunc), // 32 bit 2977741Sgblack@eecs.umich.edu /* 207 */ SyscallDesc("syslog", unimplementedFunc), // 32 bit 2987741Sgblack@eecs.umich.edu /* 208 */ SyscallDesc("lookup_dcookie", unimplementedFunc), // 32 bit 2997741Sgblack@eecs.umich.edu /* 209 */ SyscallDesc("fadvise64", unimplementedFunc), // 32 bit 3007741Sgblack@eecs.umich.edu /* 210 */ SyscallDesc("fadvise64_64", unimplementedFunc), // 32 bit 3017741Sgblack@eecs.umich.edu /* 211 */ SyscallDesc("tgkill", unimplementedFunc), // 32 bit 3027741Sgblack@eecs.umich.edu /* 212 */ SyscallDesc("waitpid", unimplementedFunc), // 32 bit 3034188Sgblack@eecs.umich.edu /* 213 */ SyscallDesc("swapoff", unimplementedFunc), 3047741Sgblack@eecs.umich.edu /* 214 */ SyscallDesc("sysinfo", sysinfoFunc<Sparc32Linux>), // 32 bit 3057741Sgblack@eecs.umich.edu /* 215 */ SyscallDesc("ipc", unimplementedFunc), // 32 bit 3067741Sgblack@eecs.umich.edu /* 216 */ SyscallDesc("sigreturn", unimplementedFunc), // 32 bit 3076109Ssanchezd@stanford.edu /* 217 */ SyscallDesc("clone", cloneFunc), 3087741Sgblack@eecs.umich.edu /* 218 */ SyscallDesc("ioprio_get", unimplementedFunc), // 32 bit 3097741Sgblack@eecs.umich.edu /* 219 */ SyscallDesc("adjtimex", unimplementedFunc), // 32 bit 3107741Sgblack@eecs.umich.edu /* 220 */ SyscallDesc("sigprocmask", unimplementedFunc), // 32 bit 3114188Sgblack@eecs.umich.edu /* 221 */ SyscallDesc("create_module", unimplementedFunc), 3127741Sgblack@eecs.umich.edu /* 222 */ SyscallDesc("delete_module", unimplementedFunc), // 32 bit 3134188Sgblack@eecs.umich.edu /* 223 */ SyscallDesc("get_kernel_syms", unimplementedFunc), 3147741Sgblack@eecs.umich.edu /* 224 */ SyscallDesc("getpgid", unimplementedFunc), // 32 bit 3157741Sgblack@eecs.umich.edu /* 225 */ SyscallDesc("bdflush", unimplementedFunc), // 32 bit 3167741Sgblack@eecs.umich.edu /* 226 */ SyscallDesc("sysfs", unimplementedFunc), // 32 bit 3174188Sgblack@eecs.umich.edu /* 227 */ SyscallDesc("afs_syscall", unimplementedFunc), 3187741Sgblack@eecs.umich.edu /* 228 */ SyscallDesc("setfsuid", unimplementedFunc), // 32 bit 3197741Sgblack@eecs.umich.edu /* 229 */ SyscallDesc("setfsgid", unimplementedFunc), // 32 bit 3207741Sgblack@eecs.umich.edu /* 230 */ SyscallDesc("_newselect", unimplementedFunc), // 32 bit 3214264Sgblack@eecs.umich.edu /* 231 */ SyscallDesc("time", ignoreFunc), 3224188Sgblack@eecs.umich.edu /* 232 */ SyscallDesc("oldstat", unimplementedFunc), 3234188Sgblack@eecs.umich.edu /* 233 */ SyscallDesc("stime", unimplementedFunc), 3244188Sgblack@eecs.umich.edu /* 234 */ SyscallDesc("statfs64", unimplementedFunc), 3254188Sgblack@eecs.umich.edu /* 235 */ SyscallDesc("fstatfs64", unimplementedFunc), 3264188Sgblack@eecs.umich.edu /* 236 */ SyscallDesc("_llseek", _llseekFunc), 3274188Sgblack@eecs.umich.edu /* 237 */ SyscallDesc("mlock", unimplementedFunc), 3284188Sgblack@eecs.umich.edu /* 238 */ SyscallDesc("munlock", unimplementedFunc), 3297741Sgblack@eecs.umich.edu /* 239 */ SyscallDesc("mlockall", unimplementedFunc), // 32 bit 3304188Sgblack@eecs.umich.edu /* 240 */ SyscallDesc("munlockall", unimplementedFunc), 3317741Sgblack@eecs.umich.edu /* 241 */ SyscallDesc("sched_setparam", unimplementedFunc), // 32 bit 3327741Sgblack@eecs.umich.edu /* 242 */ SyscallDesc("sched_getparam", unimplementedFunc), // 32 bit 3337741Sgblack@eecs.umich.edu /* 243 */ SyscallDesc("sched_setscheduler", unimplementedFunc), // 32 bit 3347741Sgblack@eecs.umich.edu /* 244 */ SyscallDesc("sched_getscheduler", unimplementedFunc), // 32 bit 3354188Sgblack@eecs.umich.edu /* 245 */ SyscallDesc("sched_yield", unimplementedFunc), 3367741Sgblack@eecs.umich.edu /* 246 */ SyscallDesc("sched_get_priority_max", unimplementedFunc), // 32 bit 3377741Sgblack@eecs.umich.edu /* 247 */ SyscallDesc("sched_get_priority_min", unimplementedFunc), // 32 bit 3387741Sgblack@eecs.umich.edu /* 248 */ SyscallDesc("sched_rr_get_interval", unimplementedFunc), // 32 bit 3394188Sgblack@eecs.umich.edu /* 249 */ SyscallDesc("nanosleep", unimplementedFunc), 3407741Sgblack@eecs.umich.edu /* 250 */ SyscallDesc("mremap", mremapFunc<Sparc32Linux>), // 32 bit 3417741Sgblack@eecs.umich.edu /* 251 */ SyscallDesc("_sysctl", unimplementedFunc), // 32 bit 3427741Sgblack@eecs.umich.edu /* 252 */ SyscallDesc("getsid", unimplementedFunc), // 32 bit 3434188Sgblack@eecs.umich.edu /* 253 */ SyscallDesc("fdatasync", unimplementedFunc), 3447741Sgblack@eecs.umich.edu /* 254 */ SyscallDesc("nfsservctl", unimplementedFunc), // 32 bit 3454188Sgblack@eecs.umich.edu /* 255 */ SyscallDesc("aplib", unimplementedFunc), 3464188Sgblack@eecs.umich.edu /* 256 */ SyscallDesc("clock_settime", unimplementedFunc), 3474188Sgblack@eecs.umich.edu /* 257 */ SyscallDesc("clock_gettime", unimplementedFunc), 3484188Sgblack@eecs.umich.edu /* 258 */ SyscallDesc("clock_getres", unimplementedFunc), 3497741Sgblack@eecs.umich.edu /* 259 */ SyscallDesc("clock_nanosleep", unimplementedFunc), // 32 bit 3504188Sgblack@eecs.umich.edu /* 260 */ SyscallDesc("sched_getaffinity", unimplementedFunc), 3514188Sgblack@eecs.umich.edu /* 261 */ SyscallDesc("sched_setaffinity", unimplementedFunc), 3527741Sgblack@eecs.umich.edu /* 262 */ SyscallDesc("timer_settime", unimplementedFunc), // 32 bit 3534188Sgblack@eecs.umich.edu /* 263 */ SyscallDesc("timer_gettime", unimplementedFunc), 3544188Sgblack@eecs.umich.edu /* 264 */ SyscallDesc("timer_getoverrun", unimplementedFunc), 3554188Sgblack@eecs.umich.edu /* 265 */ SyscallDesc("timer_delete", unimplementedFunc), 3564188Sgblack@eecs.umich.edu /* 266 */ SyscallDesc("timer_create", unimplementedFunc), 3574188Sgblack@eecs.umich.edu /* 267 */ SyscallDesc("vserver", unimplementedFunc), 3584188Sgblack@eecs.umich.edu /* 268 */ SyscallDesc("io_setup", unimplementedFunc), 3594188Sgblack@eecs.umich.edu /* 269 */ SyscallDesc("io_destroy", unimplementedFunc), 3607741Sgblack@eecs.umich.edu /* 270 */ SyscallDesc("io_submit", unimplementedFunc), // 32 bit 3614188Sgblack@eecs.umich.edu /* 271 */ SyscallDesc("io_cancel", unimplementedFunc), 3624188Sgblack@eecs.umich.edu /* 272 */ SyscallDesc("io_getevents", unimplementedFunc), 3637741Sgblack@eecs.umich.edu /* 273 */ SyscallDesc("mq_open", unimplementedFunc), // 32 bit 3644188Sgblack@eecs.umich.edu /* 274 */ SyscallDesc("mq_unlink", unimplementedFunc), 3654188Sgblack@eecs.umich.edu /* 275 */ SyscallDesc("mq_timedsend", unimplementedFunc), 3664188Sgblack@eecs.umich.edu /* 276 */ SyscallDesc("mq_timedreceive", unimplementedFunc), 3674188Sgblack@eecs.umich.edu /* 277 */ SyscallDesc("mq_notify", unimplementedFunc), 3684188Sgblack@eecs.umich.edu /* 278 */ SyscallDesc("mq_getsetattr", unimplementedFunc), 3694188Sgblack@eecs.umich.edu /* 279 */ SyscallDesc("waitid", unimplementedFunc), 3704188Sgblack@eecs.umich.edu /* 280 */ SyscallDesc("sys_setaltroot", unimplementedFunc), 3714188Sgblack@eecs.umich.edu /* 281 */ SyscallDesc("add_key", unimplementedFunc), 3724188Sgblack@eecs.umich.edu /* 282 */ SyscallDesc("request_key", unimplementedFunc), 3734188Sgblack@eecs.umich.edu /* 283 */ SyscallDesc("keyctl", unimplementedFunc), 3744188Sgblack@eecs.umich.edu /* 284 */ SyscallDesc("openat", unimplementedFunc), 3754188Sgblack@eecs.umich.edu /* 285 */ SyscallDesc("mkdirat", unimplementedFunc), 3764188Sgblack@eecs.umich.edu /* 286 */ SyscallDesc("mknodat", unimplementedFunc), 3774188Sgblack@eecs.umich.edu /* 287 */ SyscallDesc("fchownat", unimplementedFunc), 3784188Sgblack@eecs.umich.edu /* 288 */ SyscallDesc("futimesat", unimplementedFunc), 3794188Sgblack@eecs.umich.edu /* 289 */ SyscallDesc("fstatat64", unimplementedFunc), 3804188Sgblack@eecs.umich.edu /* 290 */ SyscallDesc("unlinkat", unimplementedFunc), 3814188Sgblack@eecs.umich.edu /* 291 */ SyscallDesc("renameat", unimplementedFunc), 3824188Sgblack@eecs.umich.edu /* 292 */ SyscallDesc("linkat", unimplementedFunc), 3834188Sgblack@eecs.umich.edu /* 293 */ SyscallDesc("symlinkat", unimplementedFunc), 3844188Sgblack@eecs.umich.edu /* 294 */ SyscallDesc("readlinkat", unimplementedFunc), 3854188Sgblack@eecs.umich.edu /* 295 */ SyscallDesc("fchmodat", unimplementedFunc), 3864188Sgblack@eecs.umich.edu /* 296 */ SyscallDesc("faccessat", unimplementedFunc), 3874188Sgblack@eecs.umich.edu /* 297 */ SyscallDesc("pselect6", unimplementedFunc), 3884188Sgblack@eecs.umich.edu /* 298 */ SyscallDesc("ppoll", unimplementedFunc), 3894188Sgblack@eecs.umich.edu /* 299 */ SyscallDesc("unshare", unimplementedFunc) 3904188Sgblack@eecs.umich.edu}; 3914188Sgblack@eecs.umich.edu 3926075Sgblack@eecs.umich.educonst int SparcLinuxProcess::Num_Syscall32_Descs = 3936075Sgblack@eecs.umich.edu sizeof(SparcLinuxProcess::syscall32Descs) / sizeof(SyscallDesc); 3946075Sgblack@eecs.umich.edu 3954188Sgblack@eecs.umich.eduSyscallDesc SparcLinuxProcess::syscallDescs[] = { 3964188Sgblack@eecs.umich.edu /* 0 */ SyscallDesc("restart_syscall", unimplementedFunc), 3974188Sgblack@eecs.umich.edu /* 1 */ SyscallDesc("exit", exitFunc), 3984188Sgblack@eecs.umich.edu /* 2 */ SyscallDesc("fork", unimplementedFunc), 3994188Sgblack@eecs.umich.edu /* 3 */ SyscallDesc("read", readFunc), 4004188Sgblack@eecs.umich.edu /* 4 */ SyscallDesc("write", writeFunc), 4014188Sgblack@eecs.umich.edu /* 5 */ SyscallDesc("open", openFunc<SparcLinux>), 4024188Sgblack@eecs.umich.edu /* 6 */ SyscallDesc("close", closeFunc), 4034188Sgblack@eecs.umich.edu /* 7 */ SyscallDesc("wait4", unimplementedFunc), 4044188Sgblack@eecs.umich.edu /* 8 */ SyscallDesc("creat", unimplementedFunc), 4054188Sgblack@eecs.umich.edu /* 9 */ SyscallDesc("link", unimplementedFunc), 4064188Sgblack@eecs.umich.edu /* 10 */ SyscallDesc("unlink", unlinkFunc), 4074188Sgblack@eecs.umich.edu /* 11 */ SyscallDesc("execv", unimplementedFunc), 4084188Sgblack@eecs.umich.edu /* 12 */ SyscallDesc("chdir", unimplementedFunc), 4094188Sgblack@eecs.umich.edu /* 13 */ SyscallDesc("chown", chownFunc), 4104188Sgblack@eecs.umich.edu /* 14 */ SyscallDesc("mknod", unimplementedFunc), 4114188Sgblack@eecs.umich.edu /* 15 */ SyscallDesc("chmod", chmodFunc<Linux>), 4124188Sgblack@eecs.umich.edu /* 16 */ SyscallDesc("lchown", unimplementedFunc), 4135748SSteve.Reinhardt@amd.com /* 17 */ SyscallDesc("brk", brkFunc), 4144188Sgblack@eecs.umich.edu /* 18 */ SyscallDesc("perfctr", unimplementedFunc), 4154188Sgblack@eecs.umich.edu /* 19 */ SyscallDesc("lseek", lseekFunc), 4164188Sgblack@eecs.umich.edu /* 20 */ SyscallDesc("getpid", getpidFunc), 4174188Sgblack@eecs.umich.edu /* 21 */ SyscallDesc("capget", unimplementedFunc), 4184188Sgblack@eecs.umich.edu /* 22 */ SyscallDesc("capset", unimplementedFunc), 4194188Sgblack@eecs.umich.edu /* 23 */ SyscallDesc("setuid", setuidFunc), 4204188Sgblack@eecs.umich.edu /* 24 */ SyscallDesc("getuid", getuidFunc), 4214188Sgblack@eecs.umich.edu /* 25 */ SyscallDesc("time", unimplementedFunc), 4224188Sgblack@eecs.umich.edu /* 26 */ SyscallDesc("ptrace", unimplementedFunc), 4234188Sgblack@eecs.umich.edu /* 27 */ SyscallDesc("alarm", unimplementedFunc), 4244188Sgblack@eecs.umich.edu /* 28 */ SyscallDesc("sigaltstack", unimplementedFunc), 4254188Sgblack@eecs.umich.edu /* 29 */ SyscallDesc("pause", unimplementedFunc), 4264188Sgblack@eecs.umich.edu /* 30 */ SyscallDesc("utime", unimplementedFunc), 4274188Sgblack@eecs.umich.edu /* 31 */ SyscallDesc("lchown32", unimplementedFunc), 4284188Sgblack@eecs.umich.edu /* 32 */ SyscallDesc("fchown32", unimplementedFunc), 4294188Sgblack@eecs.umich.edu /* 33 */ SyscallDesc("access", unimplementedFunc), 4304188Sgblack@eecs.umich.edu /* 34 */ SyscallDesc("nice", unimplementedFunc), 4314188Sgblack@eecs.umich.edu /* 35 */ SyscallDesc("chown32", unimplementedFunc), 4324188Sgblack@eecs.umich.edu /* 36 */ SyscallDesc("sync", unimplementedFunc), 4334188Sgblack@eecs.umich.edu /* 37 */ SyscallDesc("kill", unimplementedFunc), 4344188Sgblack@eecs.umich.edu /* 38 */ SyscallDesc("stat", unimplementedFunc), 4354188Sgblack@eecs.umich.edu /* 39 */ SyscallDesc("sendfile", unimplementedFunc), 4364188Sgblack@eecs.umich.edu /* 40 */ SyscallDesc("lstat", unimplementedFunc), 4374188Sgblack@eecs.umich.edu /* 41 */ SyscallDesc("dup", unimplementedFunc), 4384188Sgblack@eecs.umich.edu /* 42 */ SyscallDesc("pipe", pipePseudoFunc), 4394264Sgblack@eecs.umich.edu /* 43 */ SyscallDesc("times", ignoreFunc), 4404188Sgblack@eecs.umich.edu /* 44 */ SyscallDesc("getuid32", unimplementedFunc), 4414188Sgblack@eecs.umich.edu /* 45 */ SyscallDesc("umount2", unimplementedFunc), 4424188Sgblack@eecs.umich.edu /* 46 */ SyscallDesc("setgid", unimplementedFunc), 4434188Sgblack@eecs.umich.edu /* 47 */ SyscallDesc("getgid", getgidFunc), 4444188Sgblack@eecs.umich.edu /* 48 */ SyscallDesc("signal", unimplementedFunc), 4454188Sgblack@eecs.umich.edu /* 49 */ SyscallDesc("geteuid", geteuidFunc), 4464188Sgblack@eecs.umich.edu /* 50 */ SyscallDesc("getegid", getegidFunc), 4474188Sgblack@eecs.umich.edu /* 51 */ SyscallDesc("acct", unimplementedFunc), 4484188Sgblack@eecs.umich.edu /* 52 */ SyscallDesc("memory_ordering", unimplementedFunc), 4494188Sgblack@eecs.umich.edu /* 53 */ SyscallDesc("getgid32", unimplementedFunc), 4504188Sgblack@eecs.umich.edu /* 54 */ SyscallDesc("ioctl", unimplementedFunc), 4514188Sgblack@eecs.umich.edu /* 55 */ SyscallDesc("reboot", unimplementedFunc), 4524188Sgblack@eecs.umich.edu /* 56 */ SyscallDesc("mmap2", unimplementedFunc), 4534188Sgblack@eecs.umich.edu /* 57 */ SyscallDesc("symlink", unimplementedFunc), 4545513SMichael.Adler@intel.com /* 58 */ SyscallDesc("readlink", readlinkFunc), 4554188Sgblack@eecs.umich.edu /* 59 */ SyscallDesc("execve", unimplementedFunc), 4564188Sgblack@eecs.umich.edu /* 60 */ SyscallDesc("umask", unimplementedFunc), 4574188Sgblack@eecs.umich.edu /* 61 */ SyscallDesc("chroot", unimplementedFunc), 4584188Sgblack@eecs.umich.edu /* 62 */ SyscallDesc("fstat", fstatFunc<SparcLinux>), 4594188Sgblack@eecs.umich.edu /* 63 */ SyscallDesc("fstat64", unimplementedFunc), 4604188Sgblack@eecs.umich.edu /* 64 */ SyscallDesc("getpagesize", unimplementedFunc), 4614188Sgblack@eecs.umich.edu /* 65 */ SyscallDesc("msync", unimplementedFunc), 4624188Sgblack@eecs.umich.edu /* 66 */ SyscallDesc("vfork", unimplementedFunc), 4634188Sgblack@eecs.umich.edu /* 67 */ SyscallDesc("pread64", unimplementedFunc), 4644188Sgblack@eecs.umich.edu /* 68 */ SyscallDesc("pwrite64", unimplementedFunc), 4654188Sgblack@eecs.umich.edu /* 69 */ SyscallDesc("geteuid32", unimplementedFunc), 4664188Sgblack@eecs.umich.edu /* 70 */ SyscallDesc("getegid32", unimplementedFunc), 4674188Sgblack@eecs.umich.edu /* 71 */ SyscallDesc("mmap", mmapFunc<SparcLinux>), 4684188Sgblack@eecs.umich.edu /* 72 */ SyscallDesc("setreuid32", unimplementedFunc), 4694188Sgblack@eecs.umich.edu /* 73 */ SyscallDesc("munmap", munmapFunc), 4706109Ssanchezd@stanford.edu /* 74 */ SyscallDesc("mprotect", ignoreFunc), 4714188Sgblack@eecs.umich.edu /* 75 */ SyscallDesc("madvise", unimplementedFunc), 4724188Sgblack@eecs.umich.edu /* 76 */ SyscallDesc("vhangup", unimplementedFunc), 4734188Sgblack@eecs.umich.edu /* 77 */ SyscallDesc("truncate64", unimplementedFunc), 4744188Sgblack@eecs.umich.edu /* 78 */ SyscallDesc("mincore", unimplementedFunc), 4754188Sgblack@eecs.umich.edu /* 79 */ SyscallDesc("getgroups", unimplementedFunc), 4764188Sgblack@eecs.umich.edu /* 80 */ SyscallDesc("setgroups", unimplementedFunc), 4774188Sgblack@eecs.umich.edu /* 81 */ SyscallDesc("getpgrp", unimplementedFunc), 4784188Sgblack@eecs.umich.edu /* 82 */ SyscallDesc("setgroups32", unimplementedFunc), 4794188Sgblack@eecs.umich.edu /* 83 */ SyscallDesc("setitimer", unimplementedFunc), 4804188Sgblack@eecs.umich.edu /* 84 */ SyscallDesc("ftruncate64", unimplementedFunc), 4814188Sgblack@eecs.umich.edu /* 85 */ SyscallDesc("swapon", unimplementedFunc), 4824188Sgblack@eecs.umich.edu /* 86 */ SyscallDesc("getitimer", unimplementedFunc), 4834188Sgblack@eecs.umich.edu /* 87 */ SyscallDesc("setuid32", unimplementedFunc), 4844188Sgblack@eecs.umich.edu /* 88 */ SyscallDesc("sethostname", unimplementedFunc), 4854188Sgblack@eecs.umich.edu /* 89 */ SyscallDesc("setgid32", unimplementedFunc), 4864188Sgblack@eecs.umich.edu /* 90 */ SyscallDesc("dup2", unimplementedFunc), 4874188Sgblack@eecs.umich.edu /* 91 */ SyscallDesc("setfsuid32", unimplementedFunc), 4884188Sgblack@eecs.umich.edu /* 92 */ SyscallDesc("fcntl", unimplementedFunc), 4894188Sgblack@eecs.umich.edu /* 93 */ SyscallDesc("select", unimplementedFunc), 4904188Sgblack@eecs.umich.edu /* 94 */ SyscallDesc("setfsgid32", unimplementedFunc), 4914188Sgblack@eecs.umich.edu /* 95 */ SyscallDesc("fsync", unimplementedFunc), 4924188Sgblack@eecs.umich.edu /* 96 */ SyscallDesc("setpriority", unimplementedFunc), 4934188Sgblack@eecs.umich.edu /* 97 */ SyscallDesc("socket", unimplementedFunc), 4944188Sgblack@eecs.umich.edu /* 98 */ SyscallDesc("connect", unimplementedFunc), 4954188Sgblack@eecs.umich.edu /* 99 */ SyscallDesc("accept", unimplementedFunc), 4964188Sgblack@eecs.umich.edu /* 100 */ SyscallDesc("getpriority", unimplementedFunc), 4974188Sgblack@eecs.umich.edu /* 101 */ SyscallDesc("rt_sigreturn", unimplementedFunc), 4984188Sgblack@eecs.umich.edu /* 102 */ SyscallDesc("rt_sigaction", ignoreFunc), 4996109Ssanchezd@stanford.edu /* 103 */ SyscallDesc("rt_sigprocmask", ignoreFunc), 5004188Sgblack@eecs.umich.edu /* 104 */ SyscallDesc("rt_sigpending", unimplementedFunc), 5014188Sgblack@eecs.umich.edu /* 105 */ SyscallDesc("rt_sigtimedwait", unimplementedFunc), 5024188Sgblack@eecs.umich.edu /* 106 */ SyscallDesc("rt_sigqueueinfo", unimplementedFunc), 5034188Sgblack@eecs.umich.edu /* 107 */ SyscallDesc("rt_sigsuspend", unimplementedFunc), 5044188Sgblack@eecs.umich.edu /* 108 */ SyscallDesc("setresuid", unimplementedFunc), 5054188Sgblack@eecs.umich.edu /* 109 */ SyscallDesc("getresuid", getresuidFunc), 5066109Ssanchezd@stanford.edu /* 110 */ SyscallDesc("setresgid", ignoreFunc), 5074188Sgblack@eecs.umich.edu /* 111 */ SyscallDesc("getresgid", unimplementedFunc), 5084188Sgblack@eecs.umich.edu /* 112 */ SyscallDesc("setregid32", unimplementedFunc), 5094188Sgblack@eecs.umich.edu /* 113 */ SyscallDesc("recvmsg", unimplementedFunc), 5104188Sgblack@eecs.umich.edu /* 114 */ SyscallDesc("sendmsg", unimplementedFunc), 5114188Sgblack@eecs.umich.edu /* 115 */ SyscallDesc("getgroups32", unimplementedFunc), 5126109Ssanchezd@stanford.edu /* 116 */ SyscallDesc("gettimeofday", gettimeofdayFunc<SparcLinux>), 5134188Sgblack@eecs.umich.edu /* 117 */ SyscallDesc("getrusage", unimplementedFunc), 5144188Sgblack@eecs.umich.edu /* 118 */ SyscallDesc("getsockopt", unimplementedFunc), 5154188Sgblack@eecs.umich.edu /* 119 */ SyscallDesc("getcwd", unimplementedFunc), 5164188Sgblack@eecs.umich.edu /* 120 */ SyscallDesc("readv", unimplementedFunc), 5174188Sgblack@eecs.umich.edu /* 121 */ SyscallDesc("writev", unimplementedFunc), 5184188Sgblack@eecs.umich.edu /* 122 */ SyscallDesc("settimeofday", unimplementedFunc), 5194188Sgblack@eecs.umich.edu /* 123 */ SyscallDesc("fchown", unimplementedFunc), 5204188Sgblack@eecs.umich.edu /* 124 */ SyscallDesc("fchmod", unimplementedFunc), 5214188Sgblack@eecs.umich.edu /* 125 */ SyscallDesc("recvfrom", unimplementedFunc), 5224188Sgblack@eecs.umich.edu /* 126 */ SyscallDesc("setreuid", unimplementedFunc), 5234188Sgblack@eecs.umich.edu /* 127 */ SyscallDesc("setregid", unimplementedFunc), 5244236Sgblack@eecs.umich.edu /* 128 */ SyscallDesc("rename", renameFunc), 5254188Sgblack@eecs.umich.edu /* 129 */ SyscallDesc("truncate", unimplementedFunc), 5264188Sgblack@eecs.umich.edu /* 130 */ SyscallDesc("ftruncate", unimplementedFunc), 5274188Sgblack@eecs.umich.edu /* 131 */ SyscallDesc("flock", unimplementedFunc), 5284188Sgblack@eecs.umich.edu /* 132 */ SyscallDesc("lstat64", unimplementedFunc), 5294188Sgblack@eecs.umich.edu /* 133 */ SyscallDesc("sendto", unimplementedFunc), 5304188Sgblack@eecs.umich.edu /* 134 */ SyscallDesc("shutdown", unimplementedFunc), 5314188Sgblack@eecs.umich.edu /* 135 */ SyscallDesc("socketpair", unimplementedFunc), 5325513SMichael.Adler@intel.com /* 136 */ SyscallDesc("mkdir", mkdirFunc), 5334188Sgblack@eecs.umich.edu /* 137 */ SyscallDesc("rmdir", unimplementedFunc), 5344188Sgblack@eecs.umich.edu /* 138 */ SyscallDesc("utimes", unimplementedFunc), 5354188Sgblack@eecs.umich.edu /* 139 */ SyscallDesc("stat64", unimplementedFunc), 5364188Sgblack@eecs.umich.edu /* 140 */ SyscallDesc("sendfile64", unimplementedFunc), 5374188Sgblack@eecs.umich.edu /* 141 */ SyscallDesc("getpeername", unimplementedFunc), 5384188Sgblack@eecs.umich.edu /* 142 */ SyscallDesc("futex", unimplementedFunc), 5394188Sgblack@eecs.umich.edu /* 143 */ SyscallDesc("gettid", unimplementedFunc), 5404188Sgblack@eecs.umich.edu /* 144 */ SyscallDesc("getrlimit", unimplementedFunc), 5414188Sgblack@eecs.umich.edu /* 145 */ SyscallDesc("setrlimit", unimplementedFunc), 5424188Sgblack@eecs.umich.edu /* 146 */ SyscallDesc("pivot_root", unimplementedFunc), 5434188Sgblack@eecs.umich.edu /* 147 */ SyscallDesc("prctl", unimplementedFunc), 5444188Sgblack@eecs.umich.edu /* 148 */ SyscallDesc("pciconfig_read", unimplementedFunc), 5454188Sgblack@eecs.umich.edu /* 149 */ SyscallDesc("pciconfig_write", unimplementedFunc), 5464188Sgblack@eecs.umich.edu /* 150 */ SyscallDesc("getsockname", unimplementedFunc), 5474188Sgblack@eecs.umich.edu /* 151 */ SyscallDesc("inotify_init", unimplementedFunc), 5484188Sgblack@eecs.umich.edu /* 152 */ SyscallDesc("inotify_add_watch", unimplementedFunc), 5494188Sgblack@eecs.umich.edu /* 153 */ SyscallDesc("poll", unimplementedFunc), 5504188Sgblack@eecs.umich.edu /* 154 */ SyscallDesc("getdents64", unimplementedFunc), 5514188Sgblack@eecs.umich.edu /* 155 */ SyscallDesc("fcntl64", unimplementedFunc), 5524188Sgblack@eecs.umich.edu /* 156 */ SyscallDesc("inotify_rm_watch", unimplementedFunc), 5534188Sgblack@eecs.umich.edu /* 157 */ SyscallDesc("statfs", unimplementedFunc), 5544188Sgblack@eecs.umich.edu /* 158 */ SyscallDesc("fstatfs", unimplementedFunc), 5554188Sgblack@eecs.umich.edu /* 159 */ SyscallDesc("umount", unimplementedFunc), 5564188Sgblack@eecs.umich.edu /* 160 */ SyscallDesc("sched_set_affinity", unimplementedFunc), 5574188Sgblack@eecs.umich.edu /* 161 */ SyscallDesc("sched_get_affinity", unimplementedFunc), 5584188Sgblack@eecs.umich.edu /* 162 */ SyscallDesc("getdomainname", unimplementedFunc), 5594188Sgblack@eecs.umich.edu /* 163 */ SyscallDesc("setdomainname", unimplementedFunc), 5604188Sgblack@eecs.umich.edu /* 164 */ SyscallDesc("utrap_install", unimplementedFunc), 5614188Sgblack@eecs.umich.edu /* 165 */ SyscallDesc("quotactl", unimplementedFunc), 5624188Sgblack@eecs.umich.edu /* 166 */ SyscallDesc("set_tid_address", unimplementedFunc), 5634188Sgblack@eecs.umich.edu /* 167 */ SyscallDesc("mount", unimplementedFunc), 5644188Sgblack@eecs.umich.edu /* 168 */ SyscallDesc("ustat", unimplementedFunc), 5654188Sgblack@eecs.umich.edu /* 169 */ SyscallDesc("setxattr", unimplementedFunc), 5664188Sgblack@eecs.umich.edu /* 170 */ SyscallDesc("lsetxattr", unimplementedFunc), 5674188Sgblack@eecs.umich.edu /* 171 */ SyscallDesc("fsetxattr", unimplementedFunc), 5684188Sgblack@eecs.umich.edu /* 172 */ SyscallDesc("getxattr", unimplementedFunc), 5694188Sgblack@eecs.umich.edu /* 173 */ SyscallDesc("lgetxattr", unimplementedFunc), 5704188Sgblack@eecs.umich.edu /* 174 */ SyscallDesc("getdents", unimplementedFunc), 5714188Sgblack@eecs.umich.edu /* 175 */ SyscallDesc("setsid", unimplementedFunc), 5724188Sgblack@eecs.umich.edu /* 176 */ SyscallDesc("fchdir", unimplementedFunc), 5734188Sgblack@eecs.umich.edu /* 177 */ SyscallDesc("fgetxattr", unimplementedFunc), 5744188Sgblack@eecs.umich.edu /* 178 */ SyscallDesc("listxattr", unimplementedFunc), 5754188Sgblack@eecs.umich.edu /* 179 */ SyscallDesc("llistxattr", unimplementedFunc), 5764188Sgblack@eecs.umich.edu /* 180 */ SyscallDesc("flistxattr", unimplementedFunc), 5774188Sgblack@eecs.umich.edu /* 181 */ SyscallDesc("removexattr", unimplementedFunc), 5784188Sgblack@eecs.umich.edu /* 182 */ SyscallDesc("lremovexattr", unimplementedFunc), 5794188Sgblack@eecs.umich.edu /* 183 */ SyscallDesc("sigpending", unimplementedFunc), 5804188Sgblack@eecs.umich.edu /* 184 */ SyscallDesc("query_module", unimplementedFunc), 5814188Sgblack@eecs.umich.edu /* 185 */ SyscallDesc("setpgid", unimplementedFunc), 5824188Sgblack@eecs.umich.edu /* 186 */ SyscallDesc("fremovexattr", unimplementedFunc), 5834188Sgblack@eecs.umich.edu /* 187 */ SyscallDesc("tkill", unimplementedFunc), 5846109Ssanchezd@stanford.edu /* 188 */ SyscallDesc("exit_group", exitGroupFunc), 5854188Sgblack@eecs.umich.edu /* 189 */ SyscallDesc("uname", unameFunc), 5864188Sgblack@eecs.umich.edu /* 190 */ SyscallDesc("init_module", unimplementedFunc), 5874188Sgblack@eecs.umich.edu /* 191 */ SyscallDesc("personality", unimplementedFunc), 5884188Sgblack@eecs.umich.edu /* 192 */ SyscallDesc("remap_file_pages", unimplementedFunc), 5894188Sgblack@eecs.umich.edu /* 193 */ SyscallDesc("epoll_create", unimplementedFunc), 5904188Sgblack@eecs.umich.edu /* 194 */ SyscallDesc("epoll_ctl", unimplementedFunc), 5914188Sgblack@eecs.umich.edu /* 195 */ SyscallDesc("epoll_wait", unimplementedFunc), 5924188Sgblack@eecs.umich.edu /* 196 */ SyscallDesc("ioprio_set", unimplementedFunc), 5934188Sgblack@eecs.umich.edu /* 197 */ SyscallDesc("getppid", getppidFunc), 5944188Sgblack@eecs.umich.edu /* 198 */ SyscallDesc("sigaction", ignoreFunc), 5954188Sgblack@eecs.umich.edu /* 199 */ SyscallDesc("sgetmask", unimplementedFunc), 5964188Sgblack@eecs.umich.edu /* 200 */ SyscallDesc("ssetmask", unimplementedFunc), 5974188Sgblack@eecs.umich.edu /* 201 */ SyscallDesc("sigsuspend", unimplementedFunc), 5984188Sgblack@eecs.umich.edu /* 202 */ SyscallDesc("oldlstat", unimplementedFunc), 5994188Sgblack@eecs.umich.edu /* 203 */ SyscallDesc("uselib", unimplementedFunc), 6004188Sgblack@eecs.umich.edu /* 204 */ SyscallDesc("readdir", unimplementedFunc), 6014188Sgblack@eecs.umich.edu /* 205 */ SyscallDesc("readahead", unimplementedFunc), 6024188Sgblack@eecs.umich.edu /* 206 */ SyscallDesc("socketcall", unimplementedFunc), 6034188Sgblack@eecs.umich.edu /* 207 */ SyscallDesc("syslog", unimplementedFunc), 6044188Sgblack@eecs.umich.edu /* 208 */ SyscallDesc("lookup_dcookie", unimplementedFunc), 6054188Sgblack@eecs.umich.edu /* 209 */ SyscallDesc("fadvise64", unimplementedFunc), 6064188Sgblack@eecs.umich.edu /* 210 */ SyscallDesc("fadvise64_64", unimplementedFunc), 6074188Sgblack@eecs.umich.edu /* 211 */ SyscallDesc("tgkill", unimplementedFunc), 6084188Sgblack@eecs.umich.edu /* 212 */ SyscallDesc("waitpid", unimplementedFunc), 6094188Sgblack@eecs.umich.edu /* 213 */ SyscallDesc("swapoff", unimplementedFunc), 6106640Svince@csl.cornell.edu /* 214 */ SyscallDesc("sysinfo", sysinfoFunc<SparcLinux>), 6114188Sgblack@eecs.umich.edu /* 215 */ SyscallDesc("ipc", unimplementedFunc), 6124188Sgblack@eecs.umich.edu /* 216 */ SyscallDesc("sigreturn", unimplementedFunc), 6136109Ssanchezd@stanford.edu /* 217 */ SyscallDesc("clone", cloneFunc), 6144188Sgblack@eecs.umich.edu /* 218 */ SyscallDesc("ioprio_get", unimplementedFunc), 6154188Sgblack@eecs.umich.edu /* 219 */ SyscallDesc("adjtimex", unimplementedFunc), 6164188Sgblack@eecs.umich.edu /* 220 */ SyscallDesc("sigprocmask", unimplementedFunc), 6174188Sgblack@eecs.umich.edu /* 221 */ SyscallDesc("create_module", unimplementedFunc), 6184188Sgblack@eecs.umich.edu /* 222 */ SyscallDesc("delete_module", unimplementedFunc), 6194188Sgblack@eecs.umich.edu /* 223 */ SyscallDesc("get_kernel_syms", unimplementedFunc), 6204188Sgblack@eecs.umich.edu /* 224 */ SyscallDesc("getpgid", unimplementedFunc), 6214188Sgblack@eecs.umich.edu /* 225 */ SyscallDesc("bdflush", unimplementedFunc), 6224188Sgblack@eecs.umich.edu /* 226 */ SyscallDesc("sysfs", unimplementedFunc), 6234188Sgblack@eecs.umich.edu /* 227 */ SyscallDesc("afs_syscall", unimplementedFunc), 6244188Sgblack@eecs.umich.edu /* 228 */ SyscallDesc("setfsuid", unimplementedFunc), 6254188Sgblack@eecs.umich.edu /* 229 */ SyscallDesc("setfsgid", unimplementedFunc), 6264188Sgblack@eecs.umich.edu /* 230 */ SyscallDesc("_newselect", unimplementedFunc), 6274264Sgblack@eecs.umich.edu /* 231 */ SyscallDesc("time", ignoreFunc), 6284188Sgblack@eecs.umich.edu /* 232 */ SyscallDesc("oldstat", unimplementedFunc), 6294188Sgblack@eecs.umich.edu /* 233 */ SyscallDesc("stime", unimplementedFunc), 6304188Sgblack@eecs.umich.edu /* 234 */ SyscallDesc("statfs64", unimplementedFunc), 6314188Sgblack@eecs.umich.edu /* 235 */ SyscallDesc("fstatfs64", unimplementedFunc), 6324188Sgblack@eecs.umich.edu /* 236 */ SyscallDesc("_llseek", _llseekFunc), 6334188Sgblack@eecs.umich.edu /* 237 */ SyscallDesc("mlock", unimplementedFunc), 6344188Sgblack@eecs.umich.edu /* 238 */ SyscallDesc("munlock", unimplementedFunc), 6354188Sgblack@eecs.umich.edu /* 239 */ SyscallDesc("mlockall", unimplementedFunc), 6364188Sgblack@eecs.umich.edu /* 240 */ SyscallDesc("munlockall", unimplementedFunc), 6374188Sgblack@eecs.umich.edu /* 241 */ SyscallDesc("sched_setparam", unimplementedFunc), 6384188Sgblack@eecs.umich.edu /* 242 */ SyscallDesc("sched_getparam", unimplementedFunc), 6394188Sgblack@eecs.umich.edu /* 243 */ SyscallDesc("sched_setscheduler", unimplementedFunc), 6404188Sgblack@eecs.umich.edu /* 244 */ SyscallDesc("sched_getscheduler", unimplementedFunc), 6414188Sgblack@eecs.umich.edu /* 245 */ SyscallDesc("sched_yield", unimplementedFunc), 6424188Sgblack@eecs.umich.edu /* 246 */ SyscallDesc("sched_get_priority_max", unimplementedFunc), 6434188Sgblack@eecs.umich.edu /* 247 */ SyscallDesc("sched_get_priority_min", unimplementedFunc), 6444188Sgblack@eecs.umich.edu /* 248 */ SyscallDesc("sched_rr_get_interval", unimplementedFunc), 6454188Sgblack@eecs.umich.edu /* 249 */ SyscallDesc("nanosleep", unimplementedFunc), 6465877Shsul@eecs.umich.edu /* 250 */ SyscallDesc("mremap", mremapFunc<SparcLinux>), 6474188Sgblack@eecs.umich.edu /* 251 */ SyscallDesc("_sysctl", unimplementedFunc), 6484188Sgblack@eecs.umich.edu /* 252 */ SyscallDesc("getsid", unimplementedFunc), 6494188Sgblack@eecs.umich.edu /* 253 */ SyscallDesc("fdatasync", unimplementedFunc), 6504188Sgblack@eecs.umich.edu /* 254 */ SyscallDesc("nfsservctl", unimplementedFunc), 6514188Sgblack@eecs.umich.edu /* 255 */ SyscallDesc("aplib", unimplementedFunc), 6524188Sgblack@eecs.umich.edu /* 256 */ SyscallDesc("clock_settime", unimplementedFunc), 6534188Sgblack@eecs.umich.edu /* 257 */ SyscallDesc("clock_gettime", unimplementedFunc), 6544188Sgblack@eecs.umich.edu /* 258 */ SyscallDesc("clock_getres", unimplementedFunc), 6554188Sgblack@eecs.umich.edu /* 259 */ SyscallDesc("clock_nanosleep", unimplementedFunc), 6564188Sgblack@eecs.umich.edu /* 260 */ SyscallDesc("sched_getaffinity", unimplementedFunc), 6574188Sgblack@eecs.umich.edu /* 261 */ SyscallDesc("sched_setaffinity", unimplementedFunc), 6584188Sgblack@eecs.umich.edu /* 262 */ SyscallDesc("timer_settime", unimplementedFunc), 6594188Sgblack@eecs.umich.edu /* 263 */ SyscallDesc("timer_gettime", unimplementedFunc), 6604188Sgblack@eecs.umich.edu /* 264 */ SyscallDesc("timer_getoverrun", unimplementedFunc), 6614188Sgblack@eecs.umich.edu /* 265 */ SyscallDesc("timer_delete", unimplementedFunc), 6624188Sgblack@eecs.umich.edu /* 266 */ SyscallDesc("timer_create", unimplementedFunc), 6634188Sgblack@eecs.umich.edu /* 267 */ SyscallDesc("vserver", unimplementedFunc), 6644188Sgblack@eecs.umich.edu /* 268 */ SyscallDesc("io_setup", unimplementedFunc), 6654188Sgblack@eecs.umich.edu /* 269 */ SyscallDesc("io_destroy", unimplementedFunc), 6664188Sgblack@eecs.umich.edu /* 270 */ SyscallDesc("io_submit", unimplementedFunc), 6674188Sgblack@eecs.umich.edu /* 271 */ SyscallDesc("io_cancel", unimplementedFunc), 6684188Sgblack@eecs.umich.edu /* 272 */ SyscallDesc("io_getevents", unimplementedFunc), 6694188Sgblack@eecs.umich.edu /* 273 */ SyscallDesc("mq_open", unimplementedFunc), 6704188Sgblack@eecs.umich.edu /* 274 */ SyscallDesc("mq_unlink", unimplementedFunc), 6714188Sgblack@eecs.umich.edu /* 275 */ SyscallDesc("mq_timedsend", unimplementedFunc), 6724188Sgblack@eecs.umich.edu /* 276 */ SyscallDesc("mq_timedreceive", unimplementedFunc), 6734188Sgblack@eecs.umich.edu /* 277 */ SyscallDesc("mq_notify", unimplementedFunc), 6744188Sgblack@eecs.umich.edu /* 278 */ SyscallDesc("mq_getsetattr", unimplementedFunc), 6754188Sgblack@eecs.umich.edu /* 279 */ SyscallDesc("waitid", unimplementedFunc), 6764188Sgblack@eecs.umich.edu /* 280 */ SyscallDesc("sys_setaltroot", unimplementedFunc), 6774188Sgblack@eecs.umich.edu /* 281 */ SyscallDesc("add_key", unimplementedFunc), 6784188Sgblack@eecs.umich.edu /* 282 */ SyscallDesc("request_key", unimplementedFunc), 6794188Sgblack@eecs.umich.edu /* 283 */ SyscallDesc("keyctl", unimplementedFunc) 6804188Sgblack@eecs.umich.edu}; 6814188Sgblack@eecs.umich.edu 6826075Sgblack@eecs.umich.educonst int SparcLinuxProcess::Num_Syscall_Descs = 6836075Sgblack@eecs.umich.edu sizeof(SparcLinuxProcess::syscallDescs) / sizeof(SyscallDesc); 6846075Sgblack@eecs.umich.edu 6854188Sgblack@eecs.umich.edu} // namespace SparcISA 686