Merge "sepolicy: Add support for touch AOI and touch wakeup"
This commit is contained in:
		
				
					committed by
					
						
						Gerrit - the friendly Code Review server
					
				
			
			
				
	
			
			
			
					commit
					29da6714d6
				
			
							
								
								
									
										1
									
								
								qva/vendor/common/file.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								qva/vendor/common/file.te
									
									
									
									
										vendored
									
									
								
							@@ -41,6 +41,7 @@ type ssgtzd_socket, file_type, mlstrustedobject;
 | 
			
		||||
 | 
			
		||||
type qfp-daemon_data_file, file_type, data_file_type;
 | 
			
		||||
type persist_qti_fp_file, file_type, vendor_persist_type;
 | 
			
		||||
type sysfs_touch_aoi, fs_type, sysfs_type;
 | 
			
		||||
 | 
			
		||||
# QDMA data files
 | 
			
		||||
type vendor_qdma_data_file, file_type, data_file_type;
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								qva/vendor/common/genfs_contexts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								qva/vendor/common/genfs_contexts
									
									
									
									
										vendored
									
									
								
							@@ -26,6 +26,7 @@
 | 
			
		||||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
			
		||||
 | 
			
		||||
genfscon sysfs /devices/virtual/npu/msm_npu/pwr u:object_r:sysfs_npu:s0
 | 
			
		||||
genfscon sysfs /devices/virtual/fts/touch_aoi       u:object_r:sysfs_touch_aoi:s0
 | 
			
		||||
genfscon proc /asound/card0/state u:object_r:proc_audiod:s0
 | 
			
		||||
genfscon proc /asound/cards u:object_r:proc_audiod:s0
 | 
			
		||||
genfscon sysfs /module/msm_thermal/core_control/cpus_offlined           u:object_r:sysfs_mpctl:s0
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3
									
								
								qva/vendor/common/qfp-daemon.te
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								qva/vendor/common/qfp-daemon.te
									
									
									
									
										vendored
									
									
								
							@@ -35,6 +35,9 @@ init_daemon_domain(qfp-daemon)
 | 
			
		||||
allow qfp-daemon qfp-daemon_data_file:dir { rw_dir_perms setattr };
 | 
			
		||||
allow qfp-daemon qfp-daemon_data_file:file create_file_perms;
 | 
			
		||||
 | 
			
		||||
allow qfp-daemon sysfs_touch_aoi:dir r_dir_perms;
 | 
			
		||||
allow qfp-daemon sysfs_touch_aoi:file rw_file_perms;
 | 
			
		||||
 | 
			
		||||
# Access to tee_device
 | 
			
		||||
allow qfp-daemon tee_device:chr_file rw_file_perms;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user