WLC: Add required sysfs_wlc sepolicies
The sysfs_wlc is still required for certain services like hal_health_default. Add these sepolicies to pass the tests. Bug: 267171670 Change-Id: If2b5b007f4a24e91b2be83bb20676eb449b9415f Signed-off-by: Ken Yang <yangken@google.com>
This commit is contained in:
parent
a8526b30e0
commit
af9057e7fb
2 changed files with 5 additions and 0 deletions
1
vendor/hal_health_default.te
vendored
1
vendor/hal_health_default.te
vendored
|
@ -11,4 +11,5 @@ allow hal_health_default fwk_stats_service:service_manager find;
|
|||
allow hal_health_default sysfs_scsi_devices_0000:dir r_dir_perms;
|
||||
allow hal_health_default sysfs_scsi_devices_0000:file rw_file_perms;
|
||||
|
||||
allow hal_health_default sysfs_wlc:dir search;
|
||||
allow hal_health_default sysfs_batteryinfo:file w_file_perms;
|
||||
|
|
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;
|
||||
get_prop(pixelstats_vendor, vendor_brownout_reason_prop);
|
||||
|
||||
# Wireless charge
|
||||
allow pixelstats_vendor sysfs_wlc:dir search;
|
||||
allow pixelstats_vendor sysfs_wlc:file rw_file_perms;
|
||||
|
||||
# PCIe Link Statistics
|
||||
allow pixelstats_vendor sysfs_pcie:dir search;
|
||||
allow pixelstats_vendor sysfs_pcie:file rw_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue