mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 03:09:35 +01:00
Move cgroup support
This commit is contained in:
parent
b27e684ca5
commit
352ca238a9
3 changed files with 83 additions and 77 deletions
|
|
@ -86,6 +86,8 @@ void DerivationBuildingGoal::killChild()
|
|||
if (builder && builder->pid != -1) {
|
||||
worker.childTerminated(this);
|
||||
|
||||
// FIXME: move this into DerivationBuilder.
|
||||
|
||||
/* If we're using a build user, then there is a tricky race
|
||||
condition: if we kill the build user before the child has
|
||||
done its setuid() to the build user uid, then it won't be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue