X86: Enable the rename system call.
authorGabe Black <gblack@eecs.umich.edu>
Thu, 20 Sep 2007 01:24:11 +0000 (18:24 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 20 Sep 2007 01:24:11 +0000 (18:24 -0700)
--HG--
extra : convert_revision : bc4a3b5b5ce8e17f632e65ce89df91e2b50e1274

src/arch/x86/linux/syscalls.cc

index 05f57cf38175db35cebcf10cf67385fbf2aee450..c6b2fbb66955fd853519eceac86f73e78035f867 100644 (file)
@@ -203,7 +203,7 @@ SyscallDesc X86LinuxProcess::syscallDescs[] = {
     /*  79 */ SyscallDesc("getcwd", unimplementedFunc),
     /*  80 */ SyscallDesc("chdir", unimplementedFunc),
     /*  81 */ SyscallDesc("fchdir", unimplementedFunc),
-    /*  82 */ SyscallDesc("rename", unimplementedFunc),
+    /*  82 */ SyscallDesc("rename", renameFunc),
     /*  83 */ SyscallDesc("mkdir", unimplementedFunc),
     /*  84 */ SyscallDesc("rmdir", unimplementedFunc),
     /*  85 */ SyscallDesc("creat", unimplementedFunc),