aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/platform/linux.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/platform/linux.hh')
-rw-r--r--src/libstore/platform/linux.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstore/platform/linux.hh b/src/libstore/platform/linux.hh
index 7ef578d2c..2173205bc 100644
--- a/src/libstore/platform/linux.hh
+++ b/src/libstore/platform/linux.hh
@@ -48,6 +48,12 @@ private:
void prepareSandbox() override;
/**
+ * Start child process in new namespaces and cgroup,
+ * create /etc/passwd and /etc/group based on discovered uid/gid
+ */
+ Pid startChild(std::function<void()> openSlave) override;
+
+ /**
* Kill all processes by build user, possibly using a reused
* cgroup if we have one
*/