mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
Fixes: #98 Add a Kill method for cgroups v2. This uses the new functionality in kernels 5.14+ where writing to a cgroup.kill file will send a SIGKILL to every process running in the cgroup. This would be useful for kata to avoid freezing+manually sending SIGKILL+thawing process it does currently to emulate runc's behavior. Signed-off-by: Danny Canter <danny@dcantah.dev>