]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
Add the flag CGROUP_DAEMON_CANCEL_UNCHANGE_PROCESS.
authorKen'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Thu, 16 Sep 2010 05:08:59 +0000 (14:08 +0900)
committerBalbir Singh <balbir@linux.vnet.ibm.com>
Fri, 24 Sep 2010 06:09:22 +0000 (11:39 +0530)
commit0d243f45ef8244f0361300bfef4871c155cdc16f
tree28c223164cbc54ef66f8cc7c147588cb83e8b88b
parente7bc3d94afbec90ce5c7c07dff7070ccdc546032
Add the flag CGROUP_DAEMON_CANCEL_UNCHANGE_PROCESS.

Hi,

A new flag CGROUP_DAEMON_CANCEL_UNCHANGE_PROCESS cancels the unchanged process.
If specifying this flag as the argument of cgroup_register_unchanged_process,
a cgrulesengd daemon can move the specified process to right cgroup based on
/etc/cgrules.conf.

Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
include/libcgroup/tasks.h
src/daemon/cgrulesengd.c