sepolicy: allow rmt_storage to access sysfs_ssr context with read permission
This changes allow rmt_storage to read file /sys/bus/msm_subsys/devices/subsys<>/name with sysfs_ssr context. This is required by libmdmdetect to determine the presence of modem subsystem at run time. Change-Id: I29cb0c43cd4f428bfaa42fedb428afe759690fd0
This commit is contained in:
		
				
					committed by
					
						
						Gerrit - the friendly Code Review server
					
				
			
			
				
	
			
			
			
						parent
						
							f0fe2057d6
						
					
				
				
					commit
					f7b98074bb
				
			
							
								
								
									
										3
									
								
								vendor/common/rmt_storage.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/common/rmt_storage.te
									
									
									
									
										vendored
									
									
								
							@@ -29,3 +29,6 @@ allow rmt_storage {
 | 
			
		||||
    modem_block_device
 | 
			
		||||
    ssd_block_device
 | 
			
		||||
}:blk_file rw_file_perms;
 | 
			
		||||
 | 
			
		||||
#sysfs_ssr
 | 
			
		||||
r_dir_file(rmt_storage, sysfs_ssr)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user