summaryrefslogtreecommitdiff
path: root/src/shared/cgroup-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-14 02:15:13 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-16 18:59:07 +0200
commit3474ae3c7e1981301d0b35bc89d759ca13f06e8f (patch)
tree077a731a876821609751b1abcbe654cdfa6f288e /src/shared/cgroup-util.h
parent80172751b7a678834c1a453ae28c0eb333958250 (diff)
cgroup: if a controller is not available don't try to create cgroups in its hierarchy
Diffstat (limited to 'src/shared/cgroup-util.h')
-rw-r--r--src/shared/cgroup-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/cgroup-util.h b/src/shared/cgroup-util.h
index 5da0004d81..cc0ce54521 100644
--- a/src/shared/cgroup-util.h
+++ b/src/shared/cgroup-util.h
@@ -48,6 +48,7 @@ int cg_join_spec(const char *controller, const char *path, char **spec);
int cg_fix_path(const char *path, char **result);
int cg_get_path(const char *controller, const char *path, const char *suffix, char **fs);
+int cg_get_path_and_check(const char *controller, const char *path, const char *suffix, char **fs);
int cg_get_by_pid(const char *controller, pid_t pid, char **path);
int cg_trim(const char *controller, const char *path, bool delete_root);