Commit Graph

1 Commits

Author SHA1 Message Date
Paul Holzinger 8b81a2471f add new pkg/systemd to contain podman systemd cgroup code
In podman we have code to move a process into a new systemd cgroup. This
code lived in the podman utils package. Because the new rootlessnetns
must call into that move this code to c/common.

Instead of dumping this again into a "util" package create a systemd
package which should have a better name. Also move the cgroup code
directly into pkg/cgroup. I am sure we can do some cleanup there in a
followup to prevent duplication.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-12-05 15:28:19 +01:00