zuma-sepolicy: pixelstats: enable pixelstats access to perf-metrics
enable pixelstats access to sysfs path Bug: 246799997 Test: Verified the existence of atom and correctness of atom stats Change-Id: I874f7ff06b91b028cd6bbffd682429763c264d9f Signed-off-by: Ziyi Cui <ziyic@google.com>
This commit is contained in:
parent
83126173b7
commit
3e6ba1f4e3
1 changed files with 4 additions and 0 deletions
4
vendor/pixelstats_vendor.te
vendored
4
vendor/pixelstats_vendor.te
vendored
|
@ -8,6 +8,10 @@ allow pixelstats_vendor mitigation_vendor_data_file:dir search;
|
||||||
allow pixelstats_vendor mitigation_vendor_data_file:file rw_file_perms;
|
allow pixelstats_vendor mitigation_vendor_data_file:file rw_file_perms;
|
||||||
get_prop(pixelstats_vendor, vendor_brownout_reason_prop);
|
get_prop(pixelstats_vendor, vendor_brownout_reason_prop);
|
||||||
|
|
||||||
|
#vendor-metrics
|
||||||
|
r_dir_file(pixelstats_vendor, sysfs_vendor_metrics)
|
||||||
|
allow pixelstats_vendor sysfs_vendor_metrics:lnk_file r_file_perms;
|
||||||
|
|
||||||
# Wireless charge
|
# Wireless charge
|
||||||
allow pixelstats_vendor sysfs_wlc:dir search;
|
allow pixelstats_vendor sysfs_wlc:dir search;
|
||||||
allow pixelstats_vendor sysfs_wlc:file rw_file_perms;
|
allow pixelstats_vendor sysfs_wlc:file rw_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue