diff options
-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 |