Merge "sepolicy: Add write permission to proc file system"
This commit is contained in:
		
				
					committed by
					
						
						Gerrit - the friendly Code Review server
					
				
			
			
				
	
			
			
			
					commit
					c39df4864d
				
			
							
								
								
									
										3
									
								
								generic/vendor/common/hal_wifi.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								generic/vendor/common/hal_wifi.te
									
									
									
									
										vendored
									
									
								
							@@ -43,6 +43,9 @@ allow hal_wifi_default wifihal_socket:sock_file create_file_perms;
 | 
			
		||||
# Write wlan driver/fw version into property
 | 
			
		||||
set_prop(hal_wifi_default, vendor_wifi_version)
 | 
			
		||||
 | 
			
		||||
# allow hal_wifi to write into /proc/sys/net/ipv4
 | 
			
		||||
allow hal_wifi proc_net:file write;
 | 
			
		||||
 | 
			
		||||
# allow hal_wifi to write into /data/vendor/tombstones/wifi
 | 
			
		||||
userdebug_or_eng(`
 | 
			
		||||
  allow hal_wifi_server vendor_tombstone_data_file:dir rw_dir_perms;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user