Several bug fixes, some API enhancements.
The first basic acceptance test is under development and first
prototype is released
api.c | 161 +++++++++++++++++++++++++++++++++++++++++++----------
libcg.h | 14 +---
tests/Makefile | 9 ++
tests/libcg_ba.cpp | 127 +++++++++++++++++++++++++++++++++++++++++
4 files changed, 274 insertions(+), 37 deletions(-)
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/branches/balbir@12
4f4bb910-9a46-0410-90c8-
c897d4f1cd53
Miscellaneous changes, some coding style fixes and refactoring of code.
Also added a install/uninstall target
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/branches/balbir@9
4f4bb910-9a46-0410-90c8-
c897d4f1cd53
This patch fixes file handle leaks as noticed by Paul Menage.
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/branches/balbir@8
4f4bb910-9a46-0410-90c8-
c897d4f1cd53
This patch modifies libcg to use the new cgroup data structure.
Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
The code is yet to be tested though
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/branches/balbir@7
4f4bb910-9a46-0410-90c8-
c897d4f1cd53
Create balbir's branch
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/branches/balbir@6
4f4bb910-9a46-0410-90c8-
c897d4f1cd53
Dhaval's API changes, phase 1, prototype
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@4
4f4bb910-9a46-0410-90c8-
c897d4f1cd53
Moved src to trunk and created tags and branches
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@2
4f4bb910-9a46-0410-90c8-
c897d4f1cd53
First initial revision. Look for TODOs and BUGs
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/src@1
4f4bb910-9a46-0410-90c8-
c897d4f1cd53