]>
git.ipfire.org Git - thirdparty/libcgroup.git/commit
cgrulesengd: Add wildcard matching for process names
This commit adds wildcard matching to process name
parsing in cgrulesengd. Note that wildcard matching
works for standard rules and ignore rules.
For example, given the following rule in cgrules.conf
\#<user> <controllers> <destination>
tom:foo* memory FooCG/
Processes named 'foo', foo1', 'foo2', etc. would be moved
to the FooCG/ cgroup. Processes named 'bar', 'fo', etc.
would not match this rule.
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>