Add rule to access vendor radio properties
This change is to add get_prop rule to access vendor radio properties in system space. Change-Id: Ie10458ab6b83b36f8e464fcaf55c52f44ade170b CRs-Fixed: 2254471
This commit is contained in:
		
				
					committed by
					
						
						Gerrit - the friendly Code Review server
					
				
			
			
				
	
			
			
			
						parent
						
							db6981b944
						
					
				
				
					commit
					2dac2c6ee0
				
			
							
								
								
									
										2
									
								
								vendor/common/platform_app.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/common/platform_app.te
									
									
									
									
										vendored
									
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
#allow embms app to access vendor radio property
 | 
			
		||||
get_prop(radio, vendor_radio_prop)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								vendor/common/property_contexts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/common/property_contexts
									
									
									
									
										vendored
									
									
								
							@@ -44,6 +44,8 @@ ctl.vendor.hbtp u:object_r:ctl_vendor_hbtp_prop:s0
 | 
			
		||||
persist.vendor.radio       u:object_r:vendor_radio_prop:s0
 | 
			
		||||
vendor.radio               u:object_r:vendor_radio_prop:s0
 | 
			
		||||
ro.vendor.ril.             u:object_r:vendor_radio_prop:s0
 | 
			
		||||
ro.vendor.radio            u:object_r:vendor_radio_prop:s0
 | 
			
		||||
 | 
			
		||||
persist.vendor.sys.        u:object_r:vendor_system_prop:s0
 | 
			
		||||
 | 
			
		||||
#ss-restart
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								vendor/common/system_app.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/common/system_app.te
									
									
									
									
										vendored
									
									
								
							@@ -14,3 +14,5 @@ userdebug_or_eng(`
 | 
			
		||||
  allowxperm system_app self:socket ioctl msm_sock_ipc_ioctls;
 | 
			
		||||
  allow system_app self:socket create_socket_perms;
 | 
			
		||||
')
 | 
			
		||||
 | 
			
		||||
get_prop(system_app, vendor_radio_prop)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user