recovery: Add non-ab dynamic partitions policies
With dynamic partitions enabled, recovery, while doing non-a/b ota needs read access to sysfs_dm, allow the same. Change-Id: I98d3d2421ffd49df1d2b84bb42cab9ee529d530a
This commit is contained in:
		
				
					committed by
					
						
						Gerrit - the friendly Code Review server
					
				
			
			
				
	
			
			
			
						parent
						
							57528806a2
						
					
				
				
					commit
					0a4914f674
				
			
							
								
								
									
										2
									
								
								generic/vendor/common/recovery.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								generic/vendor/common/recovery.te
									
									
									
									
										vendored
									
									
								
							@@ -41,4 +41,6 @@ recovery_only(`
 | 
			
		||||
 allow recovery sg_device:chr_file rw_file_perms;
 | 
			
		||||
 allow recovery self:capability sys_rawio;
 | 
			
		||||
 allow recovery sg_device:chr_file ioctl;
 | 
			
		||||
 allow recovery sysfs_dm:dir r_dir_perms;
 | 
			
		||||
 allow recovery sysfs_dm:file r_file_perms;
 | 
			
		||||
')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user