Merge "allow hal_bluetooth_btlinux write sysfs file" into main
This commit is contained in:
commit
07c6dcc88f
3 changed files with 7 additions and 0 deletions
1
vendor/file.te
vendored
1
vendor/file.te
vendored
|
@ -61,6 +61,7 @@ type chre_socket, file_type;
|
|||
|
||||
# BT
|
||||
type vendor_bt_data_file, file_type, data_file_type;
|
||||
type sysfs_bt_uart, sysfs_type, fs_type;
|
||||
|
||||
# Vendor sched files
|
||||
userdebug_or_eng(`
|
||||
|
|
3
vendor/genfs_contexts
vendored
3
vendor/genfs_contexts
vendored
|
@ -495,3 +495,6 @@ genfscon sysfs /devices/platform/pwmleds/leds/green/max_brightness u:obje
|
|||
# CPU
|
||||
genfscon sysfs /kernel/metrics/cpuidle_histogram/cpuidle_histogram u:object_r:sysfs_cpu:s0
|
||||
genfscon sysfs /kernel/metrics/cpuidle_histogram/cpucluster_histogram u:object_r:sysfs_cpu:s0
|
||||
|
||||
# Bluetooth
|
||||
genfscon sysfs /devices/platform/155d0000.serial/uart_dbg u:object_r:sysfs_bt_uart:s0
|
||||
|
|
3
vendor/hal_bluetooth_btlinux.te
vendored
3
vendor/hal_bluetooth_btlinux.te
vendored
|
@ -1 +1,4 @@
|
|||
# Allow triggering uart skip suspend
|
||||
allow hal_bluetooth_btlinux sysfs_bt_uart:file w_file_perms;
|
||||
|
||||
allow hal_bluetooth_btlinux vendor_bt_data_file:sock_file create_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue