X86: Install a 32 bit fstat64 system call.
authorGabe Black <gblack@eecs.umich.edu>
Fri, 27 Feb 2009 17:25:26 +0000 (09:25 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Fri, 27 Feb 2009 17:25:26 +0000 (09:25 -0800)
src/arch/x86/linux/syscalls.cc

index eacbf5e7b97cfd8053eab8ca8919f531ba237cb6..1d2d8d6913a42473ca564fadb558a9706641e82e 100644 (file)
@@ -701,7 +701,7 @@ SyscallDesc I386LinuxProcess::syscallDescs[] = {
     /* 194 */ SyscallDesc("ftruncate64", unimplementedFunc),
     /* 195 */ SyscallDesc("stat64", unimplementedFunc),
     /* 196 */ SyscallDesc("lstat64", unimplementedFunc),
-    /* 197 */ SyscallDesc("fstat64", unimplementedFunc),
+    /* 197 */ SyscallDesc("fstat64", fstat64Func<X86Linux32>),
     /* 198 */ SyscallDesc("lchown32", unimplementedFunc),
     /* 199 */ SyscallDesc("getuid32", unimplementedFunc),
     /* 200 */ SyscallDesc("getgid32", unimplementedFunc),