X86: Hook in an implementation for lseek.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 29 Aug 2007 00:34:15 +0000 (17:34 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 29 Aug 2007 00:34:15 +0000 (17:34 -0700)
--HG--
extra : convert_revision : d2424e73fa8ce56248c4edbda9db2714c4b0a92e

src/arch/x86/linux/syscalls.cc

index 1146af708ed39e8625fdbd7461039579d0474f41..11fae96bb4c9f10f83ec3f1690e5e347fc6649b5 100644 (file)
@@ -129,7 +129,7 @@ SyscallDesc X86LinuxProcess::syscallDescs[] = {
     /*   5 */ SyscallDesc("fstat", fstat64Func<X86Linux64>),
     /*   6 */ SyscallDesc("lstat", unimplementedFunc),
     /*   7 */ SyscallDesc("poll", unimplementedFunc),
-    /*   8 */ SyscallDesc("lseek", unimplementedFunc),
+    /*   8 */ SyscallDesc("lseek", lseekFunc),
     /*   9 */ SyscallDesc("mmap", mmapFunc<X86Linux64>),
     /*  10 */ SyscallDesc("mprotect", unimplementedFunc),
     /*  11 */ SyscallDesc("munmap", munmapFunc),