hook up stat64 syscall on 32-bit X86_SE
authorVince Weaver <vince@csl.cornell.edu>
Tue, 20 Oct 2009 18:44:51 +0000 (14:44 -0400)
committerVince Weaver <vince@csl.cornell.edu>
Tue, 20 Oct 2009 18:44:51 +0000 (14:44 -0400)
src/arch/x86/linux/syscalls.cc

index 2b54843f36a301ae9d8afdf1fce4074423a7b451..40f70c3fbeeea7643955ee659c9bb7ecd7a3c276 100644 (file)
@@ -702,7 +702,7 @@ SyscallDesc I386LinuxProcess::syscallDescs[] = {
     /* 192 */ SyscallDesc("mmap2", mmapFunc<X86Linux32>),
     /* 193 */ SyscallDesc("truncate64", unimplementedFunc),
     /* 194 */ SyscallDesc("ftruncate64", unimplementedFunc),
-    /* 195 */ SyscallDesc("stat64", unimplementedFunc),
+    /* 195 */ SyscallDesc("stat64", stat64Func<X86Linux32>),
     /* 196 */ SyscallDesc("lstat64", unimplementedFunc),
     /* 197 */ SyscallDesc("fstat64", fstat64Func<X86Linux32>),
     /* 198 */ SyscallDesc("lchown32", unimplementedFunc),