chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
var-run: make sure /var/run/user is properly created and labelled
[elogind.git]
/
src
/
cgroup.h
diff --git
a/src/cgroup.h
b/src/cgroup.h
index a7ca8abb063bcb6e35fd7081369babf48aa90f08..90c4572d652f972f2dc48116b6f1f0cc32120516 100644
(file)
--- a/
src/cgroup.h
+++ b/
src/cgroup.h
@@
-1,4
+1,4
@@
-/*-*- Mode: C; c-basic-offset: 8 -*-*/
+/*-*- Mode: C; c-basic-offset: 8
; indent-tabs-mode: nil
-*-*/
#ifndef foocgrouphfoo
#define foocgrouphfoo
#ifndef foocgrouphfoo
#define foocgrouphfoo
@@
-26,8
+26,6
@@
typedef struct CGroupBonding CGroupBonding;
#include "unit.h"
#include "unit.h"
-#define SYSTEMD_CGROUP_CONTROLLER "name=systemd"
-
/* Binds a cgroup to a name */
struct CGroupBonding {
char *controller;
/* 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);
#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);
int cgroup_notify_empty(Manager *m, const char *group);