]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
Revert "gunit/test-015: Populate subtree_control for leaf cgroup"
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 12 Apr 2023 09:34:19 +0000 (09:34 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 12 Apr 2023 17:07:41 +0000 (11:07 -0600)
commit33e22f7991b4a1c7adee779c8891a00957c724c8
tree4f371bea3589ab7ed2bd976aca9d8e9d44d88c29
parentb21727b6e3fd80a7d6ebcd59d9c919914eefa719
Revert "gunit/test-015: Populate subtree_control for leaf cgroup"

This reverts commit 328ec5e8e4f00790cb91f81ff53f2cdd42d0106f.

Revert the logic to rely on the leaf cgroup node's subtree_control file
to examine the enabled controllers, this breaks the cgroup v2's no
internal process constraint and fallback to the original idea of relying
upon on leaf cgroup nodes, parent subtree_control to examine the enabled
controllers.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit f15c995d56be0c13b03ea9ca43919cca261be9b6)
tests/gunit/015-cgroupv2_controller_enabled.cpp