thermal: enable pixelstats access to thermal metrics
Allow pixelstats daemon to access thermal metric nodes Bug: 277625975 Test: Build and boot on device. Check DFS stats Change-Id: I50d71d12f4f9d3a1b83a606ba6a7159c46ebec14 Signed-off-by: Sayanna Chandula <sayanna@google.com>
This commit is contained in:
parent
46fd63b761
commit
0df51526da
1 changed files with 4 additions and 0 deletions
4
vendor/pixelstats_vendor.te
vendored
4
vendor/pixelstats_vendor.te
vendored
|
@ -21,3 +21,7 @@ allow pixelstats_vendor sysfs_pcie:dir search;
|
||||||
allow pixelstats_vendor sysfs_pcie:file rw_file_perms;
|
allow pixelstats_vendor sysfs_pcie:file rw_file_perms;
|
||||||
|
|
||||||
allow pixelstats_vendor sysfs_pixelstats:file r_file_perms;
|
allow pixelstats_vendor sysfs_pixelstats:file r_file_perms;
|
||||||
|
|
||||||
|
#Thermal
|
||||||
|
r_dir_file(pixelstats_vendor, sysfs_thermal)
|
||||||
|
allow pixelstats_vendor sysfs_thermal:lnk_file r_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue