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); |         commonChildInit(builderOut); | ||||||
| 
 | 
 | ||||||
|         setupSeccomp(); |         try { | ||||||
|  |             setupSeccomp(); | ||||||
|  |         } catch (...) { | ||||||
|  |             if (buildUser) throw; | ||||||
|  |         } | ||||||
| 
 | 
 | ||||||
|         bool setUser = true; |         bool setUser = true; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue