 7e6e4c466f
			
		
	
	7e6e4c466f
	
	
	
		
			
			The build tag was removed in go-selinux v1.8.0: opencontainers/selinux#132
Related: remove "apparmor" build tag: 0a9147f3aa
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			497 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			497 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| /*
 | |
| Package selinux provides a high-level interface for interacting with selinux.
 | |
| 
 | |
| This package uses a selinux build tag to enable the selinux functionality. This
 | |
| allows non-linux and linux users who do not have selinux support to still use
 | |
| tools that rely on this library.
 | |
| 
 | |
| Usage:
 | |
| 
 | |
| 	import "github.com/opencontainers/selinux/go-selinux"
 | |
| 
 | |
| 	// Ensure that selinux is enforcing mode.
 | |
| 	if selinux.EnforceMode() != selinux.Enforcing {
 | |
| 		selinux.SetEnforceMode(selinux.Enforcing)
 | |
| 	}
 | |
| 
 | |
| */
 | |
| package selinux
 |