Skip to contentSkip to conversation

MIPS: N32: Fix getdents64 syscall for n32

PATCH In review Bernhard Walle 4 participants 9 messages Sep 3, 2010 – Sep 21, 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
#1 lore raw

I'm not sure why people suddenly started Ccing me on utterly random patches, but could you guys please bloody stop it? Thanks!

#2 lore raw

Christoph Hellwig <[email protected]> writes:

Hi,

Quoted 2 lines

I'm not sure why people suddenly started Ccing me on utterly random patches, but could you guys please bloody stop it? Thanks!

I guess the explanation is the one below :

$ ./scripts/get_maintainer.pl -f arch/mips/kernel/scall64-n32.S
Ralf Baechle <[email protected]>
David Daney <[email protected]>
Andrew Morton <[email protected]>
"Eric W. Biederman" <[email protected]>
Christoph Hellwig <[email protected]>
[email protected]
[email protected]

Arnaud

#3 lore raw
Quoted 10 lines · Arnaud Patard

Christoph Hellwig <[email protected]> writes:

Hi,

Quoted 2 lines

I'm not sure why people suddenly started Ccing me on utterly random patches, but could you guys please bloody stop it? Thanks!

I guess the explanation is the one below :

$ ./scripts/get_maintainer.pl -f arch/mips/kernel/scall64-n32.S

I'm certainly not the maintainer of it, nor anything near it. Whoever wrote such a stupid script really needs to be beaten up seriously.

#4 lore raw
In reply to Arnaud Patard

Am 03.09.2010 10:53, schrieb Arnaud Patard:

Quoted 11 lines

I guess the explanation is the one below :

$ ./scripts/get_maintainer.pl -f arch/mips/kernel/scall64-n32.S
Ralf Baechle<[email protected]>
David Daney<[email protected]>
Andrew Morton<[email protected]>
"Eric W. Biederman"<[email protected]>
Christoph Hellwig<[email protected]>
[email protected]
[email protected]

Yes, I just used that script and trusted the results. Sorry for that.

Regards,
Bernhard

#5 lore raw
Quoted 11 lines · Bernhard Walle
Quoted 10 lines

I guess the explanation is the one below :

$ ./scripts/get_maintainer.pl -f arch/mips/kernel/scall64-n32.S
Ralf Baechle<[email protected]>
David Daney<[email protected]>
Andrew Morton<[email protected]>
"Eric W. Biederman"<[email protected]>
Christoph Hellwig<[email protected]>
[email protected]
[email protected]
Quoted 1 line

Yes, I just used that script and trusted the results. Sorry for that.

I'm certainly not interested on getting cc'ed half of I2C patches or Itanium framebuffer drivers. The defaults are idiotic. Anybody who touched a file in the past year will get spammed.

Throw in a --nogit to disable the history search and you get:

Ralf Baechle <[email protected]>
[email protected]
[email protected]

cc'ing lkml is a bit pointless in many cases as well but the simplistic filename pattern system in MAINTAINERS doesn't allow entries entries to match only if no other previous entries are matching.

Ralf

#6 lore raw

Am 03.09.2010 12:01, schrieb Ralf Baechle:

Quoted 6 lines

I'm certainly not interested on getting cc'ed half of I2C patches or Itanium framebuffer drivers. The defaults are idiotic. Anybody who touched a file in the past year will get spammed.

Throw in a --nogit to disable the history search and you get:

Ok, I will use that in the future. But what about the patch itself?

Regards,
Bernhard

#7 lore raw
In reply to Bernhard Walle
Quoted 7 lines · Bernhard Walle

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.

Thanks Bernhard!

Ralf

#8 lore raw

Am 20.09.2010 01:51, schrieb Ralf Baechle:

Quoted 11 lines · Bernhard Walle
Quoted 8 lines

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.

Thanks Bernhard!

Wouldn't it make sense to put that fix also in the stable tree (2.6.35.6)?

Regards,
Bernhard