]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: rework cgroup mask propagation
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Feb 2014 18:11:07 +0000 (19:11 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 17 Feb 2014 14:49:21 +0000 (15:49 +0100)
commitbc432dc7eb62c5671f2b741a86a66393adb350dc
treeb7fb6ea81706fa02363c842cd233387d6b777bf9
parentb1e90ec515408aec2702522f6f68c4920b56375b
core: rework cgroup mask propagation

Previously a cgroup setting down tree would result in cgroup membership
additions being propagated up the tree and to the siblings, however a
unit could never lose cgroup memberships again. With this change we'll
make sure that both cgroup additions and removals propagate properly.
src/core/cgroup.c
src/core/cgroup.h
src/core/dbus-mount.c
src/core/dbus-scope.c
src/core/dbus-service.c
src/core/dbus-slice.c
src/core/dbus-socket.c
src/core/dbus-swap.c
src/core/unit.c
src/core/unit.h
src/test/test-cgroup-mask.c