aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bluetooth.te4
-rw-r--r--file.te2
-rw-r--r--file_contexts1
3 files changed, 6 insertions, 1 deletions
diff --git a/bluetooth.te b/bluetooth.te
index 2b108a9..5541f68 100644
--- a/bluetooth.te
+++ b/bluetooth.te
@@ -49,6 +49,10 @@ allow bluetooth bluetooth_prop:property_service set;
allow bluetooth pan_result_prop:property_service set;
allow bluetooth ctl_dhcp_pan_prop:property_service set;
+# Bluetooth Sim Access Profile Socket to the RIL
+unix_socket_connect(bluetooth, sap_uim, rild)
+
+
###
### Neverallow rules
###
diff --git a/file.te b/file.te
index 9e56d7f..9a7230c 100644
--- a/file.te
+++ b/file.te
@@ -155,7 +155,7 @@ type system_ndebug_socket, file_type;
type vold_socket, file_type;
type wpa_socket, file_type;
type zygote_socket, file_type;
-
+type sap_uim_socket, file_type;
# UART (for GPS) control proc file
type gps_control, file_type;
diff --git a/file_contexts b/file_contexts
index 62802e0..30fd9e3 100644
--- a/file_contexts
+++ b/file_contexts
@@ -77,6 +77,7 @@
/dev/snd(/.*)? u:object_r:audio_device:s0
/dev/socket(/.*)? u:object_r:socket_device:s0
/dev/socket/adbd u:object_r:adbd_socket:s0
+/dev/socket/sap_uim_socket[0-9] u:object_r:sap_uim_socket:s0
/dev/socket/dnsproxyd u:object_r:dnsproxyd_socket:s0
/dev/socket/dumpstate u:object_r:dumpstate_socket:s0
/dev/socket/fwmarkd u:object_r:fwmarkd_socket:s0