summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2009-06-30 14:29:19 +0200
committerDhaval Giani <dhaval@linux.vnet.ibm.com>2009-07-01 20:34:50 +0530
commita9816059ccbf1d49e86998fb495204d2d7a47309 (patch)
tree3c4029222e0eba04445e5ad533a0a80b027c8f61 /include
parent94a0ad95bc19f181beadef7cf7c4dade556eba7f (diff)
downloadlibcg-a9816059ccbf1d49e86998fb495204d2d7a47309.tar.gz
libcg-a9816059ccbf1d49e86998fb495204d2d7a47309.tar.xz
libcg-a9816059ccbf1d49e86998fb495204d2d7a47309.zip
Configure the location of cgrulesengd socket
This patch allows users to configure location of cgrulesengd socket before compilation: ./configure --enable-cgred-socket=/var/run/cgred.socket In addition, /var/run/cgred.socket is now default location of the socket - this sounds LSB compliant to me. Feel free to suggest better one. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcgroup.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/libcgroup.h b/include/libcgroup.h
index 8a86cb7..3d5660c 100644
--- a/include/libcgroup.h
+++ b/include/libcgroup.h
@@ -52,8 +52,6 @@ __BEGIN_DECLS
#define CGRULE_INVALID (-1)
#define CGRULE_WILD (-2)
-/* FIXME: Change the temporary file to configurable one. */
-#define CGRULE_CGRED_SOCKET_PATH "/tmp/cgred"
#define CGRULE_SUCCESS_STORE_PID "SUCCESS_STORE_PID"
/* Flags for cgroup_change_cgroup_uid_gid() */