1
0
mirror of https://github.com/containers/youki synced 2024-09-23 20:42:15 +02:00
youki/crates/libcontainer/src
Yashodhan 601df9ecd3
Fix cgroups determination in exec implementation (#2720)
* Set cgroups path for tenant containers from main container

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Ignore new_user_ns for creating cgroups path

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Remove user_ns param completely

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Add tests in podman rootless for exec

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix add_task implementation for cgroups v2 and systemd

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* minor refactor in tenant builder

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Add unit test for systemd add_task function

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix task addition to properly add tasks via dbus api

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* Fix cross cotainers for tests running

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2024-04-27 21:49:58 +09:00
..
container Fix cgroups determination in exec implementation (#2720) 2024-04-27 21:49:58 +09:00
process Rust 1.77.1 (#2746) 2024-04-10 11:54:53 +05:30
rootfs Rust 1.77.1 (#2746) 2024-04-10 11:54:53 +05:30
seccomp add some tracing 2023-06-09 12:11:12 -07:00
syscall Use raw syscalls to avoid sporadic hangs 2023-10-11 11:04:14 +01:00
workload Add channel message when exec fails 2024-02-23 16:55:13 +05:30
apparmor.rs implemented thiserror for containers 2023-05-16 14:50:45 -07:00
capabilities.rs Do not try to acquire capabilities we are not allowed to (#2000) 2023-06-06 01:26:33 -07:00
channel.rs fix lint error 2023-10-09 10:23:55 +08:00
config.rs Fix cgroups determination in exec implementation (#2720) 2024-04-27 21:49:58 +09:00
error.rs Change .unwrap to error propagation in libraries 2024-02-23 17:01:20 +05:30
hooks.rs Using typos-cli to catch typos + fixes for existing typos (#2018) 2023-06-08 10:19:17 +05:30
lib.rs Rename the rootless struct and correspondigs to UserNamespaceConfig and according. 2023-08-12 19:50:25 +05:30
namespaces.rs bump oci-spec version to 0.6.1 2023-06-09 11:24:57 -07:00
notify_socket.rs Change .unwrap to error propagation in libraries 2024-02-23 17:01:20 +05:30
signal.rs Rust 1.74.1 (#2557) 2023-12-08 22:26:19 +09:00
test_utils.rs Fix the feature test and turn on in CI (#2060) 2023-06-19 21:21:18 +09:00
tty.rs reset console sockets to original in setup_console test (#2764) 2024-04-17 20:57:16 -07:00
user_ns.rs Change .unwrap to error propagation in libraries 2024-02-23 17:01:20 +05:30
utils.rs Fix cgroups determination in exec implementation (#2720) 2024-04-27 21:49:58 +09:00