Unverified Commit b71995b9 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3542 Support kernel livepatching

Merge Pull Request from: @ci-robot 
 
PR sync from: Zheng Yejian <zhengyejian1@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/62Z66QRLJLJFDXUPU4LI3FUNXFPAFOCZ/ 
Zheng Yejian (33):
  livepatch/core: Allow implementation without ftrace
  livepatch/core: Reuse common codes in the solution without ftrace
  Revert "x86/insn: Make insn_complete() static"
  livepatch/x86: Support livepatch without ftrace
  livepatch/core: Disable support for replacing
  livepatch/core: Restrict livepatch patched/unpatched when plant kprobe
  livepatch/core: Support load and unload hooks
  livepatch: samples: Adapt livepatch-sample for solution without ftrace
  livepatch/core: Support jump_label
  livepatch: Fix crash when access the global variable in hook
  livepatch: Fix patching functions which have static_call
  livepatch/core: Avoid conflict with static {call,key}
  livepatch/arm64: Support livepatch without ftrace
  livepatch/core: Revert module_enable_ro and module_disable_ro
  livepatch: Enable livepatch configs in openeuler_defconfig
  arm/module: Use plt section indices for relocations
  livepatch/core: Add support for arm for klp relocation
  livepatch/arm: Support livepatch without ftrace
  livepatch/ppc32: Support livepatch without ftrace
  livepatch: Use breakpoint exception to optimize enabling livepatch
  livepatch/x86: Support breakpoint exception optimization
  livepatch: Add arch_klp_init
  livepatch/arm64: Support breakpoint exception optimization
  livepatch/arm: Support breakpoint exception optimization
  livepatch: Add klp_module_delete_safety_check
  livepatch/x86: Add arch_klp_module_check_calltrace
  livepatch/arm64: Add arch_klp_module_check_calltrace
  livepatch/arm: Add arch_klp_module_check_calltrace
  livepatch: Bypass dead thread when check calltrace
  livepatch/ppc64: Implement livepatch without ftrace for ppc64be
  livepatch/ppc64: Sample testcase fix ppc64
  livepatch/powerpc: Support breakpoint exception optimization
  livepatch/powerpc: Add arch_klp_module_check_calltrace


-- 
2.25.1
 
https://gitee.com/openeuler/kernel/issues/I8MGE6 
 
Link:https://gitee.com/openeuler/kernel/pulls/3542

 

Reviewed-by: default avatarXu Kuohai <xukuohai@huawei.com>
Reviewed-by: default avatarZucheng Zheng <zhengzucheng@huawei.com>
Reviewed-by: default avatarZhang Jianhua <chris.zjh@huawei.com>
Reviewed-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 45c76c86 9478af9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment