From: Will Deacon Date: Fri, 7 Sep 2012 17:21:44 +0000 (+0100) Subject: ARM: 7526/1: traps: send SIGILL if get_user fails on undef handling path X-Git-Tag: v3.2.30~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad07e22ea469292fd1416175b81c88ef8646985b;p=pandora-kernel.git ARM: 7526/1: traps: send SIGILL if get_user fails on undef handling path commit 2b2040af0b64cd93e5d4df2494c4486cf604090d upstream. get_user may fail to load from the provided __user address due to an unhandled fault generated by the access. In the case of the undefined instruction trap, this results in failure to load the faulting instruction, in which case we should send SIGILL to the task rather than continue with potentially uninitialised data. Signed-off-by: Will Deacon Signed-off-by: Russell King Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed