]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Compat: Zero upper 32-bit of offset_high and offset_low.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2009 17:23:38 +0000 (11:23 -0600)
committerChris Wright <chrisw@sous-sol.org>
Mon, 27 Apr 2009 17:36:51 +0000 (10:36 -0700)
commite76f9b67d8fac994e736449722b81923525823ea
treeda4a0238db9d1365f44e392edbc4f613fa9cd3bc
parent763cf396b70f2d5f418b02cc17ebcc3bce921939
MIPS: Compat: Zero upper 32-bit of offset_high and offset_low.

upstream commit: d6c178e9694e7e0c7ffe0289cf4389a498cac735

Through sys_llseek() arguably should do exactly that it doesn't which
means llseek(2) will fail for o32 processes if offset_low has bit 31 set.

As suggested by Heiko Carstens.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
arch/mips/kernel/linux32.c