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
utam0k
017febada0
add a unit test for the failed case of fork. ( #402 )
2021-10-21 17:19:15 -07:00
utam0k
f98d415fc5
add a unit test for fork. ( #401 )
2021-10-21 06:06:58 -07:00
YJDoc2
17135d86c2
Add ns_itype test ( #389 )
...
* Setup ns_itype test (WIP)
* Add namespace inheritance test
* Add ns_itype test
2021-10-21 01:21:03 -07:00
utam0k
ea3d37dd75
Merge pull request #399 from utam0k/refactoring/small
...
small improvement
2021-10-20 20:57:02 +09:00
utam0k
0d73ff2182
small improvement.
2021-10-20 14:18:45 +09:00
YJDoc2
9ed52d9b57
Merge pull request #391 from Furisto/pid-tests
...
Cgroup v1 pid integration tests
2021-10-19 17:02:51 +05:30
utam0k
71e747fbcb
Merge pull request #395 from chenyukang/add-readme-rootless
...
Add readme for rootless
2021-10-19 11:32:50 +09:00
yukang
5a855eb25e
comments feedback
2021-10-19 09:31:36 +08:00
Furisto
e245fdd8c5
Review Feedback
2021-10-18 23:11:36 +02:00
Furisto
519ea4a47b
Add resource cleanup
2021-10-18 23:08:47 +02:00
Furisto
e484ce3e03
Use macro to convert to TestResult
2021-10-18 21:04:49 +02:00
utam0k
d010bebc98
add a unit test for mounting cgroup v1 ( #392 )
...
* add a unit test for mounting cgroup v1.
* refactor
Co-authored-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
* make it more like a unit test
Co-authored-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
Co-authored-by: Thomas Schubart <24721048+Furisto@users.noreply.github.com>
2021-10-18 21:02:43 +02:00
yukang
97e4208373
add readme for rootless
2021-10-18 18:39:47 +08:00
utam0k
4cd71e69d7
turning the sequnce diagram. ( #394 )
2021-10-17 23:24:24 -07:00
utam0k
2a12d40b9d
Merge pull request #384 from yihuaf/yihuaf/seccomp_notify
...
implement seccomp notify
2021-10-18 13:48:23 +09:00
yihuaf
aa78c74727
update seccomp notify and listener
2021-10-17 18:22:43 -07:00
yihuaf
56f6c9a517
Update .drawio.svg
2021-10-17 17:19:55 -07:00
yihuaf
1d532909b1
Update src/process/container_main_process.rs
...
Co-authored-by: utam0k <k0ma@utam0k.jp>
2021-10-17 17:04:02 -07:00
yihuaf
69530b67ec
adds clean up
2021-10-17 05:13:16 +02:00
yihuaf
06fc5b9dd0
touch up
2021-10-17 02:43:42 +02:00
yihuaf
b3be11710a
fix cargo lock
2021-10-17 02:21:38 +02:00
yihuaf
7cbd33ed92
implement seccomp notify
2021-10-17 02:21:07 +02:00
yihuaf
f15b3fda03
fix
2021-10-17 02:01:50 +02:00
yihuaf
70cadca7cd
add container process state for seccomp
2021-10-17 02:01:20 +02:00
yihuaf
08fcc13b52
fix error
2021-10-17 02:01:02 +02:00
yihuaf
7fd5b53229
fix
2021-10-17 02:00:48 +02:00
yihuaf
eca790070d
add framework for seccomp notify
2021-10-17 02:00:33 +02:00
yihuaf
8fbe51cd5f
add is_notify
2021-10-17 01:54:54 +02:00
yihuaf
e9e2b8a8b1
add seccomp sync message
2021-10-17 01:54:27 +02:00
yihuaf
3bd7c83f03
update oci-spec-rs version
2021-10-17 01:53:16 +02:00
Thomas Schubart
36df0a1f9b
Merge pull request #390 from utam0k/refactoring/remove-clone2
...
remove a unnecessary calls to clone() by limiting the lifetime.
2021-10-16 20:44:47 +02:00
Furisto
fed400a8b4
Implement pids tests
2021-10-16 16:24:00 +02:00
Furisto
a1312e2859
Rename TestResult states
2021-10-16 16:18:56 +02:00
Furisto
ad2b47a680
Better error reporting
2021-10-16 16:18:55 +02:00
utam0k
131c16ee16
remove a unnecessary calls to clone() by limiting the lifetime.
2021-10-16 22:18:40 +09:00
utam0k
66c2eabbc5
Merge pull request #388 from yihuaf/yihuaf/refactor
...
Refactor process and channel code
2021-10-16 16:58:18 +09:00
utam0k
3ff35cce28
Merge pull request #380 from tommady/fix-running-unit-tests-multiple-times-will-cause-a-rare-failed
...
fix running unit tests multiple times will cause a rare failed
2021-10-16 16:01:11 +09:00
yihuaf
e1ae89f9d9
address review
2021-10-15 23:58:34 +02:00
tommady
f4975fdce2
adding serial derive into
...
1. test_spec_json
2. test_refresh_load_save_state
3. test_get_spec
4. test_get_set_refresh_status
unit test cases
to resolve
2021-10-15 13:46:48 +00:00
yihuaf
bf2b9654d1
remove ipc-channel dependency
2021-10-15 05:45:04 +02:00
yihuaf
afa1b8c5f6
refactor channel to use a new implementation
2021-10-15 05:42:36 +02:00
yihuaf
8858cf35b1
refactor container main process logic
2021-10-15 05:16:32 +02:00
Thomas Schubart
5ae238580c
Fix path issues ( #386 )
2021-10-14 15:28:45 -07:00
Thomas Schubart
d28110f641
Update procfs ( #387 )
2021-10-14 15:24:59 -07:00
utam0k
b0f19b5d39
Merge pull request #381 from Furisto/rootless-multi
...
Fix multi mapping for rootless containers
2021-10-14 11:22:19 +09:00
Furisto
581c5e6f73
Fix multi mapping for rootless containers
2021-10-13 22:25:53 +02:00
Thomas Schubart
df1bff8423
Merge pull request #383 from utam0k/improvement/remove-commit-activeity-in-readme
...
remove a GitHub commit activeity.
2021-10-13 19:12:17 +02:00