diff options
-rwxr-xr-x | common/device.te | 3 | ||||
-rwxr-xr-x | common/file_contexts | 1 | ||||
-rw-r--r-- | common/ims.te | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/common/device.te b/common/device.te index 927cf276..2fdd2927 100755 --- a/common/device.te +++ b/common/device.te @@ -82,3 +82,6 @@ type gadget_serial_device, dev_type; #Added for hbtp type bu21150_device, dev_type; type hbtp_device, dev_type; + +#added for voice device +type voice_device, dev_type; diff --git a/common/file_contexts b/common/file_contexts index 18ba48d1..0a9f269c 100755 --- a/common/file_contexts +++ b/common/file_contexts @@ -54,6 +54,7 @@ /dev/wcnss_wlan u:object_r:wcnss_device:s0 /dev/hbtp_input u:object_r:hbtp_device:s0 /dev/jdi-bu21150 u:object_r:bu21150_device:s0 +/dev/voice_svc u:object_r:voice_device:s0 ################################### # Dev socket nodes diff --git a/common/ims.te b/common/ims.te index 2d81d70f..5a104780 100644 --- a/common/ims.te +++ b/common/ims.te @@ -52,3 +52,6 @@ allow ims wifi_data_file:dir r_dir_perms; # permissions for communication with CNE in LBO use case unix_socket_connect(ims, cnd, cnd) + +#Communication with voice_svc device for audio on APP +allow ims voice_device:chr_file rw_file_perms; |