summaryrefslogtreecommitdiff
path: root/src/shared/cgroup-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-10 22:06:44 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-10 22:06:44 +0100
commit7b3fd6313c4b07b6f822a9f979d0c22350a401d9 (patch)
tree936f7fa948b9d5eb2e417204108353c13e6485a9 /src/shared/cgroup-util.h
parent0cd385d31814c8c1bc0c81d11ef321036b8b0921 (diff)
scope: make attachment of initial PIDs a bit more robust
Diffstat (limited to 'src/shared/cgroup-util.h')
-rw-r--r--src/shared/cgroup-util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cgroup-util.h b/src/shared/cgroup-util.h
index a65f515b45..5e1e445c33 100644
--- a/src/shared/cgroup-util.h
+++ b/src/shared/cgroup-util.h
@@ -126,8 +126,8 @@ int cg_slice_to_path(const char *unit, char **ret);
typedef const char* (*cg_migrate_callback_t)(CGroupControllerMask mask, void *userdata);
int cg_create_everywhere(CGroupControllerMask supported, CGroupControllerMask mask, const char *path);
-int cg_attach_everywhere(CGroupControllerMask supported, const char *path, pid_t pid);
-int cg_attach_many_everywhere(CGroupControllerMask supported, const char *path, Set* pids);
+int cg_attach_everywhere(CGroupControllerMask supported, const char *path, pid_t pid, cg_migrate_callback_t callback, void *userdata);
+int cg_attach_many_everywhere(CGroupControllerMask supported, const char *path, Set* pids, cg_migrate_callback_t callback, void *userdata);
int cg_migrate_everywhere(CGroupControllerMask supported, const char *from, const char *to, cg_migrate_callback_t callback, void *userdata);
int cg_trim_everywhere(CGroupControllerMask supported, const char *path, bool delete_root);