aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-11 16:38:46 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-11 16:38:46 +0000
commitaef44cbaa9aaa6fa40eb34c411cedd858e16101e (patch)
tree04756fe304a56d1d81bc667753e422acf4e83235 /src/libutil/util.hh
parent725488b8922c731042a557608b8d833b05e77243 (diff)
Split out `commonChildInit`
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 129d59a97..cafe93702 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -536,6 +536,8 @@ typedef std::function<bool(const Path & path)> PathFilter;
extern PathFilter defaultPathFilter;
+/* Common initialisation performed in child processes. */
+void commonChildInit(Pipe & logPipe);
/* Create a Unix domain socket in listen mode. */
AutoCloseFD createUnixDomainSocket(const Path & path, mode_t mode);