| Date | Fri, 4 Apr 2014 21:52:00 +0200 | From | Oleg Nesterov <> | Subject | Re: [PATCH v2 0/9] uprobes/x86: preparations to fix the reprel jmp/call handling. |
| |
On 04/04, Oleg Nesterov wrote: > > +static int ttt_post_xol_op(struct arch_uprobe *auprobe, struct pt_regs *regs) > +{ > + regs->sp += 8; > + if (ttt_emulate_op(auprobe, regs)) > + return 0; > + return -ERESTART; > +}
forgets to update ->ip before ttt_emulate_op(). Or we can simply return -ERESTART after sp += 8. Please ignore this bug, this part is trivial.
Oleg.
|