Require seccomp only in multi-user setups
(cherry picked from commit ff6becafa8
)
This commit is contained in:
parent
17da82e04d
commit
1e0f1dab1e
|
@ -2301,7 +2301,11 @@ void DerivationGoal::runChild()
|
|||
|
||||
commonChildInit(builderOut);
|
||||
|
||||
setupSeccomp();
|
||||
try {
|
||||
setupSeccomp();
|
||||
} catch (...) {
|
||||
if (buildUser) throw;
|
||||
}
|
||||
|
||||
#if __linux__
|
||||
if (useChroot) {
|
||||
|
|
Loading…
Reference in New Issue