Snap for 12748980 from 18df6c5e6f
to 25Q1-release
Change-Id: I0c5f8708cf387f5df55d3e3b87a4d9e5a3207a1c
This commit is contained in:
commit
421c286e6d
2 changed files with 8 additions and 0 deletions
5
vendor/genfs_contexts
vendored
5
vendor/genfs_contexts
vendored
|
@ -346,3 +346,8 @@ genfscon sysfs /devices/platform/13200000.ufs/pixel/boot_lun_enabled u
|
|||
# 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
|
||||
|
||||
# USB
|
||||
starting_at_board_api(202504, `
|
||||
genfscon sysfs /devices/platform/11210000.usb/11210000.dwc3/udc/11210000.dwc3/state u:object_r:sysfs_udc:s0
|
||||
')
|
||||
|
|
3
vendor/hal_usb_impl.te
vendored
3
vendor/hal_usb_impl.te
vendored
|
@ -20,6 +20,9 @@ hal_client_domain(hal_usb_impl, hal_thermal);
|
|||
# For monitoring usb sysfs attributes
|
||||
allow hal_usb_impl sysfs_wakeup:dir search;
|
||||
allow hal_usb_impl sysfs_wakeup:file r_file_perms;
|
||||
starting_at_board_api(202504, `
|
||||
allow hal_usb_impl sysfs_udc:file r_file_perms;
|
||||
')
|
||||
|
||||
# For metrics upload
|
||||
allow hal_usb_impl fwk_stats_service:service_manager find;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue