From: Vlad Malov Date: Tue, 18 Nov 2008 23:05:46 +0000 (-0800) Subject: MIPS: Fix potential DOS by untrusted user app. X-Git-Tag: v2.6.28-rc8~61^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e807f9574e37a3f202e677feaaad1b7c5d2c0db8;p=pandora-kernel.git MIPS: Fix potential DOS by untrusted user app. On a 64 bit kernel if an o32 syscall was made with a syscall number less than 4000, we would read the function from outside of the bounds of the syscall table. This led to non-deterministic behavior including system crashes. While we were at it we reworked the 32 bit version as well to use fewer instructions. Both 32 and 64 bit versions are use the same code now. Signed-off-by: Vlad Malov Signed-off-by: David Daney Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed