Allow rild to get qmuxd_socket create permissions.

This change is to add sepolicy rules to get create
permissions for qmux_socket.

Change-Id: Ifc9665d5451c1887a725a032807f225efefb4a10
CRs-Fixed: 2287953
This commit is contained in:
Ruthwar Ambeer
2018-07-30 16:02:25 +05:30
parent f12882015a
commit 8c6e09b1b3
3 changed files with 5 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ type debugfs_icnss, debugfs_type, fs_type;
type proc_wifi_dbg, fs_type, proc_type;
type proc_audiod, fs_type;
type qmuxd_socket, file_type;
type netmgrd_socket, file_type;
type thermal_socket, file_type;

View File

@@ -57,6 +57,7 @@
/dev/nq-nci u:object_r:nfc_device:s0
/dev/ttyHS0 u:object_r:hci_attach_dev:s0
/dev/wlan u:object_r:wlan_device:s0
/dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0
# Block device holding the GPT, where the A/B attributes are stored.

View File

@@ -28,3 +28,6 @@ hal_server_domain(rild, hal_secure_element)
get_prop(rild, exported3_radio_prop)
get_prop(rild, vendor_dataqdp_prop)
allow rild qmuxd_socket:dir w_dir_perms;
allow rild qmuxd_socket:sock_file create_file_perms;