diff options
author | Jon Medhurst <tixy@yxit.co.uk> | 2011-04-19 09:52:16 (GMT) |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-04-29 03:40:59 (GMT) |
commit | f704a6e25bd07e1381af81f19fb1d123975807b1 (patch) | |
tree | dc571d149ae5a78c9adf667cf512438615470ebe /samples | |
parent | 72c2bab2be734d63dee4342e67b1754c54fded70 (diff) | |
download | linux-f704a6e25bd07e1381af81f19fb1d123975807b1.tar.xz |
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 <tixy@yxit.co.uk>
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions