Grant Thread HAL service to access BT HAL folder
02-02 14:36:00.660 2378 2378 I android.hardwar: type=1400 audit(0.0:15): avc: denied { read } for name="bluetooth" dev="dm-53" ino=399 scontext=u:r:hal_threadnetwork_default:s0 tcontext=u:object_r:vendor_bt_data_file:s0 tclass=dir permissive=1 02-02 14:36:00.660 2378 2378 I android.hardwar: type=1400 audit(0.0:16): avc: denied { watch } for path="/data/vendor/bluetooth" dev="dm-53" ino=399 scontext=u:r:hal_threadnetwork_default:s0 tcontext=u:object_r:vendor_bt_data_file:s0 tclass=dir permissive=1 02-02 14:36:02.664 2378 2378 I android.hardwar: type=1400 audit(0.0:17): avc: denied { search } for name="bluetooth" dev="dm-53" ino=399 scontext=u:r:hal_threadnetwork_default:s0 tcontext=u:object_r:vendor_bt_data_file:s0 tclass=dir permissive=1 14:36:29.076 7627 7627 I android.hardwar: type=1400 audit(0.0:30): avc: denied { getattr } for path="/data/vendor/bluetooth/thread_dispatcher_socket" dev="dm-53" ino=46090 scontext=u:r:hal_threadnetwork_default:s0 tcontext=u:object_r:vendor_bt_data_file:s0 tclass=sock_file permissive=1 02-02 14:36:29.076 7627 7627 I android.hardwar: type=1400 audit(0.0:31): avc: denied { write } for name="thread_dispatcher_socket" dev="dm-53" ino=46090 scontext=u:r:hal_threadnetwork_default:s0 tcontext=u:object_r:vendor_bt_data_file:s0 tclass=sock_file permissive=1 02-02 14:36:29.076 7627 7627 I android.hardwar: type=1400 audit(0.0:32): avc: denied { connectto } for path="/data/vendor/bluetooth/thread_dispatcher_socket" scontext=u:r:hal_threadnetwork_default:s0 tcontext=u:r:hal_bluetooth_btlinux:s0 tclass=unix_stream_socket permissive=1 Bug: 318594282 Test: reboot and open bluetooth Change-Id: Ia63ed27b732eafa2e0aa3311fc7cea9c77e7b50c
This commit is contained in:
parent
a94e372811
commit
ed3ca1e266
1 changed files with 3 additions and 0 deletions
3
vendor/hal_threadnetwork_default.te
vendored
Normal file
3
vendor/hal_threadnetwork_default.te
vendored
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue