ARM: kprobes: Reject 16-bit Thumb SETEND, CPS and BKPT instructions
authorJon Medhurst <tixy@yxit.co.uk>
Sat, 2 Jul 2011 15:39:07 +0000 (16:39 +0100)
committerTixy <tixy@medhuaa1.miniserver.com>
Wed, 13 Jul 2011 17:32:45 +0000 (17:32 +0000)
commit0a188ccb5eceb58101fcc11b3ec2d860ccbf92a3
treedb6a7b59aa21c16c6dd0857439fe357efc29b75c
parent396b41f68d937a0c48ba624186ed06288b35bb4e
ARM: kprobes: Reject 16-bit Thumb SETEND, CPS and BKPT instructions

These are very rare and/or problematic to emulate so we will take the
easy option and disallow probing them (as does the existing ARM
implementation).

Rejecting these instructions doesn't actually require any entries in the
decoding table as it is the default case for instructions which aren't
found.

Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/kernel/kprobes-thumb.c