]> git.ipfire.org Git - thirdparty/systemd.git/commit
process-util: add simple wrapper around PR_SET_CHILD_SUBREAPER
authorLennart Poettering <lennart@poettering.net>
Thu, 22 Jun 2023 20:24:04 +0000 (22:24 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Jun 2023 08:05:16 +0000 (10:05 +0200)
commit8c3fe1b5b59ebfd6e462245f2ab82097b4f7494d
tree4f9dab8ca39791f570f38df3a242b6e03b45f6d6
parent2499d320224d3f9f2a1d8c9a99b09753e62928e0
process-util: add simple wrapper around PR_SET_CHILD_SUBREAPER

Let's a simple helper that knows how to deal with PID == 1.
src/basic/process-util.c
src/basic/process-util.h
src/core/main.c
src/nspawn/nspawn.c
src/test/test-async.c
src/test/test-process-util.c