/* 8 */ SyscallDesc("creat", unimplementedFunc),
/* 9 */ SyscallDesc("link", unimplementedFunc),
/* 10 */ SyscallDesc("unlink", unlinkFunc),
- /* 11 */ SyscallDesc("execve", unimplementedFunc),
+ /* 11 */ SyscallDesc("execve", execveFunc<ArmLinux32>),
/* 12 */ SyscallDesc("chdir", unimplementedFunc),
/* 13 */ SyscallDesc("time", timeFunc<ArmLinux32>),
/* 14 */ SyscallDesc("mknod", unimplementedFunc),
/* 138 */ SyscallDesc("setfsuid", unimplementedFunc),
/* 139 */ SyscallDesc("setfsgid", unimplementedFunc),
/* 140 */ SyscallDesc("llseek", _llseekFunc),
+#if defined(SYS_getdents)
+ /* 141 */ SyscallDesc("getdents", getdentsFunc),
+#else
/* 141 */ SyscallDesc("getdents", unimplementedFunc),
+#endif
/* 142 */ SyscallDesc("newselect", unimplementedFunc),
/* 143 */ SyscallDesc("flock", unimplementedFunc),
/* 144 */ SyscallDesc("msync", unimplementedFunc),
/* 217 */ SyscallDesc("getdents64", unimplementedFunc),
/* 218 */ SyscallDesc("pivot_root", unimplementedFunc),
/* 219 */ SyscallDesc("mincore", unimplementedFunc),
- /* 220 */ SyscallDesc("madvise", unimplementedFunc),
+ /* 220 */ SyscallDesc("madvise", ignoreFunc),
/* 221 */ SyscallDesc("fcntl64", fcntl64Func),
/* 222 */ SyscallDesc("unused#222", unimplementedFunc),
/* 223 */ SyscallDesc("unknown#223", unimplementedFunc),
- /* 224 */ SyscallDesc("gettid", unimplementedFunc),
+ /* 224 */ SyscallDesc("gettid", gettidFunc),
/* 225 */ SyscallDesc("readahead", unimplementedFunc),
/* 226 */ SyscallDesc("setxattr", unimplementedFunc),
/* 227 */ SyscallDesc("lsetxattr", unimplementedFunc),
/* 237 */ SyscallDesc("fremovexattr", unimplementedFunc),
/* 238 */ SyscallDesc("tkill", unimplementedFunc),
/* 239 */ SyscallDesc("sendfile64", unimplementedFunc),
- /* 240 */ SyscallDesc("futex", ignoreFunc, SyscallDesc::WarnOnce),
+ /* 240 */ SyscallDesc("futex", futexFunc<ArmLinux32>),
/* 241 */ SyscallDesc("sched_setaffinity", unimplementedFunc),
- /* 242 */ SyscallDesc("sched_getaffinity", unimplementedFunc),
+ /* 242 */ SyscallDesc("sched_getaffinity", ignoreFunc),
/* 243 */ SyscallDesc("io_setup", unimplementedFunc),
/* 244 */ SyscallDesc("io_destroy", unimplementedFunc),
/* 245 */ SyscallDesc("io_getevents", unimplementedFunc),
/* 253 */ SyscallDesc("remap_file_pages", unimplementedFunc),
/* 254 */ SyscallDesc("unused#254", unimplementedFunc),
/* 255 */ SyscallDesc("unused#255", unimplementedFunc),
- /* 256 */ SyscallDesc("set_tid_address", unimplementedFunc),
+ /* 256 */ SyscallDesc("set_tid_address", setTidAddressFunc),
/* 257 */ SyscallDesc("timer_create", unimplementedFunc),
/* 258 */ SyscallDesc("timer_settime", unimplementedFunc),
/* 259 */ SyscallDesc("timer_gettime", unimplementedFunc),
/* 265 */ SyscallDesc("clock_nanosleep", unimplementedFunc),
/* 266 */ SyscallDesc("statfs64", unimplementedFunc),
/* 267 */ SyscallDesc("fstatfs64", unimplementedFunc),
- /* 268 */ SyscallDesc("tgkill", unimplementedFunc),
+ /* 268 */ SyscallDesc("tgkill", tgkillFunc<ArmLinux32>),
/* 269 */ SyscallDesc("utimes", unimplementedFunc),
/* 270 */ SyscallDesc("arm_fadvise64_64", unimplementedFunc),
/* 271 */ SyscallDesc("pciconfig_iobase", unimplementedFunc),
/* 335 */ SyscallDesc("pselect6", unimplementedFunc),
/* 336 */ SyscallDesc("ppoll", unimplementedFunc),
/* 337 */ SyscallDesc("unshare", unimplementedFunc),
- /* 338 */ SyscallDesc("set_robust_list", unimplementedFunc),
+ /* 338 */ SyscallDesc("set_robust_list", ignoreFunc),
/* 339 */ SyscallDesc("get_robust_list", unimplementedFunc),
/* 340 */ SyscallDesc("splice", unimplementedFunc),
/* 341 */ SyscallDesc("arm_sync_file_range", unimplementedFunc),
/* 93 */ SyscallDesc("exit", exitFunc),
/* 94 */ SyscallDesc("exit_group", exitGroupFunc),
/* 95 */ SyscallDesc("waitid", unimplementedFunc),
- /* 96 */ SyscallDesc("set_tid_address", unimplementedFunc),
+ /* 96 */ SyscallDesc("set_tid_address", setTidAddressFunc),
/* 97 */ SyscallDesc("unshare", unimplementedFunc),
- /* 98 */ SyscallDesc("futex", unimplementedFunc),
- /* 99 */ SyscallDesc("set_robust_list", unimplementedFunc),
+ /* 98 */ SyscallDesc("futex", futexFunc<ArmLinux64>),
+ /* 99 */ SyscallDesc("set_robust_list", ignoreFunc),
/* 100 */ SyscallDesc("get_robust_list", unimplementedFunc),
/* 101 */ SyscallDesc("nanosleep", ignoreFunc, SyscallDesc::WarnOnce),
/* 102 */ SyscallDesc("getitimer", unimplementedFunc),
/* 120 */ SyscallDesc("sched_getscheduler", unimplementedFunc),
/* 121 */ SyscallDesc("sched_getparam", unimplementedFunc),
/* 122 */ SyscallDesc("sched_setaffinity", unimplementedFunc),
- /* 123 */ SyscallDesc("sched_getaffinity", unimplementedFunc),
+ /* 123 */ SyscallDesc("sched_getaffinity", ignoreFunc),
/* 124 */ SyscallDesc("sched_yield", unimplementedFunc),
/* 125 */ SyscallDesc("sched_get_priority_max", unimplementedFunc),
/* 126 */ SyscallDesc("sched_get_priority_min", unimplementedFunc),
/* 128 */ SyscallDesc("restart_syscall", unimplementedFunc),
/* 129 */ SyscallDesc("kill", ignoreFunc),
/* 130 */ SyscallDesc("tkill", unimplementedFunc),
- /* 131 */ SyscallDesc("tgkill", unimplementedFunc),
+ /* 131 */ SyscallDesc("tgkill", tgkillFunc<ArmLinux64>),
/* 132 */ SyscallDesc("sigaltstack", unimplementedFunc),
/* 133 */ SyscallDesc("rt_sigsuspend", unimplementedFunc),
/* 134 */ SyscallDesc("rt_sigaction", ignoreFunc),
/* 175 */ SyscallDesc("geteuid", geteuidFunc),
/* 176 */ SyscallDesc("getgid", getgidFunc),
/* 177 */ SyscallDesc("getegid", getegidFunc),
- /* 178 */ SyscallDesc("gettid", unimplementedFunc),
+ /* 178 */ SyscallDesc("gettid", gettidFunc),
/* 179 */ SyscallDesc("sysinfo", sysinfoFunc<ArmLinux64>),
/* 180 */ SyscallDesc("mq_open", unimplementedFunc),
/* 181 */ SyscallDesc("mq_unlink", unimplementedFunc),
/* 217 */ SyscallDesc("add_key", unimplementedFunc),
/* 218 */ SyscallDesc("request_key", unimplementedFunc),
/* 219 */ SyscallDesc("keyctl", unimplementedFunc),
- /* 220 */ SyscallDesc("clone", unimplementedFunc),
- /* 221 */ SyscallDesc("execve", unimplementedFunc),
+ /* 220 */ SyscallDesc("clone", cloneFunc<ArmLinux64>),
+ /* 221 */ SyscallDesc("execve", execveFunc<ArmLinux64>),
/* 222 */ SyscallDesc("mmap2", mmapFunc<ArmLinux64>),
/* 223 */ SyscallDesc("fadvise64_64", unimplementedFunc),
/* 224 */ SyscallDesc("swapon", unimplementedFunc),
/* 230 */ SyscallDesc("mlockall", unimplementedFunc),
/* 231 */ SyscallDesc("munlockall", unimplementedFunc),
/* 232 */ SyscallDesc("mincore", unimplementedFunc),
- /* 233 */ SyscallDesc("madvise", unimplementedFunc),
+ /* 233 */ SyscallDesc("madvise", ignoreFunc),
/* 234 */ SyscallDesc("remap_file_pages", unimplementedFunc),
/* 235 */ SyscallDesc("mbind", unimplementedFunc),
/* 236 */ SyscallDesc("get_mempolicy", unimplementedFunc),
/* 258 */ SyscallDesc("unused#258", unimplementedFunc),
/* 259 */ SyscallDesc("unused#259", unimplementedFunc),
/* 260 */ SyscallDesc("wait4", unimplementedFunc),
- /* 261 */ SyscallDesc("prlimit64", unimplementedFunc),
+ /* 261 */ SyscallDesc("prlimit64", prlimitFunc<ArmLinux64>),
/* 262 */ SyscallDesc("fanotify_init", unimplementedFunc),
/* 263 */ SyscallDesc("fanotify_mark", unimplementedFunc),
/* 264 */ SyscallDesc("name_to_handle_at", unimplementedFunc),
/* 1062 */ SyscallDesc("time", timeFunc<ArmLinux64>),
/* 1063 */ SyscallDesc("utime", unimplementedFunc),
/* 1064 */ SyscallDesc("creat", unimplementedFunc),
+#if defined(SYS_getdents)
+ /* 1065 */ SyscallDesc("getdents", getdentsFunc),
+#else
/* 1065 */ SyscallDesc("getdents", unimplementedFunc),
+#endif
/* 1066 */ SyscallDesc("futimesat", unimplementedFunc),
/* 1067 */ SyscallDesc("select", unimplementedFunc),
/* 1068 */ SyscallDesc("poll", unimplementedFunc),