]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
cgcreate, cgconfigparser: Added new parameter for tasks file permissions.
authorJan Safranek <jsafrane@redhat.com>
Fri, 9 Dec 2011 14:04:33 +0000 (15:04 +0100)
committerJan Safranek <jsafrane@redhat.com>
Fri, 16 Dec 2011 12:51:40 +0000 (13:51 +0100)
commita9df2d4a491662285e5c73fb13d5742ed785fa11
tree5dfc5cc815608519d8fe7a904ec08deaf7758abe
parenta4df5d76ce554f89b26f23121bbc7927c0c99cf4
cgcreate, cgconfigparser: Added new parameter for tasks file permissions.

So far cgcreate and cgconfigparser have -f option, which sets permissions
of all files in a group, incl. tasks file. Since we need to put sticky bit
on the tasks file for systemd, this patch adds -s option for this purpose.

The tests are also updated with this change.

Signed-off-by: Jan Safranek <jsafrane@redhat.com>
doc/man/cgconfigparser.8
doc/man/cgcreate.1
src/tools/cgconfig.c
src/tools/cgcreate.c
tests/tools/cgconfigparser/permissions