summaryrefslogtreecommitdiffstats
path: root/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* Add PACKAGE_VERSION to MakefileJan Safranek2009-03-261-0/+1
| | | | | | | | | | By removing PACKAGE_VERSION in SVN rev. 344 I broke 'make install' - the macro must be defined there, 'make install' needs it to build library symlinks. I am sorry, I should have noticed it earlier. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
* libcgroup: Update specfile for v0.33 and bump up the versionDhaval Giani2009-02-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | From: Ivana Varekova <varekova@redhat.com> OK, here goes This patch Originally from Ivana and with changes I've made, get the spec file working again (rpmlint warnings need some care and ownership). The new version will be 0.33 and will have new man pages and newer API and many more bug fixes [varekova@redhat.com] Incorporate pam module instalation to the spec file - file part change add dependency [balbir@linux.vnet.ibm.com] Bumped up the version, getting ready for a new release. Updated makefile to install new man pages and to move the pam module to the correct place at the time of installation. Signed-off-by: Ivana Varekova <varekova@redhat.com> 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@355 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Add cgrulesengd man pageDhaval Giani2009-02-271-0/+2
| | | | | | | | | | | | | | | From: Jan Safranek <jsafrane@redhat.com> Add cgrulesengd man page and install it on 'make install'. Rebased to lastes trunk and fixed file name. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@353 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Install the man pagesDhaval Giani2009-02-261-0/+5
| | | | | | | | | | | | | | | From: Ivana Varekova <varekova@redhat.com> The man pages should be installed so the patch for Makefile (with the last - for now not incorporated man page) Signed-off-by: Ivana Varekova <varekova@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@348 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Remove PACKAGE_VERSION from Makefile.inDhaval Giani2009-02-251-2/+1
| | | | | | | | | | | | | | | From: Jan Safranek <jsafrane@redhat.com> PACKAGE_VERSION is defined both in config.h and Makefile.in, which results in 'PACKAGE_VERSION redefined' warnings. It should be defined only once, let's say in config.h. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@344 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* cgclassify: Add -g option to cgclassifyDhaval Giani2009-02-251-2/+2
| | | | | | | | | | | | | | | From: Jan Safranek <jsafrane@redhat.com> cgclassify tools currently moves processes to groups only as specified in cgrules.conf. It would be nice to move processes to another group, specified on command line, like cgexec does. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@340 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Move parse_cgroup_data to separate .c fileDhaval Giani2009-02-251-2/+2
| | | | | | | | | | | | | | | | | | From: Jan Safranek <jsafrane@redhat.com> Cgclassify could benefit from parsing of -g command line option, let's move it to separate file, where both cgexec and cgclassify can use it. The data structures and function names are also more descriptive now. I added also the copyright notice and license to the new files. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@339 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Install the PAM moduleDhaval Giani2009-02-161-0/+2
| | | | | | | | | | | | | | From: Jan Safranek <jsafrane@redhat.com> Install the PAM module to suitable directory. I didn't find any AC macro for location of the PAM module, I hope static path is OK. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@328 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Add man pages to MakefileDhaval Giani2009-02-161-0/+4
| | | | | | | | | | | | | | From: Jan Safranek <jsafrane@redhat.com> The man page is in Makefile.in now, make install should install it to appropriate place. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@327 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Compile cgrulesengd without -DDEBUGDhaval Giani2009-02-161-2/+1
| | | | | | | | | | | | | | | | From: Jan Safranek <jsafrane@redhat.com> Cgrulesengd writes some debugging info to stdout by default. IMHO this feature should be enabled only when user explicitly asks so during compilation, like the other tools. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@324 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Fix pam_cgroup.so Makefile dependencyDhaval Giani2008-12-301-1/+1
| | | | | | | | | | | pam_cgroup.so depends on libcgroup.so Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Cc: Vivek Goyal <vgoyal@redhat.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@296 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Compile pam_cgroup.so by defaultDhaval Giani2008-11-261-1/+1
| | | | | | | | | | | | The PAM module was not getting compiled while doing a make. Correct that. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@224 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* Merge several bug-fixes and cleanups. No version bump yet, since this isBalbir Singh2008-10-151-4/+5
| | | | | | | | | | an ongoing exercise (after more testing, I'll recommend one). Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@216 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Fix makefile entry for cgconfigparserDhaval Giani2008-10-101-1/+1
| | | | | | | | Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@213 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: ABI guaranteeDhaval Giani2008-09-301-3/+4
| | | | | | | | | | | | | | | | | From: Balbir Singh <balbir@linux.vnet.ibm.com> Versioning all the symbols, in order to provide ABI guarantee. Bringing Balbir's patch up to date, and changing the version to 0.32. Please review. [dhaval@linux.vnet.ibm.com: updated with latest symbols] 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@203 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* Configuration rewrite to use the main cgroups API and several bug fixesBalbir Singh2008-09-291-5/+4
| | | | | | | | | | | | | and configuration enhancements. Primarliy Initiated by Dhaval Giani Please see svn log of all branches/balbir-config-cleanup 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@201 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* Merge the cgruleseng daemon from Steve OlivieriBalbir Singh2008-09-261-4/+10
| | | | | | | | | | Signed-off-by: Steve Olivieri <sjo@redhat.com> Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@190 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Fix makefile entry for cgclassifyDhaval Giani2008-09-051-4/+4
| | | | | | | | | | | | cgclassify depends on libcgroup.so. Ensure that the dependency is met. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@175 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Fix makefile entry for make cleanDhaval Giani2008-08-271-1/+1
| | | | | | | | | | | | | Don't know when this change happened, or got missed. Correcting it now. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Cc: Vivek Goyal <vgoyal@redhat.com> Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@171 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: A simple pam module (pam_cgroup.so) for task placement in right ↵Dhaval Giani2008-08-151-1/+6
| | | | | | | | | | | | | | | | | | | | | | | cgroup From: Vivek Goyal <vgoyal@redhat.com> o A simple pam module pam_cgroup for placement of tasks in right cgroup. Details are available in documentation. o This pam module will be included in libcgroup source and not in pam sources. o Copyright notice looks little odd as I copied the original copyright notice of pam_limits.c. Any suggestions for improvement are welcome. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@162 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Fix up Makefile.in so that we don't lose testsDhaval Giani2008-08-141-0/+3
| | | | | | | Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@155 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Change compiler to GCCDhaval Giani2008-08-141-1/+1
| | | | | | | | | | For some reason these changes got lost. Making the change again. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@139 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* cgclassify: A command line tool to classify/re-classify already running taskDhaval Giani2008-08-131-3/+8
| | | | | | | | | | | | | | | | | | | | | | | From: Vivek Goyal <vgoyal@redhat.com> o cgclassify, a command line tool to put a list of pids to the right cgroup based on rules in /etc/cgrules.conf. It can be mainly used for reclassification of tasks which are already running. Can think of two use cases. - During initial bootup, after cgroups are mounted, one needs to move tasks (started beofore cgroups were mounted) into right cgroup. - Once can choose to reclassify the tasks if admin has changed the rules and thinks a group of tasks should reclassified based on new rules. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@138 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* cgexec: A command line tool to execute a task in a cgroupDhaval Giani2008-08-131-3/+8
| | | | | | | | | | | | | | From: Vivek Goyal <vgoyal@redhat.com> o cgexec, a command line tool for placing the task in right cgroup in advance so that no help is needed from rules daemon and user can avoid delay in execution of rules. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@137 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Configuration and parsing updates (v2)Dhaval Giani2008-08-131-11/+11
| | | | | | | | | | | | | | | | | | | | | 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
* libcgroup: Change compiler to gcc in Makefile.inDhaval Giani2008-08-121-1/+1
| | | | | | | Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@128 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* libcgroup: Ensure global data is protectedDhaval Giani2008-07-211-1/+1
| | | | | | | | | | | Add rwlock to ensure access to cg_mount_table is serialized. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Cc: Vivek Goyal <vgoyal@redhat.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@110 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* From: Sudhir Kumar <skumar@linux.vnet.ibm.com>Dhaval Giani2008-07-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | libcgroup: framework for libcgroup testcases This Patch creates the basic infrastructure for libcgroup testcases. This patch adds a script which runs the binary(C) file. The script does all the environment setup to run the tests and passes this info to the C file through command line arguments. The binary runs the test cases calling the API's in different environment conditions. The Makefile compiles the test. The top level Makefile.in is edited to support make test make testclean The script runs this binary total 3 times, each time with diff varaible. FS_MOUNTED=0 # cgroup fs not mounted FS_MOUNTED=1 # cgroup fs mounted FS_MOUNTED=2 # cgroup fs mounted at multiple points Signed-off-by: Sudhir Kumar <skumar@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@87 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* Missed some files while trying to commit the test cases to trunk.Dhaval Giani2008-07-011-4/+0
| | | | | | | | | Reverting that change, and trying again. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@86 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* From: Sudhir Kumar <skumar@linux.vnet.ibm.com>Dhaval Giani2008-07-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | libcgroup: framework for libcgroup testcases This Patch creates the basic infrastructure for libcgroup testcases. This patch adds a script which runs the binary(C) file. The script does all the environment setup to run the tests and passes this info to the C file through command line arguments. The binary runs the test cases calling the API's in different environment conditions. The Makefile compiles the test. The top level Makefile.in is edited to support make test make testclean The script runs this binary total 3 times, each time with diff varaible. FS_MOUNTED=0 # cgroup fs not mounted FS_MOUNTED=1 # cgroup fs mounted FS_MOUNTED=2 # cgroup fs mounted at multiple points Signed-off-by: Sudhir Kumar <skumar@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@85 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* Fix api.c warnings, include wrapper.c in Makefile. More changes toBalbir Singh2008-05-301-2/+3
| | | | | | | | | | | spec file based on bugzilla input. Removed %makeinstall 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/tags/v0.1b@67 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* Change the name from cgroup -> libcgroupBalbir Singh2008-05-291-2/+3
| | | | | | | Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/tags/v0.1b@62 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* Moving away from the install-sh model and removed AC_PROG_INSTALLBalbir Singh2008-05-241-2/+2
| | | | | | | | Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/tags/v0.1b@54 4f4bb910-9a46-0410-90c8-c897d4f1cd53
* Add v0.1b tagBalbir Singh2008-05-241-0/+59
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/tags/v0.1b@49 4f4bb910-9a46-0410-90c8-c897d4f1cd53