aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/lock.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/lock.hh')
-rw-r--r--src/libstore/lock.hh7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstore/lock.hh b/src/libstore/lock.hh
index b5536408c..e7ceefab8 100644
--- a/src/libstore/lock.hh
+++ b/src/libstore/lock.hh
@@ -27,13 +27,6 @@ struct UserLock
virtual gid_t getGID() = 0;
virtual std::vector<gid_t> getSupplementaryGIDs() = 0;
-
- /* Kill any processes currently executing as this user. */
- virtual void kill() = 0;
-
- #if __linux__
- virtual std::optional<Path> getCgroup() { return {}; };
- #endif
};
/* Acquire a user lock for a UID range of size `nrIds`. Note that this