summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--soc/msm8916/init.msm8916.rc2
-rw-r--r--soc/msm8916/sepolicy/file_contexts4
2 files changed, 5 insertions, 1 deletions
diff --git a/soc/msm8916/init.msm8916.rc b/soc/msm8916/init.msm8916.rc
index 6e1d8eb..479ba93 100644
--- a/soc/msm8916/init.msm8916.rc
+++ b/soc/msm8916/init.msm8916.rc
@@ -26,5 +26,5 @@ on fs
write /sys/class/android_usb/android0/f_ffs/aliases adb
wait /dev/block/platform/soc.0/7824900.sdhci/by-name/modem
mount vfat /dev/block/platform/soc.0/7824900.sdhci/by-name/modem /firmware ro context=u:object_r:firmware_file:s0,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337
-
+ chown bluetooth /dev/smd2 /dev/smd3
diff --git a/soc/msm8916/sepolicy/file_contexts b/soc/msm8916/sepolicy/file_contexts
index e534a5a..854a80c 100644
--- a/soc/msm8916/sepolicy/file_contexts
+++ b/soc/msm8916/sepolicy/file_contexts
@@ -1,2 +1,6 @@
# Serial console
/dev/ttyHSL0 u:object_r:console_device:s0
+
+# Bluetooth memory devices
+/dev/smd2 u:object_r:bluetoothtbd_device:s0
+/dev/smd3 u:object_r:bluetoothtbd_device:s0