Merge "traced_probes: allow traced_probes to access diskstats info"

This commit is contained in:
Daeho Jeong 2023-04-04 01:25:18 +00:00 committed by Gerrit Code Review
commit 37eb6de3d0

View file

@ -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)