You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(22) |
Sep
(30) |
Oct
(15) |
Nov
(5) |
Dec
(71) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(16) |
Feb
(43) |
Mar
(7) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(12) |
Apr
(1) |
May
(10) |
Jun
(9) |
Jul
(4) |
Aug
(6) |
Sep
(8) |
Oct
(5) |
Nov
(10) |
Dec
(9) |
2011 |
Jan
(3) |
Feb
(4) |
Mar
(8) |
Apr
(5) |
May
(4) |
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(3) |
Oct
|
Nov
(3) |
Dec
(2) |
2012 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
(14) |
Jun
(3) |
Jul
(3) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2013 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
(1) |
May
(6) |
Jun
(3) |
Jul
(5) |
Aug
|
Sep
(6) |
Oct
(4) |
Nov
(4) |
Dec
|
2014 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(4) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
From: Jan S. <jsa...@us...> - 2015-12-09 13:23:40
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 2186c97f60df7efe86ddadd5e3d9d36dd4923b98 (commit) via 1bce3ab63968022e97599bbd73ec1a66aacf45bc (commit) from 691430206f1104b752b0e52386f317e639137788 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 2186c97f60df7efe86ddadd5e3d9d36dd4923b98 Author: Nikola Forró <nf...@re...> Date: Tue Dec 8 17:09:08 2015 +0100 api.c: change cgroup of every thread of a process When changing cgroup of multi-threaded process, only the main threads cgroup actually changed. Now all threads of a process are enumerated and cgroup is changed for each of them. commit 1bce3ab63968022e97599bbd73ec1a66aacf45bc Author: Nikola Forró <nf...@re...> Date: Tue Dec 8 16:53:41 2015 +0100 api.c: fix infinite loop If getgrnam or getpwuid functions failed, the program entered an infinite loop, because the rule pointer was never advanced. This is now fixed by updating the pointer before continuing to the next iteration. ----------------------------------------------------------------------- Summary of changes: src/api.c | 34 +++++++++++++++++++++++++++------- 1 files changed, 27 insertions(+), 7 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Jan S. <jsa...@us...> - 2014-09-15 13:34:03
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 691430206f1104b752b0e52386f317e639137788 (commit) from 204bc8c27e50fb7a43d7a9b9ccb3b91a8eda563e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 691430206f1104b752b0e52386f317e639137788 Author: Jan Chaloupka <jch...@re...> Date: Mon Sep 15 13:29:39 2014 +0200 api.c: support for setting multiline values in control files As of now, libcgroup does not support multiline values setting from configuration files. i.e. values in a form: net_prio.ifpriomap="lo 7 eth0 66 eth1 5 eth2 4 eth3 3"; Thus, setting of more network interfaces can not be done from configuration file. Or devices.allow="a *:* w c 8:* r"; thus setting list of allow devices can not be set as well. The only way is to set it from userspace, e.g.: # echo "lo 7" > /sys/fs/cgroup/net_prio/testGroup/net_prio.ifpriomap # echo "eth 0" > /sys/fs/cgroup/net_prio/testGroup/net_prio.ifpriomap # echo "eth 1" > /sys/fs/cgroup/net_prio/testGroup/net_prio.ifpriomap # echo "eth 2" > /sys/fs/cgroup/net_prio/testGroup/net_prio.ifpriomap # echo "eth 3" > /sys/fs/cgroup/net_prio/testGroup/net_prio.ifpriomap This patch allows setting of multiline variables. How this support works: Multiline value is broken in lines and each line is set by write (man 2 write) syscall (without bufferring). This implies change of fopen with open, fclose with close. There is no control on multiline value, thus "eth0\n \t\n" can be set. However, setting of " \t" will fail as write command returns -1. Thus administrator has to set correct multiline values. Tested on virtual machine with fedora and rhel with network interface lo, eth0-eth3. Configuration file: # cat /etc/cgconfig.conf group testGroup { net_prio { net_prio.ifpriomap="lo 7 eth0 66 eth1 5 eth2 4 eth3 3"; } } net_prio has to be created before: # modprobe netprio_cgroup # mkdir /sys/fs/cgroup/net_prio # mount -t cgroup -onet_prio none /sys/fs/cgroup/net_prio Changelog: test of success of strdup call free str_val before return (str_val is changing in while cycle, thus str_start_val points to the start of str_val before while) Signed-off-by: Jan Chaloupka <jch...@re...> ----------------------------------------------------------------------- Summary of changes: src/api.c | 50 ++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 44 insertions(+), 6 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Jan S. <jsa...@us...> - 2014-09-08 11:45:07
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 204bc8c27e50fb7a43d7a9b9ccb3b91a8eda563e (commit) from 03c332166df41ceb813dd18a9d109dca7f685c95 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 204bc8c27e50fb7a43d7a9b9ccb3b91a8eda563e Author: Jan Chaloupka <jch...@re...> Date: Mon Sep 8 13:28:18 2014 +0200 parse.y: extending cgroup names with "default" default is used as a keyword for defining default group permissions. Having "default" as a group name (with double quotes "), parsing is successfull. Howerver, using default without double quotes, parsing fails. This patch modifies parsing rule and lex for default group name without double quotes. Tested on: default { perm { task { uid = root; gid = rgel6610; fperm = 770; } admin { uid = root; gid = root; dperm = 775; fperm = 744; } } } group default { cpuset { cpuset.mems = 0; cpuset.cpus = 0; } } Signed-off-by: Jan Chaloupka <jch...@re...> Acked-by: Jan Safranek <jsa...@re...> ----------------------------------------------------------------------- Summary of changes: src/lex.l | 2 +- src/parse.y | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2014-08-15 12:14:20
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 03c332166df41ceb813dd18a9d109dca7f685c95 (commit) from 021c3b0e90679cc7abdb74faeec04d92a1e3a099 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 03c332166df41ceb813dd18a9d109dca7f685c95 Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Aug 15 16:11:45 2014 +0200 documentation: add examples to man pages This patch add examples and missing info in file section libcgroup man pages. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Jan Chaloupka<jch...@re...> ----------------------------------------------------------------------- Summary of changes: doc/man/cgclassify.1 | 18 ++++++++++++++++++ doc/man/cgclear.1 | 21 ++++++++++++++++++++- doc/man/cgconfig.conf.5 | 5 +---- doc/man/cgconfigparser.8 | 14 ++++++++++++++ doc/man/cgcreate.1 | 11 +++++++++-- doc/man/cgdelete.1 | 8 +++++++- doc/man/cgred.conf.5 | 2 +- doc/man/cgrulesengd.8 | 24 +++++++++--------------- doc/man/cgset.1 | 11 +++++++++++ doc/man/cgsnapshot.1 | 15 ++++++++++++++- doc/man/lscgroup.1 | 15 +++++++++++++++ 11 files changed, 119 insertions(+), 25 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2014-07-31 09:52:59
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 021c3b0e90679cc7abdb74faeec04d92a1e3a099 (commit) from 6ac3bd9b9d9873c49478334a41b13243771dd9af (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 021c3b0e90679cc7abdb74faeec04d92a1e3a099 Author: Anton Khirnov <an...@kh...> Date: Thu Jul 31 11:50:34 2014 +0200 cgroup_config_create_template_group: fix inverted error check. The aux_cgroup pointer will be NULL when an error occurs, but the check is for it being non-NULL. Signed-off-by: Anton Khirnov <an...@kh...> Acked-by: Dhaval Giani <dha...@gm...> ----------------------------------------------------------------------- Summary of changes: src/config.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2014-07-31 09:42:11
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 6ac3bd9b9d9873c49478334a41b13243771dd9af (commit) via 713a2d63296c24e8a6bf546ac24efcdd32f47e3f (commit) from 8012db9e81afc68f3e74dfe42e0d7ed0c1aa442c (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 6ac3bd9b9d9873c49478334a41b13243771dd9af Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Jul 31 11:40:00 2014 +0200 cgcreate: use "*" character as a meta character for all mounted controllers This patch adds the possibility to use meta character "*" as a shortcut for all mounted controllers. This meta character can be used in "-g" option. For example: $ cgcreate -g *:first -g cpu:second $ lssubsys cpuset:/ cpuset:/first cpu,cpuacct:/ cpu,cpuacct:/first cpu,cpuacct:/second memory:/ memory:/first devices:/ devices:/first freezer:/ freezer:/first net_cls,net_prio:/ net_cls,net_prio:/first blkio:/ blkio:/first perf_event:/ perf_event:/first hugetlb:/ hugetlb:/first Signed-off-by: Ivana Hutarova Varekova <var...@re...> Reviewed-by: Jan Chaloupka <jch...@re...> commit 713a2d63296c24e8a6bf546ac24efcdd32f47e3f Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Jul 31 11:37:26 2014 +0200 api.c: add cgroup_add_all_controllers function cgroup_add_all_controllers function attach all mounted controllers to a given cgroup. This function just modifies internal libcgroup structure, not the kernel control group. input parameter: cgroup output parameter: zero or error number Signed-off-by: Ivana Hutarova Varekova <var...@re...> Reviewed-by: Jan Chaloupka <jch...@re...> ----------------------------------------------------------------------- Summary of changes: doc/man/cgcreate.1 | 3 +- include/libcgroup/groups.h | 10 ++++++++ src/libcgroup.map | 7 ++++++ src/tools/cgcreate.c | 32 +++++++++++++++++++-------- src/wrapper.c | 50 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 91 insertions(+), 11 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2014-07-31 09:29:58
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 8012db9e81afc68f3e74dfe42e0d7ed0c1aa442c (commit) via f0356d97e69f0eb993e72b38829c91e10b927a4a (commit) from 1cf69a968c753b42d7cf816f129a2962f5f87a2a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8012db9e81afc68f3e74dfe42e0d7ed0c1aa442c Author: Jan Chaloupka <jch...@re...> Date: Thu Jul 31 11:23:08 2014 +0200 cgrules.d: new man page This patch contains new man page for cgrules.d directory and corresponding update of existing man pages. It describes the way additional configuration files should be created and potential conflicts resulting from an arbitrary order or reading files in the directory. Changelog: * line wrapping (max to 80 characters) * hiearchy typo corrected * diffrent typo corrected * succesfully typo corrected * /etc/cgconfig.conf added into FILES section * formulation of advice for creating rules updated. Is it enough or still confusing? If so, can you be more specific? * reformulation of the first and the second paragraph Signed-off-by: Jan Chaloupka <jch...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit f0356d97e69f0eb993e72b38829c91e10b927a4a Author: Jan Chaloupka <jch...@re...> Date: Thu Jul 31 11:21:19 2014 +0200 api.c: Adding support for loading configuration files from cgrules.d directory Implementation of loading rules from /etc/cgrules.d/. Explanation is in the cover letter. New function cgroup_parse_rules_file created, calling cgroup_parse_rules. cgroup_parse_rules is invoked only in cgroup_change_cgroup_flags, cgroup_init_rules_cache and cgroup_reload_cached_rules functions. For them the change in cgroup_parse_rules implementation is transpart. Tested with two configuration files in /etc/cgrules.d/ and all rules in /etc/cgrules.conf commented out: $ cat /etc/cgrules.conf #*:ls cpu strom/%u #*:sleep memory les/%g $ cat /etc/cgrules.d/cgrules1.conf *:ls cpu strom/%u $ cat /etc/cgrules.d/cgrules2.conf *:sleep memory les/%g plus cgconfig.[c|d/*] files: $ cat /etc/cgconfig.conf mount { cpuset = /cgroup/cpuset; cpu = /cgroup/cpu; cpuacct = /cgroup/cpuacct; memory = /cgroup/memory; devices = /cgroup/devices; freezer = /cgroup/freezer; net_cls = /cgroup/net_cls; blkio = /cgroup/blkio; } $ cat /etc/cgconfig.d/small.conf template strom/%u { cpu {} } group vetev { cpu {} } $ cat /etc/cgconfig.d/medium.conf template les/%g { memory {} } group drevo/listi { memory {} } Tested to cache reload as well by sending SIGUSR2 signal to running cgrulesengd process. After first reload I commented out all rules => no rules match after invoking ls command. After second reload I uncommented out ls rule => rule match after invoking ls command. After third reload I uncommented out ls and sleep rule => debug output of cgrulesengd shows both rules loaded in the cache Changelog: * CGROUP_PARSE_STATE_UNLOCK removed * reformulation of comment to "Cannot read directory. However, CGRULES_CONF_FILE is succesfully parsed. Thus return as a success for back compatibility." * errno = 0 removed, once it is not zero, function returns, so need to set it to 0 in every iteration * fprintf replaced by cgroup_err * added missing unlocks + new label unlock_list for all returns This - * finds a rule matching the given UID or GID. It will store this rule in rl, + * finds a rule matching the given UID or GID. It will store this rule in trl, is valid correction. "It will store this rule in rl" talks about cache being disabled. In this case, it is stored into trl. Signed-off-by: Jan Chaloupka <jch...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- Summary of changes: doc/man/cgrules.conf.5 | 14 +++- doc/man/cgrules.d.5 | 50 ++++++++++++++ doc/man/cgrulesengd.8 | 20 ++++-- src/api.c | 159 ++++++++++++++++++++++++++++++++++++++++++---- src/libcgroup-internal.h | 1 + 5 files changed, 223 insertions(+), 21 deletions(-) create mode 100644 doc/man/cgrules.d.5 hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2014-07-31 08:43:13
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 1cf69a968c753b42d7cf816f129a2962f5f87a2a (commit) from cbc128354ed6c6f4d9c5b9f3628fe8a13bd9ddbf (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1cf69a968c753b42d7cf816f129a2962f5f87a2a Author: Weng Meiling <wen...@hu...> Date: Thu Jul 31 10:30:51 2014 +0200 cgdelete: fix the display problem When multi subsystems mounted on one place like this: $ lssubsys -m cpu,cpuacct /cgroup/cpu $ lscgroup cpu,cpuacct:/ cpu,cpuacct:/test if we delete the cgroup with the cgdelete -g, and specifying multi controllers like this: $ cgdelete -g cpu,cpuacct:test or $ cgdelete -g cpu:test -g cpuacct:test it will report error: cgdelete: cannot remove group 'test': No such file or directory this patch fix the problem. v1 -> v2 - make cgdelete -g cpu:/test -g cpu:test failed. v2 -> v3 - make cgdelete -g cpu:test -g cpu:test1 ok. v3 -> v4 - make cgdelete -g cpuacct:test -g cpu:test -g cpuacct:test failed. - add some comments - fix the uninitialized warning v4 -> v5 (created by Ivana Hutarova Varekova, acked by Weng Meiling) - make cgdelete -g cpuacct:test -g cpu:test -g cpu:test failed - join extended cgroup list variables to one record, do the list dynamic (static version can exceed the given limit and the safe static limit is quite high) Signed-off-by: Weng Meiling <wen...@hu...> Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Weng Meiling <wen...@hu...> Acked-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- Summary of changes: src/tools/cgdelete.c | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 125 insertions(+), 0 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2014-06-19 13:02:01
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via cbc128354ed6c6f4d9c5b9f3628fe8a13bd9ddbf (commit) via 21cff76b2b233e9194fbd6608db779c0ac28a135 (commit) via 60f7e1a765acdcae269938795bdfb81ea1ce9485 (commit) via 4dd7869510538fd9681a43f7a9061bbf2e73fab4 (commit) from 5e283b0abc9f8bcf51d1b7f137e89cda2002a909 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit cbc128354ed6c6f4d9c5b9f3628fe8a13bd9ddbf Author: Jan Chaloupka <jch...@re...> Date: Thu Jun 19 11:42:14 2014 +0200 manpages: update of manpages for loading configuration Manual pages for new functionality. Because loading files from directory is already implemented in cgconfig tool, there is nothing new. cgrulesengd reads only templates from given files. Rules for writing templates are already specified. Signed-off-by: Jan Chaloupka <jch...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit 21cff76b2b233e9194fbd6608db779c0ac28a135 Author: Jan Chaloupka <jch...@re...> Date: Thu Jun 19 11:39:37 2014 +0200 Makefile: update for cgruleseng.d Makefiles Modification of makefiles. cgrulesengd.c uses new functions for loading files from /etc/cgconfig.d/. Thus there is a dependency on tools-common.[c|h] files. Unfortunatelly they are in ../tools directory, adding dependency on files in a diffrent directory but on the same level. Makefile.in is regenerated from Makefile.am using autoreconf -ivf. Tested on my local machine, all files are loaded properly, cgrulesengd properly creates groups based on templates from files from /etc/cgconfig.d/. Signed-off-by: Jan Chaloupka <jch...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit 60f7e1a765acdcae269938795bdfb81ea1ce9485 Author: Jan Chaloupka <jch...@re...> Date: Thu Jun 19 11:04:26 2014 +0200 cgrulesengd.c: loading of multiples files during init/reload This patch use new implementation. In cgrulesengd.c, static variable template_files is used to save all config files, i.e. /etc/cgconfig.conf and /etc/cgconfig.d/*. This list of files is then passed to cgroup_templates_cache_set_source_files, which saves files to template_files in config.c module. This list is accessed through invocation of cgroup_init_templates_cache_from_files and cgroup_reload_templates_cache_from_files, which can access variables only from config.c, thus presenting cgroup_templates_cache_set_source_files function. At the end, this list is set free. Signed-off-by: Jan Chaloupka <jch...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit 4dd7869510538fd9681a43f7a9061bbf2e73fab4 Author: Jan Chaloupka <jch...@re...> Date: Thu Jun 19 10:34:32 2014 +0200 config.c: loading templates from multiple files into one template table This patch implements loading files from /etc/cgconfig.d/. It uses already implemented functions. To hold list of files to be read for template reloading, new static variable for this list (list of template files) has been added to config.c. It is the same list as file list read with cgconfigparser (cgconfig.c file), i.e. the same functions are called. Because parser reads only one file, it is called for each file in template file list. Thus initialization, resp. template duplication has to be called before, resp. after each file parsing. Thus new functions has been presented, thus modifying config.[h|c] api and libcgroup.map. Again parsing more files for templates is analogy to parsing files for groups in cgconfig.c. cgroup_load_cached_templates_from_file is a modification of cgroup_reload_cached_templates and cgroup_init_templates_cache. Only for loop and auxiliary variables added. Changelog: Description of config.h updated. [init|reload] replaced by load TEMPLATE_ACTION_[INIT|RELOAD] removed Instead of returning error on uninitialized list of template files, CGCONFIG_CONF_FILE with old cgroup_[init|reload]_templates_cache functions is called. cgroup_config_create_template_group reports which template file caused unsuccesfull loading of template files Signed-off-by: Jan Chaloupka <jch...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- Summary of changes: doc/man/cgconfig.conf.5 | 7 ++- doc/man/cgrulesengd.8 | 8 ++- include/libcgroup/config.h | 21 +++++ src/config.c | 181 ++++++++++++++++++++++++++++++++++++++++++-- src/daemon/Makefile.am | 4 +- src/daemon/cgrulesengd.c | 51 +++++++++++-- src/libcgroup-internal.h | 3 + src/libcgroup.map | 5 + src/tools/tools-common.h | 2 +- 9 files changed, 264 insertions(+), 18 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2014-04-04 08:05:34
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 5e283b0abc9f8bcf51d1b7f137e89cda2002a909 (commit) from c10dc029b3e621a5cc41829f54582cc4eaa1fbae (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5e283b0abc9f8bcf51d1b7f137e89cda2002a909 Author: Weng Meiling <wen...@hu...> Date: Fri Apr 4 09:58:20 2014 +0200 There is a situation when moving a task from child cgroup to parent cgroup, the task exited. This will lead to service cgconfig start failed. So ignore the error ESRCH. Signed-off-by: Weng Meiling <wen...@hu...> Acked-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- Summary of changes: src/api.c | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2014-03-10 16:58:03
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via c10dc029b3e621a5cc41829f54582cc4eaa1fbae (commit) from 1b6f037118cf29e641bed1215b9a7c8ad6ee693a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c10dc029b3e621a5cc41829f54582cc4eaa1fbae Author: Jan Chaloupka <jch...@re...> Date: Mon Mar 10 18:50:57 2014 +0100 lex: add \ character into regexp for ID token Having virtual machine up, group name contains \ character after cgsnapshot output. lex.l does not consider this case. For example: group machine.slice/machine-qemu\x2drhel6.4.scope {...} Adding \ character into regexp for ID token resolves this problem. Signed-off-by: Jan Chaloupka <jch...@re...> Acked-by: Dhaval Giani <dha...@gm...> ----------------------------------------------------------------------- Summary of changes: src/lex.l | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2014-01-13 14:05:03
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The tag, v0.41 has been created at 1b6f037118cf29e641bed1215b9a7c8ad6ee693a (commit) - Log ----------------------------------------------------------------- commit 1b6f037118cf29e641bed1215b9a7c8ad6ee693a Author: Ivana Hutarova Varekova <var...@re...> Date: Mon Jan 13 15:48:09 2014 +0100 Release v0.41 Signed-off-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2014-01-13 13:58:02
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 1b6f037118cf29e641bed1215b9a7c8ad6ee693a (commit) from 99f27e68bdc8f5813cf42d764f57484897a0b39f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1b6f037118cf29e641bed1215b9a7c8ad6ee693a Author: Ivana Hutarova Varekova <var...@re...> Date: Mon Jan 13 15:48:09 2014 +0100 Release v0.41 Signed-off-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- Summary of changes: configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-11-27 12:20:32
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The tag, v0.41.rc1 has been created at 99f27e68bdc8f5813cf42d764f57484897a0b39f (commit) - Log ----------------------------------------------------------------- commit 99f27e68bdc8f5813cf42d764f57484897a0b39f Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Nov 21 18:37:40 2013 +0100 v0.40.rc1 releasing v0.40.rc1 This is bugfixing release. List of all patches: Ivana Hutarova Varekova (37): fix permissions of logger.sh cgroup_get_cgroup: remove bogus comment fix template function to copy template groups properly documentation: fix cgroup_copy cgroup description config.c: better detect whether template group already is created parse: fix template parsing lex: suppress useless warning message during compilation create_cgroup_from_name_value_pairs can't deal n/v pairs from the same controller cgsnapshot: don't display mountpoints which are not wanted cgclassify: polish usage function cgclassify: unify help output cgclear: polish usage function cgconfig: polish usage function cgclear: unify help output cgconfig: unify the help output cgcreate: polish usage function cgdelete: polish usage function cgdelete: unification of usage function output cgexec: polish usage function cgexec: unify the help output cgget: polish usage function cgset: polish usage function cgsnapshot: polish usage function cgsnapshot: unify help output lscgroup: polish usage function lscgroup: unify help output lssubsys: polish usage function lssubsys: unify help output cgroup_init: stop mntopt parsing if there is a bug in named hierarchy cgroup_copy_with_slash: two typos cgroup_get_current_controller_path: test whether strtok_r returns NULL cgroup_config_create_template_group: fix strncpy limits cgroup_config_create_template_group: test the right variable cgroup_{reload|init}_cached_templates:memory leaks cgroup_create_cgroup: write error on fail cgconfig.conf: enable sign "@" in cgroup name bindings: remove -nostdinc compiler option Libo Chen (8): log.h: add head file <stdarg.h> cgcreate: add err check cgconfig: add err check cgconfig: fix the excursive processing cgconfig: add parameter check cgconfig: correct freeing default_cgroup cgconfig: add check and nonzero cgconfig: change function usage behavior Peter Schiffer (8): Use cache when reading /etc/passwd file Cgred service won't start if /etc/cgrules.conf is missing Typo in debug message in cgexec.c file Incorrect cast Invalid reallocation of config_table in config_insert_cgroup() Templates letter case is switched Use cache when calling cgroup_change_cgroup_flags() Variable procname leaks Weng Meiling (6): cgsnapshot: fix the print message when use cgsnapshot with -f when we use cgsnapshot with the given controller, the result always displays the last mounted controller which is not specified, so fix it. It's more readable and friendly to use the enum value instead of number. cgclassify: use the error message instead of error number cgred:cgred should start when cgroup is mounted cgcreate: fix the wrong uid/gid set. ----------------------------------------------------------------------- hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-11-21 16:49:44
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 99f27e68bdc8f5813cf42d764f57484897a0b39f (commit) from f816623cb446a90595762f8722814b1b302b17ee (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 99f27e68bdc8f5813cf42d764f57484897a0b39f Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Nov 21 18:37:40 2013 +0100 v0.40.rc1 releasing v0.40.rc1 This is bugfixing release. List of all patches: Ivana Hutarova Varekova (37): fix permissions of logger.sh cgroup_get_cgroup: remove bogus comment fix template function to copy template groups properly documentation: fix cgroup_copy cgroup description config.c: better detect whether template group already is created parse: fix template parsing lex: suppress useless warning message during compilation create_cgroup_from_name_value_pairs can't deal n/v pairs from the same controller cgsnapshot: don't display mountpoints which are not wanted cgclassify: polish usage function cgclassify: unify help output cgclear: polish usage function cgconfig: polish usage function cgclear: unify help output cgconfig: unify the help output cgcreate: polish usage function cgdelete: polish usage function cgdelete: unification of usage function output cgexec: polish usage function cgexec: unify the help output cgget: polish usage function cgset: polish usage function cgsnapshot: polish usage function cgsnapshot: unify help output lscgroup: polish usage function lscgroup: unify help output lssubsys: polish usage function lssubsys: unify help output cgroup_init: stop mntopt parsing if there is a bug in named hierarchy cgroup_copy_with_slash: two typos cgroup_get_current_controller_path: test whether strtok_r returns NULL cgroup_config_create_template_group: fix strncpy limits cgroup_config_create_template_group: test the right variable cgroup_{reload|init}_cached_templates:memory leaks cgroup_create_cgroup: write error on fail cgconfig.conf: enable sign "@" in cgroup name bindings: remove -nostdinc compiler option Libo Chen (8): log.h: add head file <stdarg.h> cgcreate: add err check cgconfig: add err check cgconfig: fix the excursive processing cgconfig: add parameter check cgconfig: correct freeing default_cgroup cgconfig: add check and nonzero cgconfig: change function usage behavior Peter Schiffer (8): Use cache when reading /etc/passwd file Cgred service won't start if /etc/cgrules.conf is missing Typo in debug message in cgexec.c file Incorrect cast Invalid reallocation of config_table in config_insert_cgroup() Templates letter case is switched Use cache when calling cgroup_change_cgroup_flags() Variable procname leaks Weng Meiling (6): cgsnapshot: fix the print message when use cgsnapshot with -f when we use cgsnapshot with the given controller, the result always displays the last mounted controller which is not specified, so fix it. It's more readable and friendly to use the enum value instead of number. cgclassify: use the error message instead of error number cgred:cgred should start when cgroup is mounted cgcreate: fix the wrong uid/gid set. ----------------------------------------------------------------------- Summary of changes: configure.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-11-21 13:51:40
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via f816623cb446a90595762f8722814b1b302b17ee (commit) from e9b2de289163327c229f095b53b44c0767d60e38 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f816623cb446a90595762f8722814b1b302b17ee Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Nov 21 14:50:25 2013 +0100 Revert "'make dist' command compiles "bindings" directory content even if bindings are not enabled in configuration file." This reverts commit e9b2de289163327c229f095b53b44c0767d60e38. It is necessary becouse of binding tools can be used in some versions. ----------------------------------------------------------------------- Summary of changes: src/Makefile.am | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-11-18 09:40:38
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via e9b2de289163327c229f095b53b44c0767d60e38 (commit) via 25e5c3289b737aa1100abae282b56e8ee5d5ccd0 (commit) from 5d1037b399cdc6f789d0f6e29b44000bd38f504a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e9b2de289163327c229f095b53b44c0767d60e38 Author: Ivana Hutarova Varekova <var...@re...> Date: Mon Nov 18 11:29:27 2013 +0100 'make dist' command compiles "bindings" directory content even if bindings are not enabled in configuration file. This patch fix it. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Jan Safranek <jsa...@re...> commit 25e5c3289b737aa1100abae282b56e8ee5d5ccd0 Author: Ivana Hutarova Varekova <var...@re...> Date: Mon Nov 18 11:25:02 2013 +0100 bindings: remove -nostdinc compiler option stdarg.h header file is now (libstdc++-devel-4.6.3) in libctdc++ package, thus compilation of bindings failed: ../../include/libcgroup/log.h:12:20: fatal error: stdarg.h: No such file or directory Thus -nostdinc compiler option have to be removed. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Jan Safranek <jsa...@re...> ----------------------------------------------------------------------- Summary of changes: src/Makefile.am | 1 + src/bindings/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-10-31 04:56:34
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 5d1037b399cdc6f789d0f6e29b44000bd38f504a (commit) via 4c45064939193df4c043f77ecb95cdee6af23a69 (commit) via fe048b0dfe8990eda071ac14ad9575c0fc30eeaa (commit) from 721e42a9cc7a5648a50b02aa6fe37137efd93243 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5d1037b399cdc6f789d0f6e29b44000bd38f504a Author: Ivana Hutarova Varekova <var...@re...> Date: Wed Oct 30 14:26:42 2013 +0100 cgconfig.conf: enable sign "@" in cgroup name This patch enables to have "@" sign in cgroup name in cgconfig.conf as well. It is because of systemd, which uses sign "@" to separate the template name from the instance identifier in its cgroup names. For example: systemd-fsck@.service. Without this patch, it's not possible to use these names in cgconfig.conf file. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Peter Schiffer <psc...@re...> commit 4c45064939193df4c043f77ecb95cdee6af23a69 Author: Ivana Hutarova Varekova <var...@re...> Date: Wed Oct 30 14:21:33 2013 +0100 cgroup_create_cgroup: write error on fail In the current version cgroup_create_cgroup returns warning if it fails and can't set some variable. Thus on default configuration there is no information about the problem. This situation happens if the cgconfigparser reads cgconfig.conf. The error message where is the problem is very useful in this case. The patch do the message visible in standard configuration. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Peter Schiffer <psc...@re...> commit fe048b0dfe8990eda071ac14ad9575c0fc30eeaa Author: Ivana Hutarova Varekova <var...@re...> Date: Wed Oct 30 14:17:15 2013 +0100 cgroup_{reload|init}_cached_templates:memory leaks cgroup_{reload|init}_cached_templates does not free memory if no template is set. This patch fix the problem. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Peter Schiffer <psc...@re...> ----------------------------------------------------------------------- Summary of changes: src/api.c | 4 ++-- src/config.c | 13 +++++++++++-- src/lex.l | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-10-25 15:15:18
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 721e42a9cc7a5648a50b02aa6fe37137efd93243 (commit) from 9a5be0d9530a81c386ddd3ddaa264d3e04e6b1fd (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 721e42a9cc7a5648a50b02aa6fe37137efd93243 Author: Peter Schiffer <psc...@re...> Date: Fri Oct 25 17:07:43 2013 +0200 Variable procname leaks Variable procname in cgroup_change_all_cgroups() function is leaking. This patch fixes the problem. Signed-off-by: Peter Schiffer <psc...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- Summary of changes: src/api.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-10-14 07:03:31
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 9a5be0d9530a81c386ddd3ddaa264d3e04e6b1fd (commit) via 83248a9edad920e1ceb879bc26ef155a9554617c (commit) via 5c012978a3b82b6c959dddd3918c65d864995aaf (commit) via bdb79e10902eb4582a87002df052a15d23a063ee (commit) via 0e1874e542efda299a5d4ca78d2d50d132d7220c (commit) from 14c2cae7f387eb4d1ffd5f4c8f45e73a33e4ce9b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9a5be0d9530a81c386ddd3ddaa264d3e04e6b1fd Author: Peter Schiffer <psc...@re...> Date: Mon Oct 14 08:49:34 2013 +0200 Use cache when calling cgroup_change_cgroup_flags() When system contains cgrules.conf file with few thousand rules, cgroup_change_cgroup_flags() function without CGFLAG_USECACHE flag is very slow. As Ivana pointed out, cgexec and cgclassify tools might have problems with cache reloading, so I've removed them from the patch for now. Currently, the patch affects only cgrulesengd daemon. Testing was done with approximately 4000 users, rules in cgrules.conf file and same amount of entries in cgconfig.conf. Without the CGFLAG_USECACHE the cgrulesengd is starting for about 15 - 20 minutes (this is because of cgroup_change_all_cgroups() function, which scans all running processes on cgrulesengd start). Signed-off-by: Peter Schiffer <psc...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit 83248a9edad920e1ceb879bc26ef155a9554617c Author: Peter Schiffer <psc...@re...> Date: Mon Oct 14 08:43:24 2013 +0200 Templates letter case is switched Man page cgrules.conf(5) says: %u username, uid if name resolving fails %U uid %g group name, gid if name resolving fails %G gid %p process name, pid if name not available %P pid However, in cgroup_change_cgroup_flags() function, the letter case is switched. This patch fixes the problem. Signed-off-by: Peter Schiffer <psc...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit 5c012978a3b82b6c959dddd3918c65d864995aaf Author: Peter Schiffer <psc...@re...> Date: Mon Oct 14 06:48:06 2013 +0200 Invalid reallocation of config_table in config_insert_cgroup() There's invalid reallocation of config_table variable in config_insert_cgroup() function. Signed-off-by: Peter Schiffer <psc...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit bdb79e10902eb4582a87002df052a15d23a063ee Author: Peter Schiffer <psc...@re...> Date: Mon Oct 14 06:45:10 2013 +0200 Incorrect cast This patch fixes incorrect cast in cgclassify.c file. Signed-off-by: Peter Schiffer <psc...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit 0e1874e542efda299a5d4ca78d2d50d132d7220c Author: Peter Schiffer <psc...@re...> Date: Mon Oct 14 06:41:38 2013 +0200 Typo in debug message in cgexec.c file This patch fixes typo in debug message. Signed-off-by: Peter Schiffer <psc...@re...> Acked-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- Summary of changes: src/api.c | 15 ++++++++------- src/config.c | 14 ++++++++++++-- src/tools/cgclassify.c | 2 +- src/tools/cgexec.c | 2 +- 4 files changed, 22 insertions(+), 11 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-10-09 10:50:06
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 14c2cae7f387eb4d1ffd5f4c8f45e73a33e4ce9b (commit) via 4160df5ade917db3805222c7950b186853a2eafb (commit) via cde0c548d63abc758e9ba6520efe0d17e1267206 (commit) via 424b5d509fdddbdeda626bb2395032ece2e3e723 (commit) via 7d9705a5ca92ea25ceab780200109b60e0d27d6e (commit) from 4399023a9d19129459a19e863070f03aa8150ac0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 14c2cae7f387eb4d1ffd5f4c8f45e73a33e4ce9b Author: Ivana Hutarova Varekova <var...@re...> Date: Wed Oct 9 11:43:38 2013 +0200 cgroup_config_create_template_group: test the right variable cgroup_config_create_template_group tests the return value of bogus variable. This patch fix it. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Peter Schiffer <psc...@re...> Acked-by: Dhaval Giani <dha...@gm...> commit 4160df5ade917db3805222c7950b186853a2eafb Author: Ivana Hutarova Varekova <var...@re...> Date: Wed Oct 9 11:43:25 2013 +0200 cgroup_config_create_template_group: fix strncpy limits fix strncpy limits in cgroup_config_create_template_group function Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Peter Schiffer <psc...@re...> Acked-by: Dhaval Giani <dha...@gm...> commit cde0c548d63abc758e9ba6520efe0d17e1267206 Author: Ivana Hutarova Varekova <var...@re...> Date: Wed Oct 9 11:41:22 2013 +0200 cgroup_get_current_controller_path: test whether strtok_r returns NULL cgroup_get_current_controller_path should test whether strtok_r returns NULL before it continues. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Peter Schiffer <psc...@re...> Acked-by: Dhaval Giani <dha...@gm...> commit 424b5d509fdddbdeda626bb2395032ece2e3e723 Author: Ivana Hutarova Varekova <var...@re...> Date: Wed Oct 9 11:39:47 2013 +0200 cgroup_copy_with_slash: two typos Fix a typo when the '/' character is tested on the last but one position instead of the last. There have to be more allocated more memory in the same function. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Peter Schiffer <psc...@re...> Acked-by: Dhaval Giani <dha...@gm...> commit 7d9705a5ca92ea25ceab780200109b60e0d27d6e Author: Ivana Hutarova Varekova <var...@re...> Date: Wed Oct 9 11:14:36 2013 +0200 cgroup_init: stop mntopt parsing if there is a bug in named hierarchy cgroup_init should stop parsing of named hierarchy if there is a bug. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Peter Schiffer <psc...@re...> Acked-by: Dhaval Giani <dha...@gm...> ----------------------------------------------------------------------- Summary of changes: src/api.c | 10 ++++++---- src/config.c | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-09-27 05:31:26
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 4399023a9d19129459a19e863070f03aa8150ac0 (commit) from 9f8cf84c4653d0bc7ef4ce3738fb614e4994fe21 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4399023a9d19129459a19e863070f03aa8150ac0 Author: Weng Meiling <wen...@hu...> Date: Fri Sep 27 07:27:30 2013 +0200 cgcreate: fix the wrong uid/gid set. When setting the cgconfig.conf as follow: mount { memory = /cgroup/memory; } group . { perm { task { gid = w00227741; uid = w00227741; fperm =755; } admin { gid = w00227741; uid = w00227741; fperm =755; dperm = 755; } } memory { } } and restart the cgconfig service. Then switch to the user w00227741 and cgcreate cgroup like this: # lscgroup memory:/ # cgcreate -g memory:test cgcreate: can't create cgroup test: Operation not permitted the command report the error, but the cgroup test has created: # lscgroup memory:/ memory:/test this patch fix the problem. Signed-off-by: Weng Meiling <wen...@hu...> Acked-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- Summary of changes: src/api.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-09-27 05:23:56
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via 9f8cf84c4653d0bc7ef4ce3738fb614e4994fe21 (commit) via 459c4fc4ad63468db155f079e996856bf48e773d (commit) via 803bea008affda626529d2c577f6751f9b0de550 (commit) via f7ef4e1f884713caa43513e6c01fa1145af23ee7 (commit) via 9628c41885312ff8e60029479ce8c1695592f259 (commit) via ddef80605fd7d2cced9bea6e73202e3189ade77c (commit) via 8e806711f2580a32bf51598ba5abfae3a5901762 (commit) via 2b46fe6929070d18403a7804844ed6fb2813ce62 (commit) via fd6dbeb24615c61dc3bed8312909f06cb44399d2 (commit) via 77c921df53c74e1682d9802c19ad030a70079cc6 (commit) via 8eadd65f84af692bd6b004f956d409b0f55dbf4a (commit) via 19a1c26c417ba89384225f998e6d0d7473c2a115 (commit) via 3c895f6b880f1055726b97919bf26c65590b1a24 (commit) via 8ba8d70e983e45127c91426ce81cc87f6019dc20 (commit) via 8d252a52f5cff6768c74285fb5b26188da6daa3f (commit) via 1932d7e0801fa2d868577dcfb5ba8827f59bf0d9 (commit) via 7c8701d56d37a1724e34a1ba78cfc6dabc7670dc (commit) via b492050cbb4969ef15f866c01c9d64d166879884 (commit) via db49d083639fca1d2e80e951b1de04fb14fe3421 (commit) from a8b2b3cf044437fb1b0c33938a4ac25bf71a8cf6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9f8cf84c4653d0bc7ef4ce3738fb614e4994fe21 Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Sep 27 07:18:53 2013 +0200 lssubsys: unify help output lssubsys: unify help output * add missing options to syntax row * change the order of options (now in alphabetical order) Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 459c4fc4ad63468db155f079e996856bf48e773d Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Sep 27 07:18:43 2013 +0200 lssubsys: polish usage function This change is suggested by Dhaval Giani <dha...@gm...>. Polish "usage" function of lssubsys tool. Remove a level of indentation. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 803bea008affda626529d2c577f6751f9b0de550 Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Sep 27 07:18:23 2013 +0200 lscgroup: unify help output lscgroup: unify help output * use tabulators instead of spaces * at first describe the functionality and then describe options * use printf instead fprintf(stdout,..) Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit f7ef4e1f884713caa43513e6c01fa1145af23ee7 Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Sep 27 07:18:03 2013 +0200 lscgroup: polish usage function This change is suggested by Dhaval Giani <dha...@gm...>. Polish "usage" function of lscgroup tool. Remove a level of indentation. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 9628c41885312ff8e60029479ce8c1695592f259 Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Sep 27 07:17:52 2013 +0200 cgsnapshot: unify help output cgsnapshot: unify help output * use tabulators instead of spaces * change formulation * change fprintf(stdout,...) to printf() Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit ddef80605fd7d2cced9bea6e73202e3189ade77c Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Sep 27 07:17:19 2013 +0200 cgsnapshot: polish usage function This change is suggested by Dhaval Giani <dha...@gm...>. Polish "usage" function of cgsnapshot tool. Remove a level of indentation. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 8e806711f2580a32bf51598ba5abfae3a5901762 Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Sep 27 07:17:07 2013 +0200 cgset: polish usage function This change is suggested by Dhaval Giani <dha...@gm...>. Polish "usage" function of cgset tool. Remove a level of indentation. Use tabulators instead of spaces. Based on Jan's comment change typo display->set in -g description Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 2b46fe6929070d18403a7804844ed6fb2813ce62 Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Sep 27 07:11:19 2013 +0200 cgget: polish usage function This change is suggested by Dhaval Giani <dha...@gm...>. Polish "usage" function of cgget tool. Remove a level of indentation. Use printf instead of fprintf(stdout,...) Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit fd6dbeb24615c61dc3bed8312909f06cb44399d2 Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Sep 27 07:11:02 2013 +0200 cgexec: unify the help output cgexec: unify the help output - add -h option info Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 77c921df53c74e1682d9802c19ad030a70079cc6 Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Sep 27 07:10:21 2013 +0200 cgexec: polish usage function This change is suggested by Dhaval Giani <dha...@gm...>. Polish "usage" function of cgexec tool. Remove a level of indentation. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 8eadd65f84af692bd6b004f956d409b0f55dbf4a Author: Ivana Hutarova Varekova <var...@re...> Date: Fri Sep 27 07:09:56 2013 +0200 cgdelete: unification of usage function output cgdelete use spaces instead of tabulator use printf instead of fprintf(stdout,...) Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 19a1c26c417ba89384225f998e6d0d7473c2a115 Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Sep 26 19:30:04 2013 +0200 cgdelete: polish usage function This change is suggested by Dhaval Giani <dha...@gm...>. Polish "usage" function of cgdelete tool. Remove a level of indentation. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 3c895f6b880f1055726b97919bf26c65590b1a24 Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Sep 26 12:00:16 2013 +0200 cgcreate: polish usage function This change is suggested by Dhaval Giani <dha...@gm...>. Polish "usage" function of cgcreate tool. Remove a level of indentation. use printf instead of fprintf(stderr,...) Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 8ba8d70e983e45127c91426ce81cc87f6019dc20 Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Sep 26 11:59:32 2013 +0200 cgconfig: unify the help output Remove cgconfig input free row and change the output program name to standardize the output with the other libcgroup tools. sort options based on alphabetical order Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 8d252a52f5cff6768c74285fb5b26188da6daa3f Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Sep 26 11:58:39 2013 +0200 cgclear: unify help output cgclear: unify help output put the options to chronological order Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 1932d7e0801fa2d868577dcfb5ba8827f59bf0d9 Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Sep 26 11:57:26 2013 +0200 cgconfig: polish usage function This change is suggested by Dhaval Giani <dha...@gm...>. Polish "usage" function of cgconfig tool. Remove a level of indentation. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit 7c8701d56d37a1724e34a1ba78cfc6dabc7670dc Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Sep 26 11:57:06 2013 +0200 cgclear: polish usage function This change is suggested by Dhaval Giani <dha...@gm...>. Polish "usage" function of cgclear tool. Remove a level of indentation. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit b492050cbb4969ef15f866c01c9d64d166879884 Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Sep 26 11:56:33 2013 +0200 cgclassify: unify help output cgclassify: unify help output * -g option is optional * use the alphabetical order * add -h option description Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Dhaval Giani <dha...@gm...> Acked-by: Jan Safranek <jsa...@re...> commit db49d083639fca1d2e80e951b1de04fb14fe3421 Author: Ivana Hutarova Varekova <var...@re...> Date: Thu Sep 26 11:53:33 2013 +0200 cgclassify: polish usage function This change is suggested by Dhaval Giani <dha...@gm...>. Polish "usage function and remove a level of indentation. Signed-off-by: Ivana Hutarova Varekova <var...@re...> Acked-by: Jan Safranek <jsa...@re...> Acked-by: Dhaval Giani <dha...@gm...> ----------------------------------------------------------------------- Summary of changes: src/tools/cgclassify.c | 23 +++++++++++------------ src/tools/cgclear.c | 21 ++++++++++----------- src/tools/cgconfig.c | 42 ++++++++++++++++++++---------------------- src/tools/cgcreate.c | 34 ++++++++++++++-------------------- src/tools/cgdelete.c | 21 ++++++++++----------- src/tools/cgexec.c | 20 ++++++++++---------- src/tools/cgget.c | 39 ++++++++++++++++++--------------------- src/tools/cgset.c | 21 ++++++++++----------- src/tools/cgsnapshot.c | 31 ++++++++++++++----------------- src/tools/lscgroup.c | 15 +++++++-------- src/tools/lssubsys.c | 31 ++++++++++++------------------- 11 files changed, 136 insertions(+), 162 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-09-12 06:46:16
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via a8b2b3cf044437fb1b0c33938a4ac25bf71a8cf6 (commit) from e84f0c109e620c5d08a188f9ecc271955efc4590 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a8b2b3cf044437fb1b0c33938a4ac25bf71a8cf6 Author: Libo Chen <lib...@hu...> Date: Thu Sep 12 08:38:34 2013 +0200 cgconfig: change function usage behavior remove exit from function usage and add a structure like usage function in the other tools. This is suggested by Ivana Hutarova Varekova <var...@re...> now usage willn't exit, so we should help it in err case. v4: - fix some code style reported by checkpatch.pl Signed-off-by: Libo Chen <clb...@hu...> Acked-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- Summary of changes: src/tools/cgconfig.c | 61 ++++++++++++++++++++++++++++--------------------- 1 files changed, 35 insertions(+), 26 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |
From: Ivana H. V. <var...@us...> - 2013-09-10 06:40:17
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "This is the main upstream repository of the libcgroup project. All releases". The branch, master has been updated via e84f0c109e620c5d08a188f9ecc271955efc4590 (commit) via fcb15db1084d935929e803bdc40393f01a5f9031 (commit) via d238671c9e965a9c052e9abb18ce4facb9eddcbb (commit) via 2aacf774602fa1b972d97503036b935ffeed6be1 (commit) via b771e72888a9e52079ef4e763f2718413268b454 (commit) via cbf451388f562d40d8576b3884166ca620d4e655 (commit) via 8db6668c8d78d4d2072445c50596d4d8d981235b (commit) from 66d09a0941bf5cf73fdd56f696b35241b85faf49 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit e84f0c109e620c5d08a188f9ecc271955efc4590 Author: Libo Chen <lib...@hu...> Date: Tue Sep 10 08:29:17 2013 +0200 cgconfig: add check and nonzero 1. check return value of cgroup_string_list_init. 2. add nonzero for -a and -t v4: - add nonzero for cgroup_new_cgroup Signed-off-by: Libo Chen <clb...@hu...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit fcb15db1084d935929e803bdc40393f01a5f9031 Author: Libo Chen <lib...@hu...> Date: Tue Sep 10 08:27:05 2013 +0200 cgconfig: correct freeing default_cgroup We are freeing up default_cgroup even it has not be allocated, there is no need to do that. Yes, it is just a cleanup suggested by Dhaval Giani <dha...@gm...> Signed-off-by: Libo Chen <clb...@hu...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit d238671c9e965a9c052e9abb18ce4facb9eddcbb Author: Libo Chen <lib...@hu...> Date: Tue Sep 10 08:22:04 2013 +0200 cgconfig: add parameter check we should check invalite parameter, and then print a warning v3: - usage has changed, so no need of fprintf output v2: - change print info format. This is suggested by Dhaval Giani <dha...@gm...> Signed-off-by: Libo Chen <clb...@hu...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit 2aacf774602fa1b972d97503036b935ffeed6be1 Author: Libo Chen <lib...@hu...> Date: Tue Sep 10 08:18:32 2013 +0200 cgconfig: fix the excursive processing error and ret should be unified v4: - use error for cgroup_string_list_add_item goto err lable instead of exit Signed-off-by: Libo Chen <clb...@hu...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit b771e72888a9e52079ef4e763f2718413268b454 Author: Libo Chen <lib...@hu...> Date: Tue Sep 10 08:13:56 2013 +0200 cgconfig: add err check cgroup still can be created even if giving invalid -d,-f,-s parameter. e.g. cgconfigparser -d 888 -l /etc/cgconfig.conf "888" is invalid, but cgroup will be created. So we should exit when -d,-f or -s is invalid. v3: - add nonzero return value - use error instead of ret Signed-off-by: Libo Chen <clb...@hu...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit cbf451388f562d40d8576b3884166ca620d4e655 Author: Libo Chen <lib...@hu...> Date: Tue Sep 10 08:11:56 2013 +0200 cgcreate: add err check cgroup still can be created even if giving invalid -d,-f,-s parameter e.g. cgcreate -g cpu:/test -d 888 "888" is invalid, but test will be cgreated. So we should exit if -d,-f or -s is invalid v2: - add nonzero return value Signed-off-by: Libo Chen <clb...@hu...> Acked-by: Ivana Hutarova Varekova <var...@re...> commit 8db6668c8d78d4d2072445c50596d4d8d981235b Author: Weng Meiling <wen...@hu...> Date: Tue Sep 10 08:06:20 2013 +0200 cgred:cgred should start when cgroup is mounted If we mount the cgroup without the name cgroup like the following: cpu on /cgroup/cpu type cgroup (rw,cpu) the cgred service will start failed, because it just check the name. So changing cgred to check the mounted system's type instead of the name. v1 -> v2 Using the right method to check cgroup filesystem. The first version patch's method is wrong, so resend the second patch. Signed-off-by: Weng Meiling <wen...@hu...> Acked-by: Ivana Hutarova Varekova <var...@re...> ----------------------------------------------------------------------- Summary of changes: scripts/init.d/cgred.in | 3 ++- src/tools/cgconfig.c | 46 ++++++++++++++++++++++++++++++++-------------- src/tools/cgcreate.c | 6 ++++++ 3 files changed, 40 insertions(+), 15 deletions(-) hooks/post-receive -- This is the main upstream repository of the libcgroup project. All releases |