platform_system_sepolicy/vendor/hal_bluetooth_default.te
Henri Chataing 579a292f3f Add missing permissions for default bluetooth hal
Test: launch_cvd
Bug: 205758693
Ignore-AOSP-First: Some devices in internal define bt_device
Change-Id: Ie55352bbe48c5eef281a293bedc5aa057f5dcdad
2023-01-10 06:41:06 -08:00

8 lines
355 B
Text

type hal_bluetooth_default, domain;
hal_server_domain(hal_bluetooth_default, hal_bluetooth)
allow hal_bluetooth_default bt_device:chr_file { open read write };
allow hal_bluetooth_default self:bluetooth_socket { create bind read write };
type hal_bluetooth_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_bluetooth_default)