Yashodhan
e1d67e89ca
update rust version to 1.85.0 ( #3085 )
...
* update rust version to 1.85.0
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* ci: add rustflags to make cross rs work properly
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
---------
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2025-04-08 19:14:15 +09:00
dependabot[bot]
cd7ec1d002
chore(deps): bump errno from 0.3.10 to 0.3.11 in the patch group
...
Bumps the patch group with 1 update: [errno](https://github.com/lambda-fairy/rust-errno ).
Updates `errno` from 0.3.10 to 0.3.11
- [Release notes](https://github.com/lambda-fairy/rust-errno/releases )
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.10...v0.3.11 )
---
updated-dependencies:
- dependency-name: errno
dependency-version: 0.3.11
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 00:30:11 +00:00
dependabot[bot]
58c5e209ab
chore(deps): bump the patch group with 2 updates
...
Bumps the patch group with 2 updates: [nc](https://github.com/xushaohua/nc ) and [flate2](https://github.com/rust-lang/flate2-rs ).
Updates `nc` from 0.9.5 to 0.9.6
- [Commits](https://github.com/xushaohua/nc/compare/v0.9.5...v0.9.6 )
Updates `flate2` from 1.1.0 to 1.1.1
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.1.0...1.1.1 )
---
updated-dependencies:
- dependency-name: nc
dependency-version: 0.9.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: flate2
dependency-version: 1.1.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-03 00:21:15 +00:00
dependabot[bot]
a2133c24d8
chore(deps): bump once_cell from 1.21.2 to 1.21.3 in the patch group
...
Bumps the patch group with 1 update: [once_cell](https://github.com/matklad/once_cell ).
Updates `once_cell` from 1.21.2 to 1.21.3
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.21.2...v1.21.3 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 00:16:21 +00:00
dependabot[bot]
3d02fc19cc
chore(deps): bump once_cell from 1.21.1 to 1.21.2 in the patch group
...
Bumps the patch group with 1 update: [once_cell](https://github.com/matklad/once_cell ).
Updates `once_cell` from 1.21.1 to 1.21.2
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.21.1...v1.21.2 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-28 00:23:21 +00:00
Keming
1b840bb093
bump nix to 0.29.0 ( #3123 )
...
* bump nix to 0.29
Signed-off-by: Keming <kemingy94@gmail.com>
* change to 0.29 for all
Signed-off-by: Keming <kemingy94@gmail.com>
---------
Signed-off-by: Keming <kemingy94@gmail.com>
2025-03-24 10:08:48 +05:30
github-actions[bot]
01a89ccd8f
Release for v0.5.3 ( #3119 )
...
* [tagpr] prepare for the next release
* [tagpr] update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-21 21:20:40 +09:00
Yashodhan
747e342d20
Merge commit from fork
...
* fix the way we set capapbilities on tenant container
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* add tests and extract a function
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* fix: format and typo fix
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
---------
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2025-03-21 21:13:41 +09:00
dependabot[bot]
b65e3ca1a8
Bump once_cell from 1.21.0 to 1.21.1 in the patch group
...
Bumps the patch group with 1 update: [once_cell](https://github.com/matklad/once_cell ).
Updates `once_cell` from 1.21.0 to 1.21.1
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.21.0...v1.21.1 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-14 00:44:56 +00:00
dependabot[bot]
ec826fc311
Bump libc from 0.2.170 to 0.2.171 in the patch group
...
Bumps the patch group with 1 update: [libc](https://github.com/rust-lang/libc ).
Updates `libc` from 0.2.170 to 0.2.171
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.171/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.170...0.2.171 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-12 00:17:41 +00:00
dependabot[bot]
77ef34525b
Bump once_cell from 1.20.3 to 1.21.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.20.3 to 1.21.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.3...v1.21.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-11 00:20:39 +00:00
github-actions[bot]
aa83910eaa
Release for v0.5.2 ( #3050 )
...
* [tagpr] prepare for the next release
* [tagpr] update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-04 21:12:14 +09:00
dependabot[bot]
567424db26
Bump the patch group with 3 updates
...
Bumps the patch group with 3 updates: [thiserror](https://github.com/dtolnay/thiserror ), [anyhow](https://github.com/dtolnay/anyhow ) and [serde_json](https://github.com/serde-rs/json ).
Updates `thiserror` from 2.0.11 to 2.0.12
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.11...2.0.12 )
Updates `anyhow` from 1.0.96 to 1.0.97
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.96...1.0.97 )
Updates `serde_json` from 1.0.139 to 1.0.140
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.139...v1.0.140 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-04 00:57:45 +00:00
AngrySean
266881f5fd
fix(libcgroup): fix disable_oom_killer in cgroup v1 ( #3090 )
...
* fix(libcgroup): fix disable_oom_killer in cgroup v1
The intended behavior is to enable the OOM killer when
disable_oom_killer is not set, which is the common case. However, since
0 means enable and 1 means disable, the if condition is currently
reversed.
This is a really critical issue, as it will cause processes in the
container to hang.
Signed-off-by: xujihui1985 <xujihui1985@gmail.com>
* refactor: rename function disable_oom_killer
Rename set_disable_oom_kill to set_oom_control to make the function name
more meaningful.
Signed-off-by: xujihui1985 <xujihui1985@gmail.com>
* fix: cargo fmt
Signed-off-by: xujihui1985 <xujihui1985@gmail.com>
---------
Signed-off-by: xujihui1985 <xujihui1985@gmail.com>
2025-02-27 19:45:37 +09:00
Yashodhan Joshi
166c5153a6
dep: update rand in libcontainer
...
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2025-02-25 14:44:17 +05:30
dependabot[bot]
aa807b7c26
Bump the patch group with 2 updates
...
Bumps the patch group with 2 updates: [libc](https://github.com/rust-lang/libc ) and [tar](https://github.com/alexcrichton/tar-rs ).
Updates `libc` from 0.2.169 to 0.2.170
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.170/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.169...0.2.170 )
Updates `tar` from 0.4.43 to 0.4.44
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.43...0.4.44 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: tar
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 00:10:47 +00:00
dependabot[bot]
f54e7b1538
Bump the patch group with 3 updates
...
Bumps the patch group with 3 updates: [serde](https://github.com/serde-rs/serde ), [anyhow](https://github.com/dtolnay/anyhow ) and [serde_json](https://github.com/serde-rs/json ).
Updates `serde` from 1.0.217 to 1.0.218
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.217...v1.0.218 )
Updates `anyhow` from 1.0.95 to 1.0.96
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.95...1.0.96 )
Updates `serde_json` from 1.0.138 to 1.0.139
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.138...v1.0.139 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 00:19:31 +00:00
dependabot[bot]
eb6a5fed5d
Bump the patch group with 2 updates
...
Bumps the patch group with 2 updates: [once_cell](https://github.com/matklad/once_cell ) and [which](https://github.com/harryfei/which-rs ).
Updates `once_cell` from 1.20.2 to 1.20.3
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.2...v1.20.3 )
Updates `which` from 7.0.1 to 7.0.2
- [Release notes](https://github.com/harryfei/which-rs/releases )
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/harryfei/which-rs/compare/7.0.1...7.0.2 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: which
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-07 00:05:48 +00:00
dependabot[bot]
cb41e86dd0
Bump wasmtime and wasi-common from 28.0.1 to 29.0.1 ( #3059 )
...
* Bump wasi-common from 28.0.1 to 29.0.1
Bumps [wasi-common](https://github.com/bytecodealliance/wasmtime ) from 28.0.1 to 29.0.1.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/v29.0.1/RELEASES.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v28.0.1...v29.0.1 )
---
updated-dependencies:
- dependency-name: wasi-common
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump wasmtime from 28.0.1 to 29.0.1
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 28.0.1 to 29.0.1.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/v29.0.1/RELEASES.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v28.0.1...v29.0.1 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2025-02-05 10:30:25 +05:30
Kotaro Inoue
c7a10ac6f5
Support feature subcommand ( #2837 )
...
* try to create new struct for hardcoding
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
change struct name to resolve conflict
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
fix annotation references
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
set as Strings
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
use serde
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
pretty print
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
clean up names to match runc features output
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
rearrange structs and constants
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
fix lint issues
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
try to source caps dynamically
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
try to source namespaces dynamically
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
fix query_caps
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
fix match statements
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
fix linting issues
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
fix extra line for linting
Signed-off-by: Darrell Tang <darrelltang@gmail.com>
Fix format
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* Support feature subcommand
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* fixup! Support feature subcommand
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* fixup! Support feature subcommand
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* fixup! Support feature subcommand
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* fixup! Support feature subcommand
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* fixup! Support feature subcommand
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* fixup! Support feature subcommand
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* fixup! Support feature subcommand
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* Use MountOption::known_options
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
---------
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
Co-authored-by: Darrell Tang <darrelltang@gmail.com>
2025-01-29 21:17:20 +09:00
Kotaro Inoue
6513cca29e
Use MountOption enum to parse mount options defined in the spec ( #2937 )
...
* Define MountOption enum
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* Fix wrong test cases for mount options
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* Add method to return known options for MountOption
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* Revert unnecessary change
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
---------
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
2025-01-20 21:05:52 +09:00
dependabot[bot]
9187951e46
Bump the patch group with 2 updates
...
Bumps the patch group with 2 updates: [wasmtime](https://github.com/bytecodealliance/wasmtime ) and [wasi-common](https://github.com/bytecodealliance/wasmtime ).
Updates `wasmtime` from 28.0.0 to 28.0.1
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/v28.0.1/RELEASES.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v28.0.0...v28.0.1 )
Updates `wasi-common` from 28.0.0 to 28.0.1
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/v28.0.1/RELEASES.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v28.0.0...v28.0.1 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: wasi-common
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-15 00:52:17 +00:00
dependabot[bot]
e370cea2bf
Bump the patch group with 3 updates
...
Bumps the patch group with 3 updates: [thiserror](https://github.com/dtolnay/thiserror ), [vergen-gitcl](https://github.com/rustyhorde/vergen ) and [uuid](https://github.com/uuid-rs/uuid ).
Updates `thiserror` from 2.0.10 to 2.0.11
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.10...2.0.11 )
Updates `vergen-gitcl` from 1.0.3 to 1.0.5
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/commits )
Updates `uuid` from 1.11.0 to 1.11.1
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.11.0...1.11.1 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: vergen-gitcl
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 00:14:03 +00:00
github-actions[bot]
b3b9788ea8
Release for v0.5.1 ( #3044 )
...
* [tagpr] prepare for the next release
* [tagpr] update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-10 20:32:26 +09:00
dependabot[bot]
95b8a8a14e
Bump the patch group with 2 updates
...
Bumps the patch group with 2 updates: [thiserror](https://github.com/dtolnay/thiserror ) and [vergen-gitcl](https://github.com/rustyhorde/vergen ).
Updates `thiserror` from 2.0.9 to 2.0.10
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.9...2.0.10 )
Updates `vergen-gitcl` from 1.0.2 to 1.0.3
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/vergen_gix_1.0.2...vergen_gix_1.0.3 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: vergen-gitcl
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-09 00:23:59 +00:00
github-actions[bot]
dcb299f331
Release for v0.5.0 ( #2906 )
...
* [tagpr] prepare for the next release
* [tagpr] update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-01-02 19:27:18 +09:00
Yashodhan
124a0d1415
Merge pull request #3030 from youki-dev/dependabot/cargo/wasmtime-28.0.0
...
Bump wasmtime from 27.0.0 to 28.0.0
2025-01-02 10:28:25 +05:30
Yashodhan Joshi
9a427162d9
Merge branch 'dependabot/cargo/wasi-common-28.0.0' into dependabot/cargo/wasmtime-28.0.0
...
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2025-01-02 10:20:33 +05:30
Kotaro Inoue
846625cc82
Use later stable rust version 1.81.0 to fix the CI ( #3033 )
...
* Use rust 1.81.0
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
* Fix linter issue
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
---------
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
2025-01-01 20:18:32 +09:00
Aidan Hobson Sayers
83d87a28c3
Fix --preserve-fds, eliminate stray FD being passed into container ( #2893 )
...
* Fix preserve-fds flag
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
* Fix a stray FD leaking in containers when using preserve-fd
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
* Add tests for preserve-fds, extend test harness
Test harness additionally needed to support
1. tests that cannot run in parallel
2. tests that need to customise create arguments
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
* Opt-out a test from runc that it errors on
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
* chore: minor cleanup of comments
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
---------
Signed-off-by: Aidan Hobson Sayers <aidanhs@cantab.net>
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-12-30 20:19:32 +09:00
dependabot[bot]
cc73aea6fd
Bump wasi-common from 27.0.0 to 28.0.0
...
Bumps [wasi-common](https://github.com/bytecodealliance/wasmtime ) from 27.0.0 to 28.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/v28.0.0/RELEASES.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v27.0.0...v28.0.0 )
---
updated-dependencies:
- dependency-name: wasi-common
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 00:29:57 +00:00
dependabot[bot]
2eee37b23c
Bump wasmtime from 27.0.0 to 28.0.0
...
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 27.0.0 to 28.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/v28.0.0/RELEASES.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v27.0.0...v28.0.0 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 00:29:34 +00:00
dependabot[bot]
9eae620350
Bump the patch group with 4 updates
...
Bumps the patch group with 4 updates: [thiserror](https://github.com/dtolnay/thiserror ), [anyhow](https://github.com/dtolnay/anyhow ), [serde_json](https://github.com/serde-rs/json ) and [env_logger](https://github.com/rust-cli/env_logger ).
Updates `thiserror` from 2.0.8 to 2.0.9
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.8...2.0.9 )
Updates `anyhow` from 1.0.94 to 1.0.95
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.94...1.0.95 )
Updates `serde_json` from 1.0.133 to 1.0.134
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.133...v1.0.134 )
Updates `env_logger` from 0.11.5 to 0.11.6
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.11.5...v0.11.6 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 00:29:10 +00:00
dependabot[bot]
60c18568dc
Bump the patch group with 2 updates
...
Bumps the patch group with 2 updates: [libc](https://github.com/rust-lang/libc ) and [which](https://github.com/harryfei/which-rs ).
Updates `libc` from 0.2.168 to 0.2.169
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.169/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.168...0.2.169 )
Updates `which` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/harryfei/which-rs/releases )
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/harryfei/which-rs/compare/7.0.0...7.0.1 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: which
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-20 00:21:42 +00:00
dependabot[bot]
53697fb9eb
Bump thiserror from 2.0.7 to 2.0.8 in the patch group
...
Bumps the patch group with 1 update: [thiserror](https://github.com/dtolnay/thiserror ).
Updates `thiserror` from 2.0.7 to 2.0.8
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.7...2.0.8 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-19 00:57:59 +00:00
dependabot[bot]
2c5965ff18
Bump thiserror from 2.0.6 to 2.0.7 in the patch group
...
Bumps the patch group with 1 update: [thiserror](https://github.com/dtolnay/thiserror ).
Updates `thiserror` from 2.0.6 to 2.0.7
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.6...2.0.7 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 01:03:35 +00:00
Jorge Prendes
ba2d180ebf
switch from license-file to license ( #3023 )
...
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2024-12-15 11:31:05 +00:00
Yashodhan
891089c6c5
fix duplicate gids in container creation ( #3019 )
...
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-12-14 13:33:44 +09:00
dependabot[bot]
90da32ed1d
Bump wasmtime and wasi-common from 26.0.1 to 27.0.0 ( #3003 )
...
* Bump wasi-common from 26.0.1 to 27.0.0
Bumps [wasi-common](https://github.com/bytecodealliance/wasmtime ) from 26.0.1 to 27.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/v27.0.0/RELEASES.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v26.0.1...v27.0.0 )
---
updated-dependencies:
- dependency-name: wasi-common
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump wasmtime from 26.0.1 to 27.0.0
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 26.0.1 to 27.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/v27.0.0/RELEASES.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v26.0.1...v27.0.0 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix Cargo.lock
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-12-10 15:21:48 +00:00
dependabot[bot]
2e0343015e
Bump the patch group with 2 updates
...
Bumps the patch group with 2 updates: [libc](https://github.com/rust-lang/libc ) and [chrono](https://github.com/chronotope/chrono ).
Updates `libc` from 0.2.167 to 0.2.168
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.168/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.167...0.2.168 )
Updates `chrono` from 0.4.38 to 0.4.39
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.38...v0.4.39 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-10 00:27:35 +00:00
Jorge Prendes
ae3f11bc8b
Add option to spawn processes as siblings ( #3012 )
...
* Add option to spawn processes as siblings
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
* add spawning as sibling integration test
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
---------
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2024-12-09 20:35:14 +09:00
Yashodhan
eef8e0e0da
Merge pull request #3015 from youki-dev/dependabot/cargo/fastrand-2.3.0
...
Bump fastrand from 2.2.0 to 2.3.0
2024-12-09 10:40:07 +05:30
dependabot[bot]
9951d7d4d1
Bump fastrand from 2.2.0 to 2.3.0
...
Bumps [fastrand](https://github.com/smol-rs/fastrand ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/smol-rs/fastrand/releases )
- [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/fastrand/compare/v2.2.0...v2.3.0 )
---
updated-dependencies:
- dependency-name: fastrand
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 00:57:14 +00:00
dependabot[bot]
9a561f1f61
Bump thiserror from 2.0.4 to 2.0.6 in the patch group
...
Bumps the patch group with 1 update: [thiserror](https://github.com/dtolnay/thiserror ).
Updates `thiserror` from 2.0.4 to 2.0.6
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.4...2.0.6 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 00:56:40 +00:00
dependabot[bot]
6d6b0d7bd1
Bump the patch group with 2 updates
...
Bumps the patch group with 2 updates: [thiserror](https://github.com/dtolnay/thiserror ) and [anyhow](https://github.com/dtolnay/anyhow ).
Updates `thiserror` from 2.0.3 to 2.0.4
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.3...2.0.4 )
Updates `anyhow` from 1.0.93 to 1.0.94
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.93...1.0.94 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-04 00:41:56 +00:00
dependabot[bot]
bec4d84970
Bump the patch group with 5 updates
...
Bumps the patch group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [errno](https://github.com/lambda-fairy/rust-errno ) | `0.3.9` | `0.3.10` |
| [libc](https://github.com/rust-lang/libc ) | `0.2.166` | `0.2.167` |
| [tracing](https://github.com/tokio-rs/tracing ) | `0.1.40` | `0.1.41` |
| [tracing-subscriber](https://github.com/tokio-rs/tracing ) | `0.3.18` | `0.3.19` |
| [tracing-journald](https://github.com/tokio-rs/tracing ) | `0.3.0` | `0.3.1` |
Updates `errno` from 0.3.9 to 0.3.10
- [Release notes](https://github.com/lambda-fairy/rust-errno/releases )
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.9...v0.3.10 )
Updates `libc` from 0.2.166 to 0.2.167
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.167/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.166...0.2.167 )
Updates `tracing` from 0.1.40 to 0.1.41
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.40...tracing-0.1.41 )
Updates `tracing-subscriber` from 0.3.18 to 0.3.19
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.18...tracing-subscriber-0.3.19 )
Updates `tracing-journald` from 0.3.0 to 0.3.1
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-journald-0.3.0...tracing-journald-0.3.1 )
---
updated-dependencies:
- dependency-name: errno
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: tracing-journald
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 00:38:25 +00:00
dependabot[bot]
346c0f8da6
Bump the patch group with 2 updates
...
Bumps the patch group with 2 updates: [libc](https://github.com/rust-lang/libc ) and [vergen-gitcl](https://github.com/rustyhorde/vergen ).
Updates `libc` from 0.2.165 to 0.2.166
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.166/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.165...0.2.166 )
Updates `vergen-gitcl` from 1.0.1 to 1.0.2
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/vergen_gix_1.0.1...vergen_gix_1.0.2 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: vergen-gitcl
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-27 00:31:30 +00:00
dependabot[bot]
849f4d7ae4
Bump the patch group across 1 directory with 4 updates
...
Bumps the patch group with 4 updates in the / directory: [libc](https://github.com/rust-lang/libc ), [mockall](https://github.com/asomers/mockall ), [serde_json](https://github.com/serde-rs/json ) and [flate2](https://github.com/rust-lang/flate2-rs ).
Updates `libc` from 0.2.162 to 0.2.165
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.165/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.162...0.2.165 )
Updates `mockall` from 0.13.0 to 0.13.1
- [Changelog](https://github.com/asomers/mockall/blob/master/CHANGELOG.md )
- [Commits](https://github.com/asomers/mockall/compare/v0.13.0...v0.13.1 )
Updates `serde_json` from 1.0.132 to 1.0.133
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.132...v1.0.133 )
Updates `flate2` from 1.0.34 to 1.0.35
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Changelog](https://github.com/rust-lang/flate2-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.34...1.0.35 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: mockall
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
- dependency-name: flate2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-26 00:22:51 +00:00
Abel Feng
5c5cdaef56
libcontainer: use OwnedFd for console_socket in ContainerBuilder ( #2966 )
...
Signed-off-by: Abel Feng <fshb1988@gmail.com>
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-11-25 19:14:29 +05:30
AngrySean
660bc3a0ff
return run and cleanup both errors on create failed ( #2998 )
...
* fix(libcontainer): combine multi error when create container failed
When container creation fails and triggers a cleanup process that also
fails, the original creation error is overwritten by the cleanup error.
This change ensures that both the primary creation error and the
subsequent cleanup error are captured and reported, providing better
visibility into the failure sequence.
Signed-off-by: xujihui1985 <xujihui1985@gmail.com>
* fix: fix lint error
Signed-off-by: xujihui1985 <xujihui1985@gmail.com>
* refactor(libcontainer): add CreateContainerError
add CreateContainerError to encapsulate both create error and cleanup
error, so that caller will understand what happened
Signed-off-by: xujihui1985 <xujihui1985@gmail.com>
* refactor(libcontainer): use tuple instead of struct
change createContainerError to tuple instead of struct
Signed-off-by: xujihui1985 <xujihui1985@gmail.com>
---------
Signed-off-by: xujihui1985 <xujihui1985@gmail.com>
2024-11-25 18:43:22 +05:30