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
dependabot[bot]
5b19b3bcb7
chore(deps): bump vergen from 8.1.2 to 8.1.3
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 8.1.2 to 8.1.3.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.1.2...8.1.3 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 01:17:33 +00:00
dependabot[bot]
21a488116d
chore(deps): bump wasmtime from 8.0.0 to 8.0.1
...
Bumps [wasmtime](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
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 01:11:49 +00:00
Toru Komatsu
7d9d0917b2
Merge pull request #1822 from ipuustin/intel-rdt
...
Add support to Intel RDT.
2023-04-27 12:12:16 +09:00
boaz-quotient
f54ca68ecd
Override log opt when specified more than once ( #1847 )
...
* Override log opt when specified more than once
Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
* Add a comment about the log flag "override" behavior
Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
---------
Signed-off-by: Boaz Shuster <boaz.shuster.github@gmail.com>
Co-authored-by: Boaz Shuster <boaz.shuster.github@gmail.com>
2023-04-26 09:48:24 -07:00
Yashodhan Joshi
9407aee4f6
chore(deps): Update wasmtime-wasi version
2023-04-26 14:32:46 +05:30
Yashodhan Joshi
f8b32cd2e4
chore(deps): bump wasmtime from 7.0.0 to 8.0.0
...
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v7.0.0...v8.0.0 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 14:31:39 +05:30
dependabot[bot]
8ecff3e43c
chore(deps): bump vergen from 8.1.1 to 8.1.2
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 8.1.1 to 8.1.2.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.1.1...8.1.2 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 01:16:12 +00:00
Toru Komatsu
75718d7fad
Named process for debugging. ( #1846 )
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-04-24 13:34:02 -07:00
Ismo Puustinen
5241604bb1
Intel RDT OCI support.
...
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
2023-04-24 16:06:52 +03:00
dependabot[bot]
891282e91c
chore(deps): bump bitflags from 2.1.0 to 2.2.1
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.1.0 to 2.2.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.1.0...2.2.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-04-24 12:17:54 +00:00
Toru Komatsu
74364490b6
Merge pull request #1825 from containers/dependabot/cargo/wasmer-3.2.0
...
chore(deps): bump wasmer from 2.3.0 to 3.2.0
2023-04-24 21:12:36 +09:00
rongfu.leng
59a888b6d3
add cleanup container ( #1824 )
...
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-04-23 19:53:09 -07:00
yihuaf
4303381193
fix lint
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-04-24 02:52:05 +00:00
yihuaf
1909041fab
fix using wasm-wasix
for wasmer 3.0+
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-04-24 02:52:05 +00:00
dependabot[bot]
6e2a46079c
chore(deps): bump wasmer from 2.3.0 to 3.2.0
...
Bumps [wasmer](https://github.com/wasmerio/wasmer ) from 2.3.0 to 3.2.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/compare/2.3.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: wasmer
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 02:52:05 +00:00
dependabot[bot]
94a801276c
chore(deps): bump syscalls from 0.6.9 to 0.6.10
...
Bumps [syscalls](https://github.com/jasonwhite/syscalls ) from 0.6.9 to 0.6.10.
- [Release notes](https://github.com/jasonwhite/syscalls/releases )
- [Changelog](https://github.com/jasonwhite/syscalls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jasonwhite/syscalls/compare/0.6.9...0.6.10 )
---
updated-dependencies:
- dependency-name: syscalls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 01:23:33 +00:00
yihuaf
27e8dff923
fix ci
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-04-21 22:47:46 +00:00
dependabot[bot]
bbf2f59531
chore(deps): bump libc from 0.2.141 to 0.2.142
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.141 to 0.2.142.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.141...0.2.142 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 01:09:29 +00:00
Eric Fang
a760731f1e
youki exec should not clean up on error ( #1818 )
...
* youki exec should not clean up on error
---------
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-04-14 08:02:56 -07:00
Thomas Schubart
307e94172a
Merge pull request #1792 from kemkemG0/main
...
Modify pointer type from i8 to c_char
2023-04-11 20:57:34 +02:00
dependabot[bot]
3eaa0f8fa5
chore(deps): bump errno from 0.3.0 to 0.3.1
...
Bumps [errno](https://github.com/lambda-fairy/rust-errno ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/lambda-fairy/rust-errno/releases )
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.3.0...v0.3.1 )
---
updated-dependencies:
- dependency-name: errno
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-10 01:20:51 +00:00
kemkemG0
086462230c
Change i8 to ::std::os::raw::c_char
...
Signed-off-by: kemkemG0 <kenshin.jpsdeveloper@gmail.com>
2023-04-09 17:57:46 -07:00
utam0k
7104494084
Update version check in validate_spec to support 1.X.Y version.
...
Previously, the validate_spec function only supported runtime spec versions that started with "1.0".
This commit updates the function to support all versions starting with "1." (e.g., 1.X.Y), making it compatible with a broader range of runtime spec versions.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-04-09 01:52:52 +00:00
Toru Komatsu
03eb78d13a
Merge pull request #1777 from utam0k/echild
...
Address ECHILD
2023-04-06 20:45:18 +09:00
dependabot[bot]
a3696847a8
chore(deps): bump bitflags from 2.0.2 to 2.1.0
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.0.2 to 2.1.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.0.2...2.1.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-04-06 01:05:35 +00:00
utam0k
df5fa86d30
Add the comment for ECHILD
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-04-05 23:42:59 +00:00
dependabot[bot]
306469ff19
chore(deps): bump vergen from 7.5.1 to 8.1.1 ( #1764 )
...
* chore(deps): bump vergen from 7.5.1 to 8.1.1
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 7.5.1 to 8.1.1.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/7.5.1...8.1.1 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix breaking changes due to vergen upgrade
* Improve error check as per the review
---------
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-04-05 08:17:17 -07:00
utam0k
891bd958ce
Address ECHILD
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-04-05 13:02:06 +00:00
dependabot[bot]
83d3c140ca
chore(deps): bump libc from 0.2.140 to 0.2.141
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.140 to 0.2.141.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.140...0.2.141 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-05 01:09:59 +00:00
dependabot[bot]
d74ec51236
chore(deps): bump serial_test from 1.0.0 to 2.0.0 ( #1755 )
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v1.0.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: serial_test
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-03-31 00:09:49 -07:00
Yashodhan
25cff9b7db
Merge pull request #1744 from yihuaf/yihuaf/fix
...
[Trivial] Remove the metadata semvar causing a warning.
2023-03-31 12:38:37 +05:30
Eric Fang
5a12fd7381
Fix stop container when prestart hook fails. ( #1745 )
...
* Fix stop container when prestart hook fails.
---------
Signed-off-by: Eric Fang <yihuaf@unkies.org>
Co-authored-by: Yashodhan <54112038+YJDoc2@users.noreply.github.com>
2023-03-30 10:46:55 -07:00
Toru Komatsu
e498e0fec3
Merge pull request #1743 from yihuaf/yihuaf/makefile
...
[Trivial] Fix makefile targets to use PHONY
2023-03-30 14:57:07 +09:00
Toru Komatsu
a2ea22d1f3
Merge pull request #1702 from containers/dependabot/cargo/wasmtime-7.0.0
...
chore(deps): bump wasmtime from 6.0.1 to 7.0.0
2023-03-30 14:47:39 +09:00
Eric Fang
9a8059f81f
[Trivial] Remove the metadata semvar causing a warning.
...
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-29 20:20:12 +02:00
Eric Fang
8a8b8e34a0
[Trivial] Fix makefile targets to use PHONY
...
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-29 18:22:01 +02:00
utam0k
dcffd57015
v0.0.5
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-03-29 11:12:36 +00:00
dependabot[bot]
ac64c5b8de
chore(deps): bump mockall from 0.11.3 to 0.11.4
...
Bumps [mockall](https://github.com/asomers/mockall ) from 0.11.3 to 0.11.4.
- [Release notes](https://github.com/asomers/mockall/releases )
- [Changelog](https://github.com/asomers/mockall/blob/master/CHANGELOG.md )
- [Commits](https://github.com/asomers/mockall/compare/v0.11.3...v0.11.4 )
---
updated-dependencies:
- dependency-name: mockall
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 01:58:38 +00:00
dependabot[bot]
9f1d0275f1
chore(deps): bump syscalls from 0.6.8 to 0.6.9
...
Bumps [syscalls](https://github.com/jasonwhite/syscalls ) from 0.6.8 to 0.6.9.
- [Release notes](https://github.com/jasonwhite/syscalls/releases )
- [Changelog](https://github.com/jasonwhite/syscalls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jasonwhite/syscalls/compare/0.6.8...0.6.9 )
---
updated-dependencies:
- dependency-name: syscalls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-24 01:22:53 +00:00
Kris Nóva
bef32e083f
Introduce seccomp feature for libcontainer with musl ( #1484 )
...
* Introduce seccomp feature for libcontainer with musl
Signed-off-by: Kris Nóva <kris@nivenly.com>
* remove mystery merge conflict
Signed-off-by: Eric Fang <yihuaf@unkies.org>
---------
Signed-off-by: Kris Nóva <kris@nivenly.com>
Signed-off-by: Eric Fang <yihuaf@unkies.org>
Co-authored-by: Eric Fang <yihuaf@unkies.org>
2023-03-23 10:57:51 -07:00
Joshua Ford
543780cbfa
fix(libcontainer): Run test_is_executable with a created file
...
This test was failing on some popular Linux distros, like Fedora,
because `/boot/initrd.img` doesn't exist. This change alters the test so
that a non-executable file is generated in the system `/tmp` directory.
Signed-off-by: Joshua Ford <joshua.ford@protonmail.com>
2023-03-23 07:15:36 -05:00
Yashodhan Joshi
981edb003e
Merge branch 'main' into dependabot/cargo/wasmtime-7.0.0
2023-03-23 17:14:39 +05:30
Yashodhan Joshi
a9b85d4782
Merge branch 'dependabot/cargo/wasmtime-wasi-7.0.0' into dependabot/cargo/wasmtime-7.0.0
2023-03-23 17:11:52 +05:30
Yashodhan
d0609348b1
Merge pull request #1654 from yihuaf/yihuaf/delete
...
Refactor youki delete to match runc/crun.
2023-03-22 19:54:54 +05:30
dependabot[bot]
ceef09e928
chore(deps): bump wasmtime-wasi from 6.0.1 to 7.0.0
...
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime ) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v6.0.1...v7.0.0 )
---
updated-dependencies:
- dependency-name: wasmtime-wasi
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 01:10:46 +00:00
dependabot[bot]
4e313498a2
chore(deps): bump syscalls from 0.6.7 to 0.6.8
...
Bumps [syscalls](https://github.com/jasonwhite/syscalls ) from 0.6.7 to 0.6.8.
- [Release notes](https://github.com/jasonwhite/syscalls/releases )
- [Changelog](https://github.com/jasonwhite/syscalls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jasonwhite/syscalls/compare/0.6.7...0.6.8 )
---
updated-dependencies:
- dependency-name: syscalls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 01:10:31 +00:00
dependabot[bot]
3da565badd
chore(deps): bump wasmtime from 6.0.1 to 7.0.0
...
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v6.0.1...v7.0.0 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 01:09:11 +00:00
github-actions[bot]
5604f9406d
Merge pull request #1694 from containers/dependabot/cargo/anyhow-1.0.70
2023-03-20 02:04:26 +00:00
dependabot[bot]
7e2c932b1c
chore(deps): bump anyhow from 1.0.69 to 1.0.70
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.69...1.0.70 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 01:49:39 +00:00
dependabot[bot]
0e9e1214b1
chore(deps): bump bitflags from 2.0.1 to 2.0.2
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.0.1 to 2.0.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.0.1...2.0.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-03-20 01:43:42 +00:00
Toru Komatsu
2260c1ea77
Merge pull request #1656 from yihuaf/yihuaf/foreground
...
Implement basic foreground mode
2023-03-17 13:55:46 +09:00
dependabot[bot]
42bebda6a7
chore(deps): bump bitflags from 2.0.0 to 2.0.1
...
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 2.0.0 to 2.0.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.0.0...2.0.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-03-17 01:17:05 +00:00
Eric Fang
521606522e
fix fmt
...
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-16 17:33:38 +01:00
Eric Fang
784a5c7a2e
Add test
...
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-16 17:28:41 +01:00
Eric Fang
816739c170
Minor fixes
...
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-16 02:30:00 +01:00
Eric Fang
d64be1069c
implemented foreground mode
...
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-16 02:21:25 +01:00
dependabot[bot]
c42da7549e
chore(deps): bump bitflags from 1.3.2 to 2.0.0 ( #1670 )
...
* chore(deps): bump bitflags from 1.3.2 to 2.0.0
Bumps [bitflags](https://github.com/bitflags/bitflags ) from 1.3.2 to 2.0.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/1.3.2...2.0.0 )
---
updated-dependencies:
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix build issue
Signed-off-by: Eric Fang <yihuaf@unkies.org>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Eric Fang <yihuaf@unkies.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eric Fang <yihuaf@unkies.org>
2023-03-14 11:52:07 -07:00
Eric Fang
882fd8d1c7
Kill all process for created and creating
...
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-11 04:25:32 +01:00
utam0k
cf382cfc51
with_executors
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-03-11 10:47:33 +09:00
utam0k
a344af9665
Fix the error of lint
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-03-11 10:37:18 +09:00
utam0k
c9a69e4525
libcontainer: Make the workloads injectable
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-03-11 10:37:16 +09:00
dependabot[bot]
c7e2dbcb81
chore(deps): bump clap_complete from 4.1.2 to 4.1.3
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.1.2...clap_complete-v4.1.3 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 10:32:33 +09:00
dependabot[bot]
0fc22570b0
chore(deps): bump clap from 4.1.4 to 4.1.6
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.1.4 to 4.1.6.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.4...v4.1.6 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 10:32:33 +09:00
dependabot[bot]
fed5da2f0f
chore(deps): bump clap_complete from 4.1.1 to 4.1.2
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.1.1...clap_complete-v4.1.2 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 10:32:33 +09:00
Toru Komatsu
ef5daba2b4
Merge pull request #1637 from yihuaf/yihuaf/fix-exec
...
Fixed container init process not re-parent to youki main process
2023-03-11 10:24:05 +09:00
Toru Komatsu
8735005b5d
Merge pull request #1652 from containers/dependabot/cargo/libc-0.2.140
...
(auto merged) chore(deps): bump libc from 0.2.139 to 0.2.140
2023-03-10 17:18:09 +09:00
Eric Fang
16be64254f
Fixed container init process not re-parent to youki main process
...
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-10 07:06:39 +01:00
Eric Fang
03bb81da0a
fix
...
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-10 06:53:12 +01:00
Eric Fang
9cf049f2ef
Add a bit of comment on when failed to load config during delete
...
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-10 06:52:52 +01:00
Eric Fang
44e296be63
refactored delete
...
Refactored the delete to match runc and crun. Now youki allow deletion
of created containers.
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-10 06:40:37 +01:00
rongfu.leng
6f30e20adc
fix container delete error ( #1649 )
...
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-03-09 21:32:52 -08:00
dependabot[bot]
b1d51d03d5
chore(deps): bump libc from 0.2.139 to 0.2.140
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.139 to 0.2.140.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.139...0.2.140 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 01:09:18 +00:00
minatoaquaMK2
0bdcc3eea6
fix typo in container_main_process.rs ( #1641 )
...
Signed-off-by: minatoaquaMK2 <jiacheng.yue@foxmail.com>
2023-03-09 08:04:18 -08:00
dependabot[bot]
bf850dafae
chore(deps): bump wasmtime-wasi from 6.0.0 to 6.0.1
...
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime ) from 6.0.0 to 6.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/v6.0.0...v6.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-03-09 01:09:11 +00:00
dependabot[bot]
8d29f10ba1
chore(deps): bump wasmtime from 6.0.0 to 6.0.1
...
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 6.0.0 to 6.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/v6.0.0...v6.0.1 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 00:10:46 +00:00
Toru Komatsu
8744614033
Merge pull request #1610 from yihuaf/yihuaf/1601
...
Implement the container_clone using CLONE_PARENT
2023-03-06 21:41:34 +09:00
Eric Fang
d56fec30de
Implement the container_clone using CLONE_PARENT
...
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-06 04:58:04 +01:00
rongfu.leng
74a499f894
feat Add container id validate ( #1602 )
...
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-03-02 21:05:49 -08:00
Thomas Schubart
a4e91e3338
Allow specification of syscall impl for devices
...
Signed-off-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2023-03-01 01:07:39 +01:00
Eric Fang
33c094d713
Merge branch 'main' into dependabot/cargo/path-clean-1.0.1
2023-02-26 20:06:28 -08:00
dependabot[bot]
7b7a782381
chore(deps): bump oci-spec from 0.5.8 to 0.6.0 ( #1598 )
...
Bumps [oci-spec](https://github.com/containers/oci-spec-rs ) from 0.5.8 to 0.6.0.
- [Release notes](https://github.com/containers/oci-spec-rs/releases )
- [Changelog](https://github.com/containers/oci-spec-rs/blob/main/release.md )
- [Commits](https://github.com/containers/oci-spec-rs/compare/v0.5.8...v0.6.0 )
---
updated-dependencies:
- dependency-name: oci-spec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-26 20:05:02 -08:00
dependabot[bot]
115c41cb04
chore(deps): bump path-clean from 0.1.0 to 1.0.1
...
Bumps [path-clean](https://github.com/danreeves/path-clean ) from 0.1.0 to 1.0.1.
- [Release notes](https://github.com/danreeves/path-clean/releases )
- [Commits](https://github.com/danreeves/path-clean/commits )
---
updated-dependencies:
- dependency-name: path-clean
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 02:19:24 +00:00
Thomas Schubart
31932463e5
Merge pull request #1586 from containers/dependabot/cargo/wasmtime-6.0.0
...
chore(deps): bump wasmtime from 5.0.0 to 6.0.0
2023-02-21 23:32:32 +01:00
Thomas Schubart
92851762cb
Merge pull request #1578 from ipuustin/public-device-functions
...
libcontainer: make device creation interfaces public
2023-02-21 23:31:32 +01:00
Yashodhan Joshi
e44bc23f89
Merge branch 'dependabot/cargo/wasmtime-wasi-6.0.0' into dependabot/cargo/wasmtime-6.0.0
2023-02-21 16:12:46 +05:30
Yashodhan
a2ec94cb4b
Merge pull request #1581 from wlsnx/main
...
buffer read and write
2023-02-21 10:28:17 +05:30
dependabot[bot]
7a98b33216
chore(deps): bump wasmtime-wasi from 5.0.0 to 6.0.0
...
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime ) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v5.0.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: wasmtime-wasi
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-21 01:21:01 +00:00
dependabot[bot]
ccf0cdb2fd
chore(deps): bump wasmtime from 5.0.0 to 6.0.0
...
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v5.0.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-21 01:16:11 +00:00
zhuli
03f60ba9e4
buffer read and write
...
Signed-off-by: zhuli <wanlisnx@gmail.com>
2023-02-21 08:30:50 +08:00
Yashodhan Joshi
5809c6128a
Merge branch 'main' into sat_sub
2023-02-20 16:04:33 +05:30
dependabot[bot]
c2659d86a4
chore(deps): bump procfs from 0.15.0 to 0.15.1
...
Bumps [procfs](https://github.com/eminence/procfs ) from 0.15.0 to 0.15.1.
- [Release notes](https://github.com/eminence/procfs/releases )
- [Commits](https://github.com/eminence/procfs/compare/v0.15.0...v0.15.1 )
---
updated-dependencies:
- dependency-name: procfs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 02:17:26 +00:00
Ismo Puustinen
c77dd2cfa6
libcontainer: make device creation interfaces public.
...
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
2023-02-16 17:08:30 +02:00
dependabot[bot]
24722191a4
chore(deps): bump procfs from 0.14.2 to 0.15.0
...
Bumps [procfs](https://github.com/eminence/procfs ) from 0.14.2 to 0.15.0.
- [Release notes](https://github.com/eminence/procfs/releases )
- [Commits](https://github.com/eminence/procfs/compare/v0.14.2...v0.15.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-02-16 01:09:26 +00:00
Toru Komatsu
460660bcba
Merge pull request #1574 from containers/dependabot/cargo/errno-0.3.0
...
chore(deps): bump errno from 0.2.8 to 0.3.0
2023-02-15 16:13:06 +09:00
Yashodhan
4c5f34cd38
Merge pull request #1571 from containers/dependabot/cargo/once_cell-1.17.1
...
(auto merged) chore(deps): bump once_cell from 1.17.0 to 1.17.1
2023-02-15 11:03:49 +05:30
dependabot[bot]
8d5e8cf7c1
chore(deps): bump errno from 0.2.8 to 0.3.0
...
Bumps [errno](https://github.com/lambda-fairy/rust-errno ) from 0.2.8 to 0.3.0.
- [Release notes](https://github.com/lambda-fairy/rust-errno/releases )
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.2.8...v0.3.0 )
---
updated-dependencies:
- dependency-name: errno
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 01:19:40 +00:00
dependabot[bot]
e82605fcb3
chore(deps): bump mio from 0.8.5 to 0.8.6
...
Bumps [mio](https://github.com/tokio-rs/mio ) from 0.8.5 to 0.8.6.
- [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/compare/v0.8.5...v0.8.6 )
---
updated-dependencies:
- dependency-name: mio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 01:18:55 +00:00
dependabot[bot]
234a42eeff
chore(deps): bump once_cell from 1.17.0 to 1.17.1
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.0...v1.17.1 )
---
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-02-15 01:11:22 +00:00
Yashodhan Joshi
6157a4299a
Merge branch 'dependabot/cargo/wasmtime-wasi-5.0.0' into dependabot/cargo/wasmtime-5.0.0
2023-02-14 16:02:58 +05:30
dependabot[bot]
12c8071a2c
chore(deps): bump wasmtime from 4.0.0 to 5.0.0
...
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v4.0.0...v5.0.0 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 10:06:54 +00:00
dependabot[bot]
b651a86766
chore(deps): bump wasmtime-wasi from 4.0.0 to 5.0.0
...
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime ) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v4.0.0...v5.0.0 )
---
updated-dependencies:
- dependency-name: wasmtime-wasi
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 10:05:57 +00:00
Yashodhan
0730dba871
Merge pull request #1486 from containers/dependabot/cargo/nix-0.26.2
...
chore(deps): bump nix from 0.25.0 to 0.26.2
2023-02-14 15:33:24 +05:30
dependabot[bot]
062b282f34
chore(deps): bump vergen from 7.5.0 to 7.5.1
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 7.5.0 to 7.5.1.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/7.5.0...7.5.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-02-14 01:23:44 +00:00
dependabot[bot]
1cb4b9e199
chore(deps): bump nix from 0.25.0 to 0.26.2
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.25.0 to 0.26.2.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.2/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.25.0...v0.26.2 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 14:05:35 +00:00
dependabot[bot]
8e74e995be
chore(deps): bump anyhow from 1.0.68 to 1.0.69
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.68...1.0.69 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 11:29:43 +00:00
utam0k
72313bd5a8
fix the warns from cargo clippy
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-02-12 20:15:56 +09:00
Djordje Lukic
e01e604ea9
Use saturating_sub instead of - for unsigned ints
...
This fixes a panic if the operation with the unsigned ints would result
in a negative number
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2023-02-03 10:31:15 +01:00
Yashodhan
fbd29f7c84
Merge pull request #1500 from utam0k/oci-spec-mitigate
...
Relax the version of some crates we dependent
2023-01-24 14:54:27 +05:30
Adrian Reber
88d26db63f
Add descriptors.json when creating checkpoint
...
runc as well as crun create a file called descriptors.json in the
checkpoint directory. descriptors.json contains a list of how the FDs
0, 1, 2 are connected before checkpointing:
$ cat descriptors.json # created by runc in this case
["/dev/null","pipe:[230688]","pipe:[230689]"]
With this information the FDs can be reconnected correctly during
restore.
With this commit is it possible to do:
$ youki run container
$ youki checkpointt container
$ runc restore container
Now the checkpoint is in a format that can be handled by other container
runtimes.
Signed-off-by: Adrian Reber <areber@redhat.com>
2023-01-23 07:47:32 +00:00
utam0k
70b5d9fe84
Relax the version of oci-spec-rs
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-01-22 17:43:16 +09:00
utam0k
9216846afc
Releax the version of fastrand
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-01-22 17:39:41 +09:00
dependabot[bot]
0c0d7efd05
chore(deps): bump libc from 0.2.138 to 0.2.139
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.138 to 0.2.139.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.138...0.2.139 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 12:03:46 +00:00
dependabot[bot]
e2bb592638
chore(deps): bump anyhow from 1.0.65 to 1.0.68
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.65 to 1.0.68.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.65...1.0.68 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 06:18:23 +00:00
dependabot[bot]
bb18f97945
chore(deps): bump rust-criu from 0.2.0 to 0.4.0
...
Bumps [rust-criu](https://github.com/checkpoint-restore/rust-criu ) from 0.2.0 to 0.4.0.
- [Release notes](https://github.com/checkpoint-restore/rust-criu/releases )
- [Commits](https://github.com/checkpoint-restore/rust-criu/compare/v0.2.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: rust-criu
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 00:22:22 +00:00
dependabot[bot]
9aec2d8a62
chore(deps): bump oci-spec from 0.5.8 to 0.6.0
...
Bumps [oci-spec](https://github.com/containers/oci-spec-rs ) from 0.5.8 to 0.6.0.
- [Release notes](https://github.com/containers/oci-spec-rs/releases )
- [Changelog](https://github.com/containers/oci-spec-rs/blob/main/release.md )
- [Commits](https://github.com/containers/oci-spec-rs/compare/v0.5.8...v0.6.0 )
---
updated-dependencies:
- dependency-name: oci-spec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 00:29:23 +00:00
dependabot[bot]
75106e6a8e
chore(deps): bump serial_test from 0.10.0 to 1.0.0
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.10.0 to 1.0.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.10.0...v1.0.0 )
---
updated-dependencies:
- dependency-name: serial_test
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-18 00:38:09 +00:00
dependabot[bot]
f1bbc88ba3
chore(deps): bump libbpf-sys from 1.0.4+v1.0.1 to 1.1.1+v1.1.0
...
Bumps [libbpf-sys](https://github.com/libbpf/libbpf-sys ) from 1.0.4+v1.0.1 to 1.1.1+v1.1.0.
- [Release notes](https://github.com/libbpf/libbpf-sys/releases )
- [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>
2023-01-11 00:36:49 +00:00
Toru Komatsu
a088191487
Merge pull request #1457 from containers/dependabot/cargo/dbus-0.9.7
...
chore(deps): bump dbus from 0.9.6 to 0.9.7
2023-01-10 20:49:36 +09:00
dependabot[bot]
5e9d0094d7
chore(deps): bump vergen from 7.4.2 to 7.5.0 ( #1455 )
...
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 7.4.2 to 7.5.0.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/7.4.2...7.5.0 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-minor
...
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>
2023-01-10 00:00:39 +01:00
dependabot[bot]
f66e9c6341
chore(deps): bump dbus from 0.9.6 to 0.9.7
...
Bumps [dbus](https://github.com/diwic/dbus-rs ) from 0.9.6 to 0.9.7.
- [Release notes](https://github.com/diwic/dbus-rs/releases )
- [Commits](https://github.com/diwic/dbus-rs/compare/dbus-v0.9.6...dbus-v0.9.7 )
---
updated-dependencies:
- dependency-name: dbus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-09 23:00:24 +00:00
Thomas Schubart
23202d73f8
Merge pull request #1452 from utam0k/wasmtime-4.0.0
...
Update wasmtime v4.0.0
2023-01-09 23:59:14 +01:00
utam0k
7e560203ff
Update wasmtime v4.0.0
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-01-01 16:59:49 +09:00
dependabot[bot]
0d07fe21c6
chore(deps): bump once_cell from 1.16.0 to 1.17.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.16.0...v1.17.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>
2022-12-30 11:57:45 +00:00
Joshua Ford
a3bfc105ee
Upgrade clap to v4.0.32
...
Signed-off-by: Joshua Ford <joshua.ford@protonmail.com>
2022-12-28 07:21:25 -06:00
Joshua Ford
8f1051289c
Fix clap deprecation warnings
...
Signed-off-by: Joshua Ford <joshua.ford@protonmail.com>
2022-12-28 07:21:25 -06:00
Thomas Schubart
84ab1655ae
Lint & format
...
Signed-off-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2022-12-25 20:50:02 +01:00
Thomas Schubart
264db582dd
Feature flag wasm support
...
Signed-off-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2022-12-25 20:50:02 +01:00
Thomas Schubart
c8b00dc8d6
Add wasmtime support
...
Signed-off-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2022-12-25 20:49:59 +01:00
Thomas Schubart
138c671402
Avoid panic when using wasm handler
...
Signed-off-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2022-12-25 20:48:27 +01:00
utam0k
daf7fb2834
Update Rust 1.66
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-12-24 21:02:53 +09:00
dependabot[bot]
f7a1fcfb50
chore(deps): bump serial_test from 0.9.0 to 0.10.0
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: serial_test
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 01:20:50 +00:00
dependabot[bot]
71c39becb4
chore(deps): bump libc from 0.2.133 to 0.2.138
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.133 to 0.2.138.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.133...0.2.138 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 12:35:39 +00:00
Toru Komatsu
c78cb35ffa
Merge pull request #1391 from containers/dependabot/cargo/procfs-0.14.2
...
chore(deps): bump procfs from 0.14.1 to 0.14.2
2022-12-14 03:26:49 -08:00
Toru Komatsu
6d698da2c7
Merge pull request #1398 from higuruchi/Support/Recursive_mount_attrs
...
Support recursive mount attrs by using mount_setattr(2).
2022-12-13 04:19:11 -08:00
dependabot[bot]
2d1f35742d
chore(deps): bump procfs from 0.14.1 to 0.14.2
...
Bumps [procfs](https://github.com/eminence/procfs ) from 0.14.1 to 0.14.2.
- [Release notes](https://github.com/eminence/procfs/releases )
- [Commits](https://github.com/eminence/procfs/compare/v0.14.1...v0.14.2 )
---
updated-dependencies:
- dependency-name: procfs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 12:12:50 +00:00
Yashodhan Joshi
fe3f11bdac
Merge branch 'main' into fix_release_script
2022-12-13 11:53:16 +05:30
higuruchi
0631de9524
Changed openat crate to nix's openat.
...
Implemented MountAttrOption enum.
Signed-off-by: higuruchi <fumiya2324@gmail.com>
2022-12-11 04:33:53 +00:00
Thomas Schubart
c1d3dfa05c
Fix clippy lints
...
Signed-off-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2022-12-08 23:34:21 +01:00
Thomas Schubart
38d37189ab
Tests for PSI
...
Signed-off-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2022-12-08 23:31:51 +01:00
Thomas Schubart
b3190bba5d
Support pressure stall information
...
Signed-off-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2022-12-08 23:31:51 +01:00
Uchio Kondo
01a492e05e
Change helper name and wording to available/unavailable
...
Signed-off-by: Uchio Kondo <udzura@udzura.jp>
2022-12-07 14:25:54 +09:00
Uchio Kondo
dee71902d4
Avoid a function-scoped function and make it inline
...
Signed-off-by: Uchio Kondo <udzura@udzura.jp>
2022-12-07 14:25:54 +09:00
Uchio Kondo
77e220aacb
Fix unused import warning
...
Signed-off-by: Uchio Kondo <udzura@udzura.jp>
2022-12-07 14:25:54 +09:00
Uchio Kondo
733ee61991
Check capabilities on youki info
...
Signed-off-by: Uchio Kondo <udzura@udzura.jp>
2022-12-07 14:25:54 +09:00
higuruchi
7c4ff4123f
Support recursive mount attrs by using mount_setattr(2).
...
Signed-off-by: higuruchi <fumiya2324@gmail.com>
2022-12-06 12:27:54 +00:00
Yashodhan Joshi
053b76a876
Fix release script and prepare for release
2022-12-06 11:32:40 +05:30
Toru Komatsu
997bc43839
Merge pull request #1320 from apepkuss/feat-wasmedge-executor
...
[libcontainer] Integrate WasmEdge Runtime
2022-11-30 15:00:08 +09:00
Toru Komatsu
7c2c61e66d
Merge pull request #1347 from YJDoc2/fix_create_no_bin_test
...
Fix TestContainerNoBinaryExists test, by making create behaviour similar to runc
2022-11-28 21:28:43 +09:00
Yashodhan Joshi
ccf92b39f2
Add unit tests, refactor functions as per review
...
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2022-11-28 11:43:46 +05:30
Xin Liu
b74bbf51b8
chore(libcontainer): update dependency
...
Signed-off-by: Xin Liu <sam@secondstate.io>
2022-11-25 17:42:17 +08:00
Xin Liu
5b17af1e0f
fix(libcontainer): fix clippy issues
...
Signed-off-by: Xin Liu <sam@secondstate.io>
2022-11-25 17:42:17 +08:00
Xin Liu
21103784f0
chore(libcontainer): update dependency
...
Signed-off-by: Xin Liu <sam@secondstate.io>
2022-11-25 17:42:17 +08:00
Xin Liu
2ce3fefbe5
fix(libcontianer): fix the wrong argument value
...
Signed-off-by: Xin Liu <sam@secondstate.io>
2022-11-25 17:42:17 +08:00
Xin Liu
95b8338762
chore: update wasmedge version
...
Signed-off-by: Xin Liu <sam@secondstate.io>
2022-11-25 17:42:17 +08:00
Xin Liu
1be10c6472
chore(libcontainer): remove wasmedge-sys and wasmedge-types dependecies
...
Signed-off-by: Xin Liu <sam@secondstate.io>
2022-11-25 17:42:17 +08:00
Xin Liu
8f39b22578
refactor(libcontainer): remove comments
...
Signed-off-by: Xin Liu <sam@secondstate.io>
2022-11-25 17:42:17 +08:00
Xin Liu
e23e441677
feat(libcontainer): introduce WasmEdgeExecutor into ExecutorManager
...
Signed-off-by: Xin Liu <sam@secondstate.io>
2022-11-25 17:42:17 +08:00
Xin Liu
1c8eea1d3f
refactor(libcontainer)!: rename wasmedge executor
...
Signed-off-by: Xin Liu <sam@secondstate.io>
2022-11-25 17:42:17 +08:00
Xin Liu
0d386aae33
chore: add wasm-wasmedge feature
...
Signed-off-by: Xin Liu <sam@secondstate.io>
2022-11-25 17:42:17 +08:00
Xin Liu
4e503710de
refactor(libcontianer): refactor wasmedge executor
...
Signed-off-by: Xin Liu <sam@secondstate.io>
2022-11-25 17:42:17 +08:00
Djordje Lukic
6cf41074bf
wasmedge
...
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2022-11-25 17:42:17 +08:00
dependabot[bot]
0734ca0860
chore(deps): bump env_logger from 0.9.3 to 0.10.0
...
Bumps [env_logger](https://github.com/rust-cli/env_logger ) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.3...v0.10.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-25 00:32:09 +00:00
Thomas Schubart
69b2cb3cfa
Merge pull request #1330 from Silcet/features_across_crates
...
Pass features across crates
2022-11-17 23:04:39 +01:00
Silcet
98490d907a
Youki passes flags to the other crates
...
Signed-off-by: Silcet <camorga1@gmail.com>
2022-11-17 17:41:50 +01:00
Silcet
236475530a
Libcontainer passes flags to libcgroups
...
Signed-off-by: Silcet <camorga1@gmail.com>
2022-11-17 17:41:49 +01:00
Silcet
f534083ea0
Libcgroups supports individual flags
...
Signed-off-by: Silcet <camorga1@gmail.com>
2022-11-17 17:41:49 +01:00
Silcet
90dd5a966a
Map features across the different crates
...
Signed-off-by: Silcet <camorga1@gmail.com>
2022-11-17 17:41:43 +01:00
higuruchi
337d3df666
Fixed set capability fail.
...
Signed-off-by: higuruchi <fumiya2324@gmail.com>
2022-11-17 06:33:19 +00:00
Yashodhan Joshi
88e7430b8b
generate error if the process executable in config does not exist or has incorrect permissions
...
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2022-11-15 11:11:40 +05:30
Yashodhan Joshi
2674f8a72e
Ignore error when killing, if error is 'process does not exist'
2022-11-10 14:47:27 +05:30
Yashodhan Joshi
a96f8d0aac
Upgrade to 1.65 and fix lint errors
2022-11-07 17:05:13 +05:30
Yashodhan Joshi
2f8a153eb8
Add TestContainerKill required error message in kill command
2022-11-06 17:38:09 +05:30
Toru Komatsu
8487989c02
Merge pull request #1315 from containers/dependabot/cargo/caps-0.5.5
...
chore(deps): bump caps from 0.5.4 to 0.5.5
2022-11-04 15:11:34 +09:00
Toru Komatsu
da3bf55169
Merge pull request #1309 from containers/dependabot/cargo/once_cell-1.16.0
...
chore(deps): bump once_cell from 1.15.0 to 1.16.0
2022-11-03 21:38:35 +09:00
dependabot[bot]
0f55ee9d26
chore(deps): bump caps from 0.5.4 to 0.5.5
...
Bumps [caps](https://github.com/lucab/caps-rs ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/lucab/caps-rs/releases )
- [Commits](https://github.com/lucab/caps-rs/compare/v0.5.4...v0.5.5 )
---
updated-dependencies:
- dependency-name: caps
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-03 01:24:23 +00:00
Yashodhan
0b90f8ffdc
Merge pull request #1204 from cyyzero/fix_kill
...
Thaw a paused container in cgroup v1 when it is deleted with --force.
2022-10-31 11:00:51 +05:30
dependabot[bot]
56587ea3ff
chore(deps): bump once_cell from 1.15.0 to 1.16.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.15.0...v1.16.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>
2022-10-31 00:49:55 +00:00
Chen Yiyang
2a711e94fe
Allow kill --all
even when container is stopped
...
To pass containerd integration test TestContainerKillInitPidHost, we
need to allow a container to be killed --all again when its status is
stopped.
Fix: #1225
Signed-off-by: Chen Yiyang <cyyzero@qq.com>
2022-10-29 17:06:08 +08:00
Toru Komatsu
1c32af7d29
Merge pull request #1302 from YJDoc2/log_final_result
...
Log result of the command before returning from main
2022-10-25 21:28:17 +09:00
Yashodhan Joshi
e8c5d6a595
Log result of the command before returning from main
...
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2022-10-25 17:47:11 +05:30
Toru Komatsu
c87dc9acd8
Merge pull request #1301 from containers/dependabot/cargo/libbpf-sys-1.0.4v1.0.1
...
chore(deps): bump libbpf-sys from 1.0.3+v1.0.1 to 1.0.4+v1.0.1
2022-10-25 21:07:23 +09:00
Toru Komatsu
9ace4f7792
Merge pull request #1299 from containers/dependabot/cargo/mio-0.8.5
...
chore(deps): bump mio from 0.8.4 to 0.8.5
2022-10-25 21:06:36 +09:00
dependabot[bot]
768aaaab6a
chore(deps): bump libbpf-sys from 1.0.3+v1.0.1 to 1.0.4+v1.0.1
...
Bumps [libbpf-sys](https://github.com/libbpf/libbpf-sys ) from 1.0.3+v1.0.1 to 1.0.4+v1.0.1.
- [Release notes](https://github.com/libbpf/libbpf-sys/releases )
- [Commits](https://github.com/libbpf/libbpf-sys/commits )
---
updated-dependencies:
- dependency-name: libbpf-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 00:43:20 +00:00
dependabot[bot]
91554164d9
chore(deps): bump mio from 0.8.4 to 0.8.5
...
Bumps [mio](https://github.com/tokio-rs/mio ) from 0.8.4 to 0.8.5.
- [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/compare/v0.8.4...v0.8.5 )
---
updated-dependencies:
- dependency-name: mio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 00:42:13 +00:00
dependabot[bot]
adcb1f4a65
chore(deps): bump clap from 3.2.22 to 3.2.23
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.22 to 3.2.23.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.23/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.22...v3.2.23 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 00:40:29 +00:00
Toru Komatsu
d3f3c5f599
Merge pull request #1288 from YJDoc2/fix_cgroup_setup
...
Fix how cgroup manager is created based on cgroups path
2022-10-21 21:23:29 +09:00
Toru Komatsu
bcdfd59e96
Merge pull request #1252 from YJDoc2/fix-exec-return-code
...
Make exec behaviour consistent with runc's exec
2022-10-21 21:10:52 +09:00
Yashodhan Joshi
2d48e165fe
Fix how cgroup manager is created based on cgroups path
...
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2022-10-21 15:42:06 +05:30
Yashodhan Joshi
bed057fb75
Extract detached into main builder struct, better error message handling
2022-10-20 19:55:23 +05:30
dependabot[bot]
9e725a197f
chore(deps): bump mockall from 0.11.2 to 0.11.3
...
Bumps [mockall](https://github.com/asomers/mockall ) from 0.11.2 to 0.11.3.
- [Release notes](https://github.com/asomers/mockall/releases )
- [Changelog](https://github.com/asomers/mockall/blob/v0.11.3/CHANGELOG.md )
- [Commits](https://github.com/asomers/mockall/compare/v0.11.2...v0.11.3 )
---
updated-dependencies:
- dependency-name: mockall
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 12:07:53 +00:00
Yashodhan Joshi
60e3a2506e
Update libbpf to 1.0.3+v1.0.1
...
This makes the relevant changes for the major release of libbpf-sys.
Apart from a function name and signature difference, there is no
visible breakage in the behavior.
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2022-10-19 16:10:02 +05:30
dependabot[bot]
a85d036c15
chore(deps): bump syscalls from 0.6.6 to 0.6.7
...
Bumps [syscalls](https://github.com/jasonwhite/syscalls ) from 0.6.6 to 0.6.7.
- [Release notes](https://github.com/jasonwhite/syscalls/releases )
- [Changelog](https://github.com/jasonwhite/syscalls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jasonwhite/syscalls/compare/0.6.6...0.6.7 )
---
updated-dependencies:
- dependency-name: syscalls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 16:10:02 +05:30
Yashodhan Joshi
f5a84bd7ed
Actually set value of detach from command args
2022-10-07 20:35:45 +05:30
Yashodhan Joshi
c6b8b819ec
Make handling of exec containers slightly more idiomatic
...
Rather than drilling down RawFd from tenant to init_process,
this instead adds an enum in ContainerArgs, containing RawFd
2022-10-07 11:59:17 +05:30
Yashodhan Joshi
603475b478
Fix formatting
2022-10-06 14:00:10 +05:30
Yashodhan Joshi
b48a379d8f
Close the write end from intermediate process as well
2022-10-06 13:58:48 +05:30
Yashodhan Joshi
911381c042
Fix exec command for detached
2022-10-04 16:01:05 +05:30
Yashodhan Joshi
15978cae6d
Add vergen git commit sha override if .git not found
2022-10-04 14:40:12 +05:30
Yashodhan Joshi
98926ad165
Fix behaviour on exec failure
2022-10-03 12:00:39 +05:30
dependabot[bot]
fa0c39394c
chore(deps): bump libseccomp from 0.2.3 to 0.3.0
...
Bumps [libseccomp](https://github.com/libseccomp-rs/libseccomp-rs ) from 0.2.3 to 0.3.0.
- [Release notes](https://github.com/libseccomp-rs/libseccomp-rs/releases )
- [Changelog](https://github.com/libseccomp-rs/libseccomp-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/libseccomp-rs/libseccomp-rs/compare/v0.2.3...v0.3.0 )
---
updated-dependencies:
- dependency-name: libseccomp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 01:27:30 +00:00