Re: [RFC PATCH v2 2/6] uprobes/x86: Emulate unconditional rip-relative jmp's
From: Denys Vlasenko
Date: Thu Apr 10 2014 - 08:38:29 EST
On 04/09/2014 09:44 PM, Oleg Nesterov wrote:
> uprobes/x86: Emulate unconditional rip-relative jmp's
I propose "Emulate unconditional relative jmp's"
> + union {
> #ifdef CONFIG_X86_64
> - unsigned long rip_rela_target_address;
> + unsigned long rip_rela_target_address;
> #endif
> + struct {
> + s32 disp;
In x86-speak, jumps and calls have "offsets", not "displacements"
> + u8 ilen;
> + } ttt;
> + };
> };
--
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/