Messages in this thread | | | Date | Mon, 18 May 2015 17:38:07 +0530 | From | Pratyush Anand <> | Subject | Re: [PATCH 07/10] uprobes/x86: Introduce arch_uretprobe_is_alive() |
| |
Hi Oleg,
On Monday 04 May 2015 06:19 PM, Oleg Nesterov wrote: > +bool __weak arch_uretprobe_is_alive(struct arch_uretprobe *auret, struct pt_regs *regs) > +{ > + return true; > +}
IIUC, then this function should return false when both auret and regs are corresponding to same retprobe, else we need to return true, right?
If that is the case, then should n't following work for all the cases:
return sp != auret->sp;
~Pratyush
| |