Yashodhan
daf66f5558
Merge pull request #2200 from containers/dependabot/cargo/thiserror-1.0.44
...
(auto merged) chore(deps): bump thiserror from 1.0.43 to 1.0.44
2023-07-24 10:53:09 +05:30
Yashodhan
d880da4dfc
Merge pull request #2199 from containers/dependabot/cargo/serde-1.0.174
...
(auto merged) chore(deps): bump serde from 1.0.173 to 1.0.174
2023-07-24 10:52:43 +05:30
Yashodhan
c5a8c32a95
Merge pull request #2196 from containers/dependabot/cargo/async-trait-0.1.72
...
(auto merged) chore(deps): bump async-trait from 0.1.71 to 0.1.72
2023-07-24 10:52:07 +05:30
Yashodhan
01d1d312aa
Merge pull request #2195 from containers/dependabot/cargo/either-1.9.0
...
chore(deps): bump either from 1.8.1 to 1.9.0
2023-07-24 10:51:11 +05:30
github-actions[bot]
f0f5ca9eff
Merge pull request #2198 from containers/dependabot/cargo/security-framework-sys-2.9.1
2023-07-24 00:53:35 +00:00
github-actions[bot]
675c48b20b
Merge pull request #2197 from containers/dependabot/cargo/quote-1.0.32
2023-07-24 00:51:30 +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]
7d9d0c1622
chore(deps): bump prettyplease from 0.2.10 to 0.2.12
...
Bumps [prettyplease](https://github.com/dtolnay/prettyplease ) from 0.2.10 to 0.2.12.
- [Release notes](https://github.com/dtolnay/prettyplease/releases )
- [Commits](https://github.com/dtolnay/prettyplease/compare/0.2.10...0.2.12 )
---
updated-dependencies:
- dependency-name: prettyplease
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 00:43:24 +00: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
dependabot[bot]
1806aadfed
chore(deps): bump serde from 1.0.173 to 1.0.174
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.173 to 1.0.174.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.173...v1.0.174 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 00:36:47 +00:00
github-actions[bot]
c9a5c94cde
Merge pull request #2194 from containers/dependabot/cargo/urlencoding-2.1.3
2023-07-24 00:36:16 +00:00
dependabot[bot]
edb0ddf61b
chore(deps): bump security-framework-sys from 2.9.0 to 2.9.1
...
Bumps [security-framework-sys](https://github.com/kornelski/rust-security-framework ) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/kornelski/rust-security-framework/releases )
- [Commits](https://github.com/kornelski/rust-security-framework/compare/v2.9.0...v2.9.1 )
---
updated-dependencies:
- dependency-name: security-framework-sys
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 00:34:29 +00:00
dependabot[bot]
752317fdfb
chore(deps): bump quote from 1.0.31 to 1.0.32
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.31...1.0.32 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 00:30:36 +00:00
dependabot[bot]
d5c73fa713
chore(deps): bump async-trait from 0.1.71 to 0.1.72
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.71 to 0.1.72.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.71...0.1.72 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 00:26:59 +00:00
dependabot[bot]
a61d2ed46e
chore(deps): bump either from 1.8.1 to 1.9.0
...
Bumps [either](https://github.com/bluss/either ) from 1.8.1 to 1.9.0.
- [Commits](https://github.com/bluss/either/compare/1.8.1...1.9.0 )
---
updated-dependencies:
- dependency-name: either
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 00:26:07 +00:00
dependabot[bot]
19d47ca762
chore(deps): bump urlencoding from 2.1.2 to 2.1.3
...
Bumps [urlencoding](https://github.com/kornelski/rust_urlencoding ) from 2.1.2 to 2.1.3.
- [Commits](https://github.com/kornelski/rust_urlencoding/commits )
---
updated-dependencies:
- dependency-name: urlencoding
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 00:24:00 +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
dependabot[bot]
c18046e1b5
chore(deps): bump webc from 5.0.4 to 5.1.1 ( #2189 )
...
Bumps [webc](https://github.com/wasmerio/pirita ) from 5.0.4 to 5.1.1.
- [Commits](https://github.com/wasmerio/pirita/commits )
---
updated-dependencies:
- dependency-name: webc
dependency-type: indirect
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-07-20 21:10:19 -07:00
dependabot[bot]
602ee39532
chore(deps): bump tempfile from 3.6.0 to 3.7.0 ( #2192 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.6.0 to 3.7.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.6.0...v3.7.0 )
---
updated-dependencies:
- dependency-name: tempfile
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-07-20 21:09:44 -07:00
github-actions[bot]
23fd7fb157
Merge pull request #2190 from containers/dependabot/cargo/num-traits-0.2.16
2023-07-21 00:42:10 +00:00
dependabot[bot]
b940ce3a2a
chore(deps): bump num-traits from 0.2.15 to 0.2.16
...
Bumps [num-traits](https://github.com/rust-num/num-traits ) from 0.2.15 to 0.2.16.
- [Changelog](https://github.com/rust-num/num-traits/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-num/num-traits/compare/num-traits-0.2.15...num-traits-0.2.16 )
---
updated-dependencies:
- dependency-name: num-traits
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:27:49 +00:00
Toru Komatsu
fcb61384f2
Merge pull request #2188 from containers/dependabot/cargo/pnet_datalink-0.34.0
...
chore(deps): bump pnet_datalink from 0.33.0 to 0.34.0
2023-07-20 21:44:16 +09:00
github-actions[bot]
9b97006e66
Merge pull request #2187 from containers/dependabot/cargo/serde-1.0.173
2023-07-20 01:29:48 +00:00
dependabot[bot]
602fd07140
chore(deps): bump pnet_datalink from 0.33.0 to 0.34.0
...
Bumps [pnet_datalink](https://github.com/libpnet/libpnet ) from 0.33.0 to 0.34.0.
- [Release notes](https://github.com/libpnet/libpnet/releases )
- [Commits](https://github.com/libpnet/libpnet/compare/v0.33.0...v0.34.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>
2023-07-20 01:23:10 +00:00
dependabot[bot]
1ce243d6b4
chore(deps): bump serde from 1.0.171 to 1.0.173
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.171 to 1.0.173.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.173 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 01:19:30 +00: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
github-actions[bot]
1590a64bef
Merge pull request #2185 from containers/dependabot/cargo/target-lexicon-0.12.10
2023-07-19 00:23:15 +00:00
dependabot[bot]
3dba3803f9
chore(deps): bump target-lexicon from 0.12.9 to 0.12.10
...
Bumps [target-lexicon](https://github.com/bytecodealliance/target-lexicon ) from 0.12.9 to 0.12.10.
- [Commits](https://github.com/bytecodealliance/target-lexicon/compare/v0.12.9...v0.12.10 )
---
updated-dependencies:
- dependency-name: target-lexicon
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 00:10:56 +00:00
Yashodhan
5d5818c925
Merge pull request #2182 from containers/dependabot/cargo/scopeguard-1.2.0
...
chore(deps): bump scopeguard from 1.1.0 to 1.2.0
2023-07-18 10:06:52 +05:30
github-actions[bot]
9bae0b353e
Merge pull request #2184 from containers/dependabot/cargo/uuid-1.4.1
2023-07-18 01:01:36 +00:00
github-actions[bot]
ea6b5e0098
Merge pull request #2183 from containers/dependabot/cargo/wasmprinter-0.2.61
2023-07-18 01:01:34 +00:00
github-actions[bot]
6e96919eb4
Merge pull request #2181 from containers/dependabot/cargo/wat-1.0.68
2023-07-18 00:52:16 +00:00
dependabot[bot]
ada80a9a4f
chore(deps): bump uuid from 1.4.0 to 1.4.1
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.4.0...1.4.1 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 00:46:30 +00:00
dependabot[bot]
0b6d174204
chore(deps): bump wasmprinter from 0.2.60 to 0.2.61
...
Bumps [wasmprinter](https://github.com/bytecodealliance/wasm-tools ) from 0.2.60 to 0.2.61.
- [Release notes](https://github.com/bytecodealliance/wasm-tools/releases )
- [Commits](https://github.com/bytecodealliance/wasm-tools/compare/wasmprinter-0.2.60...wasmprinter-0.2.61 )
---
updated-dependencies:
- dependency-name: wasmprinter
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 00:46:11 +00: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
dependabot[bot]
d7135b9e86
chore(deps): bump wat from 1.0.67 to 1.0.68
...
Bumps [wat](https://github.com/bytecodealliance/wasm-tools ) from 1.0.67 to 1.0.68.
- [Release notes](https://github.com/bytecodealliance/wasm-tools/releases )
- [Commits](https://github.com/bytecodealliance/wasm-tools/compare/wat-1.0.67...wat-1.0.68 )
---
updated-dependencies:
- dependency-name: wat
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 00:41:53 +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
Yashodhan
18aee469bf
Merge pull request #2180 from containers/dependabot/cargo/serde-1.0.171
...
(auto merged) chore(deps): bump serde from 1.0.168 to 1.0.171
2023-07-17 10:55:52 +05:30
Yashodhan
3d12846e83
Merge pull request #2179 from containers/dependabot/cargo/rustversion-1.0.14
...
(auto merged) chore(deps): bump rustversion from 1.0.13 to 1.0.14
2023-07-17 10:55:39 +05:30
dependabot[bot]
fbbf14a42f
chore(deps): bump serde from 1.0.168 to 1.0.171
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.168 to 1.0.171.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.168...v1.0.171 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 05:14:45 +00:00
Yashodhan
206812ee1e
Merge pull request #2178 from containers/dependabot/cargo/quote-1.0.31
...
(auto merged) chore(deps): bump quote from 1.0.29 to 1.0.31
2023-07-17 10:41:19 +05:30
Yashodhan
812ac47d71
Merge pull request #2177 from containers/dependabot/cargo/toml_edit-0.19.14
...
(auto merged) chore(deps): bump toml_edit from 0.19.13 to 0.19.14
2023-07-17 10:40:22 +05:30
Yashodhan
38f61859c5
Merge pull request #2175 from containers/dependabot/cargo/serde_json-1.0.103
...
(auto merged) chore(deps): bump serde_json from 1.0.102 to 1.0.103
2023-07-17 10:40:02 +05:30
Yashodhan
480b09ac30
Merge pull request #2174 from containers/dependabot/cargo/proc-macro2-1.0.66
...
(auto merged) chore(deps): bump proc-macro2 from 1.0.64 to 1.0.66
2023-07-17 10:39:45 +05:30
dependabot[bot]
9675153c60
chore(deps): bump rustversion from 1.0.13 to 1.0.14
...
Bumps [rustversion](https://github.com/dtolnay/rustversion ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/dtolnay/rustversion/releases )
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.13...1.0.14 )
---
updated-dependencies:
- dependency-name: rustversion
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 00:40:43 +00:00
dependabot[bot]
0e9d8d682e
chore(deps): bump quote from 1.0.29 to 1.0.31
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.29 to 1.0.31.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.29...1.0.31 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 00:37:03 +00:00
dependabot[bot]
125271aba9
chore(deps): bump toml_edit from 0.19.13 to 0.19.14
...
Bumps [toml_edit](https://github.com/toml-rs/toml ) from 0.19.13 to 0.19.14.
- [Commits](https://github.com/toml-rs/toml/compare/v0.19.13...v0.19.14 )
---
updated-dependencies:
- dependency-name: toml_edit
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 00:33:21 +00:00
dependabot[bot]
9184f10215
chore(deps): bump serde_json from 1.0.102 to 1.0.103
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.102...v1.0.103 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 00:31:40 +00:00