mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-28 13:35:33 +00:00
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:
@@ -1,5 +1,2 @@
|
||||
allow bluetooth proc_vendor_sched:dir r_dir_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
|
||||
type chre_socket, file_type;
|
||||
|
||||
# BT
|
||||
type vendor_bt_data_file, file_type, data_file_type;
|
||||
|
||||
# Storage Health HAL
|
||||
type proc_f2fs, proc_type, fs_type;
|
||||
|
||||
|
||||
@@ -211,6 +211,7 @@
|
||||
/dev/maxfg_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/bluetooth(/.*)? u:object_r:vendor_bt_data_file:s0
|
||||
|
||||
# Persist
|
||||
/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;
|
||||
Reference in New Issue
Block a user