Merge changes from topic "threadbt_se_policy" into main

* changes:
  Grant Thread HAL service to access BT HAL folder
  Grant BT HAL to access socket file
This commit is contained in:
Treehugger Robot 2024-02-05 03:31:48 +00:00 committed by Android (Google) Code Review
commit ad3761f873
2 changed files with 4 additions and 0 deletions

1
vendor/hal_bluetooth_btlinux.te vendored Normal file
View file

@ -0,0 +1 @@
allow hal_bluetooth_btlinux vendor_bt_data_file:sock_file create_file_perms;

3
vendor/hal_threadnetwork_default.te vendored Normal file
View file

@ -0,0 +1,3 @@
allow hal_threadnetwork_default vendor_bt_data_file:dir r_dir_perms;
allow hal_threadnetwork_default vendor_bt_data_file:sock_file rw_file_perms;
allow hal_threadnetwork_default hal_bluetooth_btlinux:unix_stream_socket connectto;