Allow bthal to access vendor bluetooth folder am: 1a52c8b952
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/23854004 Change-Id: I0d9ef1e480423715137fcbf7b9651753a9c8fa24 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
3e1348f4fc
4 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,2 @@
|
||||||
allow bluetooth proc_vendor_sched:dir r_dir_perms;
|
allow bluetooth proc_vendor_sched:dir r_dir_perms;
|
||||||
allow bluetooth proc_vendor_sched:file w_file_perms;
|
allow bluetooth proc_vendor_sched:file w_file_perms;
|
||||||
|
|
||||||
allow hal_bluetooth_btlinux aoc_device:chr_file { getattr open read write };
|
|
||||||
allow hal_bluetooth_btlinux device:dir r_dir_perms;
|
|
|
@ -68,6 +68,9 @@ type persist_display_file, file_type, vendor_persist_type;
|
||||||
# CHRE
|
# CHRE
|
||||||
type chre_socket, file_type;
|
type chre_socket, file_type;
|
||||||
|
|
||||||
|
# BT
|
||||||
|
type vendor_bt_data_file, file_type, data_file_type;
|
||||||
|
|
||||||
# Storage Health HAL
|
# Storage Health HAL
|
||||||
type proc_f2fs, proc_type, fs_type;
|
type proc_f2fs, proc_type, fs_type;
|
||||||
|
|
||||||
|
|
|
@ -211,6 +211,7 @@
|
||||||
/dev/maxfg_history u:object_r:battery_history_device:s0
|
/dev/maxfg_history u:object_r:battery_history_device:s0
|
||||||
/dev/battery_history u:object_r:battery_history_device:s0
|
/dev/battery_history u:object_r:battery_history_device:s0
|
||||||
/data/vendor/powerstats(/.*)? u:object_r:powerstats_vendor_data_file:s0
|
/data/vendor/powerstats(/.*)? u:object_r:powerstats_vendor_data_file:s0
|
||||||
|
/data/vendor/bluetooth(/.*)? u:object_r:vendor_bt_data_file:s0
|
||||||
|
|
||||||
# Persist
|
# Persist
|
||||||
/mnt/vendor/persist/battery(/.*)? u:object_r:persist_battery_file:s0
|
/mnt/vendor/persist/battery(/.*)? u:object_r:persist_battery_file:s0
|
||||||
|
|
5
whitechapel_pro/hal_bluetooth_btlinux.te
Normal file
5
whitechapel_pro/hal_bluetooth_btlinux.te
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
allow hal_bluetooth_btlinux aoc_device:chr_file { getattr open read write };
|
||||||
|
allow hal_bluetooth_btlinux device:dir r_dir_perms;
|
||||||
|
|
||||||
|
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