sepolicy: Allow NN HAL to access npu device node
This change is to allow NN HAL to access npu device node. Change-Id: I193a7fb0b571a734804bc31ccf52376e9a13d500
This commit is contained in:
		
							
								
								
									
										1
									
								
								generic/vendor/common/hal_neuralnetworks.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								generic/vendor/common/hal_neuralnetworks.te
									
									
									
									
										vendored
									
									
								
							@@ -41,5 +41,6 @@ allow hal_neuralnetworks_default shell_data_file:file { read getattr map };
 | 
			
		||||
allow hal_neuralnetworks_default hal_neuralnetworks_data_file:dir create_dir_perms;
 | 
			
		||||
allow hal_neuralnetworks_default hal_neuralnetworks_data_file:{ file fifo_file } create_file_perms;
 | 
			
		||||
allow hal_neuralnetworks_default gpu_device:chr_file rw_file_perms;
 | 
			
		||||
allow hal_neuralnetworks_default npu_device:chr_file r_file_perms;
 | 
			
		||||
 | 
			
		||||
r_dir_file(hal_neuralnetworks_default, adsprpcd_file)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user