diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-11-18 10:39:28 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-11-18 10:39:28 +0100 |
commit | 128910ba23f586ba1765a137ecff23cfd22cff89 (patch) | |
tree | 2adc969d5ae2fa2f470000e9bbc7b8f8b0c3edd4 /src/libstore/lock.hh | |
parent | f1ab082ac4f589a36a9eb0cd98d1cc235eedc419 (diff) |
Separate cgroup support from auto-uid-allocation
The new experimental feature 'cgroups' enables the use of cgroups for
all builds. This allows better containment and enables setting
resource limits and getting some build stats.
Diffstat (limited to 'src/libstore/lock.hh')
-rw-r--r-- | src/libstore/lock.hh | 7 |
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 |