X86: Turn on the exit_group, exit, munmap, and write syscalls.
--HG-- extra : convert_revision : e358c18cd999a8e274108e06502c3324c2d12d3b
This commit is contained in:
parent
43f0be5253
commit
f02bb63894
1 changed files with 4 additions and 4 deletions
|
@ -82,7 +82,7 @@ unameFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
|
||||||
|
|
||||||
SyscallDesc X86LinuxProcess::syscallDescs[] = {
|
SyscallDesc X86LinuxProcess::syscallDescs[] = {
|
||||||
/* 0 */ SyscallDesc("read", readFunc),
|
/* 0 */ SyscallDesc("read", readFunc),
|
||||||
/* 1 */ SyscallDesc("write", unimplementedFunc),
|
/* 1 */ SyscallDesc("write", writeFunc),
|
||||||
/* 2 */ SyscallDesc("open", openFunc<X86Linux64>),
|
/* 2 */ SyscallDesc("open", openFunc<X86Linux64>),
|
||||||
/* 3 */ SyscallDesc("close", closeFunc),
|
/* 3 */ SyscallDesc("close", closeFunc),
|
||||||
/* 4 */ SyscallDesc("stat", unimplementedFunc),
|
/* 4 */ SyscallDesc("stat", unimplementedFunc),
|
||||||
|
@ -92,7 +92,7 @@ SyscallDesc X86LinuxProcess::syscallDescs[] = {
|
||||||
/* 8 */ SyscallDesc("lseek", unimplementedFunc),
|
/* 8 */ SyscallDesc("lseek", unimplementedFunc),
|
||||||
/* 9 */ SyscallDesc("mmap", mmapFunc<X86Linux64>),
|
/* 9 */ SyscallDesc("mmap", mmapFunc<X86Linux64>),
|
||||||
/* 10 */ SyscallDesc("mprotect", unimplementedFunc),
|
/* 10 */ SyscallDesc("mprotect", unimplementedFunc),
|
||||||
/* 11 */ SyscallDesc("munmap", unimplementedFunc),
|
/* 11 */ SyscallDesc("munmap", munmapFunc),
|
||||||
/* 12 */ SyscallDesc("brk", obreakFunc),
|
/* 12 */ SyscallDesc("brk", obreakFunc),
|
||||||
/* 13 */ SyscallDesc("rt_sigaction", unimplementedFunc),
|
/* 13 */ SyscallDesc("rt_sigaction", unimplementedFunc),
|
||||||
/* 14 */ SyscallDesc("rt_sigprocmask", unimplementedFunc),
|
/* 14 */ SyscallDesc("rt_sigprocmask", unimplementedFunc),
|
||||||
|
@ -141,7 +141,7 @@ SyscallDesc X86LinuxProcess::syscallDescs[] = {
|
||||||
/* 57 */ SyscallDesc("fork", unimplementedFunc),
|
/* 57 */ SyscallDesc("fork", unimplementedFunc),
|
||||||
/* 58 */ SyscallDesc("vfork", unimplementedFunc),
|
/* 58 */ SyscallDesc("vfork", unimplementedFunc),
|
||||||
/* 59 */ SyscallDesc("execve", unimplementedFunc),
|
/* 59 */ SyscallDesc("execve", unimplementedFunc),
|
||||||
/* 60 */ SyscallDesc("exit", unimplementedFunc),
|
/* 60 */ SyscallDesc("exit", exitFunc),
|
||||||
/* 61 */ SyscallDesc("wait4", unimplementedFunc),
|
/* 61 */ SyscallDesc("wait4", unimplementedFunc),
|
||||||
/* 62 */ SyscallDesc("kill", unimplementedFunc),
|
/* 62 */ SyscallDesc("kill", unimplementedFunc),
|
||||||
/* 63 */ SyscallDesc("uname", unameFunc),
|
/* 63 */ SyscallDesc("uname", unameFunc),
|
||||||
|
@ -312,7 +312,7 @@ SyscallDesc X86LinuxProcess::syscallDescs[] = {
|
||||||
/* 228 */ SyscallDesc("clock_gettime", unimplementedFunc),
|
/* 228 */ SyscallDesc("clock_gettime", unimplementedFunc),
|
||||||
/* 229 */ SyscallDesc("clock_getres", unimplementedFunc),
|
/* 229 */ SyscallDesc("clock_getres", unimplementedFunc),
|
||||||
/* 230 */ SyscallDesc("clock_nanosleep", unimplementedFunc),
|
/* 230 */ SyscallDesc("clock_nanosleep", unimplementedFunc),
|
||||||
/* 231 */ SyscallDesc("exit_group", unimplementedFunc),
|
/* 231 */ SyscallDesc("exit_group", exitFunc),
|
||||||
/* 232 */ SyscallDesc("epoll_wait", unimplementedFunc),
|
/* 232 */ SyscallDesc("epoll_wait", unimplementedFunc),
|
||||||
/* 233 */ SyscallDesc("epoll_ctl", unimplementedFunc),
|
/* 233 */ SyscallDesc("epoll_ctl", unimplementedFunc),
|
||||||
/* 234 */ SyscallDesc("tgkill", unimplementedFunc),
|
/* 234 */ SyscallDesc("tgkill", unimplementedFunc),
|
||||||
|
|
Loading…
Reference in a new issue