05488bfb8f 
							
						 
					 
					
						
						
							
							hst/instance: store priv side pid  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m14s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m8s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 3m58s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m1s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 4m44s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m29s 
				
			 
		
		
	 
 
	 
						
						This can receive signals, so is more useful to the caller.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-23 23:19:55 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							dd94818f20 
							
						 
					 
					
						
						
							
							hst/instance: define instance state  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m13s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m6s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m2s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m5s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 4m51s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						This is now part of the hst API. This change also improves identifier generation and serialisation.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-23 22:59:02 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							87b5c30ef6 
							
						 
					 
					
						
						
							
							message: relocate from container  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m22s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m2s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m28s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m21s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m9s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m29s 
				
			 
		
		
	 
 
	 
						
						This package is quite useful. This change allows it to be imported without importing container.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-09 05:18:19 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							df9b77b077 
							
						 
					 
					
						
						
							
							internal/app: do not encode config early  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 36s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m11s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m10s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m40s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m21s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m18s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m32s 
				
			 
		
		
	 
 
	 
						
						Finalise no longer clobbers hst.Config.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-09 04:38:54 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a40d182706 
							
						 
					 
					
						
						
							
							internal/app: build container state in shim  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 25s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 39s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 40s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 44s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 44s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 41s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m21s 
				
			 
		
		
	 
 
	 
						
						This significantly decreases ipc overhead.
Closes  #3 .
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-08 22:30:40 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							5d18af0007 
							
						 
					 
					
						
						
							
							container/fhs: move pathname constants  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m6s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m1s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m29s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 3m5s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m10s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m21s 
				
			 
		
		
	 
 
	 
						
						This allows referencing FHS pathnames without importing container.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-07 21:29:16 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							0e6c1a5026 
							
						 
					 
					
						
						
							
							container/check: move absolute pathname  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m3s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m26s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m19s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m28s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m16s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m37s 
				
			 
		
		
	 
 
	 
						
						This allows use of absolute pathname values without importing container.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-07 20:57:58 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							80ad2e4e23 
							
						 
					 
					
						
						
							
							internal/app: do not offset base value  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m12s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m1s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m23s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m16s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m9s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m25s 
				
			 
		
		
	 
 
	 
						
						This value is applied to the shim, it is incorrect to offset the base value as well.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-05 03:59:52 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							8ace214832 
							
						 
					 
					
						
						
							
							system/wayland: hang up security-context-v1 internally  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 39s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 40s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 43s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 44s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 41s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m26s 
				
			 
		
		
	 
 
	 
						
						This should have been an implementation detail and should not be up to the caller to close.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-05 03:25:13 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							eb5ee4fece 
							
						 
					 
					
						
						
							
							internal/app: modularise outcome finalise  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m19s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m10s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m8s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m35s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m16s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						This is the initial effort of splitting up host and container side of finalisation for params to shim. The new layout also enables much finer grained unit testing of each step, as well as partition access to per-app state for each step.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-05 02:52:50 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9462af08f3 
							
						 
					 
					
						
						
							
							system/dbus: dump buffer internally  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 44s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m32s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m13s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m49s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m31s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m11s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m28s 
				
			 
		
		
	 
 
	 
						
						This should have been an implementation detail and should not be up to the caller to call it.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-04 20:31:14 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							44ba7a5f02 
							
						 
					 
					
						
						
							
							hst/enablement: move bits from system  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 54s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m33s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m36s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m30s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m48s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m47s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m40s 
				
			 
		
		
	 
 
	 
						
						This is part of the hst API, should not be in the implementation package.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-29 06:34:29 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							46cd3a28c8 
							
						 
					 
					
						
						
							
							container: remove global msg  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 1m10s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m40s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m58s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m44s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 5m1s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 6m2s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m47s 
				
			 
		
		
	 
 
	 
						
						This frees all container instances of side effects.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-29 06:11:47 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							ae2df2c450 
							
						 
					 
					
						
						
							
							internal: remove sys package  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m13s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m14s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m2s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m39s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m19s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m19s 
				
			 
		
		
	 
 
	 
						
						This package is replaced by container/stub. Remove and replace it with unexported implementation for the upcoming test suite rewrite.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-25 13:51:54 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							afa7a0800d 
							
						 
					 
					
						
						
							
							cmd/hsu: return hsurc id  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 24s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m19s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 3m28s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 3m53s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m18s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 43s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m34s 
				
			 
		
		
	 
 
	 
						
						The uid format is stable, this value is what caller has to obtain through hsu.
Closes  #14 .
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-24 21:10:13 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							1c4f593566 
							
						 
					 
					
						
						
							
							internal/app: unexport outcome, remove app struct  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m14s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m20s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 41s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m20s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 2m9s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						The App struct no longer does anything, and the outcome struct is entirely opaque.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-24 18:44:14 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b99c63337d 
							
						 
					 
					
						
						
							
							internal/app: do not return from shim start  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 49s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m37s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m32s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m21s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m37s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 2m7s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m20s 
				
			 
		
		
	 
 
	 
						
						The whole RunState ugliness and the other horrendous error handling conditions for internal/app come from an old design proposal for maintaining all app containers under the same daemon process for a user. The proposal was ultimately rejected but the implementation remained. It is removed here to alleviate internal/app from much of its ugliness and unreadability.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-24 13:37:38 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							16409b37a2 
							
						 
					 
					
						
						
							
							internal/app: compensate shim timeout  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m15s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m13s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m0s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m32s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m9s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m23s 
				
			 
		
		
	 
 
	 
						
						This catches cases where the shim has somehow locked up, so it should wait out the full shim WaitDelay as well.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-16 02:23:19 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							8690419c2d 
							
						 
					 
					
						
						
							
							hst: replace internal/app error  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 43s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m3s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m36s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m17s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m27s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m15s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m28s 
				
			 
		
		
	 
 
	 
						
						This turns out to still be quite useful across internal/app and its relatives. Perhaps a cleaner replacement for baseError.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-15 01:44:43 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f876043844 
							
						 
					 
					
						
						
							
							internal/hlog: remove error wrapping  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 32s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m29s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 4m6s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m45s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m48s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 6m4s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m26s 
				
			 
		
		
	 
 
	 
						
						This was a stopgap solution that lasted for way too long. This finally removes it and prepares internal/app for some major changes.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-12 06:52:35 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							6f719bc3c1 
							
						 
					 
					
						
						
							
							system: update doc commands and remove mutex  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m6s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m19s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 3m54s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m17s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m19s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m39s 
				
			 
		
		
	 
 
	 
						
						The mutex is not really doing anything, none of these methods make sense when called concurrently anyway. The copylocks analysis is still satisfied by the noCopy struct.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-02 04:54:34 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b14690aa77 
							
						 
					 
					
						
						
							
							internal/app: remove seal interface  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m1s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m13s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 3m55s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m33s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 5m19s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m36s 
				
			 
		
		
	 
 
	 
						
						This further cleans up the package for the restructure.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-08-28 01:07:51 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							0d7c1a9a43 
							
						 
					 
					
						
						
							
							app: rename app implementation package  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m48s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m36s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 2m52s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m32s 
				
			 
		
			
				
	Test / Fortify (race detector) (push) Successful in 4m9s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m4s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-04-12 10:54:24 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e9a7cd526f 
							
						 
					 
					
						
						
							
							app: improve shim process management  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 27s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m45s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m36s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 2m49s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m33s 
				
			 
		
			
				
	Test / Fortify (race detector) (push) Successful in 4m13s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m6s 
				
			 
		
		
	 
 
	 
						
						This ensures a signal gets delivered to the process instead of relying on parent death behaviour.
SIGCONT was chosen as it is the only signal an unprivileged process is allowed to send to processes with different credentials.
A custom signal handler is installed because the Go runtime does not expose signal information other than which signal was received, and shim must check pid to ensure reasonable behaviour.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-04-07 03:55:17 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							532feb4bfa 
							
						 
					 
					
						
						
							
							app: merge shim into app package  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m48s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m39s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 4m35s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 56s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-25 05:21:47 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							ec5e91b8c9 
							
						 
					 
					
						
						
							
							system: optimise string formatting  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 20s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 36s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 42s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 43s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m10s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-25 04:42:30 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							5c4058d5ac 
							
						 
					 
					
						
						
							
							app: run in native sandbox  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 20s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m5s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m0s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 4m12s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m4s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-25 01:52:49 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							80f9b62d25 
							
						 
					 
					
						
						
							
							app: print comp values early  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 30s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m31s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m27s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 3m26s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 51s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-02-26 22:27:55 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							d050b3de25 
							
						 
					 
					
						
						
							
							app: define errors in a separate file  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m28s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 3m25s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m31s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 52s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-02-26 17:12:02 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f0a082ec84 
							
						 
					 
					
						
						
							
							fortify: improve handling of RevertErr  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m17s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 2m57s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 43s 
				
			 
		
		
	 
 
	 
						
						All this error wrapping is getting a bit ridiculous and I might want to do something about that somewhere down the line.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-02-25 00:45:00 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							c64b8163e7 
							
						 
					 
					
						
						
							
							app: separate instance from process state  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 19s 
				
			 
		
			
				
	Test / Run NixOS test (push) Successful in 1m59s 
				
			 
		
		
	 
 
	 
						
						This works better for the implementation.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-02-21 16:06:24 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							3c80fd2b0f 
							
						 
					 
					
						
						
							
							app: defer system.I revert  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 19s 
				
			 
		
			
				
	Test / Run NixOS test (push) Successful in 49s 
				
			 
		
		
	 
 
	 
						
						Just returning an error after a successful call of commit will leave garbage behind with no way for the caller to clean them. This change ensures revert is always called after successful commit with at least per-process state enabled.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-02-19 21:12:11 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							2978a6f046 
							
						 
					 
					
						
						
							
							app: separate appSeal finalise method  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 25s 
				
			 
		
			
				
	Test / Run NixOS test (push) Successful in 3m27s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-02-19 12:33:51 +09:00