x86: enable gettimeofday and getppid system calls

Committed by: Nilay Vaish <nilay@cs.wisc.edu>
This commit is contained in:
Michael Levenhagen 2013-04-23 15:21:30 -05:00
parent 0c57194a09
commit 794d00257a

View file

@ -309,7 +309,7 @@ SyscallDesc X86_64LinuxProcess::syscallDescs[] = {
/* 93 */ SyscallDesc("fchown", unimplementedFunc),
/* 94 */ SyscallDesc("lchown", unimplementedFunc),
/* 95 */ SyscallDesc("umask", unimplementedFunc),
/* 96 */ SyscallDesc("gettimeofday", unimplementedFunc),
/* 96 */ SyscallDesc("gettimeofday", gettimeofdayFunc<X86Linux64>),
/* 97 */ SyscallDesc("getrlimit", getrlimitFunc<X86Linux64>),
/* 98 */ SyscallDesc("getrusage", getrusageFunc<X86Linux64>),
/* 99 */ SyscallDesc("sysinfo", sysinfoFunc<X86Linux64>),
@ -323,7 +323,7 @@ SyscallDesc X86_64LinuxProcess::syscallDescs[] = {
/* 107 */ SyscallDesc("geteuid", geteuidFunc),
/* 108 */ SyscallDesc("getegid", getegidFunc),
/* 109 */ SyscallDesc("setpgid", unimplementedFunc),
/* 110 */ SyscallDesc("getppid", unimplementedFunc),
/* 110 */ SyscallDesc("getppid", getppidFunc),
/* 111 */ SyscallDesc("getpgrp", unimplementedFunc),
/* 112 */ SyscallDesc("setsid", unimplementedFunc),
/* 113 */ SyscallDesc("setreuid", unimplementedFunc),