sepolicy: add contexts for the qmux devices
Added the context for the various qmux devices to operate with other domains CRs-fixed: 590265 Change-Id: I4e590f6db38b756064089b72b8af339d4d16b81e
This commit is contained in:
		@@ -1 +1,4 @@
 | 
			
		||||
type qseecom_device, dev_type;
 | 
			
		||||
 | 
			
		||||
#Define the logging device type
 | 
			
		||||
type diag_device, dev_type;
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								file.te
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								file.te
									
									
									
									
									
								
							@@ -2,3 +2,9 @@
 | 
			
		||||
type firmware_file, file_type;
 | 
			
		||||
# Allow files to be created in their appropriate filesystems.
 | 
			
		||||
allow firmware_file self:filesystem associate;
 | 
			
		||||
 | 
			
		||||
#Define the qmux socket type
 | 
			
		||||
type qmux_audio_socket, file_type;
 | 
			
		||||
type qmux_bluetooth_socket, file_type;
 | 
			
		||||
type qmux_gps_socket, file_type;
 | 
			
		||||
type qmux_radio_socket, file_type;
 | 
			
		||||
 
 | 
			
		||||
@@ -1 +1,10 @@
 | 
			
		||||
/dev/qseecom      u:object_r:qseecom_device:s0
 | 
			
		||||
 | 
			
		||||
#Contexts for the qmux sockets
 | 
			
		||||
/dev/socket/qmux_audio       u:object_r:qmux_audio_socket:s0
 | 
			
		||||
/dev/socket/qmux_bluetooth   u:object_r:qmux_bluetooth_socket:s0
 | 
			
		||||
/dev/socket/qmux_gps         u:object_r:qmux_gps_socket:s0
 | 
			
		||||
/dev/socket/qmux_radio       u:object_r:qmux_radio_socket:s0
 | 
			
		||||
 | 
			
		||||
#Context for the logging
 | 
			
		||||
/dev/diag     u:object_r:diag_device:s0
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user