Add the rename syscall.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 12 Mar 2007 05:54:15 +0000 (01:54 -0400)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 12 Mar 2007 05:54:15 +0000 (01:54 -0400)
--HG--
extra : convert_revision : 67e92b166599bd20b7ce90d073f2fd7502f810ec

src/arch/sparc/linux/syscalls.cc

index 2c2902f9e960968be2d8fe7b14e9d5cfd05baed6..24d568162e30de1e060fc10482079a4228df176c 100644 (file)
@@ -217,7 +217,7 @@ SyscallDesc SparcLinuxProcess::syscall32Descs[] = {
     /* 125 */ SyscallDesc("recvfrom", unimplementedFunc),
     /* 126 */ SyscallDesc("setreuid", unimplementedFunc), //32 bit
     /* 127 */ SyscallDesc("setregid", unimplementedFunc), //32 bit
-    /* 128 */ SyscallDesc("rename", unimplementedFunc),
+    /* 128 */ SyscallDesc("rename", renameFunc),
     /* 129 */ SyscallDesc("truncate", unimplementedFunc),
     /* 130 */ SyscallDesc("ftruncate", unimplementedFunc),
     /* 131 */ SyscallDesc("flock", unimplementedFunc),
@@ -520,7 +520,7 @@ SyscallDesc SparcLinuxProcess::syscallDescs[] = {
     /* 125 */ SyscallDesc("recvfrom", unimplementedFunc),
     /* 126 */ SyscallDesc("setreuid", unimplementedFunc),
     /* 127 */ SyscallDesc("setregid", unimplementedFunc),
-    /* 128 */ SyscallDesc("rename", unimplementedFunc),
+    /* 128 */ SyscallDesc("rename", renameFunc),
     /* 129 */ SyscallDesc("truncate", unimplementedFunc),
     /* 130 */ SyscallDesc("ftruncate", unimplementedFunc),
     /* 131 */ SyscallDesc("flock", unimplementedFunc),