]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
api.c: Add function to recursively manage the cgroup v2 subtree
authorTom Hromatka <tom.hromatka@oracle.com>
Wed, 29 Jul 2020 16:46:44 +0000 (16:46 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 29 Jul 2020 18:44:02 +0000 (18:44 +0000)
commitcbf0928aaf4c9e4444ba35a78a7734171c5640ab
tree2376c956f18e815b17b2bbb88095323b14da9159
parentdfe1ebd47ffba07ed18b006d54145ec27c9a5622
api.c: Add function to recursively manage the cgroup v2 subtree

This commit adds the function cgroupv2_subtree_control_recursive().
cgroupv2_subtree_control_recursive() creates a cgroup hierarchy with
the subtree_control enabled in each parent cgroup for the requested
cgroup controller.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
src/api.c