ARM: kprobes: Reject 32-bit Thumb coprocessor and SIMD instructions
authorJon Medhurst <tixy@yxit.co.uk>
Sun, 3 Jul 2011 13:57:18 +0000 (14:57 +0100)
committerTixy <tixy@medhuaa1.miniserver.com>
Wed, 13 Jul 2011 17:32:47 +0000 (17:32 +0000)
commit6a0d1a1c5692d6192684fb7aa8f4d7f401f8dbab
tree3f0c36ecbce036b753f2c191c8907a79c3c9fd37
parentce715c772f0124f9d3f6f5cffcb85688c81d2c07
ARM: kprobes: Reject 32-bit Thumb coprocessor and SIMD instructions

The kernel doesn't currently support VFP or Neon code, and probing of
code with CP15 operations is fraught with bad consequences. So we will
just reject probing these instructions.

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