diff options
author | Nickolay Semendyaev <agent00791@gmail.com> | 2017-01-19 19:58:38 +0600 |
---|---|---|
committer | Max Weffers <rcstar6696@gmail.com> | 2017-03-14 13:15:42 +0100 |
commit | eeeb88097b34e2010b8fc8a27ca2cbe741113277 (patch) | |
tree | e7e740dfd4078628dce1e8ba8c73ab1f204c05ac /sepolicy | |
parent | ac499ddc33403616cd9b6c41f142dd68f558cd87 (diff) |
Fix bluetooth SE denials
Change-Id: Ife9e06092421bffc0b77ef38b68df3196938f788
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/bluetooth.te | 4 | ||||
-rw-r--r-- | sepolicy/file_contexts | 4 |
2 files changed, 8 insertions, 0 deletions
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 |