Re: [RFC PATCH 0/6] uprobes/x86: fix the reprel jmp/call handling

From: Oleg Nesterov
Date: Tue Apr 08 2014 - 12:29:05 EST


On 04/08, Masami Hiramatsu wrote:
>
> (2014/04/07 5:15), Oleg Nesterov wrote:
> >
> > Still I can't understand why displacement.nbytes == 0 in this case...
> > Nevermind.
>
> I guess that you misunderstanding what the displacement means.

You are kidding ;) It is not that I misunderstood ->displacement in
particular, so far I understand almost nothing in this area!

> insn->displacement means
> [... snip ...]

Thanks a lot for your explanation,

> In that case, you should use insn->immediate, instead of insn->moffset1

OK... bu I'm afraid I'll ask a stupid question before I update this
series accordinly.

Thanks.

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/