Re: [PATCH V4 7/9] x86/alternative: Batch of patch operations

From: Daniel Bristot de Oliveira
Date: Fri Feb 15 2019 - 11:00:55 EST


On 2/14/19 3:40 PM, Steven Rostedt wrote:
> On Thu, 14 Feb 2019 15:30:30 +0100
> Borislav Petkov <bp@xxxxxxxxx> wrote:
>
>>> void *trampoline;
>>
>> Well, it ain't a trampoline either. It is a "temporary location to go to while
>> patching is going on".
>
> void *detour;
>

The comment on top of text_poke_bp() defines:

handler: address to jump to when the temporary breakpoint is hit

so, how about tmp_jump_addr?

well, detour works as well :-)

thoughts?

Thanks!
-- Daniel