From: Jon Medhurst Date: Tue, 19 Apr 2011 09:52:16 +0000 (+0100) Subject: ARM: kprobes: Reject probing of undefined data processing instructions X-Git-Tag: v2.6.39-rc6~9^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f704a6e25bd07e1381af81f19fb1d123975807b1;p=pandora-kernel.git ARM: kprobes: Reject probing of undefined data processing instructions The instruction decoding in space_cccc_000x needs to reject probing of instructions with undefined patterns as they may in future become defined and then emulated faultily - as has already happened with the SMC instruction. This fix is achieved by testing for the instruction patterns we want to probe and making the the default fall-through paths reject probes. This also allows us to remove some explicit tests for instructions that we wish to reject, as that is now the default action. Signed-off-by: Jon Medhurst Signed-off-by: Nicolas Pitre --- Reading git-diff-tree failed