Re: [kpatch] [PATCH] livepatch v7: move x86 specific ftrace handler code to arch/x86

From: Josh Poimboeuf
Date: Fri Dec 19 2014 - 09:24:12 EST


On Fri, Dec 19, 2014 at 02:11:17PM +0800, Li Bin wrote:
> The execution flow redirection related implemention in the livepatch
> ftrace handler is depended on the specific architecture. This patch
> introduces klp_arch_set_pc(like kgdb_arch_set_pc) interface to change
> the pt_regs.
>
> Signed-off-by: Li Bin <huawei.libin@xxxxxxxxxx>
> ---
> arch/x86/include/asm/livepatch.h | 5 +++++
> kernel/livepatch/core.c | 2 +-
> 2 files changed, 6 insertions(+), 1 deletions(-)

Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>


--
Josh
--
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/