47 Commits

Author SHA1 Message Date
openeuler-ci-bot
d54e4638d5
!53 [sync] PR-50: do not print awk warning in libcare-patch-make
From: @openeuler-sync-bot 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2022-09-16 12:27:22 +00:00
yezengruan
b5db178fad do not print awk warning in libcare-patch-make
Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit 193a984a721a42143591603a8fbf8630ac08bfa5)
2022-09-16 20:10:04 +08:00
openeuler-ci-bot
26a4a4193c
!46 update libcareplus to version 1.0.0-12
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-07-21 07:46:18 +00:00
yezengruan
f3d5971110 update libcareplus to version 1.0.0-12
kpatch_process: fix possible double free.
ptrace: fix NULL pointer access problem
fix patched process crashing when acccess the global var
fix probably restore cc symbol link fail when kill patch building uncourteous
optimize: Remove unnecessary comparison code

Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-07-21 10:27:02 +08:00
openeuler-ci-bot
5eb9479cea
!42 modify scripts/pkgbuild to make kpatch'es for the RPM-based packages
From: @wangcichen 
Reviewed-by: @yezengruan 
Signed-off-by: @yezengruan
2022-05-16 10:24:39 +00:00
wangcichen
a5aa48f473 modify scripts/pkgbuild to make kpatch'es for the RPM-based packages
1.support specify patch-id, build-id and sanity check
2.simplify script and put it into libcare devel package
2022-05-13 18:41:30 +08:00
openeuler-ci-bot
7b5cc6d2f4
!38 update spec with openeuler !31 !4
From: @yezengruan 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-05-11 09:00:04 +00:00
yezengruan
c1712c9eb7 update spec with openeuler !31 !4
libcare-dump: change the return value
gensrc: skip vector instruction in str_do_gotpcrel

Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-05-10 17:40:13 +08:00
openeuler-ci-bot
ac6939c3e3
!35 update changelog
From: @yezengruan 
Reviewed-by: @kevinzhu1, @Chuan-Zheng 
Signed-off-by: @kevinzhu1
2022-05-05 07:35:47 +00:00
openeuler-ci-bot
2c14ab6ef8
!31 Submit yaml file into this repository: libcareplus
From: @duyiwei7w 
Reviewed-by: @yezengruan, @Chuan-Zheng, @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-05-05 07:35:04 +00:00
yezengruan
7c961292ea update changelog
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-04-27 19:27:54 +08:00
duyiwei
9f6d938ead add libcareplus.yaml. 2022-04-26 09:03:20 +08:00
openeuler-ci-bot
f059020634
!34 [sync] PR-32: update spec with openeuler !28
From: @openeuler-sync-bot 
Reviewed-by: @imxcc 
Signed-off-by: @imxcc
2022-03-30 02:39:58 +00:00
yezengruan
4d852fa4d8 update spec with openeuler !28
Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit 70fa9ceaec6c6b76e8a944dcf9c0f73365166e6e)
2022-03-29 21:58:52 +08:00
yezengruan
09bd530d13 selinux: enable libcare-ctl to mprotect qemu process
Signed-off-by: Bihong Yu <yubihong@huawei.com>
(cherry picked from commit 55aea2c2b0ccce83f2e58862c6722af4402cd469)
2022-03-29 21:58:52 +08:00
openeuler-ci-bot
588d498150
!30 [sync] PR-28: update spec with openeuler !27
From: @openeuler-sync-bot 
Reviewed-by: @imxcc 
Signed-off-by: @imxcc
2022-03-21 03:40:11 +00:00
yezengruan
86b235fd3a update spec with openeuler !27
Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit f7f22bfc0876f11d67e5aff489ac1ccd4521a2c0)
2022-03-21 10:21:39 +08:00
yezengruan
bf853f4b7d libcare-patch-make: fix some bugs
This patch fix following bugs:
1. origin build should not add '-Wl,-q' flags
2. recover config-host.mak after make kpatch for next building

Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: yezengruan <yezengruan@huawei.com>
(cherry picked from commit 932be3ded6490136ae3a1e79a96f389498b41a42)
2022-03-21 10:21:39 +08:00
openeuler-ci-bot
21b572bbea
!27 sync from branch 22.03-LTS with !24!25!26
From: @yezengruan 
Reviewed-by: @imxcc 
Signed-off-by: @imxcc
2022-03-18 12:30:24 +00:00
yezengruan
60a5fc51b3 update spec with openeuler !26
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-03-17 20:44:42 +08:00
jiang-dawei15
d6d9ad80cb help: modify some help information
Signed-off-by: jiang-dawei15 <jiangdawei15@huawei.com>
Signed-off-by: yezengruan <yezengruan@huawei.com>
2022-03-17 20:44:26 +08:00
imxcc
769de6c4c3 update spec with openeuler !25
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-17 20:44:11 +08:00
imxcc
9a87db68c4 kpatch_parse: fix failed to recognize .cold
the .cold suffix have two forms of expression: func.cold or
func.cold.NUM, we need to support recognizing both patterns.

Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-17 20:43:51 +08:00
imxcc
37e71f537b kpatch_elf: compatible with older versions of the so naming rules
New openEuler so naming rules have been changed, such as:
  old so naming rules: libc-x.y.z.so
     <----->
  new so naming rules: libc.so.x.y.z

We need support this two version.
fix elf/strip: adapt to new gcc version(10.3.1)

Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-17 20:43:21 +08:00
imxcc
ff4a3eed02 Update spec with openeuler !24
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-17 20:42:57 +08:00
imxcc
51c8683df7 libcare-patch-make: adapt libcare-patch-make to meson
Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-17 20:42:40 +08:00
imxcc
15e527dd92 gitignore: ignore some tests and binary
Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-17 20:42:22 +08:00
imxcc
649f41d79f elf/strip: adapt to new gcc version(10.3.1)
This patch fix the following problems:
  1. new libc so use new naming method,such as: libc.6.so -> libc.so.6;
  2. destroy .rela section sh_flags INFO property;

Signed-off-by: Bihong Yu <yubihong@huawei.com>
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-17 20:42:07 +08:00
openeuler-ci-bot
de2ad5dd9c
!23 sync from src-openeuler(branch 22.03-LTS) with !15 !16
From: @bobychen 
Reviewed-by: @imxcc 
Signed-off-by: @imxcc
2022-03-03 06:16:30 +00:00
bobychen
cec740a2e7 spec: remove libcare.service and libcare.socket
Signed-off-by: imxcc <xingchaochao@huawei.com>
Signed-off-by: bobychen <boby.chen@huawei.com>
2022-03-02 15:38:04 +08:00
bobychen
541e8fa3f8 update patch with openeuler !19
- gensrc: we should add align while FLAGS_PUSH_SECTION flag is set
- elf: add section adderss for STT_NOTYPE type of symbol

Signed-off-by: imxcc <xingchaochao@huawei.com>
Signed-off-by: bobychen <boby.chen@huawei.com>
2022-03-02 15:31:45 +08:00
bobychen
d6866906b9 update patch with openeuler !18
fix cblock parse for LCOLD/LHOT/.cold.NUM, .init_array and
support gnu_unique_object

Signed-off-by: imxcc <xingchaochao@huawei.com>
Signed-off-by: bobychen <boby.chen@huawei.com>
2022-03-02 15:29:08 +08:00
openeuler-ci-bot
68e1f79554
!20 package init 1.0.0
From: @imxcc 
Reviewed-by: @kevinzhu1 
Signed-off-by: @kevinzhu1
2022-03-02 02:42:52 +00:00
imxcc
4bc6684e53 package init 1.0.0
Signed-off-by: imxcc <xingchaochao@huawei.com>
2022-03-02 10:20:37 +08:00
openeuler-ci-bot
5a9889336b !8 [sync] PR-7: fix uninstall warning
From: @openeuler-sync-bot
Reviewed-by: @zhanghailiang_lucky
Signed-off-by: @zhanghailiang_lucky
2021-09-01 09:24:40 +00:00
caodongxia
fb9fabcd78 fix uninstall warning
(cherry picked from commit 62c92c28cf55d51d2ae79a074e763c7c9895416a)
2021-08-24 14:20:14 +08:00
openeuler-ci-bot
9517c959f6 !6 修复因缺少依赖导致编译失败问题
From: @wu-leilei
Reviewed-by: @hht8,@zhanghailiang_lucky
Signed-off-by: @zhanghailiang_lucky
2021-06-15 02:45:33 +00:00
wu-leilei
3699d0e3d2 fixes failed: gcc: command not found 2021-06-08 09:47:09 +08:00
openeuler-ci-bot
581bb58173 !5 AArch64 support: add aarch64 support for libcareplus
From: @lijiajie128
Reviewed-by: @yorifang
Signed-off-by: @yorifang
2021-02-19 14:31:59 +08:00
Jiajie Li
2b0fff2855 AArch64 support: add aarch64 support for libcareplus
Add related code which make libcareplus can run basic demo on aarch64.

Signed-off-by: Jiajie Li <lijiajie11@huawei.com>
2021-02-10 09:18:56 +08:00
openeuler-ci-bot
9389c4afb2 !4 Del the {dist} in release.
From: @si-gui
Reviewed-by: @yorifang
Signed-off-by: @yorifang
2021-01-06 12:18:13 +08:00
si-gui
08a63d1e75 Del the {dist} in release. 2020-12-28 15:45:44 +08:00
openeuler-ci-bot
7d45a49d2b !1 init libcareplus repo
From: @yorifang
Reviewed-by: @xydong
Signed-off-by: @xydong
2020-12-08 17:28:42 +08:00
Ying Fang
8d9f08938c Init: init libcareplus repo
Add libcareplus-0.1.4.tar.gz as the target source
Add libcareplus.spec

Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-12-08 16:58:42 +08:00
Ying Fang
741587777f init: Basic description about LibcarePlus
This commit add basic description about LibcarePlus in README.md

Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-12-08 16:49:39 +08:00
Ying Fang
5ef17d5b16 LICENSE: add LICENSE file
LibcarePlus is derived from libcare project, just keep
the LICENSE as it is.

Signed-off-by: Ying Fang <fangying1@huawei.com>
2020-12-08 16:47:34 +08:00
openeuler-ci-bot
3a48e3899b Initial commit 2020-12-08 09:25:01 +08:00