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

5136 Commits

Author SHA1 Message Date
Kotaro Inoue
bdd5aabd0b
Add new setup_envs method for the Executor trait (#2820)
* Add set_envs to the Executor trait

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>

* Use set_envs in container_init_process

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>

* Fix linter issues

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>

* Add test of default set_envs implementation

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>

* Fix set_envs to return ExecuteSetEnvsError

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>

* Rename set_envs to setup_envs

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>

* Add detailed description for the setup_envs

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>

---------

Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
2024-06-27 07:24:11 -07:00
Toru Komatsu
11ca60dc88
Update README.md (#2822) 2024-06-27 15:06:32 +09:00
github-actions[bot]
3841efc1bf
Merge pull request #2832 from containers/dependabot/cargo/patch-4f6cdf6f92 2024-06-26 01:13:28 +00:00
dependabot[bot]
df3f2ef2e5
Bump serde_json from 1.0.117 to 1.0.118 in the patch group
Bumps the patch group with 1 update: [serde_json](https://github.com/serde-rs/json).


Updates `serde_json` from 1.0.117 to 1.0.118
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.117...v1.0.118)

---
updated-dependencies:
- 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-06-26 01:03:12 +00:00
Yashodhan
827f4e01de
Update go version in podman CI and vagrantfile (#2828)
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-06-25 15:26:02 -07:00
Yashodhan
7c6feb0196
Merge pull request #2831 from containers/dependabot/cargo/bitflags-2.6.0
Bump bitflags from 2.5.0 to 2.6.0
2024-06-25 11:38:10 +05:30
Yashodhan
b5d11e235b
Merge pull request #2830 from containers/dependabot/cargo/uuid-1.9.1
Bump uuid from 1.8.0 to 1.9.1
2024-06-25 11:37:26 +05:30
dependabot[bot]
ba6a095171
Bump bitflags from 2.5.0 to 2.6.0
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.5.0...2.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 00:39:50 +00:00
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
Yashodhan
3235e0cc65
Merge pull request #2824 from containers/dependabot/cargo/wasmtime-22.0.0
Bump wasmtime and wasi-common from 21.0.1 to 22.0.0
2024-06-22 19:49:14 +05:30
Yashodhan Joshi
63671e2c59 Merge branch 'dependabot/cargo/wasi-common-22.0.0' into dependabot/cargo/wasmtime-22.0.0 2024-06-22 19:41:21 +05:30
Hiroyuki Moriya
6dd0d7f031
Init a selinux project (#2800)
* selinux_init

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>

* use_unimplemented

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>

* add_explanation

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>

* update

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>

* use_path_instead_of_str

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>

* use_thiserror

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>

* use_struct

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>

---------

Signed-off-by: Hiroyuki Moriya <41197469+Gekko0114@users.noreply.github.com>
2024-06-21 20:22:38 +09:00
dependabot[bot]
0e642ab689
Bump wasmtime from 21.0.1 to 22.0.0
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 21.0.1 to 22.0.0.
- [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/v21.0.1...v22.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-06-21 00:43:09 +00:00
dependabot[bot]
c7d4963c95
Bump wasi-common from 21.0.1 to 22.0.0
Bumps [wasi-common](https://github.com/bytecodealliance/wasmtime) from 21.0.1 to 22.0.0.
- [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/v21.0.1...v22.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-06-21 00:42:37 +00:00
Toru Komatsu
af804e4c99
Rename to improve readability (#2818)
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-06-19 21:29:57 +09:00
Yashodhan
1ba6d55363
Merge pull request #2819 from yihuaf/yihuaf/ignore-lint-warning
Ignore linter for MOUNT_ATTR__ATIME
2024-06-18 11:16:34 +05:30
yihuaf
a9b2cbcfae Ignore linter for MOUNT_ATTR__ATIME
The extra `__` in MOUNT_ATTR__ATIME is not a typo. This is in the syscall definitions. `rust_analyser` will flag this, so adding a macro to ignore.

Signed-off-by: yihuaf <yihuaf@unkies.org>
2024-06-17 09:21:06 -07:00
Kotaro Inoue
46fb4ba414
Use HashMap for envs in container_init_process (#2817)
Signed-off-by: Kotaro Inoue <k.musaino@gmail.com>
2024-06-16 15:37:47 -07:00
rongfu.leng
6f8b39c28a
optimization runtime_tools.md doc (#2816)
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
2024-06-15 05:32:01 +00:00
Yashodhan
b6d210e0d9
Merge pull request #2813 from lengrongfu/fix/move-youki_version
RustRover fix: macro define youki_version to use before
2024-06-14 17:24:41 +05:30
rongfu.leng
bdf8db4cf2 move macro define youki_version to use before
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
2024-06-14 10:04:09 +08:00
github-actions[bot]
4d4ce7c371
Merge pull request #2810 from containers/dependabot/cargo/patch-abd6868af9 2024-06-10 07:49:55 +00:00
dependabot[bot]
e158f0536c
Bump regex from 1.10.4 to 1.10.5 in the patch group
Bumps the patch group with 1 update: [regex](https://github.com/rust-lang/regex).


Updates `regex` from 1.10.4 to 1.10.5
- [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.4...1.10.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 00:18:11 +00:00
Yashodhan
7c42a6cfe1
Merge pull request #2805 from andrewimeson/adi/docs
Fix word order in README sentence justifying Rust usage
2024-06-05 23:40:33 +05:30
Toru Komatsu
75d71e0f70
Add the governance (#2806)
* Add the governance

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

* fixup! Add the governance

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

* Add Reviwers

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

* fixup! Add Reviwers

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

* fixup! Add the governance

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

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-06-05 21:37:12 +09:00
github-actions[bot]
d7105b22d3
Merge pull request #2808 from containers/dependabot/cargo/patch-2634195e8f 2024-06-05 00:46:55 +00:00
dependabot[bot]
c65755d90d
Bump tar from 0.4.40 to 0.4.41 in the patch group
Bumps the patch group with 1 update: [tar](https://github.com/alexcrichton/tar-rs).


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

---
updated-dependencies:
- 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-06-05 00:36:39 +00:00
Andrew Imeson
fa61386466
Fix word order in README sentence justifying Rust usage
Signed-off-by: Andrew Imeson <andrew@andrewimeson.com>
2024-06-01 10:00:50 -04: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
Heran Yang
e61b693df5
Export max_usage in cgroups v2 mode (#2802)
Signed-off-by: Heran Yang <heran55@126.com>
2024-05-29 21:24:47 +09:00
github-actions[bot]
a7572588ad
Merge pull request #2801 from containers/dependabot/cargo/patch-3d8a3e8bed 2024-05-27 00:52:45 +00:00
dependabot[bot]
9c149a8f2b
Bump serde from 1.0.202 to 1.0.203 in the patch group
Bumps the patch group with 1 update: [serde](https://github.com/serde-rs/serde).


Updates `serde` from 1.0.202 to 1.0.203
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.203)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 00:42:30 +00: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]
4962a5ba25
Bump wasmtime,wasi-common from 20.0.2 to 21.0.1 (#2798)
* Bump wasi-common from 20.0.2 to 21.0.1

Bumps [wasi-common](https://github.com/bytecodealliance/wasmtime) from 20.0.2 to 21.0.1.
- [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/v20.0.2...v21.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 20.0.2 to 21.0.1

Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 20.0.2 to 21.0.1.
- [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/v20.0.2...v21.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>
2024-05-23 11:42:51 +05:30
github-actions[bot]
e19a81979c
Merge pull request #2796 from containers/dependabot/cargo/patch-516f07ba2f 2024-05-22 00:17:28 +00:00
dependabot[bot]
94007c7ccd
---
updated-dependencies:
- dependency-name: libbpf-sys
  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-patch
  dependency-group: patch
- dependency-name: libcontainer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-22 00:07:09 +00:00
Toru Komatsu
c03edea8a0
v0.3.3 (#2794)
Signed-off-by: utam0k <k0ma@utam0k.jp>
v0.3.3
2024-05-21 22:17:19 +09:00
Toru Komatsu
88dc41b170
Update the release workflow (#2789)
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-05-19 21:39:30 -07:00
github-actions[bot]
8e42c2d98e
Merge pull request #2790 from containers/dependabot/cargo/patch-2c960a01ee 2024-05-20 01:28:07 +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
Toru Komatsu
7a74fe75f9
Merge pull request #2665 from containers/tagpr-from-v0.3.2
Release for v0.3.3
2024-05-19 18:18:15 +09:00
github-actions[bot]
621f59c1ec [tagpr] update CHANGELOG.md 2024-05-16 12:46:19 +00:00
github-actions[bot]
fd8496c4f9 [tagpr] prepare for the next release 2024-05-16 12:46:18 +00:00
Toru Komatsu
2b86907b29
Merge pull request #2787 from jprendes/rustfmt
Add `rustfmt.toml` to standardize formatting
2024-05-16 21:45:44 +09:00
github-actions[bot]
218cf18729
Merge pull request #2788 from containers/dependabot/cargo/patch-2c97536674 2024-05-16 00:49:09 +00:00
dependabot[bot]
3a8323b675
Bump serde from 1.0.201 to 1.0.202 in the patch group
Bumps the patch group with 1 update: [serde](https://github.com/serde-rs/serde).


Updates `serde` from 1.0.201 to 1.0.202
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.201...v1.0.202)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 00:38:49 +00:00
Jorge Prendes
20b4602879 Add .git-blame-ignore-revs
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2024-05-15 17:48:50 +01:00
Jorge Prendes
13a3fd516e Bulk apply formatting
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2024-05-15 14:59:06 +01:00
Jorge Prendes
bdd4f5c674 Add rustfmt.toml to standardize formatting
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2024-05-15 14:59:06 +01:00