Re: [RFC PATCH 14/26] x86/alternatives: Handle native insns in text_poke_loc*()

From: Peter Zijlstra
Date: Wed Apr 08 2020 - 07:17:57 EST



On Tue, Apr 07, 2020 at 10:03:11PM -0700, Ankur Arora wrote:
> @@ -1071,10 +1079,13 @@ int notrace poke_int3_handler(struct pt_regs *regs)
> goto out_put;
> }
>
> - len = text_opcode_size(tp->opcode);
> + if (desc->native)
> + BUG();
> +

Subject: x86/alternatives: Handle native insns in text_poke_loc*()

That's not really handling, is it..