diff options
author | Richard Sandiford <richard@codesourcery.com> | 2006-09-17 15:30:46 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-09-27 08:37:55 -0400 |
commit | 63415dbb54fb929a6ea597f2f6b885d570225d90 (patch) | |
tree | 4e753ac4e61dccb0d141a70719d605c156e71403 /arch/mips | |
parent | d48f1de2d8170814fb64effa320848410c466f95 (diff) |
[MIPS] The o32 fstatat syscall behaves differently on 32 and 64 bit kernels
While working on a glibc patch to support the fstatat() functions[1],
I noticed that the o32 implementation behaves differently on 32-bit and
64-bit kernels; the former provides a stat64 while the latter provides
a plain (o32) stat. I think the former is what's intended, as there is
no separate fstatat64. It's also what x86 does.
I think this is just a case of a compat too far.
[1] I've seen Khem's patch, but I don't think it's right.
Signed-off-by: Richard Sandiford <richard@codesourcery.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/scall64-o32.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S index 2ac01412f747..288ee4ac4dbb 100644 --- a/arch/mips/kernel/scall64-o32.S +++ b/arch/mips/kernel/scall64-o32.S | |||
@@ -498,7 +498,7 @@ sys_call_table: | |||
498 | PTR sys_mknodat /* 4290 */ | 498 | PTR sys_mknodat /* 4290 */ |
499 | PTR sys_fchownat | 499 | PTR sys_fchownat |
500 | PTR compat_sys_futimesat | 500 | PTR compat_sys_futimesat |
501 | PTR compat_sys_newfstatat | 501 | PTR sys_newfstatat |
502 | PTR sys_unlinkat | 502 | PTR sys_unlinkat |
503 | PTR sys_renameat /* 4295 */ | 503 | PTR sys_renameat /* 4295 */ |
504 | PTR sys_linkat | 504 | PTR sys_linkat |