Merge ab/AP4A.241205.013 into aosp-main-future
Bug: 370570306 Merged-In: I195f779cc6588c37ccdbe4bb8b29ee8f2edd861a Change-Id: I4ef5ab22379c7c42e0b3dfbf4862e118b2ce6300
This commit is contained in:
commit
b55ad960ba
2 changed files with 16 additions and 1 deletions
15
whitechapel/vendor/google/dump_power.te
vendored
Normal file
15
whitechapel/vendor/google/dump_power.te
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Allow dumpstate to execute dump_power
|
||||
pixel_bugreport(dump_power);
|
||||
|
||||
allow dump_power sysfs_acpm_stats:dir r_dir_perms;
|
||||
allow dump_power sysfs_acpm_stats:file r_file_perms;
|
||||
allow dump_power sysfs_cpu:file r_file_perms;
|
||||
allow dump_power sysfs_wlc:file r_file_perms;
|
||||
allow dump_power sysfs_wlc:dir search;
|
||||
allow dump_power sysfs_batteryinfo:dir r_dir_perms;
|
||||
allow dump_power sysfs_batteryinfo:file r_file_perms;
|
||||
allow dump_power logbuffer_device:chr_file r_file_perms;
|
||||
allow dump_power mitigation_vendor_data_file:dir r_dir_perms;
|
||||
allow dump_power mitigation_vendor_data_file:file r_file_perms;
|
||||
allow dump_power sysfs_bcl:dir r_dir_perms;
|
||||
allow dump_power sysfs_bcl:file r_file_perms;
|
2
whitechapel/vendor/google/file_contexts
vendored
2
whitechapel/vendor/google/file_contexts
vendored
|
@ -16,7 +16,7 @@
|
|||
/(vendor|system/vendor)/lib(64)?/libgpudataproducer\.so u:object_r:same_process_hal_file:s0
|
||||
|
||||
/vendor/bin/dumpsys u:object_r:vendor_dumpsys:s0
|
||||
|
||||
/vendor/bin/dump/dump_power u:object_r:dump_power_exec:s0
|
||||
#
|
||||
# HALs
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue