livepatch/arm: Support livepatch without ftrace
euler inclusion
category: feature
bugzilla: 51923
CVE: N/A
----------------------------------------
support livepatch without ftrace for ARM
supported now:
livepatch relocation when init_patch after load_module;
instruction patched when enable;
activeness function check;
enforcing the patch stacking principle;
unsupport now:(willn't fix it feature)
long jump (both livepatch relocation and insn patched)
module plts request by livepatch-relocation
Because CONFIG_ARM_MODULE_PLTS will be not set in ARM, so we needn't
long jump and livepatch plts.
Signed-off-by: NCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: NLi Bin <huawei.libin@huawei.com>
Tested-by: NCheng Jian <cj.chengjian@huawei.com>
Tested-by: NWang Feng <wangfeng59@huawei.com>
Tested-by: NLin DingYu <lindingyu@huawei.com>
Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: Nzhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: NDong Kai <dongkai11@huawei.com>
Signed-off-by: NYe Weihua <yeweihua4@huawei.com>
Reviewed-by: NYang Jihong <yangjihong1@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
arch/arm/include/asm/livepatch.h
0 → 100644
arch/arm/kernel/livepatch.c
0 → 100644
想要评论请 注册 或 登录