arch/x86/include/asm/livepatch.h
0 → 100644
+33
−0
+1
−0
arch/x86/kernel/livepatch.c
0 → 100644
+289
−0
+67
−22
Loading
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8MGE6 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> Signed-off-by:
Wang ShaoBo <bobo.shaobowang@huawei.com> Signed-off-by:
Ye Weihua <yeweihua4@huawei.com> Signed-off-by:
Zheng Yejian <zhengyejian1@huawei.com>