From eeeb88097b34e2010b8fc8a27ca2cbe741113277 Mon Sep 17 00:00:00 2001 From: Nickolay Semendyaev Date: Thu, 19 Jan 2017 19:58:38 +0600 Subject: Fix bluetooth SE denials Change-Id: Ife9e06092421bffc0b77ef38b68df3196938f788 --- sepolicy/bluetooth.te | 4 ++++ sepolicy/file_contexts | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 sepolicy/bluetooth.te (limited to 'sepolicy') diff --git a/sepolicy/bluetooth.te b/sepolicy/bluetooth.te new file mode 100644 index 0000000..bea11a3 --- /dev/null +++ b/sepolicy/bluetooth.te @@ -0,0 +1,4 @@ +allow bluetooth hci_attach_dev:chr_file { open read write }; +allow bluetooth ta_data_file:file { open read }; +allow bluetooth ta_data_file:dir { search }; + diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 22d0c1a..e63d151 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -17,6 +17,10 @@ /mnt/idd u:object_r:iddd_file:s0 /system/bin/idd-logreader u:object_r:iddd_exec:s0 +# HCI +/dev/ttyHS0 u:object_r:hci_attach_dev:s0 +/dev/brcm_bt_drv u:object_r:hci_attach_dev:s0 + # Taimport /data/etc(/.*) u:object_r:ta_data_file:s0 -- cgit v1.2.3