livepatch/x86: support livepatch without ftrace
hulk inclusion
category: feature
bugzilla: 5507
CVE: NA
----------------------------------------
support livepatch without ftrace for x86_64
supported now:
livepatch relocation when init_patch after load_module;
instruction patched when enable;
activeness function check;
enforcing the patch stacking principle;
x86_64 use variable length instruction, so there's no need to consider
extra implementation for long jumps.
Signed-off-by:
Cheng Jian <cj.chengjian@huawei.com>
Signed-off-by:
Li Bin <huawei.libin@huawei.com>
Tested-by:
Yang ZuoTing <yangzuoting@huawei.com>
Tested-by:
Cheng Jian <cj.chengjian@huawei.com>
Reviewed-by:
Xie XiuQi <xiexiuqi@huawei.com>
Signed-off-by:
zhangyi (F) <yi.zhang@huawei.com>
Reviewed-By:
Xie XiuQi <xiexiuqi@huawei.com>
Reviewed-By:
Xie XiuQi <xiexiuqi@huawei.com>
Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment