1
0
mirror of https://github.com/containers/youki synced 2024-11-23 01:11:58 +01:00
Commit Graph

244 Commits

Author SHA1 Message Date
Yashodhan
fad458ffc7
Merge pull request #2987 from saku3/add-test-process_oom_score_adj
add e2e test for process_oom_score_adj
2024-11-18 18:34:29 +05:30
Yusuke Sakurai
6a4e21647c add test process_oom_score_adj
Signed-off-by: Yusuke Sakurai <yusuke.sakurai@3-shake.com>
2024-11-15 03:29:48 +00:00
sat0ken
d5d5fadf99
Add e2e test for process user (#2978)
* add-test-process-user

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix format

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix error

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix err and format

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix err to use UserBuilder

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix format err

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* remove unnecessary return

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* rename module name

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix unsafe code to use nix

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix err to use nix

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix format err

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* update fn validate_additional_gids to check group ids length

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* set additional_gids to random number

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* set umask value to variables

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix format err

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* change random number range

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* change err msg to use bail

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* nit: update error message in case of test failure

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* fix: make sure random gid values are unique

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

---------

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-11-14 19:40:11 +05:30
dependabot[bot]
2ebaf9e3d6
Bump the patch group across 1 directory with 7 updates
Bumps the patch group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [oci-spec](https://github.com/containers/oci-spec-rs) | `0.7.0` | `0.7.1` |
| [serde](https://github.com/serde-rs/serde) | `1.0.214` | `1.0.215` |
| [libc](https://github.com/rust-lang/libc) | `0.2.161` | `0.2.162` |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.91` | `1.0.93` |
| [wasmtime](https://github.com/bytecodealliance/wasmtime) | `26.0.0` | `26.0.1` |
| [wasi-common](https://github.com/bytecodealliance/wasmtime) | `26.0.0` | `26.0.1` |
| [tar](https://github.com/alexcrichton/tar-rs) | `0.4.42` | `0.4.43` |



Updates `oci-spec` from 0.7.0 to 0.7.1
- [Release notes](https://github.com/containers/oci-spec-rs/releases)
- [Changelog](https://github.com/youki-dev/oci-spec-rs/blob/main/release.md)
- [Commits](https://github.com/containers/oci-spec-rs/compare/v0.7.0...v0.7.1)

Updates `serde` from 1.0.214 to 1.0.215
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215)

Updates `libc` from 0.2.161 to 0.2.162
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.162/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.161...0.2.162)

Updates `anyhow` from 1.0.91 to 1.0.93
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.91...1.0.93)

Updates `wasmtime` from 26.0.0 to 26.0.1
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/contributing-release-process.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v26.0.0...v26.0.1)

Updates `wasi-common` from 26.0.0 to 26.0.1
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/contributing-release-process.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v26.0.0...v26.0.1)

Updates `tar` from 0.4.42 to 0.4.43
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.42...0.4.43)

---
updated-dependencies:
- dependency-name: oci-spec
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: serde
  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: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- 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
- dependency-name: tar
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 00:44:12 +00:00
sat0ken
5a9e78fe65
Add e2e test: process rlimits (#2977)
* add process rlimits test

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix newline code

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix fmt

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix format err

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* add process args to run test

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* fix unsafe code by use nix

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

* remove unused import

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>

---------

Signed-off-by: sat0ken <15720506+sat0ken@users.noreply.github.com>
2024-11-12 18:41:34 +05:30
dependabot[bot]
196d618404
Bump which from 6.0.3 to 7.0.0
Bumps [which](https://github.com/harryfei/which-rs) from 6.0.3 to 7.0.0.
- [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/6.0.3...7.0.0)

---
updated-dependencies:
- dependency-name: which
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 00:31:01 +00:00
AngrySean
d07159691d
fix(libcontainer) no_pivot args is not used (#2923)
* Support setting no_pivot_root for create and run command

Signed-off-by: Vanient <xiadanni1@huawei.com>

* fix: mount move before choot

Move the rootfs to the root of the host filesystem before chrooting,
this is equivalent to pivot_root, if don't move mount first, we will
not see the new rootfs when exec into the container

Signed-off-by: xujihui1985 <xujihui1985@gmail.com>

* fix(chroot): ensure mount occurs before chroot to mimic pivot_root behavior

Move the mount operation to occur before calling chroot to better simulate the effect of pivot_root.
Add a check to confirm if the current process is running inside an isolated mount namespace, ensuring proper mount handling.

Signed-off-by: xujihui1985 <xujihui1985@gmail.com>

* implement intergration test for no-pivot

Signed-off-by: xujihui1985 <xujihui1985@gmail.com>

* fix: add comments to no-pivot related code

Signed-off-by: xujihui1985 <xujihui1985@gmail.com>

* fix(lint): fix format

Signed-off-by: xujihui1985 <xujihui1985@gmail.com>

---------

Signed-off-by: Vanient <xiadanni1@huawei.com>
Signed-off-by: xujihui1985 <xujihui1985@gmail.com>
Co-authored-by: Vanient <xiadanni1@huawei.com>
2024-10-29 09:53:05 +05:30
dependabot[bot]
e6093bf46d
Bump the patch group with 3 updates
Bumps the patch group with 3 updates: [serde](https://github.com/serde-rs/serde), [thiserror](https://github.com/dtolnay/thiserror) and [anyhow](https://github.com/dtolnay/anyhow).


Updates `serde` from 1.0.210 to 1.0.213
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.213)

Updates `thiserror` from 1.0.64 to 1.0.65
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.65)

Updates `anyhow` from 1.0.90 to 1.0.91
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.90...1.0.91)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- 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-10-23 00:29:50 +00:00
dependabot[bot]
2474b06b15
Bump the patch group with 3 updates
Bumps the patch group with 3 updates: [anyhow](https://github.com/dtolnay/anyhow), [serde_json](https://github.com/serde-rs/json) and [nc](https://github.com/xushaohua/nc).


Updates `anyhow` from 1.0.89 to 1.0.90
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.89...1.0.90)

Updates `serde_json` from 1.0.129 to 1.0.132
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/1.0.129...1.0.132)

Updates `nc` from 0.9.4 to 0.9.5
- [Commits](https://github.com/xushaohua/nc/compare/v0.9.4...v0.9.5)

---
updated-dependencies:
- 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: nc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 00:42:02 +00:00
dependabot[bot]
85b653c0f6
Bump the patch group with 2 updates
Bumps the patch group with 2 updates: [libc](https://github.com/rust-lang/libc) and [serde_json](https://github.com/serde-rs/json).


Updates `libc` from 0.2.159 to 0.2.161
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.161/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.159...0.2.161)

Updates `serde_json` from 1.0.128 to 1.0.129
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/1.0.128...1.0.129)

---
updated-dependencies:
- dependency-name: libc
  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>
2024-10-18 00:10:38 +00:00
dependabot[bot]
70d774e95b
Bump uuid from 1.10.0 to 1.11.0
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.10.0...1.11.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-17 00:12:02 +00:00
dependabot[bot]
0b2140a1eb
Bump the patch group with 3 updates
Bumps the patch group with 3 updates: [nc](https://github.com/xushaohua/nc), [wasmtime](https://github.com/bytecodealliance/wasmtime) and [wasi-common](https://github.com/bytecodealliance/wasmtime).


Updates `nc` from 0.9.3 to 0.9.4
- [Commits](https://github.com/xushaohua/nc/compare/v0.9.3...v0.9.4)

Updates `wasmtime` from 25.0.1 to 25.0.2
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v25.0.1...v25.0.2)

Updates `wasi-common` from 25.0.1 to 25.0.2
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v25.0.1...v25.0.2)

---
updated-dependencies:
- dependency-name: nc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- 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>
2024-10-10 00:30:28 +00:00
dependabot[bot]
2f3fb8bdc1
Bump once_cell from 1.20.1 to 1.20.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.20.1 to 1.20.2
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.20.1...v1.20.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>
2024-10-07 00:39:33 +00:00
dependabot[bot]
c9b8118a4e
Bump once_cell from 1.19.0 to 1.20.1
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.19.0 to 1.20.1.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.1)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 00:48:45 +00:00
kiokuless
e0d53a8e81
Bump oci-spec to 0.7.0 (#2934)
* Bump oci-spec from 0.6.8 to 0.7.0

Bumps [oci-spec](https://github.com/containers/oci-spec-rs) from 0.6.8 to 0.7.0.
- [Release notes](https://github.com/containers/oci-spec-rs/releases)
- [Changelog](https://github.com/containers/oci-spec-rs/blob/main/release.md)
- [Commits](https://github.com/containers/oci-spec-rs/compare/v0.6.8...v0.7.0)

---
updated-dependencies:
- dependency-name: oci-spec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump oci-spec to 0.7.0
Signed-off-by: kiokuless <110003596+kiokuless@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-27 11:16:50 +05:30
dependabot[bot]
8920408d56
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.158 to 0.2.159
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.159/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.158...0.2.159)

Updates `tar` from 0.4.41 to 0.4.42
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.41...0.4.42)

---
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>
2024-09-25 00:55:19 +00:00
Jiaxiao Zhou
da51197255
Cargo.toml: remove unused dependnecies (#2921)
Signed-off-by: jiaxiao zhou <duibao55328@gmail.com>
2024-09-23 20:56:13 +09:00
dependabot[bot]
a819b0b747
Bump the patch group across 1 directory with 2 updates
Bumps the patch group with 2 updates in the / directory: [anyhow](https://github.com/dtolnay/anyhow) and [vergen-gitcl](https://github.com/rustyhorde/vergen).


Updates `anyhow` from 1.0.88 to 1.0.89
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.88...1.0.89)

Updates `vergen-gitcl` from 1.0.0 to 1.0.1
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/v1.0.0...vergen_gix_1.0.1)

---
updated-dependencies:
- dependency-name: anyhow
  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-09-18 00:55:02 +00:00
dependabot[bot]
ea4791ab1a
Bump anyhow from 1.0.87 to 1.0.88 in the patch group
Bumps the patch group with 1 update: [anyhow](https://github.com/dtolnay/anyhow).


Updates `anyhow` from 1.0.87 to 1.0.88
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.87...1.0.88)

---
updated-dependencies:
- 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-09-12 00:20:45 +00:00
dependabot[bot]
ab22d7a02d
Bump the patch group with 2 updates
Bumps the patch group with 2 updates: [serde](https://github.com/serde-rs/serde) and [anyhow](https://github.com/dtolnay/anyhow).


Updates `serde` from 1.0.209 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210)

Updates `anyhow` from 1.0.86 to 1.0.87
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.86...1.0.87)

---
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
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 00:20:28 +00:00
dependabot[bot]
5759390cff
Bump the patch group with 7 updates
---
updated-dependencies:
- dependency-name: serde
  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: fastrand
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: nc
  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
- dependency-name: libcgroups
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: patch
- dependency-name: libcontainer
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 00:17:10 +00:00
posutsai
1749ef386e
Update nc dependency to 0.9.2 (#2884)
* Update Cargo.toml in libcontainer and runtimetest

Signed-off-by: posutsai <posutsai@gmail.com>

* Fix libc version to 0.2.158

Signed-off-by: posutsai <posutsai@gmail.com>

---------

Signed-off-by: posutsai <posutsai@gmail.com>
2024-08-20 17:20:20 +05:30
dependabot[bot]
c1b7ca766c
Bump libc from 0.2.157 to 0.2.158 in the patch group
Bumps the patch group with 1 update: [libc](https://github.com/rust-lang/libc).


Updates `libc` from 0.2.157 to 0.2.158
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.157...0.2.158)

---
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>
2024-08-20 00:49:26 +00:00
dependabot[bot]
1c7e217beb
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.156 to 0.2.157
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.157/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.156...0.2.157)

Updates `which` from 6.0.2 to 6.0.3
- [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/6.0.2...6.0.3)

---
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-08-19 00:50:09 +00:00
dependabot[bot]
f3d854581a
Bump the patch group with 3 updates
Bumps the patch group with 3 updates: [serde](https://github.com/serde-rs/serde), [libc](https://github.com/rust-lang/libc) and [serde_json](https://github.com/serde-rs/json).


Updates `serde` from 1.0.207 to 1.0.208
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.207...v1.0.208)

Updates `libc` from 0.2.155 to 0.2.156
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.156/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.156)

Updates `serde_json` from 1.0.124 to 1.0.125
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.124...1.0.125)

---
updated-dependencies:
- dependency-name: serde
  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: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 00:08:27 +00:00
Toru Komatsu
1180637c41
Rust 1.80.0 (#2869)
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-08-12 16:50:14 -07:00
dependabot[bot]
85482f3914
Bump which from 6.0.1 to 6.0.2 in the patch group
Bumps the patch group with 1 update: [which](https://github.com/harryfei/which-rs).


Updates `which` from 6.0.1 to 6.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/6.0.1...6.0.2)

---
updated-dependencies:
- 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-07-30 00:46:56 +00:00
dependabot[bot]
6838b8c767
Bump the patch group with 2 updates
Bumps the patch group with 2 updates: [env_logger](https://github.com/rust-cli/env_logger) and [nc](https://github.com/xushaohua/nc).


Updates `env_logger` from 0.11.3 to 0.11.4
- [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.3...v0.11.4)

Updates `nc` from 0.8.22 to 0.8.23
- [Commits](https://github.com/xushaohua/nc/compare/v0.8.22...v0.8.23)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: nc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-24 00:48:41 +00:00
dependabot[bot]
7cbc2ba260
Bump nc from 0.8.21 to 0.8.22 in the patch group
Bumps the patch group with 1 update: [nc](https://github.com/xushaohua/nc).


Updates `nc` from 0.8.21 to 0.8.22
- [Commits](https://github.com/xushaohua/nc/commits)

---
updated-dependencies:
- dependency-name: nc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-23 00:22:54 +00:00
Keisuke Umegaki
c045f54ada
Bump oci-spec (#2854) 2024-07-21 11:52:19 +00:00
dependabot[bot]
4bb55d9ff7
Bump uuid from 1.9.1 to 1.10.0
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.9.1...1.10.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 00:44:46 +00:00
Jerry
a94a16cd28
Fix typos and bump version for typos ci (#2839)
* chore: fix typo for InvalidSocketName

Signed-off-by: Jerrypoi <jerry.poi.sz@gmail.com>

* chore: fix typos

Signed-off-by: Jerrypoi <jerry.poi.sz@gmail.com>

* chore: bump typos version to catch more typos

Signed-off-by: Jerrypoi <jerry.poi.sz@gmail.com>

---------

Signed-off-by: Jerrypoi <jerry.poi.sz@gmail.com>
2024-07-01 21:20:47 +05:30
dependabot[bot]
67b24fcc6c
Bump uuid from 1.8.0 to 1.9.1
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.8.0 to 1.9.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.8.0...1.9.1)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 00:39:13 +00:00
dependabot[bot]
0844ecaf78
Bump nc from 0.8.20 to 0.8.21 in the patch group (#2803)
Bumps the patch group with 1 update: [nc](https://github.com/xushaohua/nc).


Updates `nc` from 0.8.20 to 0.8.21
- [Commits](https://github.com/xushaohua/nc/compare/v0.8.20...v0.8.21)

---
updated-dependencies:
- dependency-name: nc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-01 05:07:32 -07:00
dependabot[bot]
b7144560f1
Bump pnet_datalink from 0.34.0 to 0.35.0 (#2804)
Bumps [pnet_datalink](https://github.com/libpnet/libpnet) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0)

---
updated-dependencies:
- dependency-name: pnet_datalink
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-01 05:07:21 -07:00
Om Prakaash
a35d20fa08
Squashed commit of the following: (#2728)
commit f0a6b388e7f132648157ca2712e20a1ee93f265a
Author: yihuaf <yihuaf@unkies.org>
Date:   Sun May 19 21:16:21 2024 -0700

    Fix the explicit close

    Signed-off-by: yihuaf <yihuaf@unkies.org>

commit 5e23878453a59e042dd70b07ee57e535d95fb3e8
Author: yihuaf <yihuaf@unkies.org>
Date:   Thu May 16 21:31:09 2024 -0700

    Rebase to the latest main branch

    Signed-off-by: yihuaf <yihuaf@unkies.org>

commit 3144355967e4ba0f3e7ed8aff92945a4b1aaf66d
Author: omprakaash <omsuseela@gmail.com>
Date:   Sat Mar 16 03:28:40 2024 +0000

    Update nix to 0.28.0

    Signed-off-by: omprakaash <omsuseela@gmail.com>
    Signed-off-by: om prakaash <omsuseela@gmail.com>

Signed-off-by: yihuaf <yihuaf@unkies.org>
Co-authored-by: yihuaf <yihuaf@unkies.org>
Co-authored-by: Toru Komatsu <k0ma@utam0k.jp>
2024-05-23 12:29:37 +00:00
dependabot[bot]
dfef05b957
Bump the patch group with 3 updates
Bumps the patch group with 3 updates: [libc](https://github.com/rust-lang/libc), [thiserror](https://github.com/dtolnay/thiserror) and [anyhow](https://github.com/dtolnay/anyhow).


Updates `libc` from 0.2.154 to 0.2.155
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.154...0.2.155)

Updates `thiserror` from 1.0.60 to 1.0.61
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.60...1.0.61)

Updates `anyhow` from 1.0.83 to 1.0.86
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.83...1.0.86)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- 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-05-20 01:17:52 +00:00
Jorge Prendes
13a3fd516e Bulk apply formatting
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2024-05-15 14:59:06 +01:00
dependabot[bot]
74c69f6821
Bump anyhow from 1.0.82 to 1.0.83 in the patch group
Bumps the patch group with 1 update: [anyhow](https://github.com/dtolnay/anyhow).


Updates `anyhow` from 1.0.82 to 1.0.83
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.82...1.0.83)

---
updated-dependencies:
- 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-05-07 00:44:10 +00:00
Om Prakaash
5ecfda0ff4
Add linux_devices test (#2708)
* Add linux_devices test

Signed-off-by: omprakaash <omsuseela@gmail.com>
Signed-off-by: om prakaash <omsuseela@gmail.com>

* Change the test_devices permission check to if-let

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

---------

Signed-off-by: omprakaash <omsuseela@gmail.com>
Signed-off-by: om prakaash <omsuseela@gmail.com>
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-05-06 12:31:24 +05:30
dependabot[bot]
a4b9ea5522
Bump the patch group with 2 updates
Bumps the patch group with 2 updates: [libc](https://github.com/rust-lang/libc) and [flate2](https://github.com/rust-lang/flate2-rs).


Updates `libc` from 0.2.153 to 0.2.154
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.153...0.2.154)

Updates `flate2` from 1.0.29 to 1.0.30
- [Release notes](https://github.com/rust-lang/flate2-rs/releases)
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.29...1.0.30)

---
updated-dependencies:
- dependency-name: libc
  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-04-30 00:23:51 +00:00
Yashodhan
601df9ecd3
Fix cgroups determination in exec implementation (#2720)
* Set cgroups path for tenant containers from main container

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Ignore new_user_ns for creating cgroups path

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Remove user_ns param completely

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Add tests in podman rootless for exec

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix add_task implementation for cgroups v2 and systemd

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* minor refactor in tenant builder

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Add unit test for systemd add_task function

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix task addition to properly add tasks via dbus api

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix cross cotainers for tests running

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-04-27 21:49:58 +09:00
dependabot[bot]
fe0152d962
Bump anyhow from 1.0.81 to 1.0.82 in the patch group
Bumps the patch group with 1 update: [anyhow](https://github.com/dtolnay/anyhow).


Updates `anyhow` from 1.0.81 to 1.0.82
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82)

---
updated-dependencies:
- 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-04-11 00:34:55 +00:00
Toru Komatsu
a48e5a5403
Rust 1.77.1 (#2746)
* Rust 1.77.1

Signed-off-by: utam0k <k0ma@utam0k.jp>

* Remove unused pub items from contest util mod

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-04-10 11:54:53 +05:30
Om Prakaash
e94e103bde
Add support for rsvd hugetlb cgroup (#2719)
Signed-off-by: omprakaash <omsuseela@gmail.com>
Signed-off-by: om <omsuseela@gmail.com>
Signed-off-by: Om Prakaash <omsuseela@gmail.com>
2024-04-07 05:34:47 +00:00
dependabot[bot]
e000a78665
Bump the patch group with 3 updates
Bumps the patch group with 3 updates: [fastrand](https://github.com/smol-rs/fastrand), [regex](https://github.com/rust-lang/regex) and [which](https://github.com/harryfei/which-rs).


Updates `fastrand` from 2.0.1 to 2.0.2
- [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.0.1...v2.0.2)

Updates `regex` from 1.10.3 to 1.10.4
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.10.3...1.10.4)

Updates `which` from 6.0.0 to 6.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/6.0.0...6.0.1)

---
updated-dependencies:
- dependency-name: fastrand
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: regex
  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-03-25 01:00:22 +00:00
Yashodhan
a429cca8c4
Merge pull request #2732 from containers/dependabot/cargo/uuid-1.8.0
Bump uuid from 1.7.0 to 1.8.0
2024-03-19 10:41:08 +05:30
dependabot[bot]
b850f75ee6
Bump uuid from 1.7.0 to 1.8.0
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.7.0...1.8.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 01:07:41 +00:00
dependabot[bot]
2dd5884eab
Bump the patch group with 1 update
Bumps the patch group with 1 update: [nc](https://github.com/xushaohua/nc).


Updates `nc` from 0.8.19 to 0.8.20
- [Commits](https://github.com/xushaohua/nc/compare/v0.8.19...v0.8.20)

---
updated-dependencies:
- dependency-name: nc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 01:07:14 +00:00
dependabot[bot]
eef4e26811
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), [wasmtime](https://github.com/bytecodealliance/wasmtime) and [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime).


Updates `thiserror` from 1.0.57 to 1.0.58
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.57...1.0.58)

Updates `anyhow` from 1.0.80 to 1.0.81
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.80...1.0.81)

Updates `wasmtime` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v18.0.2...v18.0.3)

Updates `wasmtime-wasi` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v18.0.2...v18.0.3)

---
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: wasmtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 00:16:15 +00:00