Linux/linux 70948c0arch/arm/probes/kprobes opt-arm.c

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 at kernel.org>
Cc: stable at vger.kernel.org
Signed-off-by: Russell King <rmk+kernel at armlinux.org.uk>
DeltaFile
+1-0arch/arm/probes/kprobes/opt-arm.c
+1-01 files

UnifiedSplitRaw