mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
parent
c6184dec6c
commit
af765a8eab
3 changed files with 19 additions and 5 deletions
|
@ -2556,7 +2556,7 @@ void DerivationGoal::runChild()
|
|||
throw SysError(format("changing into '%1%'") % tmpDir);
|
||||
|
||||
/* Close all other file descriptors. */
|
||||
closeMostFDs(set<int>());
|
||||
closeMostFDs({STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO});
|
||||
|
||||
#if __linux__
|
||||
/* Change the personality to 32-bit if we're doing an
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue