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.hh16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libstore/platform/linux.hh b/src/libstore/platform/linux.hh
index 2cad001ea..7ef578d2c 100644
--- a/src/libstore/platform/linux.hh
+++ b/src/libstore/platform/linux.hh
@@ -42,7 +42,23 @@ public:
using LocalDerivationGoal::LocalDerivationGoal;
private:
+ /**
+ * Create and populate chroot
+ */
+ void prepareSandbox() override;
+
+ /**
+ * Kill all processes by build user, possibly using a reused
+ * cgroup if we have one
+ */
void killSandbox(bool getStatus) override;
+
+
+ bool supportsUidRange() override
+ {
+ return true;
+ }
+
};
}