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

1092 Commits

Author SHA1 Message Date
tommady
56e8c37243
fix skip syscall linux on code coverage 2021-10-30 17:18:47 +00:00
tommady
9bc1f73cc4
skip syscall linux on code coverage 2021-10-30 17:15:48 +00:00
tommady
9f3e3f2594
fix clippy lints 2021-10-30 17:11:55 +00:00
tommady
fe085cb8a3
modify syscall test into beauty 2021-10-30 17:05:56 +00:00
tommady
d35fb3ceb9
increate the code coverage of src process part2 (#436)
* adding test_sync_seccomp

* remove redundant code from test_sync_seccomp

* using unwrap_err in test_sync_seccomp

* address comment, add a join to wait spawn thread finished

* adding test_masked_path

* fix lints and integration test for linux_masked_paths

* cannot reproduce the integration failure on local, try to fix test1

* adding quote attempting 2

* attempting 3 figuring out it is about the mount function behavior

* attempting 4 modify input param type

* attempting 5 replace back mount read only dir

* attempting 6 replace back the dev/null mount

* attempting 7 replace syscall linux bail with anyhow

* attempting 8 syscall linux anyhow with context

* syscall linux change to use anyhow then the error can be downcast_ref

* fix return error lints

* address comment, separate a big testcase into pieces
2021-10-29 12:12:20 +02:00
Furisto
2bdf0fb80b Support removal of systemd unit 2021-10-28 22:20:43 +02:00
Furisto
692f0adf86 Minimal working version 2021-10-28 21:53:58 +02:00
utam0k
4609abc867
Merge pull request #440 from containers/dependabot/cargo/nix-0.23.0
Bump nix from 0.22.0 to 0.23.0
2021-10-28 11:26:45 +09:00
dependabot[bot]
6959ed326c
Bump nix from 0.22.0 to 0.23.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.22.0...v0.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-28 00:48:28 +00:00
dependabot[bot]
cdcc39f443
Bump errno from 0.2.7 to 0.2.8
Bumps [errno](https://github.com/lambda-fairy/rust-errno) from 0.2.7 to 0.2.8.
- [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.7...v0.2.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-28 00:48:13 +00:00
Yashodhan Joshi
d44944a849 Update clap to beta 5
Reintroduce forbid_empty_values for container_id in commands
2021-10-27 15:55:16 +05:30
Yashodhan Joshi
6f9acc3bf8 Update Caps version from github ref to stable release 2021-10-27 15:26:20 +05:30
yihuaf
77080b5642
implemented seccomp notify integration tests (#435)
* implemented seccomp notify integration tests

* skip seccomp notify for runc
2021-10-25 16:48:32 -07:00
Furisto
edf47d8cfc Remove systemd crate 2021-10-25 20:34:14 +02:00
Furisto
d018a24814 Move dbus code to libcgroups create 2021-10-25 20:16:56 +02:00
Nimrod Shneor
a3ce77064d Initial implementation of resource-control via systemd and dbus 2021-10-25 19:39:08 +02:00
utam0k
530d4a0ecb
Merge pull request #428 from containers/dependabot/cargo/pkg-config-0.3.22
Bump pkg-config from 0.3.21 to 0.3.22
2021-10-25 21:07:57 +09:00
dependabot[bot]
f5e74a89eb
Bump mio from 0.7.13 to 0.7.14
Bumps [mio](https://github.com/tokio-rs/mio) from 0.7.13 to 0.7.14.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/v0.7.14/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 04:38:57 +00:00
utam0k
9d4e6cd107
Merge pull request #429 from containers/dependabot/cargo/systemd-0.9.0
Bump systemd from 0.8.2 to 0.9.0
2021-10-25 13:32:59 +09:00
dependabot[bot]
8df5e8d8a8
Bump systemd from 0.8.2 to 0.9.0
Bumps [systemd](https://github.com/jmesmon/rust-systemd) from 0.8.2 to 0.9.0.
- [Release notes](https://github.com/jmesmon/rust-systemd/releases)
- [Changelog](https://github.com/jmesmon/rust-systemd/blob/master/release.toml)
- [Commits](https://github.com/jmesmon/rust-systemd/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 01:32:50 +00:00
dependabot[bot]
bdfd884d47
Bump pkg-config from 0.3.21 to 0.3.22
Bumps [pkg-config](https://github.com/rust-lang/pkg-config-rs) from 0.3.21 to 0.3.22.
- [Release notes](https://github.com/rust-lang/pkg-config-rs/releases)
- [Changelog](https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/pkg-config-rs/compare/0.3.21...0.3.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 01:32:29 +00:00
dependabot[bot]
af85b99278
Bump nix from 0.22.1 to 0.23.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.22.1 to 0.23.0.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.22.1...v0.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 01:32:06 +00:00
utam0k
82bb9c23ae
Merge pull request #411 from containers/dependabot/cargo/libbpf-sys-0.5.0-1
Bump libbpf-sys from 0.4.0-2 to 0.5.0-1
2021-10-24 21:47:49 +09:00
dependabot[bot]
9762f1ff77
Bump libbpf-sys from 0.4.0-2 to 0.5.0-1
Bumps [libbpf-sys](https://github.com/alexforster/libbpf-sys) from 0.4.0-2 to 0.5.0-1.
- [Release notes](https://github.com/alexforster/libbpf-sys/releases)
- [Commits](https://github.com/alexforster/libbpf-sys/compare/0.4.0-2...0.5.0-1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-24 11:57:59 +00:00
dependabot[bot]
51d087408f
Bump pkg-config from 0.3.20 to 0.3.21
Bumps [pkg-config](https://github.com/rust-lang/pkg-config-rs) from 0.3.20 to 0.3.21.
- [Release notes](https://github.com/rust-lang/pkg-config-rs/releases)
- [Changelog](https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/pkg-config-rs/compare/0.3.20...0.3.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-24 11:57:59 +00:00
dependabot[bot]
f462789be9
Bump libc from 0.2.101 to 0.2.105 (#419)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.101 to 0.2.105.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.101...0.2.105)

---
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>
2021-10-24 04:56:09 -07:00
Thomas Schubart
ff06f6e34d
Merge pull request #410 from containers/dependabot/cargo/dbus-0.9.5
Bump dbus from 0.9.3 to 0.9.5
2021-10-24 11:51:06 +02:00
dependabot[bot]
45c997330b
Bump anyhow from 1.0.43 to 1.0.44
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-24 09:36:39 +00:00
dependabot[bot]
574859c53a
Bump dbus from 0.9.3 to 0.9.5
Bumps [dbus](https://github.com/diwic/dbus-rs) from 0.9.3 to 0.9.5.
- [Release notes](https://github.com/diwic/dbus-rs/releases)
- [Commits](https://github.com/diwic/dbus-rs/compare/dbus-v0.9.3...dbus-v0.9.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-24 09:36:22 +00:00
tommady
777a77458a Merge branch 'main' into 279-increate-the-code-coverage-of-src-process 2021-10-23 14:40:38 +00:00
yukang
08ebd9e373 update to edition 2021 2021-10-23 22:32:47 +08:00
yukang
1999644f1b merge with main 2021-10-23 22:23:03 +08:00
Furisto
52a262f306
Fix ignored files 2021-10-22 22:05:15 +02:00
Furisto
359db4cfc7
Adapt CI scripts 2021-10-22 22:05:15 +02:00
Furisto
ab8fbfcc4c
Move items misplaced during rebase 2021-10-22 22:05:15 +02:00
Furisto
087938243b
Add lib prefix to other crates 2021-10-22 22:05:14 +02:00
Furisto
f44ff1681a
Fix failing doc tests 2021-10-22 21:58:12 +02:00
Furisto
9b7d2707e0
Fix ambigious names by renaming crate to libcontainer 2021-10-22 21:58:11 +02:00
Furisto
0dbae24651
Move and split youki into container crate and cli 2021-10-22 21:55:17 +02:00
Furisto
c77a71afd4
Move test framework and integration tests 2021-10-22 21:55:16 +02:00
Furisto
62f4dc5029
Move seccomp crate to crates 2021-10-22 21:55:15 +02:00
Furisto
610c95c176
Move cgroups crate to crate directory 2021-10-22 21:55:11 +02:00