forked from lix-project/lix
Require seccomp only in multi-user setups
This commit is contained in:
parent
1d9ab273ba
commit
ff6becafa8
|
@ -2345,7 +2345,11 @@ void DerivationGoal::runChild()
|
||||||
|
|
||||||
commonChildInit(builderOut);
|
commonChildInit(builderOut);
|
||||||
|
|
||||||
setupSeccomp();
|
try {
|
||||||
|
setupSeccomp();
|
||||||
|
} catch (...) {
|
||||||
|
if (buildUser) throw;
|
||||||
|
}
|
||||||
|
|
||||||
bool setUser = true;
|
bool setUser = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue