All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: N32: Fix getdents64 syscall for n32
@ 2010-09-03  8:15 Bernhard Walle
  2010-09-03  8:42 ` Christoph Hellwig
  2010-09-19 23:51 ` Ralf Baechle
  0 siblings, 2 replies; 10+ messages in thread
From: Bernhard Walle @ 2010-09-03  8:15 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf, ddaney, akpm, ebiederm, hch, linux-kernel

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.

Signed-off-by: Bernhard Walle <walle@corscience.de>
---
 arch/mips/kernel/scall64-n32.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index a3d6613..dfa8cbc 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -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
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH] MIPS: N32: Fix getdents64 syscall for n32
@ 2010-09-08  7:35 Bernhard Walle
  0 siblings, 0 replies; 10+ messages in thread
From: Bernhard Walle @ 2010-09-08  7:35 UTC (permalink / raw)
  To: ralf; +Cc: linux-mips, linux-kernel

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.

Signed-off-by: Bernhard Walle <walle@corscience.de>
---
 arch/mips/kernel/scall64-n32.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
index a3d6613..dfa8cbc 100644
--- a/arch/mips/kernel/scall64-n32.S
+++ b/arch/mips/kernel/scall64-n32.S
@@ -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
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-09-21  7:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-03  8:15 [PATCH] MIPS: N32: Fix getdents64 syscall for n32 Bernhard Walle
2010-09-03  8:42 ` Christoph Hellwig
2010-09-03  8:53   ` Arnaud Patard
2010-09-03  8:55     ` Christoph Hellwig
2010-09-03  9:13     ` Bernhard Walle
2010-09-03 10:01       ` Ralf Baechle
2010-09-03 11:27         ` Bernhard Walle
2010-09-19 23:51 ` Ralf Baechle
2010-09-21  7:49   ` Bernhard Walle
  -- strict thread matches above, loose matches on Subject: below --
2010-09-08  7:35 Bernhard Walle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.