1
0
mirror of https://github.com/containers/youki synced 2024-11-23 17:32:15 +01:00
Commit Graph

948 Commits

Author SHA1 Message Date
yihuaf
bd21ba9001 change duration back to u64 2021-10-06 18:42:12 +02:00
yihuaf
b70929cb8c update oci-spec-rs to latest.
remove TODO because it is already tracked by issue
2021-10-06 18:42:12 +02:00
yihuaf
6d8fa4daf9 update tenant builder 2021-10-06 18:42:12 +02:00
yihuaf
621a074401 rewrite rootless spec to use setters 2021-10-06 18:42:12 +02:00
yihuaf
1bcde45ca1 update to 0.5.2 2021-10-06 18:42:12 +02:00
utam0k
b5089f36b6
Merge pull request #360 from YJDoc2/add-test-utils
Combine test_framework and  add README and guide for integration tests
2021-10-06 20:51:03 +09:00
Furisto
1e8329cb67
Merge pull request #363 from alfonsoros88/signal
Use generic for signal argument in container_kill
2021-10-06 13:45:11 +02:00
Yashodhan Joshi
b010b167da Fix Typos in readme 2021-10-06 11:50:39 +05:30
Travis Sturzl
02b8f772bb
Check libseccomp is available at correct version on build (#367)
* check libseccomp version before build, better build output
2021-10-05 22:45:29 -07:00
utam0k
efd5ea0f9b
use the console for code blocks. (#368) 2021-10-05 22:41:21 -07:00
utam0k
68d2c0b374
Merge pull request #362 from tommady/279-increate-the-code-coverage-of-src-rootfs-part-5
part of PR 340 adding test_bind_dev,test_mknod_dev and test_create_devices
2021-10-06 07:47:42 +09:00
Alfonso Ros
817e1b743c
Use generic for signal argument in container_kill
nix::sys::signal::Signal is part of the API for the kill related calls. This causes a problem for lib users when they have a different nix version.

This patch introduces a public youki::signal::Signal type to be used instead.
2021-10-05 19:05:58 +02:00
tommady
416a131ecd
addressed comments 2021-10-05 12:33:23 +00:00
tommady
b8210deb0d
fix create dir all with wrong metadata 2021-10-05 02:38:43 +00:00
tommady
ad93fe0494 Merge branch 'main' into 279-increate-the-code-coverage-of-src-rootfs-part-5 2021-10-05 00:37:14 +00:00
Yyee
c4264a1096
Implement secure_join for path (#354)
* Implement secure_join for path

* Add err handlings, reformat and modify unit tests
2021-10-04 09:18:51 -07:00
tommady
fbb25fec7b
part of PR 340 adding test_bind_dev,test_mknod_dev and test_create_devices 2021-10-04 15:23:52 +00:00
Yashodhan Joshi
a3df726ca2 Add guide to add tests and minor changes in integration tests names 2021-10-04 19:09:10 +05:30
utam0k
9f9bfb5862
Merge pull request #359 from tommady/279-increate-the-code-coverage-of-src-rootfs-part-4
part of PR 340 adding test_setup_ptmx and test_setup_default_symlinks
2021-10-04 21:48:26 +09:00
Yashodhan Joshi
ea1b1f41ad Move test_framework inside youki_integration_test, making it a member of its workspace 2021-10-04 18:11:41 +05:30
tommady
ed5895cb6a
part of PR 340 adding test_setup_ptmx and test_setup_default_symlinks 2021-10-04 02:27:04 +00:00
utam0k
7f91bc6511
Merge pull request #358 from tommady/279-increate-the-code-coverage-of-src-rootfs-part-3
part of PR 340 adding two testcases test_to_sflag and test_parse_mount
2021-10-04 10:56:29 +09:00
tommady
2bebec7077
part of PR 340 adding two simple testcases test_to_sflag and test_parse_mount 2021-10-04 01:46:36 +00:00
utam0k
8bc8300cca
Merge pull request #357 from tommady/279-increate-the-code-coverage-of-src-rootfs-part-2
part of PR 340 moving syscalls into structure
2021-10-04 10:41:18 +09:00
tommady
e76a9d16d6
changing field name from command into syscall 2021-10-04 01:33:41 +00:00
tommady
6394492635
part of PR 340 moving syscalls into structure 2021-10-04 01:07:27 +00:00
utam0k
e0d9cea5a4
Merge pull request #356 from tommady/279-increate-the-code-coverage-of-src-rootfs-part-1
part of PR 340 - adding syscalls
2021-10-04 08:09:34 +09:00
tommady
77b3bc46ae
part of PR 279 adding syscalls 2021-10-03 13:28:41 +00:00
utam0k
b70432845b
Merge pull request #350 from chenyukang/rootless_options_conf
Add rootless option for spec
2021-10-03 16:58:01 +09:00
utam0k
a9739fc9ba
Merge pull request #355 from Furisto/cg-ns-info
Add cgroup namespace to info command
2021-10-03 08:34:23 +09:00
Furisto
f0d49f5e43
Add cgroup namespace to info command 2021-10-02 21:48:12 +02:00
utam0k
d209d75512
Merge pull request #353 from shorii/fix-map_binary_argument
Add pid to newuidmap/newgidmap as argument
2021-10-02 23:13:45 +09:00
shorii
a1a2a876d4 Add pid to newuidmap/newgidmap as argument 2021-10-02 21:36:01 +09:00
yukang
c4a61d72c6 use existing create_temp_dir 2021-10-02 19:54:44 +08:00
utam0k
4999a90104
Merge pull request #349 from Furisto/cg-ns
Support cgroup namespaces for cgroup v1
2021-10-02 20:02:58 +09:00
Furisto
541c1a05bd
Update diagram 2021-10-02 12:35:41 +02:00
yukang
26e345d190 use tempfile for testcase 2021-10-02 12:32:50 +08:00
yukang
2d0c6b0202 fix clippy 2021-10-02 11:39:04 +08:00
utam0k
9bb360a48d
Merge pull request #352 from hle0/main
remove dead code in src/utils.rs
2021-10-02 12:38:02 +09:00
yukang
0847d1711e add testcase 2021-10-02 11:36:26 +08:00
yukang
c9c102f0bf code refactor 2021-10-02 11:21:49 +08:00
hle0
450dffb508 remove dead code in src/utils.rs 2021-10-02 02:29:24 +00:00
yukang
5714615b80 add rootless option for spec 2021-10-01 20:44:10 +08:00
oblique
6cb89fcdfa
Seal /proc/self/exe to protect against CVE-2019-5736 (#343) 2021-09-30 16:47:08 -07:00
Furisto
b4f6c1de9b
Clippy 2021-09-30 12:30:56 +02:00
Furisto
46c63ec2f7
Implement cgroup namespaces for cgroup v1 2021-09-30 11:57:39 +02:00
Furisto
0db1ca4bcd
Add unit tests for cgroup apply 2021-09-30 11:57:38 +02:00
Furisto
3431ccc872
Add process to cgroup before init process creation 2021-09-30 11:57:33 +02:00
utam0k
c206d88e63
Merge pull request #345 from yihuaf/yihuaf/seccomp
Implemented util function to test in child process
2021-09-30 11:08:43 +09:00
lincoln auster
e1e4187e9e
rephrase sentences for clarity and correctness (#348)
just some pedantic changes :)
2021-09-29 18:33:04 -07:00