hook up stat syscall on 64-bit x86_SE
authorVince Weaver <vince@csl.cornell.edu>
Tue, 20 Oct 2009 20:48:00 +0000 (16:48 -0400)
committerVince Weaver <vince@csl.cornell.edu>
Tue, 20 Oct 2009 20:48:00 +0000 (16:48 -0400)
src/arch/x86/linux/syscalls.cc

index 40f70c3fbeeea7643955ee659c9bb7ecd7a3c276..14b3fa69b85649c48c81d6a7bfa7867b55ead2cd 100644 (file)
@@ -232,7 +232,7 @@ SyscallDesc X86_64LinuxProcess::syscallDescs[] = {
     /*   1 */ SyscallDesc("write", writeFunc),
     /*   2 */ SyscallDesc("open", openFunc<X86Linux64>),
     /*   3 */ SyscallDesc("close", closeFunc),
-    /*   4 */ SyscallDesc("stat", unimplementedFunc),
+    /*   4 */ SyscallDesc("stat", stat64Func<X86Linux64>),
     /*   5 */ SyscallDesc("fstat", fstat64Func<X86Linux64>),
     /*   6 */ SyscallDesc("lstat", unimplementedFunc),
     /*   7 */ SyscallDesc("poll", unimplementedFunc),