chiark / gitweb /
cgroup: properly determine cgroups zombie processes belong to
authorLennart Poettering <lennart@poettering.net>
Fri, 17 Nov 2017 18:24:06 +0000 (19:24 +0100)
committerSven Eden <yamakuzure@gmx.net>
Fri, 17 Nov 2017 18:24:06 +0000 (19:24 +0100)
commit4949a3907ec926fe478c0914721f9657c4fe847d
treec84633d76320b321591b708ea5085c3d0b9ae5bd
parent7bfd0375e4573bbd65deb08511c7cd4a4ffa275c
cgroup: properly determine cgroups zombie processes belong to

When a process becomes a zombie its cgroup might be deleted. Let's add
some minimal code to detect cases like this, so that we can still
attribute this back to the original cgroup.
src/basic/cgroup-util.c