summaryrefslogtreecommitdiffstats
path: root/libcg.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcg.h')
-rw-r--r--libcg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcg.h b/libcg.h
index 7dfe9a4..c807cfa 100644
--- a/libcg.h
+++ b/libcg.h
@@ -160,6 +160,11 @@ struct cgroup {
gid_t control_gid;
};
+struct cg_mount_table_s {
+ char name[FILENAME_MAX];
+ char path[FILENAME_MAX];
+} cg_mount_table[CG_CONTROLLER_MAX];
+
int cg_init(void);
int cg_attach_task(struct cgroup *cgroup);
int cg_modify_cgroup(struct cgroup *cgroup);