diff options
author | Wang Nan <wangnan0@huawei.com> | 2015-01-05 12:29:25 +0100 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2015-01-13 17:10:15 +0100 |
commit | a0266c214fab21371a499e6ab1c9385cc6589189 (patch) | |
tree | 69accee3d0fdc9ae9a0c3c683a7ed87497e61a81 /arch/arm/include/asm/kprobes.h | |
parent | ARM: kprobes: collects stack consumption for store instructions (diff) | |
download | linux-a0266c214fab21371a499e6ab1c9385cc6589189.tar.xz linux-a0266c214fab21371a499e6ab1c9385cc6589189.zip |
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>
Diffstat (limited to 'arch/arm/include/asm/kprobes.h')
-rw-r--r-- | arch/arm/include/asm/kprobes.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/include/asm/kprobes.h b/arch/arm/include/asm/kprobes.h index 49fa0dfaad33..56f9ac68fbd1 100644 --- a/arch/arm/include/asm/kprobes.h +++ b/arch/arm/include/asm/kprobes.h @@ -22,7 +22,6 @@ #define __ARCH_WANT_KPROBES_INSN_SLOT #define MAX_INSN_SIZE 2 -#define MAX_STACK_SIZE 64 /* 32 would probably be OK */ #define flush_insn_slot(p) do { } while (0) #define kretprobe_blacklist_size 0 |