Allow bthal to access vendor bluetooth folder
Bug: 289055382 Test: enable vendor debug log and check the vendor snoop log contain the vendor log Change-Id: I25d7080f89ef1ca5836315097eab3c2916c9f4c0
This commit is contained in:
parent
7eeda6a018
commit
73a74266f9
3 changed files with 7 additions and 0 deletions
3
whitechapel/vendor/google/file.te
vendored
3
whitechapel/vendor/google/file.te
vendored
|
@ -55,6 +55,9 @@ type sysfs_fingerprint, sysfs_type, fs_type;
|
|||
# CHRE
|
||||
type chre_socket, file_type;
|
||||
|
||||
# BT
|
||||
type vendor_bt_data_file, file_type, data_file_type;
|
||||
|
||||
# IOMMU
|
||||
type sysfs_iommu, sysfs_type, fs_type;
|
||||
|
||||
|
|
1
whitechapel/vendor/google/file_contexts
vendored
1
whitechapel/vendor/google/file_contexts
vendored
|
@ -153,6 +153,7 @@
|
|||
|
||||
# data files
|
||||
/data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0
|
||||
/data/vendor/bluetooth(/.*)? u:object_r:vendor_bt_data_file:s0
|
||||
|
||||
# Camera
|
||||
/vendor/bin/hw/android\.hardware\.camera\.provider@2\.7-service-google u:object_r:hal_camera_default_exec:s0
|
||||
|
|
3
whitechapel/vendor/google/hal_bluetooth_btlinux.te
vendored
Normal file
3
whitechapel/vendor/google/hal_bluetooth_btlinux.te
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
allow hal_bluetooth_btlinux vendor_bt_data_file:dir rw_dir_perms;
|
||||
allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue