mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 20:06:46 +00:00 
			
		
		
		
	 8753f6bec3
			
		
	
	
		8753f6bec3
		
	
	
	
	
		
			
			Add a simple utility (scripts/selinux/genheaders) and invoke it to generate the kernel-private class and permission indices in flask.h and av_permissions.h automatically during the kernel build from the security class mapping definitions in classmap.h. Adding new kernel classes and permissions can then be done just by adding them to classmap.h. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>
		
			
				
	
	
		
			3 lines
		
	
	
		
			53 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			53 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| subdir-y := mdp genheaders
 | |
| subdir-	+= mdp genheaders
 |