We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ed86b9 commit 75bd4bfCopy full SHA for 75bd4bf
arch/arm64/kernel/probes/kprobes.c
@@ -352,8 +352,8 @@ kprobe_breakpoint_ss_handler(struct pt_regs *regs, unsigned int esr)
352
unsigned long addr = instruction_pointer(regs);
353
struct kprobe *cur = kprobe_running();
354
355
- if (cur && (kcb->kprobe_status == KPROBE_HIT_SS)
356
- && ((unsigned long)&cur->ainsn.api.insn[1] == addr)) {
+ if (cur && (kcb->kprobe_status & (KPROBE_HIT_SS | KPROBE_REENTER)) &&
+ ((unsigned long)&cur->ainsn.api.insn[1] == addr)) {
357
kprobes_restore_local_irqflag(kcb, regs);
358
post_kprobe_handler(cur, kcb, regs);
359
0 commit comments