summaryrefslogtreecommitdiffstats
path: root/libcgroup.map
diff options
context:
space:
mode:
authorDhaval Giani <dhaval@linux.vnet.ibm.com>2008-12-09 11:18:39 +0000
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2008-12-09 11:18:39 +0000
commit96ee38b048031ceefcd8eb169fc1c4bd2bee2eb7 (patch)
tree578d985f59883daac59438952e572519e1db56df /libcgroup.map
parent50dce522e4a5a09d43012b1d3d18ac80a5c16863 (diff)
downloadlibcg-96ee38b048031ceefcd8eb169fc1c4bd2bee2eb7.tar.gz
libcg-96ee38b048031ceefcd8eb169fc1c4bd2bee2eb7.tar.xz
libcg-96ee38b048031ceefcd8eb169fc1c4bd2bee2eb7.zip
libcgroup: Better error reporting for libcgroup
From: Ankita Garg <ankita@in.ibm.com> This patch adds human readable error messages to the configuration parser. The error lookup is implemented as a simple table, indexed by the error. TODO: Save errno at ECGOTHER and pass it down as cgroup_lasterror. Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Ankita Garg <ankita@in.ibm.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@228 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'libcgroup.map')
-rw-r--r--libcgroup.map5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcgroup.map b/libcgroup.map
index 61ae3ba..3b55ff2 100644
--- a/libcgroup.map
+++ b/libcgroup.map
@@ -40,3 +40,8 @@ global:
local:
*;
};
+
+CGROUP_0.32.1 {
+global:
+ cgroup_strerror;
+} CGROUP_0.32;