return 0;
}
-SyscallDescTable<PowerProcess::SyscallABI> PowerLinuxProcess::syscallDescs = {
- { 0, "syscall" },
- { 1, "exit", exitFunc },
- { 2, "fork" },
- { 3, "read", readFunc<PowerLinux> },
- { 4, "write", writeFunc<PowerLinux> },
- { 5, "open", openFunc<PowerLinux> },
- { 6, "close", closeFunc },
- { 7, "waitpid" }, //???
- { 8, "creat" },
- { 9, "link" },
- { 10, "unlink", unlinkFunc },
- { 11, "execve" },
- { 12, "chdir" },
- { 13, "time", timeFunc<PowerLinux> },
- { 14, "mknod" },
- { 15, "chmod", chmodFunc<PowerLinux> },
- { 16, "lchown", chownFunc },
- { 17, "break", brkFunc }, //???
- { 18, "unused#18" }, //???
- { 19, "lseek", lseekFunc },
- { 20, "getpid", getpidFunc },
- { 21, "mount" },
- { 22, "umount" },
- { 23, "setuid", ignoreFunc },
- { 24, "getuid", getuidFunc },
- { 25, "stime" },
- { 26, "ptrace" },
- { 27, "alarm" },
- { 28, "unused#28" },
- { 29, "pause" },
- { 30, "utime" },
- { 31, "stty" },
- { 32, "gtty" },
- { 33, "access" },
- { 34, "nice" },
- { 35, "ftime" },
- { 36, "sync" },
- { 37, "kill", ignoreFunc },
- { 38, "rename", renameFunc },
- { 39, "mkdir" },
- { 40, "rmdir" },
- { 41, "dup", dupFunc },
- { 42, "pipe" },
- { 43, "times", timesFunc<PowerLinux> },
- { 44, "prof" },
- { 45, "brk", brkFunc },
- { 46, "setgid" },
- { 47, "getgid", getgidFunc },
- { 48, "signal", ignoreFunc },
- { 49, "geteuid", geteuidFunc },
- { 50, "getegid", getegidFunc },
- { 51, "acct" },
- { 52, "umount2" },
- { 53, "lock" },
- { 54, "ioctl", ioctlFunc<PowerLinux> },
- { 55, "fcntl", fcntlFunc },
- { 56, "mpx" },
- { 57, "setpgid" },
- { 58, "ulimit" },
- { 59, "unused#59" },
- { 60, "umask", umaskFunc },
- { 61, "chroot" },
- { 62, "ustat" },
- { 63, "dup2" },
- { 64, "getppid", getpagesizeFunc },
- { 65, "getpgrp" },
- { 66, "setsid" },
- { 67, "sigaction" },
- { 68, "sgetmask" },
- { 69, "ssetmask" },
- { 70, "setreuid" },
- { 71, "setregid" },
- { 72, "sigsuspend" },
- { 73, "sigpending" },
- { 74, "sethostname", ignoreFunc },
- { 75, "setrlimit", ignoreFunc },
- { 76, "getrlimit" },
- { 77, "getrusage", ignoreFunc },
- { 78, "gettimeofday" },
- { 79, "settimeofday" },
- { 80, "getgroups" },
- { 81, "setgroups" },
- { 82, "reserved#82" },
- { 83, "symlink" },
- { 84, "unused#84" },
- { 85, "readlink", readlinkFunc },
- { 86, "uselib" },
- { 87, "swapon", gethostnameFunc },
- { 88, "reboot" },
- { 89, "readdir" },
- { 90, "mmap", mmapFunc<PowerLinux> },
- { 91, "munmap",munmapFunc },
- { 92, "truncate", truncateFunc },
- { 93, "ftruncate", ftruncateFunc },
- { 94, "fchmod" },
- { 95, "fchown" },
- { 96, "getpriority" },
- { 97, "setpriority" },
- { 98, "profil" },
- { 99, "statfs" },
- { 100, "fstatfs" },
- { 101, "ioperm" },
- { 102, "socketcall" },
- { 103, "syslog" },
- { 104, "setitimer" },
- { 105, "getitimer" },
- { 106, "stat", statFunc<PowerLinux> },
- { 107, "lstat" },
- { 108, "fstat", fstatFunc<PowerLinux> },
- { 109, "unused#109" },
- { 110, "iopl" },
- { 111, "vhangup" },
- { 112, "idle", ignoreFunc },
- { 113, "vm86" },
- { 114, "wait4" },
- { 115, "swapoff" },
- { 116, "sysinfo" },
- { 117, "ipc" },
- { 118, "fsync" },
- { 119, "sigreturn" },
- { 120, "clone" },
- { 121, "setdomainname" },
- { 122, "uname", unameFunc },
- { 123, "modify_ldt" },
- { 124, "adjtimex" },
- { 125, "mprotect", ignoreFunc },
- { 126, "sigprocmask" },
- { 127, "create_module" },
- { 128, "init_module" },
- { 129, "delete_module" },
- { 130, "get_kernel_syms" },
- { 131, "quotactl" },
- { 132, "getpgid" },
- { 133, "fchdir" },
- { 134, "bdflush" },
- { 135, "sysfs" },
- { 136, "personality" },
- { 137, "afs_syscall" },
- { 138, "setfsuid" },
- { 139, "setfsgid" },
- { 140, "llseek", _llseekFunc },
- { 141, "getdents" },
- { 142, "newselect" },
- { 143, "flock" },
- { 144, "msync" },
- { 145, "readv" },
- { 146, "writev", writevFunc<PowerLinux> },
- { 147, "getsid" },
- { 148, "fdatasync" },
- { 149, "sysctl" },
- { 150, "mlock" },
- { 151, "munlock" },
- { 152, "mlockall" },
- { 153, "munlockall" },
- { 154, "sched_setparam" },
- { 155, "sched_getparam" },
- { 156, "sched_setscheduler" },
- { 157, "sched_getscheduler" },
- { 158, "sched_yield" },
- { 159, "sched_get_priority_max" },
- { 160, "sched_get_priority_min" },
- { 161, "sched_rr_get_interval" },
- { 162, "nanosleep" },
- { 163, "mremap" },
- { 164, "setresuid" },
- { 165, "getresuid" },
- { 166, "vm862" },
- { 167, "query_module" },
- { 168, "poll" },
- { 169, "nfsservctl" },
- { 170, "setresgid" },
- { 171, "getresgid" },
- { 172, "prctl" },
- { 173, "rt_sigaction", ignoreFunc },
- { 174, "rt_sigprocmask" },
- { 175, "unknown#175" },
- { 176, "rt_sigpending" },
- { 177, "rt_sigtimedwait" },
- { 178, "rt_sigqueueinfo", ignoreFunc },
- { 179, "rt_sigsuspend" },
- { 180, "pread64" },
- { 181, "pwrite64" },
- { 182, "chown" },
- { 183, "getcwd" },
- { 184, "capget" },
- { 185, "capset" },
- { 186, "sigaltstack" },
- { 187, "sendfile" },
- { 188, "getpmsg" },
- { 189, "putpmsg" },
- { 190, "ugetrlimit", ignoreFunc },
- { 191, "getrlimit" },
- { 192, "mmap2", mmapFunc<PowerLinux> },
- { 193, "truncate64" },
- { 194, "ftruncate64", ftruncate64Func },
- { 195, "stat64", stat64Func<PowerLinux> },
- { 196, "lstat64", lstat64Func<PowerLinux> },
- { 197, "fstat64", fstat64Func<PowerLinux> },
- { 198, "lchown" },
- { 199, "getuid", getuidFunc },
- { 200, "getgid", getgidFunc },
- { 201, "geteuid", geteuidFunc },
- { 202, "getegid", getegidFunc },
- { 203, "setreuid" },
- { 204, "fcntl64", fcntl64Func },
- { 205, "getgroups" },
- { 206, "setgroups" },
- { 207, "fchown" },
- { 208, "setresuid" },
- { 209, "getresuid" },
- { 210, "setresgid" },
- { 211, "getresgid" },
- { 212, "chown" },
- { 213, "setuid" },
- { 214, "setgid" },
- { 215, "setfsuid" },
- { 216, "setfsgid" },
- { 217, "getdents64" },
- { 218, "pivot_root" },
- { 219, "mincore" },
- { 220, "madvise" },
- { 221, "unknown#221" },
- { 222, "tux" },
- { 223, "unknown#223" },
- { 224, "gettid" },
- { 225, "readahead" },
- { 226, "setxattr" },
- { 227, "lsetxattr" },
- { 228, "fsetxattr" },
- { 229, "getxattr" },
- { 230, "lgetxattr" },
- { 231, "fgetxattr" },
- { 232, "listxattr" },
- { 233, "llistxattr" },
- { 234, "exit_group", exitGroupFunc },
- { 235, "removexattr" },
- { 236, "lremovexattr" },
- { 237, "fremovexattr" },
- { 238, "tkill" },
- { 239, "sendfile64" },
- { 240, "futex" },
- { 241, "sched_setaffinity" },
- { 242, "sched_getaffinity" },
- { 243, "io_setup" },
- { 244, "io_destory" },
- { 245, "io_getevents" },
- { 246, "io_submit" },
- { 247, "io_cancel" },
- { 248, "unknown#248" },
- { 249, "lookup_dcookie" },
- { 250, "epoll_create" },
- { 251, "epoll_ctl" },
- { 252, "epoll_wait" },
- { 253, "remap_file_pages" },
- { 254, "set_thread_area" },
- { 255, "get_thread_area" },
- { 256, "set_tid_address" },
- { 257, "timer_create" },
- { 258, "timer_settime" },
- { 259, "timer_gettime" },
- { 260, "timer_getoverrun" },
- { 261, "timer_delete" },
- { 262, "clock_settime" },
- { 263, "clock_gettime" },
- { 264, "clock_getres" },
- { 265, "clock_nanosleep" },
- { 266, "statfs64" },
- { 267, "fstatfs64" },
- { 268, "tgkill" },
- { 269, "utimes" },
- { 270, "arm_fadvise64_64" },
- { 271, "pciconfig_iobase" },
- { 272, "pciconfig_read" },
- { 273, "pciconfig_write" },
- { 274, "mq_open" },
- { 275, "mq_unlink" },
- { 276, "mq_timedsend" },
- { 277, "mq_timedreceive" },
- { 278, "mq_notify" },
- { 279, "mq_getsetattr" },
- { 280, "waitid" },
- { 281, "socket" },
- { 282, "bind" },
- { 283, "connect" },
- { 284, "listen" },
- { 285, "accept" },
- { 286, "getsockname" },
- { 287, "getpeername" },
- { 288, "socketpair" },
- { 289, "send" },
- { 290, "sendto" },
- { 291, "recv" },
- { 292, "recvfrom" },
- { 293, "shutdown" },
- { 294, "setsockopt" },
- { 295, "getsockopt" },
- { 296, "sendmsg" },
- { 297, "rcvmsg" },
- { 298, "semop" },
- { 299, "semget" },
- { 300, "semctl" },
- { 301, "msgsend" },
- { 302, "msgrcv" },
- { 303, "msgget" },
- { 304, "msgctl" },
- { 305, "shmat" },
- { 306, "shmdt" },
- { 307, "shmget" },
- { 308, "shmctl" },
- { 309, "add_key" },
- { 310, "request_key" },
- { 311, "keyctl" },
- { 312, "semtimedop" },
- { 313, "vserver" },
- { 314, "ioprio_set" },
- { 315, "ioprio_get" },
- { 316, "inotify_init" },
- { 317, "inotify_add_watch" },
- { 318, "inotify_rm_watch" },
- { 319, "mbind" },
- { 320, "get_mempolicy" },
- { 321, "set_mempolicy" },
- { 322, "openat" },
- { 323, "mkdirat" },
- { 324, "mknodat" },
- { 325, "fchownat" },
- { 326, "futimesat" },
- { 327, "fstatat64" },
- { 328, "unlinkat" },
- { 329, "renameat" },
- { 330, "linkat" },
- { 331, "symlinkat" },
- { 332, "readlinkat" },
- { 333, "fchmodat" },
- { 334, "faccessat" },
- { 335, "pselect6" },
- { 336, "ppoll" },
- { 337, "unshare" },
- { 338, "set_robust_list" },
- { 339, "get_robust_list" },
- { 340, "splice" },
- { 341, "arm_sync_file_range" },
- { 342, "tee" },
- { 343, "vmsplice" },
- { 344, "move_pages" },
- { 345, "getcpu" },
- { 346, "epoll_pwait" },
+SyscallDesc PowerLinuxProcess::syscallDescs[] = {
+ /* 0 */ SyscallDesc("syscall", unimplementedFunc),
+ /* 1 */ SyscallDesc("exit", exitFunc),
+ /* 2 */ SyscallDesc("fork", unimplementedFunc),
+ /* 3 */ SyscallDesc("read", readFunc),
+ /* 4 */ SyscallDesc("write", writeFunc),
+ /* 5 */ SyscallDesc("open", openFunc<PowerLinux>),
+ /* 6 */ SyscallDesc("close", closeFunc),
+ /* 7 */ SyscallDesc("waitpid", unimplementedFunc), //???
+ /* 8 */ SyscallDesc("creat", unimplementedFunc),
+ /* 9 */ SyscallDesc("link", unimplementedFunc),
+ /* 10 */ SyscallDesc("unlink", unlinkFunc),
+ /* 11 */ SyscallDesc("execve", unimplementedFunc),
+ /* 12 */ SyscallDesc("chdir", unimplementedFunc),
+ /* 13 */ SyscallDesc("time", timeFunc<PowerLinux>),
+ /* 14 */ SyscallDesc("mknod", unimplementedFunc),
+ /* 15 */ SyscallDesc("chmod", chmodFunc<PowerLinux>),
+ /* 16 */ SyscallDesc("lchown", chownFunc),
+ /* 17 */ SyscallDesc("break", brkFunc), //???
+ /* 18 */ SyscallDesc("unused#18", unimplementedFunc), //???
+ /* 19 */ SyscallDesc("lseek", lseekFunc),
+ /* 20 */ SyscallDesc("getpid", getpidFunc),
+ /* 21 */ SyscallDesc("mount", unimplementedFunc),
+ /* 22 */ SyscallDesc("umount", unimplementedFunc),
+ /* 23 */ SyscallDesc("setuid", setuidFunc),
+ /* 24 */ SyscallDesc("getuid", getuidFunc),
+ /* 25 */ SyscallDesc("stime", unimplementedFunc),
+ /* 26 */ SyscallDesc("ptrace", unimplementedFunc),
+ /* 27 */ SyscallDesc("alarm", unimplementedFunc),
+ /* 28 */ SyscallDesc("unused#28", unimplementedFunc),
+ /* 29 */ SyscallDesc("pause", unimplementedFunc),
+ /* 30 */ SyscallDesc("utime", unimplementedFunc),
+ /* 31 */ SyscallDesc("stty", unimplementedFunc),
+ /* 32 */ SyscallDesc("gtty", unimplementedFunc),
+ /* 33 */ SyscallDesc("access", unimplementedFunc),
+ /* 34 */ SyscallDesc("nice", unimplementedFunc),
+ /* 35 */ SyscallDesc("ftime", unimplementedFunc),
+ /* 36 */ SyscallDesc("sync", unimplementedFunc),
+ /* 37 */ SyscallDesc("kill", ignoreFunc),
+ /* 38 */ SyscallDesc("rename", renameFunc),
+ /* 39 */ SyscallDesc("mkdir", unimplementedFunc),
+ /* 40 */ SyscallDesc("rmdir", unimplementedFunc),
+ /* 41 */ SyscallDesc("dup", dupFunc),
+ /* 42 */ SyscallDesc("pipe", unimplementedFunc),
+ /* 43 */ SyscallDesc("times", timesFunc<PowerLinux>),
+ /* 44 */ SyscallDesc("prof", unimplementedFunc),
+ /* 45 */ SyscallDesc("brk", brkFunc),
+ /* 46 */ SyscallDesc("setgid", unimplementedFunc),
+ /* 47 */ SyscallDesc("getgid", getgidFunc),
+ /* 48 */ SyscallDesc("signal", ignoreFunc),
+ /* 49 */ SyscallDesc("geteuid", geteuidFunc),
+ /* 50 */ SyscallDesc("getegid", getegidFunc),
+ /* 51 */ SyscallDesc("acct", unimplementedFunc),
+ /* 52 */ SyscallDesc("umount2", unimplementedFunc),
+ /* 53 */ SyscallDesc("lock", unimplementedFunc),
+ /* 54 */ SyscallDesc("ioctl", ioctlFunc<PowerLinux>),
+ /* 55 */ SyscallDesc("fcntl", fcntlFunc),
+ /* 56 */ SyscallDesc("mpx", unimplementedFunc),
+ /* 57 */ SyscallDesc("setpgid", unimplementedFunc),
+ /* 58 */ SyscallDesc("ulimit", unimplementedFunc),
+ /* 59 */ SyscallDesc("unused#59", unimplementedFunc),
+ /* 60 */ SyscallDesc("umask", umaskFunc),
+ /* 61 */ SyscallDesc("chroot", unimplementedFunc),
+ /* 62 */ SyscallDesc("ustat", unimplementedFunc),
+ /* 63 */ SyscallDesc("dup2", unimplementedFunc),
+ /* 64 */ SyscallDesc("getppid", getpagesizeFunc),
+ /* 65 */ SyscallDesc("getpgrp", unimplementedFunc),
+ /* 66 */ SyscallDesc("setsid", unimplementedFunc),
+ /* 67 */ SyscallDesc("sigaction",unimplementedFunc),
+ /* 68 */ SyscallDesc("sgetmask", unimplementedFunc),
+ /* 69 */ SyscallDesc("ssetmask", unimplementedFunc),
+ /* 70 */ SyscallDesc("setreuid", unimplementedFunc),
+ /* 71 */ SyscallDesc("setregid", unimplementedFunc),
+ /* 72 */ SyscallDesc("sigsuspend", unimplementedFunc),
+ /* 73 */ SyscallDesc("sigpending", unimplementedFunc),
+ /* 74 */ SyscallDesc("sethostname", ignoreFunc),
+ /* 75 */ SyscallDesc("setrlimit", ignoreFunc),
+ /* 76 */ SyscallDesc("getrlimit", unimplementedFunc),
+ /* 77 */ SyscallDesc("getrusage", ignoreFunc),
+ /* 78 */ SyscallDesc("gettimeofday", unimplementedFunc),
+ /* 79 */ SyscallDesc("settimeofday", unimplementedFunc),
+ /* 80 */ SyscallDesc("getgroups", unimplementedFunc),
+ /* 81 */ SyscallDesc("setgroups", unimplementedFunc),
+ /* 82 */ SyscallDesc("reserved#82", unimplementedFunc),
+ /* 83 */ SyscallDesc("symlink", unimplementedFunc),
+ /* 84 */ SyscallDesc("unused#84", unimplementedFunc),
+ /* 85 */ SyscallDesc("readlink", readlinkFunc),
+ /* 86 */ SyscallDesc("uselib", unimplementedFunc),
+ /* 87 */ SyscallDesc("swapon", gethostnameFunc),
+ /* 88 */ SyscallDesc("reboot", unimplementedFunc),
+ /* 89 */ SyscallDesc("readdir", unimplementedFunc),
+ /* 90 */ SyscallDesc("mmap", mmapFunc<PowerLinux>),
+ /* 91 */ SyscallDesc("munmap",munmapFunc),
+ /* 92 */ SyscallDesc("truncate", truncateFunc),
+ /* 93 */ SyscallDesc("ftruncate", ftruncateFunc),
+ /* 94 */ SyscallDesc("fchmod", unimplementedFunc),
+ /* 95 */ SyscallDesc("fchown", unimplementedFunc),
+ /* 96 */ SyscallDesc("getpriority", unimplementedFunc),
+ /* 97 */ SyscallDesc("setpriority", unimplementedFunc),
+ /* 98 */ SyscallDesc("profil", unimplementedFunc),
+ /* 99 */ SyscallDesc("statfs", unimplementedFunc),
+ /* 100 */ SyscallDesc("fstatfs", unimplementedFunc),
+ /* 101 */ SyscallDesc("ioperm", unimplementedFunc),
+ /* 102 */ SyscallDesc("socketcall", unimplementedFunc),
+ /* 103 */ SyscallDesc("syslog", unimplementedFunc),
+ /* 104 */ SyscallDesc("setitimer", unimplementedFunc),
+ /* 105 */ SyscallDesc("getitimer", unimplementedFunc),
+ /* 106 */ SyscallDesc("stat", statFunc<PowerLinux>),
+ /* 107 */ SyscallDesc("lstat", unimplementedFunc),
+ /* 108 */ SyscallDesc("fstat", fstatFunc<PowerLinux>),
+ /* 109 */ SyscallDesc("unused#109", unimplementedFunc),
+ /* 110 */ SyscallDesc("iopl", unimplementedFunc),
+ /* 111 */ SyscallDesc("vhangup", unimplementedFunc),
+ /* 112 */ SyscallDesc("idle", ignoreFunc),
+ /* 113 */ SyscallDesc("vm86", unimplementedFunc),
+ /* 114 */ SyscallDesc("wait4", unimplementedFunc),
+ /* 115 */ SyscallDesc("swapoff", unimplementedFunc),
+ /* 116 */ SyscallDesc("sysinfo", unimplementedFunc),
+ /* 117 */ SyscallDesc("ipc", unimplementedFunc),
+ /* 118 */ SyscallDesc("fsync", unimplementedFunc),
+ /* 119 */ SyscallDesc("sigreturn", unimplementedFunc),
+ /* 120 */ SyscallDesc("clone", unimplementedFunc),
+ /* 121 */ SyscallDesc("setdomainname", unimplementedFunc),
+ /* 122 */ SyscallDesc("uname", unameFunc),
+ /* 123 */ SyscallDesc("modify_ldt", unimplementedFunc),
+ /* 124 */ SyscallDesc("adjtimex", unimplementedFunc),
+ /* 125 */ SyscallDesc("mprotect", ignoreFunc),
+ /* 126 */ SyscallDesc("sigprocmask", unimplementedFunc),
+ /* 127 */ SyscallDesc("create_module", unimplementedFunc),
+ /* 128 */ SyscallDesc("init_module", unimplementedFunc),
+ /* 129 */ SyscallDesc("delete_module", unimplementedFunc),
+ /* 130 */ SyscallDesc("get_kernel_syms", unimplementedFunc),
+ /* 131 */ SyscallDesc("quotactl", unimplementedFunc),
+ /* 132 */ SyscallDesc("getpgid", unimplementedFunc),
+ /* 133 */ SyscallDesc("fchdir", unimplementedFunc),
+ /* 134 */ SyscallDesc("bdflush", unimplementedFunc),
+ /* 135 */ SyscallDesc("sysfs", unimplementedFunc),
+ /* 136 */ SyscallDesc("personality", unimplementedFunc),
+ /* 137 */ SyscallDesc("afs_syscall", unimplementedFunc),
+ /* 138 */ SyscallDesc("setfsuid", unimplementedFunc),
+ /* 139 */ SyscallDesc("setfsgid", unimplementedFunc),
+ /* 140 */ SyscallDesc("llseek", _llseekFunc),
+ /* 141 */ SyscallDesc("getdents", unimplementedFunc),
+ /* 142 */ SyscallDesc("newselect", unimplementedFunc),
+ /* 143 */ SyscallDesc("flock", unimplementedFunc),
+ /* 144 */ SyscallDesc("msync", unimplementedFunc),
+ /* 145 */ SyscallDesc("readv", unimplementedFunc),
+ /* 146 */ SyscallDesc("writev", writevFunc<PowerLinux>),
+ /* 147 */ SyscallDesc("getsid", unimplementedFunc),
+ /* 148 */ SyscallDesc("fdatasync", unimplementedFunc),
+ /* 149 */ SyscallDesc("sysctl", unimplementedFunc),
+ /* 150 */ SyscallDesc("mlock", unimplementedFunc),
+ /* 151 */ SyscallDesc("munlock", unimplementedFunc),
+ /* 152 */ SyscallDesc("mlockall", unimplementedFunc),
+ /* 153 */ SyscallDesc("munlockall", unimplementedFunc),
+ /* 154 */ SyscallDesc("sched_setparam", unimplementedFunc),
+ /* 155 */ SyscallDesc("sched_getparam", unimplementedFunc),
+ /* 156 */ SyscallDesc("sched_setscheduler", unimplementedFunc),
+ /* 157 */ SyscallDesc("sched_getscheduler", unimplementedFunc),
+ /* 158 */ SyscallDesc("sched_yield", unimplementedFunc),
+ /* 159 */ SyscallDesc("sched_get_priority_max", unimplementedFunc),
+ /* 160 */ SyscallDesc("sched_get_priority_min", unimplementedFunc),
+ /* 161 */ SyscallDesc("sched_rr_get_interval", unimplementedFunc),
+ /* 162 */ SyscallDesc("nanosleep", unimplementedFunc),
+ /* 163 */ SyscallDesc("mremap", unimplementedFunc),
+ /* 164 */ SyscallDesc("setresuid", unimplementedFunc),
+ /* 165 */ SyscallDesc("getresuid", unimplementedFunc),
+ /* 166 */ SyscallDesc("vm862", unimplementedFunc),
+ /* 167 */ SyscallDesc("query_module", unimplementedFunc),
+ /* 168 */ SyscallDesc("poll", unimplementedFunc),
+ /* 169 */ SyscallDesc("nfsservctl", unimplementedFunc),
+ /* 170 */ SyscallDesc("setresgid", unimplementedFunc),
+ /* 171 */ SyscallDesc("getresgid", unimplementedFunc),
+ /* 172 */ SyscallDesc("prctl", unimplementedFunc),
+ /* 173 */ SyscallDesc("rt_sigaction", ignoreFunc),
+ /* 174 */ SyscallDesc("rt_sigprocmask", unimplementedFunc),
+ /* 175 */ SyscallDesc("unknown#175", unimplementedFunc),
+ /* 176 */ SyscallDesc("rt_sigpending", unimplementedFunc),
+ /* 177 */ SyscallDesc("rt_sigtimedwait", unimplementedFunc),
+ /* 178 */ SyscallDesc("rt_sigqueueinfo", ignoreFunc),
+ /* 179 */ SyscallDesc("rt_sigsuspend", unimplementedFunc),
+ /* 180 */ SyscallDesc("pread64", unimplementedFunc),
+ /* 181 */ SyscallDesc("pwrite64", unimplementedFunc),
+ /* 182 */ SyscallDesc("chown", unimplementedFunc),
+ /* 183 */ SyscallDesc("getcwd", unimplementedFunc),
+ /* 184 */ SyscallDesc("capget", unimplementedFunc),
+ /* 185 */ SyscallDesc("capset", unimplementedFunc),
+ /* 186 */ SyscallDesc("sigaltstack", unimplementedFunc),
+ /* 187 */ SyscallDesc("sendfile", unimplementedFunc),
+ /* 188 */ SyscallDesc("getpmsg", unimplementedFunc),
+ /* 189 */ SyscallDesc("putpmsg", unimplementedFunc),
+ /* 190 */ SyscallDesc("ugetrlimit", ignoreFunc),
+ /* 191 */ SyscallDesc("getrlimit", unimplementedFunc),
+ /* 192 */ SyscallDesc("mmap2", mmapFunc<PowerLinux>),
+ /* 193 */ SyscallDesc("truncate64", unimplementedFunc),
+ /* 194 */ SyscallDesc("ftruncate64", ftruncate64Func),
+ /* 195 */ SyscallDesc("stat64", stat64Func<PowerLinux>),
+ /* 196 */ SyscallDesc("lstat64", lstat64Func<PowerLinux>),
+ /* 197 */ SyscallDesc("fstat64", fstat64Func<PowerLinux>),
+ /* 198 */ SyscallDesc("lchown", unimplementedFunc),
+ /* 199 */ SyscallDesc("getuid", getuidFunc),
+ /* 200 */ SyscallDesc("getgid", getgidFunc),
+ /* 201 */ SyscallDesc("geteuid", geteuidFunc),
+ /* 202 */ SyscallDesc("getegid", getegidFunc),
+ /* 203 */ SyscallDesc("setreuid", unimplementedFunc),
+ /* 204 */ SyscallDesc("fcntl64", fcntl64Func),
+ /* 205 */ SyscallDesc("getgroups", unimplementedFunc),
+ /* 206 */ SyscallDesc("setgroups", unimplementedFunc),
+ /* 207 */ SyscallDesc("fchown", unimplementedFunc),
+ /* 208 */ SyscallDesc("setresuid", unimplementedFunc),
+ /* 209 */ SyscallDesc("getresuid", unimplementedFunc),
+ /* 210 */ SyscallDesc("setresgid", unimplementedFunc),
+ /* 211 */ SyscallDesc("getresgid", unimplementedFunc),
+ /* 212 */ SyscallDesc("chown", unimplementedFunc),
+ /* 213 */ SyscallDesc("setuid", unimplementedFunc),
+ /* 214 */ SyscallDesc("setgid", unimplementedFunc),
+ /* 215 */ SyscallDesc("setfsuid", unimplementedFunc),
+ /* 216 */ SyscallDesc("setfsgid", unimplementedFunc),
+ /* 217 */ SyscallDesc("getdents64", unimplementedFunc),
+ /* 218 */ SyscallDesc("pivot_root", unimplementedFunc),
+ /* 219 */ SyscallDesc("mincore", unimplementedFunc),
+ /* 220 */ SyscallDesc("madvise", unimplementedFunc),
+ /* 221 */ SyscallDesc("unknown#221", unimplementedFunc),
+ /* 222 */ SyscallDesc("tux", unimplementedFunc),
+ /* 223 */ SyscallDesc("unknown#223", unimplementedFunc),
+ /* 224 */ SyscallDesc("gettid", unimplementedFunc),
+ /* 225 */ SyscallDesc("readahead", unimplementedFunc),
+ /* 226 */ SyscallDesc("setxattr", unimplementedFunc),
+ /* 227 */ SyscallDesc("lsetxattr", unimplementedFunc),
+ /* 228 */ SyscallDesc("fsetxattr", unimplementedFunc),
+ /* 229 */ SyscallDesc("getxattr", unimplementedFunc),
+ /* 230 */ SyscallDesc("lgetxattr", unimplementedFunc),
+ /* 231 */ SyscallDesc("fgetxattr", unimplementedFunc),
+ /* 232 */ SyscallDesc("listxattr", unimplementedFunc),
+ /* 233 */ SyscallDesc("llistxattr", unimplementedFunc),
+ /* 234 */ SyscallDesc("exit_group", exitGroupFunc),
+ /* 235 */ SyscallDesc("removexattr", unimplementedFunc),
+ /* 236 */ SyscallDesc("lremovexattr", unimplementedFunc),
+ /* 237 */ SyscallDesc("fremovexattr", unimplementedFunc),
+ /* 238 */ SyscallDesc("tkill", unimplementedFunc),
+ /* 239 */ SyscallDesc("sendfile64", unimplementedFunc),
+ /* 240 */ SyscallDesc("futex", unimplementedFunc),
+ /* 241 */ SyscallDesc("sched_setaffinity", unimplementedFunc),
+ /* 242 */ SyscallDesc("sched_getaffinity", unimplementedFunc),
+ /* 243 */ SyscallDesc("io_setup", unimplementedFunc),
+ /* 244 */ SyscallDesc("io_destory", unimplementedFunc),
+ /* 245 */ SyscallDesc("io_getevents", unimplementedFunc),
+ /* 246 */ SyscallDesc("io_submit", unimplementedFunc),
+ /* 247 */ SyscallDesc("io_cancel", unimplementedFunc),
+ /* 248 */ SyscallDesc("unknown#248", unimplementedFunc),
+ /* 249 */ SyscallDesc("lookup_dcookie", unimplementedFunc),
+ /* 250 */ SyscallDesc("epoll_create", unimplementedFunc),
+ /* 251 */ SyscallDesc("epoll_ctl", unimplementedFunc),
+ /* 252 */ SyscallDesc("epoll_wait", unimplementedFunc),
+ /* 253 */ SyscallDesc("remap_file_pages", unimplementedFunc),
+ /* 254 */ SyscallDesc("set_thread_area", unimplementedFunc),
+ /* 255 */ SyscallDesc("get_thread_area", unimplementedFunc),
+ /* 256 */ SyscallDesc("set_tid_address", unimplementedFunc),
+ /* 257 */ SyscallDesc("timer_create", unimplementedFunc),
+ /* 258 */ SyscallDesc("timer_settime", unimplementedFunc),
+ /* 259 */ SyscallDesc("timer_gettime", unimplementedFunc),
+ /* 260 */ SyscallDesc("timer_getoverrun", unimplementedFunc),
+ /* 261 */ SyscallDesc("timer_delete", unimplementedFunc),
+ /* 262 */ SyscallDesc("clock_settime", unimplementedFunc),
+ /* 263 */ SyscallDesc("clock_gettime", unimplementedFunc),
+ /* 264 */ SyscallDesc("clock_getres", unimplementedFunc),
+ /* 265 */ SyscallDesc("clock_nanosleep", unimplementedFunc),
+ /* 266 */ SyscallDesc("statfs64", unimplementedFunc),
+ /* 267 */ SyscallDesc("fstatfs64", unimplementedFunc),
+ /* 268 */ SyscallDesc("tgkill", unimplementedFunc),
+ /* 269 */ SyscallDesc("utimes", unimplementedFunc),
+ /* 270 */ SyscallDesc("arm_fadvise64_64", unimplementedFunc),
+ /* 271 */ SyscallDesc("pciconfig_iobase", unimplementedFunc),
+ /* 272 */ SyscallDesc("pciconfig_read", unimplementedFunc),
+ /* 273 */ SyscallDesc("pciconfig_write", unimplementedFunc),
+ /* 274 */ SyscallDesc("mq_open", unimplementedFunc),
+ /* 275 */ SyscallDesc("mq_unlink", unimplementedFunc),
+ /* 276 */ SyscallDesc("mq_timedsend", unimplementedFunc),
+ /* 277 */ SyscallDesc("mq_timedreceive", unimplementedFunc),
+ /* 278 */ SyscallDesc("mq_notify", unimplementedFunc),
+ /* 279 */ SyscallDesc("mq_getsetattr", unimplementedFunc),
+ /* 280 */ SyscallDesc("waitid", unimplementedFunc),
+ /* 281 */ SyscallDesc("socket", unimplementedFunc),
+ /* 282 */ SyscallDesc("bind", unimplementedFunc),
+ /* 283 */ SyscallDesc("connect", unimplementedFunc),
+ /* 284 */ SyscallDesc("listen", unimplementedFunc),
+ /* 285 */ SyscallDesc("accept", unimplementedFunc),
+ /* 286 */ SyscallDesc("getsockname", unimplementedFunc),
+ /* 287 */ SyscallDesc("getpeername", unimplementedFunc),
+ /* 288 */ SyscallDesc("socketpair", unimplementedFunc),
+ /* 289 */ SyscallDesc("send", unimplementedFunc),
+ /* 290 */ SyscallDesc("sendto", unimplementedFunc),
+ /* 291 */ SyscallDesc("recv", unimplementedFunc),
+ /* 292 */ SyscallDesc("recvfrom", unimplementedFunc),
+ /* 293 */ SyscallDesc("shutdown", unimplementedFunc),
+ /* 294 */ SyscallDesc("setsockopt", unimplementedFunc),
+ /* 295 */ SyscallDesc("getsockopt", unimplementedFunc),
+ /* 296 */ SyscallDesc("sendmsg", unimplementedFunc),
+ /* 297 */ SyscallDesc("rcvmsg", unimplementedFunc),
+ /* 298 */ SyscallDesc("semop", unimplementedFunc),
+ /* 299 */ SyscallDesc("semget", unimplementedFunc),
+ /* 300 */ SyscallDesc("semctl", unimplementedFunc),
+ /* 301 */ SyscallDesc("msgsend", unimplementedFunc),
+ /* 302 */ SyscallDesc("msgrcv", unimplementedFunc),
+ /* 303 */ SyscallDesc("msgget", unimplementedFunc),
+ /* 304 */ SyscallDesc("msgctl", unimplementedFunc),
+ /* 305 */ SyscallDesc("shmat", unimplementedFunc),
+ /* 306 */ SyscallDesc("shmdt", unimplementedFunc),
+ /* 307 */ SyscallDesc("shmget", unimplementedFunc),
+ /* 308 */ SyscallDesc("shmctl", unimplementedFunc),
+ /* 309 */ SyscallDesc("add_key", unimplementedFunc),
+ /* 310 */ SyscallDesc("request_key", unimplementedFunc),
+ /* 311 */ SyscallDesc("keyctl", unimplementedFunc),
+ /* 312 */ SyscallDesc("semtimedop", unimplementedFunc),
+ /* 313 */ SyscallDesc("vserver", unimplementedFunc),
+ /* 314 */ SyscallDesc("ioprio_set", unimplementedFunc),
+ /* 315 */ SyscallDesc("ioprio_get", unimplementedFunc),
+ /* 316 */ SyscallDesc("inotify_init", unimplementedFunc),
+ /* 317 */ SyscallDesc("inotify_add_watch", unimplementedFunc),
+ /* 318 */ SyscallDesc("inotify_rm_watch", unimplementedFunc),
+ /* 319 */ SyscallDesc("mbind", unimplementedFunc),
+ /* 320 */ SyscallDesc("get_mempolicy", unimplementedFunc),
+ /* 321 */ SyscallDesc("set_mempolicy", unimplementedFunc),
+ /* 322 */ SyscallDesc("openat", unimplementedFunc),
+ /* 323 */ SyscallDesc("mkdirat", unimplementedFunc),
+ /* 324 */ SyscallDesc("mknodat", unimplementedFunc),
+ /* 325 */ SyscallDesc("fchownat", unimplementedFunc),
+ /* 326 */ SyscallDesc("futimesat", unimplementedFunc),
+ /* 327 */ SyscallDesc("fstatat64", unimplementedFunc),
+ /* 328 */ SyscallDesc("unlinkat", unimplementedFunc),
+ /* 329 */ SyscallDesc("renameat", unimplementedFunc),
+ /* 330 */ SyscallDesc("linkat", unimplementedFunc),
+ /* 331 */ SyscallDesc("symlinkat", unimplementedFunc),
+ /* 332 */ SyscallDesc("readlinkat", unimplementedFunc),
+ /* 333 */ SyscallDesc("fchmodat", unimplementedFunc),
+ /* 334 */ SyscallDesc("faccessat", unimplementedFunc),
+ /* 335 */ SyscallDesc("pselect6", unimplementedFunc),
+ /* 336 */ SyscallDesc("ppoll", unimplementedFunc),
+ /* 337 */ SyscallDesc("unshare", unimplementedFunc),
+ /* 338 */ SyscallDesc("set_robust_list", unimplementedFunc),
+ /* 339 */ SyscallDesc("get_robust_list", unimplementedFunc),
+ /* 340 */ SyscallDesc("splice", unimplementedFunc),
+ /* 341 */ SyscallDesc("arm_sync_file_range", unimplementedFunc),
+ /* 342 */ SyscallDesc("tee", unimplementedFunc),
+ /* 343 */ SyscallDesc("vmsplice", unimplementedFunc),
+ /* 344 */ SyscallDesc("move_pages", unimplementedFunc),
+ /* 345 */ SyscallDesc("getcpu", unimplementedFunc),
+ /* 346 */ SyscallDesc("epoll_pwait", unimplementedFunc),
};
PowerLinuxProcess::PowerLinuxProcess(ProcessParams * params,