sepolicy: Adding permissions for nfc
Adding perf hal permissions to nfc.te for legacy and qva Change-Id: Ic62e0cff34fb7af1778239c1d436a3a25c0cfc01
This commit is contained in:
		
							
								
								
									
										2
									
								
								legacy/vendor/common/nfc.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								legacy/vendor/common/nfc.te
									
									
									
									
										vendored
									
									
								
							@@ -30,3 +30,5 @@ get_prop(nfc, nfc_nq_prop)
 | 
			
		||||
#qmux_socket(nfc);
 | 
			
		||||
#allow nfc nfc_data_file:file x_file_perms;
 | 
			
		||||
allow nfc self:socket create_socket_perms_no_ioctl;
 | 
			
		||||
# allow nfc to access perf hal
 | 
			
		||||
hal_client_domain(nfc, hal_perf)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								qva/vendor/common/nfc.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								qva/vendor/common/nfc.te
									
									
									
									
										vendored
									
									
								
							@@ -27,3 +27,5 @@
 | 
			
		||||
 | 
			
		||||
# Get NFC properties
 | 
			
		||||
get_prop(nfc, vendor_nfc_nq_prop)
 | 
			
		||||
# allow nfc to access perf hal
 | 
			
		||||
hal_client_domain(nfc, hal_perf)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user