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

From: Steven Rostedt
Date: Fri Feb 15 2019 - 12:20:31 EST


On Fri, 15 Feb 2019 17:00:49 +0100
Daniel Bristot de Oliveira <bristot@xxxxxxxxxx> wrote:

> 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?
>
>

"detour" sounds cool.

-- Steve