From b2dcfd8e11977d4369560b8b4de81b947b0e963e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 12 Dec 2023 11:02:59 +0100 Subject: cgroup-setup: add fd-based version of cg_attach() --- src/shared/cgroup-setup.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/cgroup-setup.h') diff --git a/src/shared/cgroup-setup.h b/src/shared/cgroup-setup.h index c35884ee4d..283ab6757c 100644 --- a/src/shared/cgroup-setup.h +++ b/src/shared/cgroup-setup.h @@ -21,6 +21,7 @@ int cg_trim(const char *controller, const char *path, bool delete_root); int cg_create(const char *controller, const char *path); int cg_attach(const char *controller, const char *path, pid_t pid); +int cg_fd_attach(int fd, pid_t pid); int cg_attach_fallback(const char *controller, const char *path, pid_t pid); int cg_create_and_attach(const char *controller, const char *path, pid_t pid); -- cgit v1.2.3