selinux: fix mitigation_vendor_file access

Bug: 266118091
Test: Local test to confirm error doesn't show up
Change-Id: Ie9e55230211f20efc7bba448bfc335799d0e1d56
Signed-off-by: George Lee <geolee@google.com>
This commit is contained in:
George Lee 2023-01-19 14:19:05 -08:00
parent c4d610a86b
commit 574ebbacf8

View file

@ -5,5 +5,5 @@ allow pixelstats_vendor battery_history_device:chr_file r_file_perms;
allow pixelstats_vendor sysfs_bcl:dir search;
allow pixelstats_vendor sysfs_bcl:file r_file_perms;
allow pixelstats_vendor mitigation_vendor_data_file:dir search;
allow pixelstats_vendor mitigation_vendor_data_file:file { read write };
allow pixelstats_vendor mitigation_vendor_data_file:file rw_file_perms;
get_prop(pixelstats_vendor, vendor_brownout_reason_prop);