1
0
mirror of https://github.com/containers/youki synced 2024-11-26 06:08:07 +01:00
Commit Graph

1153 Commits

Author SHA1 Message Date
github-actions[bot]
2680bcb61e
Release for v0.3.1 (#2570)
* [tagpr] prepare for the next release

* [tagpr] update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-17 21:15:24 +09:00
Yashodhan
5115fa9e95
Merge pull request #2565 from containers/dependabot/cargo/once_cell-1.19.0
chore(deps): bump once_cell from 1.18.0 to 1.19.0
2023-12-12 12:24:13 +05:30
dependabot[bot]
2acb6d315f
chore(deps): bump once_cell from 1.18.0 to 1.19.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.18.0 to 1.19.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.18.0...v1.19.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>
2023-12-12 01:11:14 +00:00
dependabot[bot]
a76ce303b2
chore(deps): bump mockall from 0.11.4 to 0.12.0
Bumps [mockall](https://github.com/asomers/mockall) from 0.11.4 to 0.12.0.
- [Changelog](https://github.com/asomers/mockall/blob/master/CHANGELOG.md)
- [Commits](https://github.com/asomers/mockall/compare/v0.11.4...v0.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-12 01:08:41 +00:00
dependabot[bot]
c381aca2ad
chore(deps): bump the patch group with 6 updates
Bumps the patch group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [libc](https://github.com/rust-lang/libc) | `0.2.150` | `0.2.151` |
| [anstyle-query](https://github.com/rust-cli/anstyle) | `1.0.1` | `1.0.2` |
| [itoa](https://github.com/dtolnay/itoa) | `1.0.9` | `1.0.10` |
| [ryu](https://github.com/dtolnay/ryu) | `1.0.15` | `1.0.16` |
| [try-lock](https://github.com/seanmonstar/try-lock) | `0.2.4` | `0.2.5` |
| [winnow](https://github.com/winnow-rs/winnow) | `0.5.25` | `0.5.26` |


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

Updates `anstyle-query` from 1.0.1 to 1.0.2
- [Commits](https://github.com/rust-cli/anstyle/compare/anstyle-query-v1.0.1...anstyle-query-v1.0.2)

Updates `itoa` from 1.0.9 to 1.0.10
- [Release notes](https://github.com/dtolnay/itoa/releases)
- [Commits](https://github.com/dtolnay/itoa/compare/1.0.9...1.0.10)

Updates `ryu` from 1.0.15 to 1.0.16
- [Release notes](https://github.com/dtolnay/ryu/releases)
- [Commits](https://github.com/dtolnay/ryu/compare/1.0.15...1.0.16)

Updates `try-lock` from 0.2.4 to 0.2.5
- [Commits](https://github.com/seanmonstar/try-lock/compare/v0.2.4...v0.2.5)

Updates `winnow` from 0.5.25 to 0.5.26
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md)
- [Commits](https://github.com/winnow-rs/winnow/compare/v0.5.25...v0.5.26)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: anstyle-query
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: itoa
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: ryu
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: try-lock
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: winnow
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 00:57:07 +00:00
Toru Komatsu
21b62da57f
Rust 1.74.1 (#2557)
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-12-08 22:26:19 +09:00
Toru Komatsu
18bed8de19
Set up userns in a straightforward way (#2548)
* Set up userns in a straightforward way

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

* Fix lint

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

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-12-04 11:48:20 +00:00
dependabot[bot]
845e2cac09
chore(deps): bump the patch group with 2 updates
Bumps the patch group with 2 updates: [errno](https://github.com/lambda-fairy/rust-errno) and [ring](https://github.com/briansmith/ring).


Updates `errno` from 0.3.7 to 0.3.8
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.7...v0.3.8)

Updates `ring` from 0.17.5 to 0.17.6
- [Commits](https://github.com/briansmith/ring/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 01:09:14 +00:00
cuisongliu
ac20fc302e
docs(main): support arm64 release docs (#2510)
* docs(main): support arm64 release docs

Signed-off-by: cuisongliu <cuisongliu@qq.com>

* docs(main): support arm64 release docs

Signed-off-by: cuisongliu <cuisongliu@qq.com>

* docs(main): support arm64 release docs

Signed-off-by: cuisongliu <cuisongliu@qq.com>

---------

Signed-off-by: cuisongliu <cuisongliu@qq.com>
2023-11-26 12:58:09 +09:00
Toru Komatsu
08c0a23ddf
Merge pull request #2535 from Pvlerick/typo
small typo in trace message
2023-11-17 21:42:41 +09:00
Toru Komatsu
fb05b7b766
Merge pull request #2530 from xiaoyang-sde/libcgroups-v1
fix(libcgroups): clean up 'libcgroups::v1::manager'
2023-11-17 21:06:17 +09:00
Philippe Vlérick
b3b48d447a small typo in trace message
Signed-off-by: Philippe Vlérick <pvlerick@gmail.com>
2023-11-17 08:49:27 +01:00
Toru Komatsu
3c7cc26574
Merge pull request #2524 from xiaoyang-sde/cpu-throttling
fix(libcgroups): report CPU throttling stats in 'libcgroups::v2'
2023-11-17 16:24:05 +09:00
dependabot[bot]
fd2a6f4fe8
chore(deps): bump the patch group with 3 updates
Bumps the patch group with 3 updates: [errno](https://github.com/lambda-fairy/rust-errno), [wasmedge-sdk](https://github.com/WasmEdge/wasmedge-rust-sdk) and [wat](https://github.com/bytecodealliance/wasm-tools).


Updates `errno` from 0.3.6 to 0.3.7
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.6...v0.3.7)

Updates `wasmedge-sdk` from 0.13.0 to 0.13.2
- [Release notes](https://github.com/WasmEdge/wasmedge-rust-sdk/releases)
- [Changelog](https://github.com/WasmEdge/wasmedge-rust-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/WasmEdge/wasmedge-rust-sdk/compare/0.13.0...0.13.2)

Updates `wat` from 1.0.67 to 1.0.79
- [Release notes](https://github.com/bytecodealliance/wasm-tools/releases)
- [Commits](https://github.com/bytecodealliance/wasm-tools/compare/wat-1.0.67...wat-1.0.79)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-16 01:41:41 +00:00
Xiaoyang Liu
d6a6cd3338
fix(libcgroups): clean up 'libcgroups::v1::manager'
Signed-off-by: Xiaoyang Liu <siujoeng.lau@gmail.com>
2023-11-14 17:57:59 -08:00
Xiaoyang Liu
c857857ce3
fix(libcgroup): parse CPU stats with 'parse_flat_keyed_data()'
Signed-off-by: Xiaoyang Liu <siujoeng.lau@gmail.com>
2023-11-14 11:51:30 -08:00
dependabot[bot]
bc8265a638
chore(deps): bump the patch group with 2 updates
Bumps the patch group with 2 updates: [tracing-subscriber](https://github.com/tokio-rs/tracing) and [http](https://github.com/hyperium/http).


Updates `tracing-subscriber` from 0.3.17 to 0.3.18
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.17...tracing-subscriber-0.3.18)

Updates `http` from 0.2.10 to 0.2.11
- [Release notes](https://github.com/hyperium/http/releases)
- [Changelog](https://github.com/hyperium/http/blob/v0.2.11/CHANGELOG.md)
- [Commits](https://github.com/hyperium/http/compare/v0.2.10...v0.2.11)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: http
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 00:49:19 +00:00
Toru Komatsu
c7567ab42a
Merge pull request #2525 from xiaoyang-sde/libcgroups-docs
docs(libcgroup): add docs for several items in 'libcgroup::v2'
2023-11-13 21:54:59 +09:00
Xiaoyang Liu
1ce94d237a
docs(libcgroup): add docs for several items in 'libcgroup::v2'
Signed-off-by: Xiaoyang Liu <siujoeng.lau@gmail.com>
2023-11-11 23:02:11 -08:00
Xiaoyang Liu
eeee7ca815
fix(libcgroup): report CPU throttling stats in 'libcgroup::v2'
Signed-off-by: Xiaoyang Liu <siujoeng.lau@gmail.com>
2023-11-11 19:18:25 -08:00
dependabot[bot]
855668dac5
chore(deps): bump wasmedge-sdk from 0.12.2 to 0.13.0
Bumps [wasmedge-sdk](https://github.com/WasmEdge/wasmedge-rust-sdk) from 0.12.2 to 0.13.0.
- [Release notes](https://github.com/WasmEdge/wasmedge-rust-sdk/releases)
- [Changelog](https://github.com/WasmEdge/wasmedge-rust-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/WasmEdge/wasmedge-rust-sdk/compare/0.12.2...0.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-09 01:11:12 +00:00
dependabot[bot]
64099872f9
chore(deps): bump the patch group with 2 updates
Bumps the patch group with 2 updates: [serde](https://github.com/serde-rs/serde) and [errno](https://github.com/lambda-fairy/rust-errno).


Updates `serde` from 1.0.191 to 1.0.192
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.191...v1.0.192)

Updates `errno` from 0.3.5 to 0.3.6
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.5...v0.3.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-08 01:00:39 +00:00
Toru Komatsu
5b39e63458
Merge pull request #2490 from containers/dependabot/cargo/procfs-0.16.0
chore(deps): bump procfs from 0.15.1 to 0.16.0
2023-11-07 20:13:14 +09:00
Yashodhan Joshi
0331e41928 Fix youki code for procfs breaking changes
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2023-11-06 16:20:07 +05:30
github-actions[bot]
fd8797ca36
Merge pull request #2509 from containers/dependabot/cargo/libc-0.2.150 2023-11-06 01:03:33 +00:00
dependabot[bot]
a8546c67ee
chore(deps): bump libc from 0.2.149 to 0.2.150
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.149 to 0.2.150.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.149...0.2.150)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 00:48:15 +00:00
dependabot[bot]
321169dbbb
chore(deps): bump vergen from 8.2.5 to 8.2.6
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.2.5 to 8.2.6.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.5...8.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 00:28:03 +00:00
dependabot[bot]
f7ef5cf950
chore(deps): bump procfs from 0.15.1 to 0.16.0
Bumps [procfs](https://github.com/eminence/procfs) from 0.15.1 to 0.16.0.
- [Release notes](https://github.com/eminence/procfs/releases)
- [Commits](https://github.com/eminence/procfs/compare/v0.15.1...v0.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-03 12:15:33 +00:00
utam0k
3b313e5873
Specify the protobuf crate because of the rust-criu crate
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-11-01 20:53:52 +09:00
dependabot[bot]
f01feaa05b
chore(deps): bump oci-spec from 0.6.3 to 0.6.4
Bumps [oci-spec](https://github.com/containers/oci-spec-rs) from 0.6.3 to 0.6.4.
- [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.3...v0.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 00:57:57 +00:00
dependabot[bot]
5a9d1cde73
chore(deps): bump thiserror from 1.0.49 to 1.0.50
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.49 to 1.0.50.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.49...1.0.50)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 01:07:51 +00:00
dependabot[bot]
8ac5632cf2
chore(deps): bump tracing from 0.1.39 to 0.1.40
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.39 to 0.1.40.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.39...tracing-0.1.40)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 00:47:22 +00:00
dependabot[bot]
019b0a7014
chore(deps): bump regex from 1.10.1 to 1.10.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.1 to 1.10.2.
- [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.1...1.10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 00:51:16 +00:00
Yashodhan
d51eeea65a
Merge pull request #2441 from containers/dependabot/cargo/regex-1.10.1
(auto merged) chore(deps): bump regex from 1.10.0 to 1.10.1
2023-10-16 10:56:15 +05:30
github-actions[bot]
54d00e0654
Merge pull request #2447 from containers/dependabot/cargo/bitflags-2.4.1 2023-10-16 01:46:56 +00:00
dependabot[bot]
7fb5a1ae60
chore(deps): bump bitflags from 2.4.0 to 2.4.1
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.4.0 to 2.4.1.
- [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.4.0...2.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 01:31:31 +00:00
dependabot[bot]
fd6a974f8b
chore(deps): bump regex from 1.10.0 to 1.10.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.0 to 1.10.1.
- [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.0...1.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 01:25:51 +00:00
dependabot[bot]
ffe9aecfca
chore(deps): bump tracing from 0.1.37 to 0.1.39
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.37 to 0.1.39.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.39)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 01:10:21 +00:00
Toru Komatsu
e4d2b3972a
Merge pull request #2437 from utam0k/version-v0.3.0
v0.3.0
2023-10-15 15:48:33 +09:00
Yashodhan Joshi
54b1749066 Fix device duplication in rootfs preparation 2023-10-14 17:35:28 +05:30
utam0k
c6fa60a1a7
v0.3.0
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-10-14 06:57:42 +00:00
Toru Komatsu
fd25afb76a
Merge pull request #2425 from jprendes/non-blocking-syscalls
Use raw syscalls to avoid sporadic hangs
2023-10-12 20:36:35 +09:00
fengxsong
be1bab74ff
feat: allow customize cgroup root path (#2411)
* feat: allow customize cgroup root path

Signed-off-by: fengxsong <fengxsong@outlook.com>

* fix: use Option type for root_path argument

Signed-off-by: fengxsong <fengxsong@outlook.com>

* docs: add comment

Signed-off-by: fengxsong <fengxsong@outlook.com>

---------

Signed-off-by: fengxsong <fengxsong@outlook.com>
2023-10-12 20:32:51 +09:00
Jorge Prendes
32ffc4d231
Use raw syscalls to avoid sporadic hangs
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2023-10-11 11:04:14 +01:00
dependabot[bot]
ed59e96901
chore(deps): bump oci-spec from 0.6.2 to 0.6.3
Bumps [oci-spec](https://github.com/containers/oci-spec-rs) from 0.6.2 to 0.6.3.
- [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.2...v0.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 00:18:53 +00:00
Toru Komatsu
8faff1c7d8
Merge pull request #2420 from jprendes/static-wasmedge
Use static build of wasmedge
2023-10-10 21:17:39 +09:00
dependabot[bot]
22d8fcb668
chore(deps): bump regex from 1.9.6 to 1.10.0
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.6 to 1.10.0.
- [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.9.6...1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 00:21:03 +00:00
Yashodhan
b968ac5f96
Merge pull request #2369 from anti-entropy123/main
update nix to 0.27.1 🎉
2023-10-09 20:46:13 +05:30
Jorge Prendes
e8cae3e7cb
Use static build of wasmedge
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2023-10-09 15:42:34 +01:00
anti-entropy123
326aea1021 fix lint error
Signed-off-by: anti-entropy123 <1348651580@qq.com>
2023-10-09 10:23:55 +08:00
anti-entropy123
d07a538b44 resolve conflicts
Signed-off-by: anti-entropy123 <1348651580@qq.com>
2023-10-09 10:20:01 +08:00
anti-entropy123
705b17a54b add comments
Signed-off-by: anti-entropy123 <1348651580@qq.com>
2023-10-09 10:17:12 +08:00
dependabot[bot]
20a376faf9
chore(deps): bump errno from 0.3.4 to 0.3.5
Bumps [errno](https://github.com/lambda-fairy/rust-errno) from 0.3.4 to 0.3.5.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 02:05:39 +00:00
dependabot[bot]
2a8c0e4fef
chore(deps): bump libc from 0.2.148 to 0.2.149
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.148 to 0.2.149.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.148...0.2.149)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 01:20:28 +00:00
anti-entropy123
59937cf490 update nix to 0.27.1
Signed-off-by: anti-entropy123 <1348651580@qq.com>
2023-10-07 11:10:07 +08:00
Yashodhan
cc39179f9f
podman rootless with dbus native (#2370)
* Move dbus_native code to youki, add tests

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

* (incomplete) move individual systemd components to dbus_native

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

* (incomplete) Change tests to use dbus_native, move
systemdClientInterface into dbus_native

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

* (incomplete) Change variant to actual enum, Fix types for systemd

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

* Fix bug in vector ser/de

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

* Fix mut requirements, minor lints etc., add client id in dbus

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

* Add implementation for proxy methods

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

* Split dbus error from SystemdClientError

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

* implement system and session connection creation

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

* Fix typos and failing feature test build

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

* Completely remove dbus dependency and add docs regarding dbus-native

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

* Update migration guide, move documentation od dbus_native to cgroups

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

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2023-10-05 21:08:06 +09:00
github-actions[bot]
0c588a7a8e
Merge pull request #2401 from containers/dependabot/cargo/errno-0.3.4 2023-10-02 01:43:26 +00:00
dependabot[bot]
8d741e5ba4
chore(deps): bump errno from 0.3.3 to 0.3.4
Bumps [errno](https://github.com/lambda-fairy/rust-errno) from 0.3.3 to 0.3.4.
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.3...v0.3.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 01:33:06 +00:00
dependabot[bot]
0a9bc3916a
chore(deps): bump regex from 1.9.5 to 1.9.6
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.5 to 1.9.6.
- [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.9.5...1.9.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 01:04:17 +00:00
dependabot[bot]
493a5653ee
chore(deps): bump thiserror from 1.0.48 to 1.0.49
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-28 00:21:14 +00:00
dependabot[bot]
7d17b015f6
chore(deps): bump fastrand from 2.0.0 to 2.0.1
Bumps [fastrand](https://github.com/smol-rs/fastrand) from 2.0.0 to 2.0.1.
- [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.0...v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-26 00:18:36 +00:00
dependabot[bot]
1ea8d9ca5d
chore(deps): bump wasmedge-sdk from 0.12.1 to 0.12.2
Bumps [wasmedge-sdk](https://github.com/WasmEdge/wasmedge-rust-sdk) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/WasmEdge/wasmedge-rust-sdk/releases)
- [Changelog](https://github.com/WasmEdge/wasmedge-rust-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/WasmEdge/wasmedge-rust-sdk/compare/0.12.1...0.12.2)

---
updated-dependencies:
- dependency-name: wasmedge-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 01:11:44 +00:00
dependabot[bot]
8b6a7be71e
chore(deps): bump wasmedge-sdk from 0.11.2 to 0.12.1
Bumps [wasmedge-sdk](https://github.com/WasmEdge/wasmedge-rust-sdk) from 0.11.2 to 0.12.1.
- [Release notes](https://github.com/WasmEdge/wasmedge-rust-sdk/releases)
- [Changelog](https://github.com/WasmEdge/wasmedge-rust-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/WasmEdge/wasmedge-rust-sdk/compare/0.11.2...0.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 01:11:44 +00:00
dependabot[bot]
fe803060f4
chore(deps): bump wasmtime-wasi from 10.0.1 to 10.0.2
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 10.0.1 to 10.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/v10.0.1...v10.0.2)

---
updated-dependencies:
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 00:46:16 +00:00
dependabot[bot]
76e3344f3e
chore(deps): bump wasmtime from 10.0.1 to 10.0.2
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 10.0.1 to 10.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/v10.0.1...v10.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 01:04:25 +00:00
dependabot[bot]
f8d361a799
chore(deps): bump libc from 0.2.147 to 0.2.148
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.147 to 0.2.148.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.147...0.2.148)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-14 00:33:14 +00:00
dependabot[bot]
a6c0f44209
chore(deps): bump vergen from 8.2.4 to 8.2.5
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.2.4 to 8.2.5.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.4...8.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 00:44:26 +00:00
Yashodhan
23c1f4f7be
Merge pull request #2279 from YJDoc2/fix/fix-rootless-checks
Change rootless required function and privilege decision
2023-09-05 15:01:52 +05:30
Yashodhan Joshi
4114513c38 Move userns spec validation into utils, add tests for it 2023-09-05 12:11:32 +05:30
dependabot[bot]
f4e909b628
chore(deps): bump thiserror from 1.0.47 to 1.0.48
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 01:19:47 +00:00
dependabot[bot]
d8da5252eb
chore(deps): bump regex from 1.9.4 to 1.9.5
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.4 to 1.9.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.9.4...1.9.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 00:40:07 +00:00
utam0k
c04a9a0577
v0.2.0
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-08-31 11:54:15 +00:00
dependabot[bot]
a1d90a702d
chore(deps): bump errno from 0.3.2 to 0.3.3
Bumps [errno](https://github.com/lambda-fairy/rust-errno) from 0.3.2 to 0.3.3.
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.2...v0.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-30 00:53:17 +00:00
Toru Komatsu
09e67372a8
Rust 1.72 (#2323)
* Rust 1.72.0

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

* Fix lint errors from 1.72.0

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

---------

Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-08-29 08:50:15 -07:00
Thomas Schubart
854db28a7c
Merge pull request #2308 from utam0k/idmap-ridmap
Return an error when passing unsupported mount options
2023-08-28 15:17:25 +02:00
utam0k
4871917de1
Address the feedback
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-08-28 13:05:09 +00:00
dependabot[bot]
35e880f8e3
chore(deps): bump regex from 1.9.3 to 1.9.4
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.3 to 1.9.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.9.3...1.9.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 01:15:12 +00:00
utam0k
1753b5863e
Return an error when passing unsupported mount options
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-08-27 12:07:00 +00:00
Eric Fang
5f3f4ce82f
move the validation logic into executor (#2258)
* move the validation logic into executor

To allow more flexibility for the executor, we move the validate logic into the executor.
The validate runs in the `create` step before workloads are executed.
Instead of implementing the validation in the `exec`, to maintain
backward competiability, we have to introduce an extra step. The exec is
too late to fail if the spec is not validated.

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

* Update the migration guide

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

* Add a comment explaining when the validate step runs.

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

* Implement different error types for validate

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-08-22 21:59:15 +09:00
dependabot[bot]
79a410992b
chore(deps): bump anyhow from 1.0.74 to 1.0.75
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.74 to 1.0.75.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.74...1.0.75)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 00:55:06 +00:00
Yashodhan Joshi
7078ad6882 Change rootless required function and privilege decision 2023-08-19 19:24:22 +05:30
dependabot[bot]
198652f00b
chore(deps): bump thiserror from 1.0.46 to 1.0.47
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 01:02:24 +00:00
github-actions[bot]
36cffff876
Merge pull request #2270 from containers/dependabot/cargo/anyhow-1.0.74 2023-08-16 00:43:29 +00:00
dependabot[bot]
63be6c75af
chore(deps): bump anyhow from 1.0.72 to 1.0.74
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.72 to 1.0.74.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.74)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 00:31:11 +00:00
dependabot[bot]
a2bb23a624
chore(deps): bump thiserror from 1.0.44 to 1.0.46
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.44 to 1.0.46.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.46)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 00:24:05 +00:00
Toru Komatsu
539885f558
Merge pull request #2257 from YJDoc2/rename-rootless-struct
Rename the rootless struct  to UserNamespaceConfig
2023-08-14 21:05:25 +09:00
dependabot[bot]
92a1038080
chore(deps): bump bitflags from 2.3.3 to 2.4.0
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.3.3 to 2.4.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.3.3...2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 00:28:54 +00:00
Yashodhan Joshi
4e26799e15 Rename the rootless struct and correspondigs to UserNamespaceConfig and according. 2023-08-12 19:50:25 +05:30
dependabot[bot]
3b46b2d2b9
chore(deps): bump wasmedge-sdk from 0.11.0 to 0.11.2
Bumps [wasmedge-sdk](https://github.com/WasmEdge/WasmEdge) from 0.11.0 to 0.11.2.
- [Release notes](https://github.com/WasmEdge/WasmEdge/releases)
- [Changelog](https://github.com/WasmEdge/WasmEdge/blob/master/Changelog.md)
- [Commits](https://github.com/WasmEdge/WasmEdge/compare/0.11.0...0.11.2)

---
updated-dependencies:
- dependency-name: wasmedge-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 01:07:27 +00:00
dependabot[bot]
daeb8a21e6
chore(deps): bump regex from 1.9.1 to 1.9.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.1 to 1.9.3.
- [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.9.1...1.9.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 01:05:10 +00:00
Eric Fang
bda93700e2
Refactor the Executor interface to allow trait object as executors (#2230)
* Refactored the Executor interface yet again

I apologize having to refactor this interface yet again. Previously, we
introduced the executor to be a function pointer. This works out nicely
because the function pointer in rust can be clone-ed without hassel.
However, I realized that using function pointer is way to restrictive
for our users. The executor may wish to include additional context when
calling the exec function. The function pointer limited the input only
`oci spec`.

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

* fix spell check

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

* Fix doc test

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-08-06 13:14:31 +05:30
dependabot[bot]
2d6fd7650b
chore(deps): bump wasmedge-sdk from 0.9.0 to 0.11.0 (#2223)
* chore(deps): bump wasmedge-sdk from 0.9.0 to 0.11.0

Bumps [wasmedge-sdk](https://github.com/WasmEdge/WasmEdge) from 0.9.0 to 0.11.0.
- [Release notes](https://github.com/WasmEdge/WasmEdge/releases)
- [Changelog](https://github.com/WasmEdge/WasmEdge/blob/master/Changelog.md)
- [Commits](https://github.com/WasmEdge/WasmEdge/compare/0.9.0...0.11.0)

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

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

* Remove VM type generics as not needed with this release

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2023-08-01 22:44:16 +05:30
Yashodhan
0fc4c8747d
Merge pull request #2203 from yihuaf/yihuaf/clone-fallback
Implemented the clone fallback when clone3 returns ENOSYS
2023-08-01 10:27:44 +05:30
dependabot[bot]
d0c7a42275
chore(deps): bump errno from 0.3.1 to 0.3.2
Bumps [errno](https://github.com/lambda-fairy/rust-errno) from 0.3.1 to 0.3.2.
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.1...v0.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 00:35:39 +00:00
yihuaf
3151278420 Implemented the clone fallback when clone3 returns ENOSYS
For a number of reasons, platforms can choose to block clone3 and force
return ENOSYS. We implement a clone fallback in the case that we can't
use clone3.

Also, clone3 has no libc wrapper at this point. The current
implementation calls the kernel version of the syscall directly. There
are undefined behaviors potentially when we create process bypassing the
libc. However, we have not observed any issue with our tests. This is
likely because `youki` runs short lived process and calls exec or exit
in the end. Nonetheless, we should have a backup plan and this change is
our way out in the case that we discover clone3 has issue as the default
code path.

Remove the use of the clone3 crate. We use `clone3` is a very specific
way to create a process. We don't have to support the many other flags
and usecases of the `clone3` call. So it is simpler for us to use the
libc crate directly for the syscall. This avoids an extra dependency and
reduces our binary size.

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-23 17:44:37 -07:00
dependabot[bot]
badfeb9087
chore(deps): bump thiserror from 1.0.43 to 1.0.44
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 00:40:07 +00:00
Eric Fang
f3da56e583
Make container_args clone-able (#2193)
Make the container_args clone-able and remove the use of references.
Container_args is passed to the intermediate and init process, so we
need to make sure it can across the clone process boundry safely by
allowing passing of the container_args ownership to the new process.

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-23 21:35:50 +09:00
Eric Fang
c3559e4a0a
refactored executor and executor manager (#2186)
* refactored executor and executor manager

Refactored the executor and executor manager to be clone-able and more
ergonomics.

Removed the use of executor manager with a vector of executor. Instead
we favor composing executors into a new executor. Composing also allows
the implementer to be precise about the execution orders. The old
executor manager with its vector implementation is not explicit enough
about the order when multiple executor is involved.

Re-implement the executor to be a function pointer instead of the Fn
family traits. Traits will type erase and difficult to deal with when
implementing clone.

Refactored the wasm related exectors to use the new scheme.

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

* Add comments and address the reviews

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

* Add a section in executor

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-21 21:12:21 +09:00
Eric Fang
6162618e7a
Refactor the libcgroups interface (#2168)
* fix notify_listener

- fix the name to notify listener
- fix the structure to be clone-able

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

* changed the libcgroup creation interface

Changed the libcgroup creation interface to use config struct rather
than variables. The creation will also own/consume the config struct.
In this way, we don't have to create the cgroup manager upfront.
Instead, we can delay the creation of cgroup manager in the process when
it is needed.

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

* Add a notify listener test

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

* fix clippy

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

* fix spellcheck

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-19 22:09:43 +09:00
dependabot[bot]
72faee78bb
chore(deps): bump scopeguard from 1.1.0 to 1.2.0
Bumps [scopeguard](https://github.com/bluss/scopeguard) from 1.1.0 to 1.2.0.
- [Commits](https://github.com/bluss/scopeguard/compare/v1.1.0...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 00:43:10 +00:00
rongfu.leng
f6859f08ae
add io priority (#2164)
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-07-17 08:41:29 -07:00
dependabot[bot]
5cb1cd9d03
chore(deps): bump anyhow from 1.0.71 to 1.0.72 (#2172)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.71...1.0.72)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-16 22:55:51 -07:00
Toru Komatsu
49a85f66df
Merge pull request #2155 from yihuaf/yihuaf/syscall_type
Use syscall type to delay the creation of syscall struct.
2023-07-14 21:33:28 +09:00
Christophe de Dinechin
b9b5fa877b
Liboci additional flags and subcommands, as required by ociplex (#2149)
Add the missing OCI cli options and change options order

- checkpoint:

Add the missing command-line options as documented for runc, and also reorder
the options to match the documentation:
https://github.com/opencontainers/runc/blob/main/man/runc-checkpoint.8.md

(This does not mean that they are necessarily implemented)

- no-pivot:

The --no-pivot option is documented in
https://github.com/opencontainers/runc/blob/main/man/runc-create.8.md

Also change the options order in order to match the doc, this makes the code a
bit easier to maintain.

- exec:

Add the missing command-line options for the exec subcommand.
Reference: https://github.com/opencontainers/runc/blob/main/man/runc-exec.8.md

- run:

Also change the order to match the documentation in
https://github.com/opencontainers/runc/blob/main/man/runc-run.8.md

- update

Add command-line options as documented in
https://github.com/opencontainers/runc/blob/main/man/runc-update.8.md

- spec:

Add the missing bundle option, as documented in
https://github.com/opencontainers/runc/blob/main/man/runc-spec.8.md

- features

The 'features' subcommand is not publicly documented yet, but it was introduced
in `runc` in https://github.com/opencontainers/runc/pull/3296.

- liboci-cli: Update README with information about features subcommand

The `features` subcommand is  implemented in `runc`, but not documented.
See https://github.com/opencontainers/runc/pull/3296

- list: Add missing command-line options

Add the command-line options documented in

-------

Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
Signed-off-by: yihuaf <yihuaf@unkies.org>
Co-authored-by: yihuaf <yihuaf@unkies.org>
2023-07-13 14:17:01 -07:00
dependabot[bot]
03d6ca022e
chore(deps): bump libbpf-sys from 1.1.1+v1.1.0 to 1.2.1+v1.2.0 (#2138)
* chore(deps): bump libbpf-sys from 1.1.1+v1.1.0 to 1.2.1+v1.2.0

Bumps [libbpf-sys](https://github.com/libbpf/libbpf-sys) from 1.1.1+v1.1.0 to 1.2.1+v1.2.0.
- [Commits](https://github.com/libbpf/libbpf-sys/commits)

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

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

* fix the interface now consumes raw pointer

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: yihuaf <yihuaf@unkies.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: yihuaf <yihuaf@unkies.org>
2023-07-12 00:03:31 -07:00
yihuaf
fb807b482c fix syscall reference and lifetime
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-10 23:00:55 -07:00
dependabot[bot]
b26c790ec6
chore(deps): bump regex from 1.9.0 to 1.9.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.0 to 1.9.1.
- [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.9.0...1.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 01:08:22 +00:00
dependabot[bot]
8b6675b043
chore(deps): bump thiserror from 1.0.41 to 1.0.43
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.41 to 1.0.43.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.41...1.0.43)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 00:21:24 +00:00
dependabot[bot]
c308166cb8
chore(deps): bump regex from 1.8.4 to 1.9.0
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.4 to 1.9.0.
- [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.8.4...1.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 06:53:10 +00:00
dependabot[bot]
52b40dfed5
chore(deps): bump vergen from 8.2.1 to 8.2.4
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.2.1 to 8.2.4.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.1...8.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 00:50:09 +00:00
dependabot[bot]
c988dd4330
chore(deps): bump thiserror from 1.0.40 to 1.0.41
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 01:06:20 +00:00
Toru Komatsu
9ba5d8c41f
Merge pull request #2068 from yihuaf/yihuaf/export-spec
re-export oci-spec in libcontainer
2023-07-04 21:19:13 +09:00
Yashodhan Joshi
0aae345a0b Add typing to VM 2023-07-04 15:23:43 +05:30
yihuaf
bf014a2586 fix review
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-04 02:19:47 -07:00
yihuaf
2a1355e553 address review
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-04 02:15:55 -07:00
yihuaf
524e56d78b re-export the oci-spec the libcontainer
uses

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-04 02:11:15 -07:00
yihuaf
6b00ef48f5 pin oci-spec crate version
The oci-spec crate can introduce breakage, so we should pin to specific
version we support.

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-04 02:11:15 -07:00
dependabot[bot]
1474e801a1
chore(deps): bump wasmedge-sdk from 0.8.1 to 0.9.0
Bumps [wasmedge-sdk](https://github.com/WasmEdge/WasmEdge) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/WasmEdge/WasmEdge/releases)
- [Changelog](https://github.com/WasmEdge/WasmEdge/blob/master/Changelog.md)
- [Commits](https://github.com/WasmEdge/WasmEdge/compare/0.8.1...0.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 11:56:17 +00:00
dependabot[bot]
f24c259b70
chore(deps): bump bitflags from 2.3.2 to 2.3.3
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.3.2 to 2.3.3.
- [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.3.2...2.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 01:06:05 +00:00
Yashodhan Joshi
367aa8c9de Update wasm related deps
- wasmer 3.2.0 -> 4.0.0
- wasmer-wasix 0.4.0 -> 0.9.0
- wasmtime 9.0.4 -> 10.0.1
- wasmtime-wasi 9.0.4 -> 10.0.1
2023-06-26 13:16:31 +05:30
dependabot[bot]
e3dfbf391f
chore(deps): bump libc from 0.2.146 to 0.2.147 (#2086)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.146 to 0.2.147.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.146...0.2.147)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 11:20:13 +05:30
utam0k
60ed236ca5
v0.1.0
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-06-20 11:56:07 +00:00
Eric Fang
f4e7e300e6
Fix the feature test and turn on in CI (#2060)
* reworked the justfile to be explicit with path

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

* fix the feature tests

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

* add the musl test

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

* moving all stub into a single dir

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-19 21:21:18 +09:00
Eric Fang
ebef6dba09
Introduce a log-level flag. (#2036)
* Implement `--log-level`

In short:

Propose the default log level for release to error
Keep the --debug flag and it sets the log level to debug
Introduce --log-level flag to set the log level
--debug flag will be ignored if --log-level flag is also set.
Keep the default log level for debug build to debug

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

* minor fix to CI

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

* move log-level to youki_extend

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

* remove the workflow_dispatch trigger

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-17 21:56:49 +09:00
dependabot[bot]
686bb10dc5
chore(deps): bump wasmtime-wasi from 9.0.3 to 9.0.4
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 9.0.3 to 9.0.4.
- [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/v9.0.3...v9.0.4)

---
updated-dependencies:
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 01:14:41 +00:00
github-actions[bot]
0c4133b226
Merge pull request #2052 from containers/dependabot/cargo/wasmtime-9.0.4 2023-06-14 01:29:54 +00:00
dependabot[bot]
dd24f863d7
chore(deps): bump wasmtime from 9.0.3 to 9.0.4
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 9.0.3 to 9.0.4.
- [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/v9.0.3...v9.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 01:19:15 +00:00
dependabot[bot]
715b5ec419
chore(deps): bump bitflags from 2.3.1 to 2.3.2
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.3.1 to 2.3.2.
- [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.3.1...2.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 01:12:27 +00:00
dependabot[bot]
66896c23cc
chore(deps): bump fastrand from 1.9.0 to 2.0.0 (#2032)
Bumps [fastrand](https://github.com/smol-rs/fastrand) from 1.9.0 to 2.0.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/v1.9.0...v2.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-11 21:51:20 -07:00
Toru Komatsu
f5f2242f85
Don't create a file when it already exists when mounting with bind (#2031)
For example, it is more likely that the /etc/hosts file already exists. In that case, it fails because it tries to open the file with write permission while it is RO.

Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-06-11 21:50:53 -07:00
yihuaf
c23edc02cc add some tracing
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-09 12:11:12 -07:00
yihuaf
545b13da86 bump oci-spec version to 0.6.1
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-09 11:24:57 -07:00
Eric Fang
3a790dffe9
Using typos-cli to catch typos + fixes for existing typos (#2018)
* adds a typos configuration file

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

* fix all the typos

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

* add typos to justfile and CI

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

* fix

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

* fix

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

* fix

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-08 10:19:17 +05:30
dependabot[bot]
0e2719d5b2
chore(deps): bump libc from 0.2.145 to 0.2.146
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.145 to 0.2.146.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.145...0.2.146)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 01:30:21 +00:00
Jorge Prendes
2ff8b97e67
Do not try to acquire capabilities we are not allowed to (#2000)
Currently reset_effective tries to acquire all know capabilities from a hardcoded list.
According to https://man7.org/linux/man-pages/man7/capabilities.7.html only capabilities in the permitted set can be acquired.
Trying to acquire a capability beyond those in the permitted set will result in EPERM (see https://man7.org/linux/man-pages/man2/capset.2.html).
This change modifies reset_effective so that it only acquires the capabilities in the permitted set.

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2023-06-06 01:26:33 -07:00
dependabot[bot]
e54ebe8984
chore(deps): bump regex from 1.8.3 to 1.8.4
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.3 to 1.8.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.8.3...1.8.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 05:17:28 +00:00
dependabot[bot]
8fca7d7fa0
chore(deps): bump wasmtime-wasi from 9.0.2 to 9.0.3
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 9.0.2 to 9.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/v9.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 01:10:53 +00:00
Yashodhan
79b6450a86
Replace Makefiles with Just (#1823)
Refactored the build system using `justfile`.

* Use just in CI instead of makefiles

* Remove makefiles completely

* Increase timeout in rust validation
2023-06-05 09:24:33 -07:00
dependabot[bot]
9d5dafbdf1
chore(deps): bump wasmtime from 9.0.2 to 9.0.3 (#1993)
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 9.0.2 to 9.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/v9.0.2...v9.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 23:36:26 -07:00
dependabot[bot]
d1811c7867
chore(deps): bump once_cell from 1.17.2 to 1.18.0 (#2001)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.2 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.2...v1.18.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 23:35:48 -07:00
Eric Fang
d09c984567
do not log error in the syscall crate (#1973)
* do not log error for mount in specific cases
* clean up the logs in the syscall module
* update toolchain to rust 1.70
---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-04 23:19:51 -07:00
dependabot[bot]
90946a1fbe
chore(deps): bump libc from 0.2.144 to 0.2.145
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.144 to 0.2.145.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.144...0.2.145)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 01:54:19 +00:00
dependabot[bot]
237e75f07f
chore(deps): bump rbpf from 0.1.0 to 0.2.0 (#1994)
Bumps [rbpf](https://github.com/qmonnet/rbpf) from 0.1.0 to 0.2.0.
- [Commits](https://github.com/qmonnet/rbpf/compare/v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: rbpf
  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>
2023-06-01 11:12:31 -07:00
Toru Komatsu
cb75d26d8f
Merge pull request #1975 from yihuaf/yihuaf/journald
Implemented sending logs to systemd-journald
2023-05-31 20:47:37 +09:00
github-actions[bot]
c3f73557e6
Merge pull request #1986 from containers/dependabot/cargo/wasmtime-wasi-9.0.2 2023-05-30 01:20:36 +00:00
dependabot[bot]
eceff1f2f4
chore(deps): bump wasmtime-wasi from 9.0.1 to 9.0.2
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 9.0.1 to 9.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/v9.0.1...v9.0.2)

---
updated-dependencies:
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 01:10:14 +00:00
dependabot[bot]
3b84293b24
chore(deps): bump once_cell from 1.17.1 to 1.17.2
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.1 to 1.17.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.1...v1.17.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 01:09:53 +00:00
yihuaf
32f57e5b5c deprecate crossbeam since it is merged with std
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-28 23:45:51 -07:00
dependabot[bot]
34b17adf42
chore(deps): bump wasmtime from 9.0.1 to 9.0.2 (#1981)
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 9.0.1 to 9.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/v9.0.1...v9.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-28 19:58:31 -07:00
github-actions[bot]
3e1e4c8e79
Merge pull request #1977 from containers/dependabot/cargo/syscalls-0.6.12 2023-05-29 01:58:21 +00:00
dependabot[bot]
ec989b7748
chore(deps): bump syscalls from 0.6.11 to 0.6.12
Bumps [syscalls](https://github.com/jasonwhite/syscalls) from 0.6.11 to 0.6.12.
- [Changelog](https://github.com/jasonwhite/syscalls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jasonwhite/syscalls/compare/0.6.11...0.6.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 01:46:00 +00:00
dependabot[bot]
b178abbf65
chore(deps): bump mio from 0.8.6 to 0.8.7
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.6 to 0.8.7.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 01:39:53 +00:00
yihuaf
05305afa5c implemented sending logs to systemd
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-27 00:04:06 -07:00
Toru Komatsu
65aceec198
Merge pull request #1963 from yihuaf/yihuaf/coverage
Add some clean up that improves coverage
2023-05-26 21:40:42 +09:00
dependabot[bot]
19db135686
chore(deps): bump regex from 1.8.2 to 1.8.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.2 to 1.8.3.
- [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.8.2...1.8.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-26 01:17:48 +00:00
yihuaf
4fb9a36e1c rename to o11y
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-24 22:47:25 -07:00
yihuaf
876540ffce refactored the logging to use layers
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-24 22:45:44 -07:00
dependabot[bot]
733d9a0756
chore(deps): bump vergen from 8.2.0 to 8.2.1
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.0...8.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 01:06:33 +00:00
yihuaf
f76835ed7e fix test_utils dependency
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-24 14:12:12 -07:00
yihuaf
31d4a8b0ec fixed utils io functions
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-24 14:04:18 -07:00
yihuaf
1d81f05f93 remove do_exec now that default executor is used.
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-24 14:04:18 -07:00
dependabot[bot]
50294dd03e
chore(deps): bump wasmtime from 8.0.1 to 9.0.1 (#1959)
* chore(deps): bump wasmtime-wasi from 8.0.1 to 9.0.1

Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 8.0.1 to 9.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/v8.0.1...v9.0.1)

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

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

* chore(deps): bump wasmtime from 8.0.1 to 9.0.1

Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 8.0.1 to 9.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/v8.0.1...v9.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>
2023-05-23 23:54:13 -07:00
Eric Fang
2427aef05b
Fix the test to not use sigkill (#1948)
* Fix the test to not use sigkill

Sigkill is not the right signal to use because it kills the process without
going through the handler. Use sigint instead. Also add tracing for
debugging in the future.

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

* refactored test_in_child_process and channel into its own crate

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

* refactor tracing test to use test in child process

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

* fix cargo

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

* fix failed CI

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

* fix review

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

* fix review

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-23 19:57:02 +09:00
dependabot[bot]
161af61b2d
chore(deps): bump regex from 1.8.1 to 1.8.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.1 to 1.8.2.
- [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.8.1...1.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 01:20:20 +00:00
dependabot[bot]
3f1decff82
chore(deps): bump vergen from 8.1.3 to 8.2.0 (#1953)
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.1.3 to 8.2.0.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.1.3...8.2.0)

---
updated-dependencies:
- dependency-name: vergen
  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>
2023-05-21 23:13:51 -07:00
yihuaf
c45e5f2063 removed unified syscall error
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-19 23:54:22 -07:00
yihuaf
8a6a8c6e96 simplified the syscall error
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-19 23:54:22 -07:00
Eric Fang
0d6b0d563b
Finally, remove anyhow from the libcontainer dependency. (#1937)
* remove anyhow

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

* removed anyhow from workload

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

* clean up the anyhow errors

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

* fix

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

* fix

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

* fix error message

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

* fixed wasm error

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-19 19:03:37 +09:00
Toru Komatsu
ca6bc31281
Merge pull request #1943 from containers/dependabot/cargo/bitflags-2.3.1
chore(deps): bump bitflags from 2.2.1 to 2.3.1
2023-05-18 20:23:40 +09:00
dependabot[bot]
8c9e4ecf51
chore(deps): bump bitflags from 2.2.1 to 2.3.1
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.2.1 to 2.3.1.
- [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.2.1...2.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-18 01:16:11 +00:00
dependabot[bot]
020b48ae93
chore(deps): bump syscalls from 0.6.10 to 0.6.11
Bumps [syscalls](https://github.com/jasonwhite/syscalls) from 0.6.10 to 0.6.11.
- [Changelog](https://github.com/jasonwhite/syscalls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jasonwhite/syscalls/compare/0.6.10...0.6.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-18 01:06:46 +00:00
Toru Komatsu
6633786ea4
Merge pull request #1930 from yihuaf/yihuaf/container-error
implemented thiserror for containers - Part 5
2023-05-17 21:02:47 +09:00
Ismo Puustinen
ae49a0aa2d main_process: close the channel receivers.
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
2023-05-17 13:22:01 +03:00
yihuaf
b82f42e4b5 implemented thiserror for containers
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-16 14:50:45 -07:00
Eric Fang
9ebebc2420
Implemented thiserror for libcontainer - Part 4 (#1912)
* implemented this error for rootfs

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

* container state error

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

* implemented intel rdt error

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

* process module converted to thiserror

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

* workload mod

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

* moved executable utils

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

* rootless

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

* refactored missing spec error

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

* fix lint

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

* fix

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-15 20:20:55 +09:00
yihuaf
90313c46eb Switch vm to VmBuilder
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-14 21:13:46 -07:00
dependabot[bot]
a9fd3adfc6
chore(deps): bump wasmedge-sdk from 0.7.1 to 0.8.1
Bumps [wasmedge-sdk](https://github.com/WasmEdge/WasmEdge) from 0.7.1 to 0.8.1.
- [Release notes](https://github.com/WasmEdge/WasmEdge/releases)
- [Changelog](https://github.com/WasmEdge/WasmEdge/blob/master/Changelog.md)
- [Commits](https://github.com/WasmEdge/WasmEdge/compare/0.7.1...0.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 01:38:39 +00:00
Toru Komatsu
91b476a35f
Use safe_path crate instead of our original secure_join (#1911)
Our secure_join had a bug and did not work perfectly with K8s.
It did not take into account the case where the symbolic destination is an absolute path.
Thus there are many cases where secure_join should be considered;
it would be more worthwhile to use safe_path,
which kata-container makes, and mature this one.

Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-05-13 10:30:17 -07:00
Eric Fang
dcc13ff365
convert youki to use tracing (#1899)
* convert youki to use tracing

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

* fix default logging to stderr

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

* fix unsafe

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

* turn off time stamp for text log to stderr

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-12 20:47:05 +09:00
Ismo Puustinen
131beacf15 deps: do not use chrono default-features.
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
2023-05-11 08:44:38 +03:00
yihuaf
737d8ff410 implemented seccomp
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-09 14:51:06 +00:00
yihuaf
a04aebfae2 minor fixes
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-09 14:51:06 +00:00
yihuaf
fb4facacb0 implement util error
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-09 14:51:06 +00:00
yihuaf
9968af0f84 Implement TTY error
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-09 14:51:06 +00:00
Eric Fang
654c7f45f7
Migrate to tempfile for libcontainer and youki crate (#1887)
* libcontainer and youki removed TempDir

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

* remove the use of test name to create tmp dir

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

* fix review

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-09 21:53:57 +09:00
dependabot[bot]
cc45fd355c
chore(deps): bump libc from 0.2.143 to 0.2.144
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.143 to 0.2.144.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.143...0.2.144)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-09 01:02:01 +00:00
Toru Komatsu
72a5fec17e
Merge pull request #1884 from utam0k/test-k3s
Add easy way to test with K8s
2023-05-08 22:00:28 +09:00
yihuaf
af149531f0 replaced libcgroup tempdir
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-08 05:33:59 +00:00
Eric Fang
5c31fae50a
Implemented more thiserror for libcontainer (Part 2) (#1881)
Implemented more thiserror for the libcontainer. This PR covers most of the low hanging fruits with smaller crates. Note, I decided to add a new syscall error wrapper that wraps the nix::Error, std::io::Error, and our own syscall crate. This aims to simplify where we call syscalls from 3 different sources and can simplify/unify many errors.
---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-07 20:24:00 -07:00
dependabot[bot]
aee9befb9d
chore(deps): bump libc from 0.2.142 to 0.2.143
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.142 to 0.2.143.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.142...0.2.143)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 01:10:46 +00:00
utam0k
29cf869c68
Add the handly script for kind and youki
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-05-07 06:03:00 +00:00
utam0k
ec2f58d4b2
Add easy way to test with K8s
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-05-06 12:03:36 +00:00
Toru Komatsu
5edbc9e314
Merge pull request #1880 from containers/dependabot/cargo/wasmer-wasix-0.4.0
chore(deps): bump wasmer-wasix from 0.3.1 to 0.4.0
2023-05-06 10:43:18 +09:00
Eric Fang
5f31428347
rewrote the bpf example (#1877)
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-03 23:08:29 -07:00
Eric Fang
b51cf1ab25
Implement thiserror for libcontainer - Part 1 (#1876)
* introduced libcontainer error

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

* implemented syscall error

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

* implemented namespace error

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

* Implemented rest of the thiserror for process, syscall, namespace and etc.

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

* Fix libcgroup error

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

* remove dead code

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

* fix dead code

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-04 10:47:45 +09:00
dependabot[bot]
03e60c6472
chore(deps): bump wasmer-wasix from 0.3.1 to 0.4.0
Bumps [wasmer-wasix](https://github.com/wasmerio/wasmer) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/wasmerio/wasmer/releases)
- [Changelog](https://github.com/wasmerio/wasmer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wasmerio/wasmer/commits/0.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 01:18:55 +00:00
Mia
ae408ad4bb
Adopt thiserror for libcgroups (#1872)
* convert systemd controllers to thiserror

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* finish systemd manager except for the CgroupManager impl

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* refactor controller traits to be internal

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* convert v1 controllers to thiserror

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* convert v2 controllers to thiserror

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* make StatsProvider an internal trait

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* replace v1 stats provider anyhow with thiserror

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* remove anyhow from v2 stats providers

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* fix lints

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* get rid of doc test error

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* convert managers from anyhow to thiserror

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* fix lints

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* get rid of the rest of the references to anyhow

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* AnyManager -> AnyCgroupManager

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* fix formatting

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

* fix lint in libcgroups devices

Signed-off-by: squili <74628488+squili@users.noreply.github.com>

---------

Signed-off-by: squili <74628488+squili@users.noreply.github.com>
2023-05-03 14:59:55 +09:00
dependabot[bot]
8ec706bd9b
chore(deps): bump anyhow from 1.0.70 to 1.0.71
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.70...1.0.71)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 01:51:39 +00:00
dependabot[bot]
df8420d048
chore(deps): bump wasmtime-wasi from 8.0.0 to 8.0.1
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 8.0.0 to 8.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/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 01:39:58 +00:00
github-actions[bot]
8f3018bf06
Merge pull request #1860 from containers/dependabot/cargo/vergen-8.1.3 2023-04-28 01:25:54 +00:00