android_kernel_oneplus_msm8998/arch/arm/probes/kprobes
Masami Hiramatsu 51425b7554 ARM: 8770/1: kprobes: Prohibit probing on optimized_callback
commit 70948c05fdde0aac32f9667856a88725c192fa40 upstream.

Prohibit probing on optimized_callback() because
it is called from kprobes itself. If we put a kprobes
on it, that will cause a recursive call loop.
Mark it NOKPROBE_SYMBOL.

Fixes: 0dc016dbd8 ("ARM: kprobes: enable OPTPROBES for ARM 32")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-26 08:48:57 +02:00
..
actions-arm.c ARM: kprobes: check register usage for probed instruction. 2015-01-13 16:10:48 +00:00
actions-common.c ARM: probes: move all probe code to dedicate directory 2015-01-09 09:36:50 +00:00
actions-thumb.c ARM: kprobes: collects stack consumption for store instructions 2015-01-13 16:10:06 +00:00
checkers-arm.c ARM: kprobes: check register usage for probed instruction. 2015-01-13 16:10:48 +00:00
checkers-common.c ARM: kprobes: collects stack consumption for store instructions 2015-01-13 16:10:06 +00:00
checkers-thumb.c ARM: kprobes: collects stack consumption for store instructions 2015-01-13 16:10:06 +00:00
checkers.h ARM: kprobes: check register usage for probed instruction. 2015-01-13 16:10:48 +00:00
core.c arm: kprobes: Fix the return address of multiple kretprobes 2017-12-25 14:22:10 +01:00
core.h ARM: kprobes: Fix compilation error caused by superfluous '*' 2015-02-10 15:05:30 +08:00
Makefile ARM: kprobes: enable OPTPROBES for ARM 32 2015-01-13 16:10:17 +00:00
opt-arm.c ARM: 8770/1: kprobes: Prohibit probing on optimized_callback 2018-05-26 08:48:57 +02:00
test-arm.c ARM: kprobes: Eliminate test code's use of BX instruction on ARMv4 CPUs 2015-01-20 09:06:04 +00:00
test-core.c arm: kprobes: Align stack to 8-bytes in test code 2017-12-25 14:22:10 +01:00
test-core.h ARM: kprobes: Fix unreliable MRS instruction tests 2015-01-13 16:10:17 +00:00
test-thumb.c ARM: kprobes: Fix unreliable MRS instruction tests 2015-01-13 16:10:17 +00:00