]> git.ipfire.org Git - thirdparty/systemd.git/commit
process-util: Implement safe_fork_full() on top of pidref_safe_fork_full()
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Feb 2025 08:24:58 +0000 (09:24 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 20 Feb 2025 19:13:53 +0000 (20:13 +0100)
commitf48103ea614cc22e4f323dc81208bb8f997949a1
tree7efff8ddf4458a2e3e8520aec9851a63a8a68484
parent216f876d72c0f2dcf1c91b4e32cf062c53ec6b58
process-util: Implement safe_fork_full() on top of pidref_safe_fork_full()

Let's switch things around, and move the internals of safe_fork_full() into
pidref_safe_fork_full() and make safe_fork_full() a trivial wrapper on top
of pidref_safe_fork_full().
src/basic/process-util.c
src/basic/process-util.h