mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	apparmor: add yggdrasilctl policy (#1235)
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Yggdrasil / Lint (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Analyse (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build & Test (Linux, Go 1.22) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build & Test (Linux, Go 1.23) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build & Test (Linux, Go 1.24) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build & Test (Windows, Go 1.22) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build & Test (Windows, Go 1.23) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build & Test (Windows, Go 1.24) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build & Test (macOS, Go 1.22) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build & Test (macOS, Go 1.23) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build & Test (macOS, Go 1.24) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build (Cross freebsd, Go 1.22) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build (Cross freebsd, Go 1.23) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build (Cross freebsd, Go 1.24) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build (Cross openbsd, Go 1.22) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build (Cross openbsd, Go 1.23) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / Build (Cross openbsd, Go 1.24) (push) Has been cancelled
				
			
		
			
				
	
				Yggdrasil / All tests passed (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Yggdrasil / Lint (push) Has been cancelled
				
			Yggdrasil / Analyse (push) Has been cancelled
				
			Yggdrasil / Build & Test (Linux, Go 1.22) (push) Has been cancelled
				
			Yggdrasil / Build & Test (Linux, Go 1.23) (push) Has been cancelled
				
			Yggdrasil / Build & Test (Linux, Go 1.24) (push) Has been cancelled
				
			Yggdrasil / Build & Test (Windows, Go 1.22) (push) Has been cancelled
				
			Yggdrasil / Build & Test (Windows, Go 1.23) (push) Has been cancelled
				
			Yggdrasil / Build & Test (Windows, Go 1.24) (push) Has been cancelled
				
			Yggdrasil / Build & Test (macOS, Go 1.22) (push) Has been cancelled
				
			Yggdrasil / Build & Test (macOS, Go 1.23) (push) Has been cancelled
				
			Yggdrasil / Build & Test (macOS, Go 1.24) (push) Has been cancelled
				
			Yggdrasil / Build (Cross freebsd, Go 1.22) (push) Has been cancelled
				
			Yggdrasil / Build (Cross freebsd, Go 1.23) (push) Has been cancelled
				
			Yggdrasil / Build (Cross freebsd, Go 1.24) (push) Has been cancelled
				
			Yggdrasil / Build (Cross openbsd, Go 1.22) (push) Has been cancelled
				
			Yggdrasil / Build (Cross openbsd, Go 1.23) (push) Has been cancelled
				
			Yggdrasil / Build (Cross openbsd, Go 1.24) (push) Has been cancelled
				
			Yggdrasil / All tests passed (push) Has been cancelled
				
			This commit is contained in:
		
							parent
							
								
									6377d7f071
								
							
						
					
					
						commit
						47818a1a7c
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		
							
								
								
									
										11
									
								
								contrib/apparmor/usr.bin.yggdrasilctl
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								contrib/apparmor/usr.bin.yggdrasilctl
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					# Last Modified: Mon Feb  3 22:19:45 2025
 | 
				
			||||||
 | 
					include <tunables/global>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/usr/bin/yggdrasilctl {
 | 
				
			||||||
 | 
					  include <abstractions/base>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  /etc/yggdrasil.conf rw,
 | 
				
			||||||
 | 
					  /run/yggdrasil.sock rw,
 | 
				
			||||||
 | 
					  owner /sys/kernel/mm/transparent_hugepage/hpage_pmd_size r,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue