legacy: Added permission for Perf HAL to set prop

Added permissions for Perf HAL to set property
values

CRs-Fixed: 2682965

Change-Id: I76c55c4cd46caee6896a302d2cea305c49283315
This commit is contained in:
richagar 2020-05-11 13:35:15 +05:30 committed by Bruno Martins
parent cb81e48a83
commit 58656bdc90
2 changed files with 4 additions and 0 deletions

View file

@ -92,3 +92,6 @@ allow hal_perf {
# Allow to self kill capability
allow hal_perf_default self:capability { kill };
# Allow hal_perf to set property
set_prop(hal_perf_default, vendor_mpctl_prop)

View file

@ -78,6 +78,7 @@ vendor.perf.cores_online u:object_r:vendor_mpctl_prop:s0
persist.vendor.qti. u:object_r:vendor_mpctl_prop:s0
ro.vendor.at_library u:object_r:vendor_mpctl_prop:s0
vendor.debug.trace.perf u:object_r:vendor_mpctl_prop:s0
vendor.target.init.complete u:object_r:vendor_mpctl_prop:s0
vendor.iop.enable_uxe u:object_r:vendor_iop_prop:s0
vendor.perf.iop_v3.enable u:object_r:vendor_iop_prop:s0
vendor.perf.iop_v3.enable.debug u:object_r:vendor_iop_prop:s0