Merge "traced_probes: allow traced_probes to access diskstats info" am: 37eb6de3d0
am: 68d1558beb
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2520359 Change-Id: Icdb4748903608bf7ee43268d9e15b1c4691af03a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
734cb2c018
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ allow traced_probes {
|
|||
allow traced_probes sysfs_devfreq_dir:dir r_dir_perms;
|
||||
allow traced_probes sysfs_devfreq_cur:file r_file_perms;
|
||||
|
||||
# Allow access to read /proc/diskstats for I/O profiling.
|
||||
allow traced_probes proc_diskstats:file r_file_perms;
|
||||
|
||||
# Allow access to the IHealth and IPowerStats HAL service for tracing battery counters.
|
||||
hal_client_domain(traced_probes, hal_health)
|
||||
hal_client_domain(traced_probes, hal_power_stats)
|
||||
|
|
Loading…
Reference in a new issue