Merge "sepolicy: Add rules to allow SDM to open ion_device"
This commit is contained in:
		
				
					committed by
					
						
						Gerrit - the friendly Code Review server
					
				
			
			
				
	
			
			
			
					commit
					2a94ea4c97
				
			@@ -57,6 +57,8 @@ allow hal_graphics_composer_default self:netlink_kobject_uevent_socket create_so
 | 
			
		||||
 | 
			
		||||
# Rule for pps socket usage
 | 
			
		||||
unix_socket_connect(hal_graphics_composer_default, pps, mm-pp-daemon)
 | 
			
		||||
# Allow ion_device read/write permission
 | 
			
		||||
allow hal_graphics_composer_default ion_device:chr_file rw_file_perms;
 | 
			
		||||
 | 
			
		||||
# Access /sys/devices/virtual/graphics/fb0
 | 
			
		||||
r_dir_file(hal_graphics_composer_default, sysfs_type)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user