summaryrefslogtreecommitdiffstats
path: root/libcgroup.h
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2008-08-13 19:35:01 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2008-08-13 19:35:01 +0000
commit5d3c683a3f4160cb4d081a3ddcf367311ddf0c8b (patch)
treefcb3bc308190d622eb1559714b82d8372e38a5e5 /libcgroup.h
parent5c16f4a02dfee006b7fb8a04162ed511e3abc481 (diff)
downloadlibcg-5d3c683a3f4160cb4d081a3ddcf367311ddf0c8b.tar.gz
libcg-5d3c683a3f4160cb4d081a3ddcf367311ddf0c8b.tar.xz
libcg-5d3c683a3f4160cb4d081a3ddcf367311ddf0c8b.zip
libcgroup: Configuration and parsing updates (v2)
Dhaval, wanted a patch with -p1 generated so that he can apply it and use it with quilt. Here goes Testing Tested with samples/cgconfig.conf (NOTE: expects user balbir to be present on the system, feel free to change and test). TODO 1. Add hooks for other controllers, namely memory, cpuacct and cpuset Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@134 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'libcgroup.h')
-rw-r--r--libcgroup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcgroup.h b/libcgroup.h
index 5252c7f..fe13758 100644
--- a/libcgroup.h
+++ b/libcgroup.h
@@ -145,7 +145,7 @@ int cg_group_task_perm(char *perm_type, char *value);
int cg_parse_controller_options(char *controller, char *name_value);
int cg_insert_group(const char *group_name);
int chown_recursive(const char* path, uid_t owner, gid_t group);
-int cg_make_directory(struct cg_group *cg_group, const char *group_path);
+int cg_make_directory(struct cg_group *cg_group, char *group_path[]);
char *cg_build_group_path(struct cg_group *cg_group,
struct mount_table *mount_info);
int cg_mount_controllers(void);