summaryrefslogtreecommitdiff
path: root/src/basic/cgroup-util.h
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-03-10 08:33:22 +0100
committerSven Eden <yamakuzure@gmx.net>2017-03-14 10:23:22 +0100
commit34c7fcb14d705141c71b5b63a2f044a51ffbd92b (patch)
tree6e54cf6831207e49b9199e5d34e9384f8133a865 /src/basic/cgroup-util.h
parent6156b4779584b4bf1dc973ce988a34a1bcae1db3 (diff)
Add mounting of a name=elogind cgroup if no init controller is found.
This is done for systems, which init systems are no cgroup controllers. One example is runit on Void Linux.
Diffstat (limited to 'src/basic/cgroup-util.h')
-rw-r--r--src/basic/cgroup-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h
index f14fc3705..974355957 100644
--- a/src/basic/cgroup-util.h
+++ b/src/basic/cgroup-util.h
@@ -155,7 +155,7 @@ int cg_unified(void);
// UNNEEDED void cg_unified_flush(void);
// UNNEEDED bool cg_is_unified_wanted(void);
-// UNNEEDED bool cg_is_legacy_wanted(void);
+bool cg_is_legacy_wanted(void);
const char* cgroup_controller_to_string(CGroupController c) _const_;
CGroupController cgroup_controller_from_string(const char *s) _pure_;