]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgroup-util: clean up cg_kill() and friends, completely split out cg_kill_kernel_sigk...
authorMike Yuan <me@yhndnzj.com>
Tue, 30 Jul 2024 20:43:49 +0000 (22:43 +0200)
committerMike Yuan <me@yhndnzj.com>
Fri, 2 Aug 2024 14:36:09 +0000 (16:36 +0200)
commit2176841b9ec2163f24f0ccdbeb4b9d1981be7c24
treed173cdda7ab48ee42ac54197ec093de80836c164
parent5ffa9490d663a74e941459432b2be139e93f2ff5
cgroup-util: clean up cg_kill() and friends, completely split out cg_kill_kernel_sigkill()

cg_kill_kernel_sigkill() has a narrow use case, and currently
no code really reaches that branch. Let's detach it from
cg_kill_recursive() hence, and call it explicitly later
where appropriate.
src/basic/cgroup-util.c