diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2018-05-13 06:04:10 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-05-19 12:35:56 +0200 |
commit | 70948c05fdde0aac32f9667856a88725c192fa40 (patch) | |
tree | 438853e99d5d6ab02ef59df38856f858eb8b0f19 /arch/arm/probes/kprobes/core.h | |
parent | ARM: 8769/1: kprobes: Fix to use get_kprobe_ctlblk after irq-disabed (diff) | |
download | linux-70948c05fdde0aac32f9667856a88725c192fa40.tar.xz linux-70948c05fdde0aac32f9667856a88725c192fa40.zip |
ARM: 8770/1: kprobes: Prohibit probing on optimized_callback
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: 0dc016dbd820 ("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>
Diffstat (limited to 'arch/arm/probes/kprobes/core.h')
0 files changed, 0 insertions, 0 deletions