From 87cc327abbc632d25c3735958a796be650256c0d Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 7 Oct 2013 18:05:49 -0500 Subject: [PATCH] x86: enables lstat and readlink syscalls --- src/arch/x86/linux/syscalls.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/x86/linux/syscalls.cc b/src/arch/x86/linux/syscalls.cc index f1cc3fe7c..8e2d0da01 100644 --- a/src/arch/x86/linux/syscalls.cc +++ b/src/arch/x86/linux/syscalls.cc @@ -219,7 +219,7 @@ SyscallDesc X86_64LinuxProcess::syscallDescs[] = { /* 3 */ SyscallDesc("close", closeFunc), /* 4 */ SyscallDesc("stat", stat64Func), /* 5 */ SyscallDesc("fstat", fstat64Func), - /* 6 */ SyscallDesc("lstat", unimplementedFunc), + /* 6 */ SyscallDesc("lstat", lstat64Func), /* 7 */ SyscallDesc("poll", unimplementedFunc), /* 8 */ SyscallDesc("lseek", lseekFunc), /* 9 */ SyscallDesc("mmap", mmapFunc), @@ -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), -- 2.30.2