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:
Avijit Kanti Das
2014-07-24 01:06:21 -07:00
parent ed3f0230ff
commit 2d70e6f52c
3 changed files with 18 additions and 0 deletions

View File

@@ -1 +1,4 @@
type qseecom_device, dev_type;
#Define the logging device type
type diag_device, dev_type;

View File

@@ -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;

View File

@@ -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