summaryrefslogtreecommitdiff
path: root/src/cgroup.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-10 17:38:50 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-10 17:38:50 +0200
commit55096547212928b0ba83fca2595cae0d66d3c0b0 (patch)
tree0168ac4f04b780e88f869f1807e797be2120c573 /src/cgroup.h
parentfb385181517aa97fc5b379380cde0c2567f5f444 (diff)
cgroup: make cgroup controller name a constant
Diffstat (limited to 'src/cgroup.h')
-rw-r--r--src/cgroup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cgroup.h b/src/cgroup.h
index 05c858c425..a7ca8abb06 100644
--- a/src/cgroup.h
+++ b/src/cgroup.h
@@ -26,6 +26,8 @@ typedef struct CGroupBonding CGroupBonding;
#include "unit.h"
+#define SYSTEMD_CGROUP_CONTROLLER "name=systemd"
+
/* Binds a cgroup to a name */
struct CGroupBonding {
char *controller;