revert(tvix): "Disable sandboxing by default until its time comes"
This reverts commit a41c3dedb1.
Reason for revert: I believe its time has come.
Change-Id: I4133dc8a3b57b40b280646d1622ed7a0409c5246
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1941
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: kanepyork <rikingcoding@gmail.com>
			
			
This commit is contained in:
		
							parent
							
								
									8b7dcfaeba
								
							
						
					
					
						commit
						053a98a7d7
					
				
					 1 changed files with 15 additions and 8 deletions
				
			
		
							
								
								
									
										23
									
								
								third_party/nix/src/libstore/globals.hh
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										23
									
								
								third_party/nix/src/libstore/globals.hh
									
										
									
									
										vendored
									
									
								
							|  | @ -243,14 +243,21 @@ class Settings : public Config { | ||||||
|       this, false, "show-trace", |       this, false, "show-trace", | ||||||
|       "Whether to show a stack trace on evaluation errors."}; |       "Whether to show a stack trace on evaluation errors."}; | ||||||
| 
 | 
 | ||||||
|   Setting<SandboxMode> sandboxMode{ |   Setting<SandboxMode> sandboxMode { | ||||||
|       this, |     this, | ||||||
|       // TODO(tazjin): Turn sandboxing back on once it is time.
 | #if __linux__ | ||||||
|       smDisabled, |         smEnabled | ||||||
|       "sandbox", | #else | ||||||
|       "Whether to enable sandboxed builds. Can be \"true\", \"false\" or " |         smDisabled | ||||||
|       "\"relaxed\".", | #endif | ||||||
|       {"build-use-chroot", "build-use-sandbox"}}; |         , | ||||||
|  |         "sandbox", | ||||||
|  |         "Whether to enable sandboxed builds. Can be \"true\", \"false\" or " | ||||||
|  |         "\"relaxed\".", | ||||||
|  |     { | ||||||
|  |       "build-use-chroot", "build-use-sandbox" | ||||||
|  |     } | ||||||
|  |   }; | ||||||
| 
 | 
 | ||||||
|   Setting<PathSet> sandboxPaths{ |   Setting<PathSet> sandboxPaths{ | ||||||
|       this, |       this, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue