cgroup: don't trim cgroup trees created by someone else
authorMichal Sekletar <msekleta@redhat.com>
Fri, 19 Sep 2014 15:14:10 +0000 (17:14 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 20 Sep 2018 20:22:45 +0000 (21:22 +0100)
commit394d1b0c6bcc287ff354d2e82b5ca55a350f37d0
tree7427ade0030f20110cb3e98255e460e88b83cb72
parentf20f9f65ba92faadd10b799c73005fdeeadb07b9
cgroup: don't trim cgroup trees created by someone else

In cases when there is a cgroup tree in a controller hierarchy which was
not created by us, but it looks like it was (i.e. cgroup path is the
same as the one in systemd's named hierarchy) we shouldn't delete it.

Origin: http://lists.freedesktop.org/archives/systemd-devel/2014-September/023276.html
Bug-Debian: https://bugs.debian.org/777601

Gbp-Pq: Topic debian
Gbp-Pq: Name cgroup-don-t-trim-cgroup-trees-created-by-someone-el.patch
src/basic/cgroup-util.c
src/core/cgroup.c