summaryrefslogtreecommitdiff
path: root/src/cgroup.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-11 00:50:49 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-11 00:50:49 +0200
commitc6c18be35bb1d300d0b62a568783cc1c477f7151 (patch)
treee4bad2452f20b6d1d6df9714d6abe72cdc56599c /src/cgroup.h
parent55096547212928b0ba83fca2595cae0d66d3c0b0 (diff)
cgroup: kill processes, not tasks and other cgroup changes
Diffstat (limited to 'src/cgroup.h')
-rw-r--r--src/cgroup.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cgroup.h b/src/cgroup.h
index a7ca8abb06..45d043935d 100644
--- a/src/cgroup.h
+++ b/src/cgroup.h
@@ -26,8 +26,6 @@ typedef struct CGroupBonding CGroupBonding;
#include "unit.h"
-#define SYSTEMD_CGROUP_CONTROLLER "name=systemd"
-
/* Binds a cgroup to a name */
struct CGroupBonding {
char *controller;
@@ -76,7 +74,7 @@ char *cgroup_bonding_to_string(CGroupBonding *b);
#include "manager.h"
int manager_setup_cgroup(Manager *m);
-int manager_shutdown_cgroup(Manager *m);
+void manager_shutdown_cgroup(Manager *m, bool delete);
int cgroup_notify_empty(Manager *m, const char *group);