aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/local-derivation-goal.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/build/local-derivation-goal.hh')
-rw-r--r--src/libstore/build/local-derivation-goal.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstore/build/local-derivation-goal.hh b/src/libstore/build/local-derivation-goal.hh
index 237417b42..e87f2c696 100644
--- a/src/libstore/build/local-derivation-goal.hh
+++ b/src/libstore/build/local-derivation-goal.hh
@@ -340,6 +340,12 @@ protected:
virtual Pid startChild(std::function<void()> openSlave);
/**
+ * Set up the system call filtering required for the sandbox.
+ * This currently only has an effect on Linux.
+ */
+ virtual void setupSyscallFilter() {}
+
+ /**
* Execute the builder, replacing the current process.
* Generally this means an `execve` call.
*/