Merge "Allow traced_probes to read devfreq"
This commit is contained in:
commit
47b6227134
3 changed files with 8 additions and 0 deletions
|
@ -116,6 +116,8 @@
|
|||
snapuserd_socket
|
||||
soc_prop
|
||||
speech_recognition_service
|
||||
sysfs_devfreq_cur
|
||||
sysfs_devfreq_dir
|
||||
sysfs_devices_cs_etm
|
||||
sysfs_dma_heap
|
||||
sysfs_dmabuf_stats
|
||||
|
|
|
@ -82,6 +82,10 @@ allow traced_probes {
|
|||
proc_stat
|
||||
}:file r_file_perms;
|
||||
|
||||
# Allow access to read /sys/class/devfreq/ and /$DEVICE/cur_freq files
|
||||
allow traced_probes sysfs_devfreq_dir:dir r_dir_perms;
|
||||
allow traced_probes sysfs_devfreq_cur: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)
|
||||
|
|
|
@ -86,6 +86,8 @@ type sysfs_android_usb, fs_type, sysfs_type;
|
|||
type sysfs_uio, sysfs_type, fs_type;
|
||||
type sysfs_batteryinfo, fs_type, sysfs_type;
|
||||
type sysfs_bluetooth_writable, fs_type, sysfs_type, mlstrustedobject;
|
||||
type sysfs_devfreq_cur, fs_type, sysfs_type;
|
||||
type sysfs_devfreq_dir, fs_type, sysfs_type;
|
||||
type sysfs_devices_block, fs_type, sysfs_type;
|
||||
type sysfs_dm, fs_type, sysfs_type;
|
||||
type sysfs_dm_verity, fs_type, sysfs_type;
|
||||
|
|
Loading…
Reference in a new issue