]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/scope.c
scope: refuse activation of scopes if no PIDs to add are left 21163/head
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Oct 2021 21:17:50 +0000 (23:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 27 Oct 2021 21:17:50 +0000 (23:17 +0200)
commit8d3e4ac7cd37200d1431411a4b98925a24b7d9b3
tree140d19763d78c1c9e3a1d3814528720a2d942059
parentdb4229d12f48663400802171b336c7cadbbe04ef
scope: refuse activation of scopes if no PIDs to add are left

If all processes we are supposed to add are gone by the time we are
ready to do so, let's fail.

THis is heavily based on Cunlong Li's work, who thankfully tracked this
down.

Replaces: #20577
src/core/cgroup.c
src/core/scope.c