hubin
6ac6af8b27
upgrade kpatch to version 0.9.7
...
Signed-off-by: hubin <hubin73@huawei.com>
2023-01-30 16:21:12 +08:00
openeuler-ci-bot
2367b476e4
!72 自定义构建目录位置
...
From: @lvgenggeng
Reviewed-by: @hubin95, @xiezhipeng1
Signed-off-by: @xiezhipeng1
2022-11-28 06:36:46 +00:00
lvgenggeng
9b347bce8d
make_hotpatch: add CUSTOM_BUILD_DIR env
...
Signed-off-by: lvgenggeng <lvgenggeng@uniontech.com>
2022-10-17 16:36:39 +08:00
openeuler-ci-bot
b83e435751
!77 create-diff-object: add support for .return_sites section
...
From: @hubin95
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2022-10-09 09:42:47 +00:00
hubin
b19ca18ab0
create-diff-object: add support for .return_sites section
...
Signed-off-by: hubin <hubin73@huawei.com>
2022-10-09 17:34:29 +08:00
openeuler-ci-bot
3dff889d68
!76 lookup: skip finding local symbols for object with no local symbols
...
From: @hubin95
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2022-10-09 08:02:21 +00:00
hubin
1acd737392
lookup: skip finding local symbols for object with no local symbols
...
Signed-off-by: hubin <hubin73@huawei.com>
2022-10-09 10:50:14 +08:00
openeuler-ci-bot
4cc3ecc1ac
!71 修复kpatch-build在op22.03 arm64版本下编译4.19.90内核,加载后在dmesg中生成错误。
...
From: @tangbinzy
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2022-09-08 06:20:48 +00:00
tangbin
32c1d0685e
kpatch-build: Remove duplicate functions
...
Signed-off-by: tangbin <tangbin_yewu@cmss.chinamobile.com>
2022-09-06 12:47:29 -04:00
tangbin
1a9fa8d9b7
kpatch-build: fix loading error in aarch64
...
Signed-off-by: tangbin <tangbin_yewu@cmss.chinamobile.com>
2022-09-06 12:07:43 -04:00
openeuler-ci-bot
a11537b3e8
!70 修复kpatch-build不支持ftrace功能
...
From: @tangbinzy
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2022-09-05 12:15:53 +00:00
tangbin
3459da160d
livepatch-patch-hook: fix kpatch-build error which do not support ftrace
...
Signed-off-by: tangbin <tangbin@cmss.chinamobile.com>
2022-09-05 13:13:34 -04:00
openeuler-ci-bot
a0ac5abc2b
!66 make_hotpatch: fix some grammar error
...
From: @hubin95
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2022-05-30 12:46:21 +00:00
hubin
3a830da0f3
make_hotpatch: fix some grammar error
...
Signed-off-by: hubin <hubin73@huawei.com>
2022-05-30 19:48:05 +08:00
openeuler-ci-bot
f7a943d75e
!65 create-diff-object: fix some hotpatch compilation problems
...
From: @hubin95
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2022-05-23 11:44:52 +00:00
hubin
d2bb38528c
create-diff-object: fix some hotpatch compilation problems
...
Signed-off-by: hubin <hubin73@huawei.com>
2022-05-23 19:07:16 +08:00
openeuler-ci-bot
348a51fb1d
!64 livepatch-patch-hook: fix HAVE_SIMPLE_ENABLE
...
From: @hubin95
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2022-05-12 06:06:14 +00:00
hubin
20a53a07e0
livepatch-patch-hook: fix HAVE_SIMPLE_ENABLE
...
Signed-off-by: hubin <hubin73@huawei.com>
2022-05-12 13:14:47 +08:00
openeuler-ci-bot
fc7fe24459
!62 kpatch-build: do not copy linux scripts when building OOT module hotpatch
...
From: @hubin95
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2022-05-10 12:15:24 +00:00
hubin
bd4a671d9c
kpatch-build: do not copy linux scripts when building OOT module hotpatch
...
Signed-off-by: hubin <hubin73@huawei.com>
2022-05-10 16:55:02 +08:00
openeuler-ci-bot
fe6e07a592
!61 fix segment fault and hotpatch compilation problem when using openEuler 22.03 LTS kernel
...
From: @hubin95
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2022-05-10 07:51:00 +00:00
hubin
24ae780344
fix segment fault and hotpatch compilation problem
...
when using openEuler 22.03 LTS kernel
2022-05-10 15:37:18 +08:00
openeuler-ci-bot
1f99c48272
!59 delete useless code
...
From: @xiezhipeng1
Reviewed-by: @hanxinke
Signed-off-by: @hanxinke
2022-03-30 09:15:35 +00:00
Zhipeng Xie
7ff33703a8
delete useless code
...
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2022-03-30 16:59:32 +08:00
openeuler-ci-bot
e78d3693c7
!56 backport patch to fix kpatch-build failure
...
Merge pull request !56 from 谢志鹏/master
2022-02-06 09:29:25 +00:00
Zhipeng Xie
9f6655b06e
backport patch to fix kpatch-build failure
...
backport patch to fix following error:
"ERROR: util.o: find_local_syms: 185: found duplicate matches for util.c"
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2022-02-06 17:24:22 +08:00
openeuler-ci-bot
e92734a7fb
!54 backport upstream patches
...
Merge pull request !54 from 谢志鹏/master
2022-01-26 07:40:19 +00:00
Zhipeng Xie
2cb5ae19c7
backport upstream patches
...
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2022-01-26 15:25:39 +08:00
openeuler-ci-bot
7f267089a2
!53 backport upstream patch
...
Merge pull request !53 from henry_Fan/master
2021-12-22 03:49:59 +00:00
Wentao Fan
6b716b2754
backport upstream patch
...
Signed-off-by: Wentao Fan <fanwentao@huawei.com>
2021-12-22 11:47:30 +08:00
openeuler-ci-bot
199a74361e
!51 upgrade to v0.9.5
...
From: @xiezhipeng1
Reviewed-by: @licihua
Signed-off-by: @licihua
2021-11-19 08:24:20 +00:00
Zhipeng Xie
4424f7bf7e
rebase from upstream v0.9.5
...
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2021-11-19 12:02:33 +08:00
openeuler-ci-bot
2bb573342c
!50 backport upstream patch to enhance livepatch-patch-hook.c readability
...
From: @hubin57
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-10-30 08:01:08 +00:00
Bin Hu
9846d68736
backport upstream patch to enhance livepatch-patch-hook.c readability
...
Signed-off-by: hubin <hubin57@huawei.com>
2021-10-30 15:45:59 +08:00
openeuler-ci-bot
33b0bad770
!48 backport upstream patches
...
From: @xiezhipeng1
Reviewed-by: @licihua
Signed-off-by: @licihua
2021-10-26 11:47:04 +00:00
Zhipeng Xie
98a26ae704
backport upstream patches
...
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2021-10-26 19:32:05 +08:00
openeuler-ci-bot
4282090fb1
!47 add make_compile_env.sh
...
From: @xiezhipeng1
Reviewed-by: @hanxinke
Signed-off-by: @hanxinke
2021-10-26 08:42:23 +00:00
Zhipeng Xie
78169befd0
add make_compile_env.sh
...
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2021-10-26 16:10:30 +08:00
openeuler-ci-bot
6966dff5a5
!43 在使用kpatch的过程中发现的问题
...
From: @sunshouxin
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-09-29 13:59:59 +00:00
openeuler-ci-bot
d716898cec
!45 kpatch: fix two issues
...
From: @xiezhipeng1
Reviewed-by: @licihua
Signed-off-by: @licihua
2021-09-28 08:58:46 +00:00
Zhipeng Xie
79ae44b66d
kpatch: fix two issues
...
kpatch: update sympos for duplicate symbols in vmlinux
create-diff-object: fix segment fault when sec2->rela is NULL
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2021-09-28 16:54:29 +08:00
openeuler-ci-bot
cedf02fea7
!44 kpatch: remove uname-build-check from build dependency
...
From: @hubin57
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-09-28 07:47:53 +00:00
hubin
ad03b093ca
kpatch: remove uname-build-check from build dependency
...
uname-build-check is only needed when building package in obs
environment which relys on kernel, it should not be installed
in general environment.
Signed-off-by: Bin Hu <hubin57@huawei.com>
2021-09-28 11:02:09 +08:00
sunshouxin
c71ac5b96e
update README.md.
...
当前kpatch代码制作rpm之后,在RPMS目录下生成了arch和noarch两个目录,其中kpatch-runtime在noarch下面,所以要增加noarch目录下面rpm包的安装,否则找不到livepatch命令
2021-09-09 09:06:15 +00:00
openeuler-ci-bot
6dd42c9ee8
!40 create-diff-object: error on detect new/changed ALTINSTR_ENTRY_CB
...
From: @xiezhipeng1
Reviewed-by: @pecs
Signed-off-by: @pecs
2021-08-21 08:54:38 +00:00
Zhipeng Xie
bee047ee3f
create-diff-object: error on detect new/changed ALTINSTR_ENTRY_CB
...
ALTINSTR_ENTRY_CB have callback which referenct to other function
in .altinstructions, currently kaptch don't support new/changed
ALTINSTR_ENTRY_CB, so error on detect this case.
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2021-08-21 04:52:55 -04:00
openeuler-ci-bot
d999bfe5d4
!37 lookup: Add __UNIQUE_ID_ to maybe_discarded_sym list
...
From: @xiezhipeng1
Reviewed-by: @licihua
Signed-off-by: @licihua
2021-07-23 06:21:30 +00:00
Zhipeng Xie
e48825dd0e
lookup: Add __UNIQUE_ID_ to maybe_discarded_sym list
...
Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2021-07-23 00:08:18 -04:00
openeuler-ci-bot
a860bc4c4b
!34 在使用kpatch时发现两个问题(需手动同步到master分支)
...
From: @liuxp11
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-06-08 17:28:55 +08:00
openeuler-ci-bot
49cf2a81a3
!32 backport upstream patch
...
From: @henry-fan
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-05-31 09:01:55 +08:00