summaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2017-02-17 22:53:04 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-02-17 22:53:04 +0000
commitf8d09f23cec07a78ff0a206491515275b074aecf (patch)
tree72dc06793c11aa192473b909e83d84a5ff1ddc83 /sepolicy
parent7cdb4c43ddda5ebd6b095f4508acc4cff298c3cb (diff)
parent6d42f1158647174f4fde032fac53b1334a4ad0b9 (diff)
downloadbullhead-f8d09f23cec07a78ff0a206491515275b074aecf.tar.gz
Merge "Move Bluetooth HAL policy to hal_bluetooth" am: 77459de7b2 am: 8c443ef371
am: 6d42f11586 Change-Id: I535e541addd2d4e82bf6beb76d5168a5bb876ade
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/bluetooth.te11
-rw-r--r--sepolicy/hal_bluetooth.te11
2 files changed, 11 insertions, 11 deletions
diff --git a/sepolicy/bluetooth.te b/sepolicy/bluetooth.te
deleted file mode 100644
index edab8e0..0000000
--- a/sepolicy/bluetooth.te
+++ /dev/null
@@ -1,11 +0,0 @@
-allow bluetooth sysfs:file rw_file_perms;
-allow bluetooth sysfs_usb:file w_file_perms;
-
-allow bluetooth ttyHS0_device:chr_file rw_file_perms;
-allow bluetooth start_hci_filter:unix_stream_socket connectto;
-
-set_prop(bluetooth, wc_transport_prop)
-
-# read /persist/bdaddr.txt
-allow bluetooth persist_file:dir search;
-allow bluetooth persist_file:file r_file_perms;
diff --git a/sepolicy/hal_bluetooth.te b/sepolicy/hal_bluetooth.te
new file mode 100644
index 0000000..d44bbcb
--- /dev/null
+++ b/sepolicy/hal_bluetooth.te
@@ -0,0 +1,11 @@
+allow hal_bluetooth sysfs:file rw_file_perms;
+allow hal_bluetooth sysfs_usb:file w_file_perms;
+
+allow hal_bluetooth ttyHS0_device:chr_file rw_file_perms;
+allow hal_bluetooth start_hci_filter:unix_stream_socket connectto;
+
+set_prop(hal_bluetooth, wc_transport_prop)
+
+# read /persist/bdaddr.txt
+allow hal_bluetooth persist_file:dir search;
+allow hal_bluetooth persist_file:file r_file_perms;