summaryrefslogtreecommitdiff
path: root/src/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-18 20:15:34 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-18 20:15:34 +0200
commit33be102a214e7010949496549f4c737b0f8269a3 (patch)
treeb44c8395dbcb7737e275de0500e17481b4baf0ee /src/manager.h
parent2cb1a60d14f869023652482a380ca7b659dcf78f (diff)
cgroup: make sure the user cannot accidentaly unmount our cgroup filesystem
Diffstat (limited to 'src/manager.h')
-rw-r--r--src/manager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/manager.h b/src/manager.h
index 405f143566..762a891ca6 100644
--- a/src/manager.h
+++ b/src/manager.h
@@ -167,12 +167,17 @@ struct Manager {
/* Data specific to the cgroup subsystem */
Hashmap *cgroup_bondings; /* path string => CGroupBonding object 1:n */
char *cgroup_controller;
+ char *cgroup_mount_point;
char *cgroup_hierarchy;
usec_t gc_queue_timestamp;
int gc_marker;
unsigned n_in_gc_queue;
+ /* Make sure the user cannot accidentaly unmount our cgroup
+ * file system */
+ int pin_cgroupfs_fd;
+
/* Flags */
ManagerRunningAs running_as;
ManagerExitCode exit_code:4;