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
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
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
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
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
368bb8a97c
!485 update lxc to 5.0.2
...
* update lxc to 5.0.2
2023-07-21 02:43:10 +00:00
mzzhou
9ce5ac8ddc
add secure compile macro
2023-07-10 22:27:09 +08:00
zhangxiaoyu
f5ba28d971
fix mount device path incorrect
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2023-06-16 12:04:57 +08:00
zhangxiaoyu
3179419947
fix load bpf failed
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2023-05-06 17:29:02 +08:00
zmr_2020
4299137267
fix lost return codes of spawned processe
2023-05-04 11:21:42 +08:00
zhangxiaoyu
9f09999719
remove unused meminfo stats
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2023-04-21 09:49:59 +08: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
zhangxiaoyu
11b2387bd0
use ocihooks env after getenv
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2023-03-30 16:56:46 +08: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
ilya.kuksenok
e415d7ba49
add meminfo CRI-1.25 patch
...
fix date
2023-02-27 15:24:47 +03: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
misaka00251
d2032fa1c8
fix RISC-V build errors
2023-02-22 14:10:37 +08:00
songbuhuang
38800f4f7d
fix lxc write error message
...
Signed-off-by: songbuhuang <544824346@qq.com>
2023-02-21 09:47:45 +08:00
zhangxiaoyu
8f5856efd2
remove process inheritable capability
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2023-02-20 20:31:21 +08:00
jxy_git
cb8afc9248
Optimize test command
2023-02-14 14:13:22 +08:00
Neil.wrz
3ce5f36ca3
fix cve log leaks root information
...
Signed-off-by: Neil.wrz <wangrunze13@huawei.com>
2023-01-12 23:05:47 -08:00
songbuhuang
36bad83083
change the suffi parameter in lxc attach --help output
...
Signed-off-by: songbuhuang <544824346@qq.com>
2022-12-19 09:55:04 +08:00
zhongtao
a4d3abf3d9
!381 add sscanf adapation code for musl
...
* add sscanf adapation code for musl
2022-12-08 02:30:58 +00:00
zhangxiaoyu
ad3a9ebb1f
add lxc-attach add-gids option
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2022-12-02 18:59:45 +08:00
zhangxiaoyu
b33aaece7b
add macro to adapt musl libc
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2022-11-24 17:21:05 +08:00
Neil.wrz
191bfe6c61
rm duplicate AUTHORS and README
...
Signed-off-by: Neil.wrz <wangrunze13@huawei.com>
2022-11-08 17:37:58 -08:00
zhangxiaoyu
659dae3fd3
Add sw64 architecture
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2022-11-08 09:48:57 +08:00
zhangxiaoyu
fe29bd966d
update version to 4.0.3-2022101701
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2022-10-17 14:48:47 +08:00
zhangxiaoyu
77cb713873
skip kill cgroup processes if no hierarchies
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2022-09-22 10:49:33 +08:00
Neil.wrz
bdcd2b2d4a
fix do mask pathes after parent mounted
...
Signed-off-by: Neil.wrz <wangrunze13@huawei.com>
2022-09-20 01:59:19 -07:00
Neil.wrz
5b763b2882
fix tools using -? option give error
...
Signed-off-by: Neil.wrz <wangrunze13@huawei.com>
2022-09-01 19:49:28 -07:00
zhongtao
60707feb80
add git config in apply-patches
...
Signed-off-by: zhongtao <taozh97@163.com>
2022-09-01 15:26:56 +08:00
zhangxiaoyu
92095a5272
fix changelog error
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2022-08-31 16:50:14 +08:00
WangFengTu
32c63cd339
do not check rootfs.path, it may be null if rootfs is "/"
...
Signed-off-by: WangFengTu <wangfengtu@huawei.com>
2022-08-20 15:24:58 +08:00
WangFengTu
c8c945942e
do not check rootfs.path, it may be null if rootfs is "/"
...
Signed-off-by: WangFengTu <wangfengtu@huawei.com>
2022-08-20 14:49:24 +08:00
WangFengTu
58d2c892a3
return fail if no args or no rootfs path found
...
Signed-off-by: WangFengTu <wangfengtu@huawei.com>
2022-08-19 15:22:55 +08:00
haozi007
a04767369f
only set user or image setting non-empty HOME
...
Signed-off-by: haozi007 <liuhao27@huawei.com>
2022-08-13 15:00:45 +08:00
zhangxiaoyu
8089904cc1
fix changelog date
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2022-08-01 20:13:29 +08:00
zhangxiaoyu
a77dcfe353
drop security_context_t
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2022-07-26 14:32:03 +08:00
zhangxiaoyu
59727a93d5
check yajl only when have isulad
...
Signed-off-by: zhangxiaoyu <zhangxiaoyu58@huawei.com>
2022-07-25 17:59:42 +08:00