]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: kprobes: Reject probing of SETEND instructions
authorJon Medhurst <tixy@yxit.co.uk>
Mon, 18 Apr 2011 07:53:56 +0000 (08:53 +0100)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 29 Apr 2011 03:40:59 +0000 (23:40 -0400)
commit338cb8d41c112b84e36d0c1d3d6ee7b82c9c1b09
tree5de9db19cd2576c463574ed962c394d13d50a700
parent39c35db90dfa4306f97e0f15441ca48b113068e1
ARM: kprobes: Reject probing of SETEND instructions

The emulation of SETEND was broken as it changed the endianess for
the running kprobes handling code. Rather than adding a new simulation
routine to fix this we'll just reject probing of SETEND as these should
be very rare in the kernel.

Note, the function emulate_none is now unused but it is left in the
source code as future patches will use it.

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