x86: enables lstat and readlink syscalls

This commit is contained in:
Nilay Vaish 2013-10-07 18:05:49 -05:00
parent c0f367e514
commit 87cc327abb

View file

@ -219,7 +219,7 @@ SyscallDesc X86_64LinuxProcess::syscallDescs[] = {
/* 3 */ SyscallDesc("close", closeFunc),
/* 4 */ SyscallDesc("stat", stat64Func<X86Linux64>),
/* 5 */ SyscallDesc("fstat", fstat64Func<X86Linux64>),
/* 6 */ SyscallDesc("lstat", unimplementedFunc),
/* 6 */ SyscallDesc("lstat", lstat64Func<X86Linux64>),
/* 7 */ SyscallDesc("poll", unimplementedFunc),
/* 8 */ SyscallDesc("lseek", lseekFunc),
/* 9 */ SyscallDesc("mmap", mmapFunc<X86Linux64>),
@ -302,7 +302,7 @@ SyscallDesc X86_64LinuxProcess::syscallDescs[] = {
/* 86 */ SyscallDesc("link", unimplementedFunc),
/* 87 */ SyscallDesc("unlink", unlinkFunc),
/* 88 */ SyscallDesc("symlink", unimplementedFunc),
/* 89 */ SyscallDesc("readlink", unimplementedFunc),
/* 89 */ SyscallDesc("readlink", readlinkFunc),
/* 90 */ SyscallDesc("chmod", unimplementedFunc),
/* 91 */ SyscallDesc("fchmod", unimplementedFunc),
/* 92 */ SyscallDesc("chown", unimplementedFunc),