1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-05-19 14:06:20 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
utam0k ec2f58d4b2
Add easy way to test with K8s
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-05-06 12:03:36 +00: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
utam0k 72313bd5a8
fix the warns from cargo clippy
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-02-12 20:15:56 +09:00
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
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
Silcet 236475530a
Libcontainer passes flags to libcgroups
Signed-off-by: Silcet <camorga1@gmail.com>
2022-11-17 17:41:49 +01:00
Yashodhan Joshi a96f8d0aac Upgrade to 1.65 and fix lint errors 2022-11-07 17:05:13 +05:30
utam0k 3b5e83b159
make sure test_make_parent_mount_private() passes even when root is not a slave. 2022-02-06 17:03:04 +09:00
Travis Sturzl f1c662b14d check either parent mount point 2021-11-12 22:12:27 -07:00
utam0k e37554846c
`cgroup` should not be capitalized.
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#terminology
2021-11-08 14:21:34 +09:00
Furisto 087938243b
Add lib prefix to other crates 2021-10-22 22:05:14 +02:00
Furisto 9b7d2707e0
Fix ambigious names by renaming crate to libcontainer 2021-10-22 21:58:11 +02:00