mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
Require seccomp only in multi-user setups
This commit is contained in:
parent
1d9ab273ba
commit
ff6becafa8
1 changed files with 5 additions and 1 deletions
|
@ -2345,7 +2345,11 @@ void DerivationGoal::runChild()
|
|||
|
||||
commonChildInit(builderOut);
|
||||
|
||||
setupSeccomp();
|
||||
try {
|
||||
setupSeccomp();
|
||||
} catch (...) {
|
||||
if (buildUser) throw;
|
||||
}
|
||||
|
||||
bool setUser = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue