Skip to contentSkip to conversation

MIPS: N32: Fix getdents64 syscall for n32

PATCH New Bernhard Walle 1 participant 1 message Sep 8, 2010 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: N32: Fix getdents64 syscall for n32

Commit 31c984a5acabea5d8c7224dc226453022be46f33 introduced a new syscall getdents64. However, in the syscall table, the new syscall still refers to the old getdents which doesn't work.

The problem appeared with a system that uses the eglibc 2.12-r11187 (that utilizes that new syscall) is very confused. The fix has been tested with that eglibc version.

---
 arch/mips/kernel/scall64-n32.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/kernel/scall64-n32.S +1 -1
index a3d6613..dfa8cbc 100644
@@ -419,5 +419,5 @@ EXPORT(sysn32_call_table)
 	PTR	sys_perf_event_open
 	PTR	sys_accept4
 	PTR     compat_sys_recvmmsg
-	PTR     sys_getdents
+	PTR     sys_getdents64
 	.size	sysn32_call_table,.-sysn32_call_table
Signature · 1 line
1.7.0.4