1
0
mirror of https://github.com/containers/youki synced 2024-09-19 18:37:40 +02:00
Commit Graph

5122 Commits

Author SHA1 Message Date
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>
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
Toru Komatsu
25edc95648
Remove unnecessary chdir (#2780)
* Remove unnecessary chdir

Co-authored-by: jiaxiao zhou <jiazho@microsoft.com>
Co-authored-by: Jorge Prendes <jorge.prendes@gmail.com>
Signed-off-by: utam0k <k0ma@utam0k.jp>

* fixup! Remove unnecessary chdir

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

* fixup! Remove unnecessary chdir

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

* fixup! Remove unnecessary chdir

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

* Enable run_hooks to be passed cwd

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

* fixup! Enable run_hooks to be passed cwd

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

* fixup! Enable run_hooks to be passed cwd

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

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
Co-authored-by: jiaxiao zhou <jiazho@microsoft.com>
Co-authored-by: Jorge Prendes <jorge.prendes@gmail.com>
2024-05-15 12:20:27 +00:00
github-actions[bot]
c6fffb2c6a
Merge pull request #2785 from containers/dependabot/cargo/patch-a2c8ac292a 2024-05-09 05:26:19 +00:00
dependabot[bot]
af2a125b93
Bump errno from 0.3.8 to 0.3.9 in the patch group
Bumps the patch group with 1 update: [errno](https://github.com/lambda-fairy/rust-errno).


Updates `errno` from 0.3.8 to 0.3.9
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lambda-fairy/rust-errno/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-09 00:59:07 +00:00
github-actions[bot]
7fa20470f6
Merge pull request #2784 from containers/dependabot/cargo/patch-99d12aa416 2024-05-08 00:49:38 +00:00
dependabot[bot]
3ccd4c1dc9
Bump the patch group with 5 updates
Bumps the patch group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [serde](https://github.com/serde-rs/serde) | `1.0.200` | `1.0.201` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.59` | `1.0.60` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.116` | `1.0.117` |
| [wasmtime](https://github.com/bytecodealliance/wasmtime) | `20.0.1` | `20.0.2` |
| [wasi-common](https://github.com/bytecodealliance/wasmtime) | `20.0.1` | `20.0.2` |


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

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

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

Updates `wasmtime` from 20.0.1 to 20.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/v20.0.1...v20.0.2)

Updates `wasi-common` from 20.0.1 to 20.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/v20.0.1...v20.0.2)

---
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: serde_json
  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-05-08 00:39:21 +00:00
github-actions[bot]
499205add8
Merge pull request #2783 from containers/dependabot/cargo/patch-d7ca0ad508 2024-05-07 00:54:31 +00: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
Jakub Jirutka
96ff8c31ab
deps: Disable unused/unnecessary regex features in libcontainer (#2781)
To reduce binary size and dependency bloat in projects using libcontainer.

Signed-off-by: Jakub Jirutka <jakub@jirutka.cz>
2024-05-06 12:23:36 +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
Yashodhan
ba1b28e98d
Merge pull request #2775 from utam0k/seccomp-3
seccomp: Add a case for checking arguments
2024-05-06 11:35:59 +05:30
github-actions[bot]
3202b2f4c5
Merge pull request #2782 from containers/dependabot/cargo/patch-6a9cd945eb 2024-05-06 01:26:49 +00:00
dependabot[bot]
6cd72cc268
Bump the patch group with 3 updates
Bumps the patch group with 3 updates: [libbpf-sys](https://github.com/libbpf/libbpf-sys), [wasmtime](https://github.com/bytecodealliance/wasmtime) and [wasi-common](https://github.com/bytecodealliance/wasmtime).


Updates `libbpf-sys` from 1.4.0+v1.4.0 to 1.4.1+v1.4.0
- [Commits](https://github.com/libbpf/libbpf-sys/commits)

Updates `wasmtime` from 20.0.0 to 20.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.0...v20.0.1)

Updates `wasi-common` from 20.0.0 to 20.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.0...v20.0.1)

---
updated-dependencies:
- dependency-name: libbpf-sys
  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-05-06 01:16:30 +00:00
Yashodhan
30e3ab5c2d
Merge pull request #2778 from containers/dependabot/cargo/patch-6a66405946
(auto merged) Bump serde from 1.0.199 to 1.0.200 in the patch group
2024-05-03 19:47:59 +05:30
dependabot[bot]
a3be506e0a
Bump serde from 1.0.199 to 1.0.200 in the patch group
Bumps the patch group with 1 update: [serde](https://github.com/serde-rs/serde).


Updates `serde` from 1.0.199 to 1.0.200
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.199...v1.0.200)

---
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-02 15:02:59 +00:00