267 Commits

Author SHA1 Message Date
openeuler-ci-bot
07240b92d5
!539 sync patch from master to add fPIC compile option
From: @jikai11 
Reviewed-by: @taotao-sauce 
Signed-off-by: @taotao-sauce
2024-11-25 07:39:49 +00:00
jikai
3780f29c29 sync patch from master to add fPIC compile option
Signed-off-by: jikai <jikai11@huawei.com>
2024-11-25 06:52:57 +00:00
openeuler-ci-bot
f493d6ac09
!531 backport:fix clang build error on AARCH64
From: @yuncang123 
Reviewed-by: @xuxuepeng, @taotao-sauce 
Signed-off-by: @taotao-sauce
2024-09-23 01:48:28 +00:00
yuncang123
8d1dbad86c fix error of cc.compiles in meson.build on aarch cased by '-fstack-clash-protection' and '-Werror' 2024-09-15 02:07:29 +08:00
openeuler-ci-bot
67784007b3
!528 [sync] PR-527: disable tests while building lxc
From: @openeuler-sync-bot 
Reviewed-by: @taotao-sauce 
Signed-off-by: @taotao-sauce
2024-08-26 03:50:23 +00:00
jikai
7fac96a417 disable tests while building lxc
Signed-off-by: jikai <jikai11@huawei.com>
(cherry picked from commit af03eaa7c667f92bec0bcbc01d5da09304eff5bc)
2024-08-19 16:21:34 +08:00
openeuler-ci-bot
1e4cd292e2
!525 [sync] PR-522: [平行宇宙] Disable ThinLTO when building with clang
From: @openeuler-sync-bot 
Reviewed-by: @xuxuepeng 
Signed-off-by: @xuxuepeng
2024-04-25 11:55:38 +00:00
jchzhou
d56fed59a5 add a parameter for disabling LTO when building with clang & ld.bfd
Signed-off-by: jchzhou <zhoujiacheng@iscas.ac.cn>
(cherry picked from commit 6e654b2fceb71e5152fa5aa0312a96c3ccd3a988)
2024-04-25 17:26:10 +08:00
openeuler-ci-bot
f8b272a626
!523 [sync] PR-520: unfreeze freezing container and bugfix for files.limit and syscontainer
From: @openeuler-sync-bot 
Reviewed-by: @xuxuepeng 
Signed-off-by: @xuxuepeng
2024-04-16 11:19:20 +00:00
jikai
3aecfd0ec5 unfreeze freezing container and bugfix for files.limit and syscontainer
1. container in the freezing state must be unfreeze
https://gitee.com/src-openeuler/lxc/pulls/498

2. bugfix for files.limit invalid
should return false if failed to write cgroup.procs after max times,
or will lead to files.limit invalid

3. run oci-prestart hook before switch root
In: https://gitee.com/src-openeuler/lxc/pulls/513, we move oci-prestart hook
after sync_cgroup_limits, for sync_cgroup_limits will write a *:* rwm device rule
which will lead the device rule we write in oci-prestart hook useless.
However the modification move oci-prestart hook after change root.
We restore the changes. Since setup_limits_legacy will do the a *:* rwm write,
we only ensure that setup_limits_legacy executes before oci-prestart.

Signed-off-by: jikai <jikai11@huawei.com>
(cherry picked from commit 66a11e65caa6a9d44578eff65ff1651ff2c7374e)
2024-04-16 09:15:30 +08:00
openeuler-ci-bot
2bee89bdd7
!519 append mntopt to mntdata if not found in mount_opt
From: @jikai11 
Reviewed-by: @xuxuepeng, @duguhaotian 
Signed-off-by: @duguhaotian
2024-02-23 01:59:47 +00:00
jikai
ff9d657d44 append mntopt to mntdata if not found in mount_opt
Signed-off-by: jikai <jikai11@huawei.com>
2024-02-22 17:35:53 +08:00
jake
d26b0c24a2 !518 fix cpuset cgroup set error
* fix cpuset cgroup error
2024-02-08 01:15:17 +00:00
jake
71d14e23a6 !517 ensure cpuset cgroup built while writing cgroup.procs
* ensure cpuset cgroup built while writing cgroup.procs
2024-02-07 06:17:25 +00:00
zhangxiaoyu
83bedfb2cc !515 fix dev mount failed and skip send/recv devpts_fd if disable_pty
* fix dev mount failed and skip send/recv devpts_fd if disable_pty
2024-01-23 02:10:34 +00:00
zhangxiaoyu
33fcfecc72 !513 skip setup console if disable pty and fix syscontainer-hooks write devices rule useless
* skip setup console if disable pty and fix syscontainer-hooks write dev…
2024-01-10 06:12:01 +00:00
zhangxiaoyu
00deb30ecc !512 add storage block code for embedded image
* add storage block code for embedded image
2024-01-02 01:13:42 +00:00
zhangxiaoyu
680290b0fc !507 bugfix about cgroup, mount propagation and capabilities
* bugfix about cgroup, mount propagation and capabilities
2023-12-19 12:38:54 +00:00
openeuler-ci-bot
c234648198
!506 bugfix for system container and stream
From: @zh_xiaoyu 
Reviewed-by: @taotao-sauce, @duguhaotian 
Signed-off-by: @duguhaotian
2023-12-07 01:32:23 +00:00
zhangxiaoyu
f2dfd761bc bugfix for system container and stream
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2023-12-06 10:34:43 +08:00
zhangxiaoyu
841d4aeae1 !501 fix run container failed when enable isulad
* fix run container failed when enable isulad
2023-10-24 11:54:26 +00:00
zhangxiaoyu
24870d1e3b !491 fix disable isulad
* fix disable isulad
2023-08-08 01:24:35 +00:00
zhangxiaoyu
da1a547b39 !488 disable isulad option
* disable isulad option
2023-08-07 01:12:22 +00:00
zhangxiaoyu
8726798c63 !487 add isulad code and fix compile error
* add isulad code and fix compile error
2023-08-04 07:53:33 +00:00
haozi007
0e69c75c78 !486 [Update lxc 5.0.x] iSulad: adpat code for conf network storage terminal
* iSulad: adpat code for conf network storage terminal
2023-07-26 02:32:46 +00:00
haozi007
368bb8a97c !485 update lxc to 5.0.2
* update lxc to 5.0.2
2023-07-21 02:43:10 +00:00
openeuler-ci-bot
41350aee3f
!481 增加一个安全编译控制宏
From: @mzzhou1994 
Reviewed-by: @zh_xiaoyu, @duguhaotian 
Signed-off-by: @duguhaotian
2023-07-11 01:38:24 +00:00
mzzhou
9ce5ac8ddc add secure compile macro 2023-07-10 22:27:09 +08:00
openeuler-ci-bot
470cf2277f
!472 fix mount device path incorrect
From: @zh_xiaoyu 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2023-06-19 01:43:23 +00:00
zhangxiaoyu
f5ba28d971 fix mount device path incorrect
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2023-06-16 12:04:57 +08:00
openeuler-ci-bot
9c29a1ce6c
!465 fix load bpf failed
From: @zh_xiaoyu 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2023-05-22 01:51:25 +00:00
zhangxiaoyu
3179419947 fix load bpf failed
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2023-05-06 17:29:02 +08:00
haozi007
2d20e993c6
!462 fix lost return codes of spawned processe
Merge pull request !462 from zmr_2020/master
2023-05-06 09:20:18 +00:00
zmr_2020
4299137267 fix lost return codes of spawned processe 2023-05-04 11:21:42 +08:00
openeuler-ci-bot
b3f3d28e15
!459 remove unused meminfo stats
From: @zh_xiaoyu 
Reviewed-by: @driedyellowpeach, @duguhaotian 
Signed-off-by: @duguhaotian
2023-04-23 07:02:24 +00:00
zhangxiaoyu
9f09999719 remove unused meminfo stats
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2023-04-21 09:49:59 +08:00
openeuler-ci-bot
24267c8fa0
!452 fix mixed use of signed and unsigned type
From: @driedyellowpeach 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2023-04-18 11:56:59 +00:00
Neil.wrz
d1f56d28dc fix mixed use of signed and unsigned type
Signed-off-by: Neil.wrz <wangrunze13@huawei.com>
2023-04-18 00:08:30 -07:00
openeuler-ci-bot
6a52977ba1
!447 use ocihooks env after getenv
From: @zh_xiaoyu 
Reviewed-by: @taotao-sauce, @duguhaotian 
Signed-off-by: @duguhaotian
2023-03-30 12:22:11 +00:00
zhangxiaoyu
11b2387bd0 use ocihooks env after getenv
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2023-03-30 16:56:46 +08:00
haozi007
28af9a1d79
!440 add loongarch64 support for lxc
Merge pull request !440 from zhangwenlong01/master
2023-03-06 07:29:01 +00:00
Wenlong Zhang
f6cb817596 add loongarch64 support for lxc
Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
2023-03-04 11:43:05 +08:00
haozi007
0e717dad89
!438 report Mem info from cgroup
Merge pull request !438 from ilyakuksenok/fix_meminfo_CRI-1.25
2023-02-27 12:31:44 +00:00
ilya.kuksenok
e415d7ba49 add meminfo CRI-1.25 patch
fix date
2023-02-27 15:24:47 +03:00
haozi007
61ce33c7cb
!431 fix null ops may cause core dump
Merge pull request !431 from DriedYellowPeach/master
2023-02-23 06:43:34 +00:00
Neil.wrz
2d10b2cdf7 fix null ops may cause coredump
Signed-off-by: Neil.wrz <wangrunze13@huawei.com>
2023-02-22 18:06:24 -08:00
haozi007
0de21982dc
!430 fix RISC-V build errors
Merge pull request !430 from misaka00251/master
2023-02-23 01:39:45 +00:00
misaka00251
d2032fa1c8
fix RISC-V build errors 2023-02-22 14:10:37 +08:00
haozi007
49e51df2c6
!419 fix lxc write error message
Merge pull request !419 from ger202/master
2023-02-21 02:20:14 +00:00
songbuhuang
38800f4f7d fix lxc write error message
Signed-off-by: songbuhuang <544824346@qq.com>
2023-02-21 09:47:45 +08:00