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)
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

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge