platform_system_sepolicy/vendor/hal_bluetooth_btlinux.te
Dmitry Shmidt 1b4917bd1b btlinux: Move HAL definitions from system/bt
Test: ls -laZ /vendor/bin/hw/android.hardware.bluetooth*
Change-Id: I394594ad041f87583ca6b5b44d836cfab5da8103
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
(cherry picked from commit 467f32160bf8b4e8faafba43289f340e9b8c7352)
2018-06-27 14:51:00 -07:00

8 lines
355 B
Text

type hal_bluetooth_btlinux, domain;
type hal_bluetooth_btlinux_exec, exec_type, file_type, vendor_file_type;
hal_server_domain(hal_bluetooth_btlinux, hal_bluetooth)
init_daemon_domain(hal_bluetooth_btlinux)
allow hal_bluetooth_btlinux self:socket { create bind read write };
allow hal_bluetooth_btlinux self:bluetooth_socket { create bind read write };