ARM: kprobes: disallow probing stack consuming instructions
authorWang Nan <wangnan0@huawei.com>
Mon, 5 Jan 2015 11:29:25 +0000 (19:29 +0800)
committerJon Medhurst <tixy@linaro.org>
Tue, 13 Jan 2015 16:10:15 +0000 (16:10 +0000)
commita0266c214fab21371a499e6ab1c9385cc6589189
tree69accee3d0fdc9ae9a0c3c683a7ed87497e61a81
parent6624cf651f1a14363d0385f36dc255d304ac7ebb
ARM: kprobes: disallow probing stack consuming instructions

This patch prohibits probing instructions for which the stack
requirements are unable to be determined statically. Some test cases
are found not work again after the modification, this patch also
removes them.

Signed-off-by: Wang Nan <wangnan0@huawei.com>
Reviewed-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
arch/arm/include/asm/kprobes.h
arch/arm/include/asm/probes.h
arch/arm/kernel/entry-armv.S
arch/arm/probes/kprobes/core.c
arch/arm/probes/kprobes/test-arm.c