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:
parent
cb81e48a83
commit
58656bdc90
2 changed files with 4 additions and 0 deletions
3
legacy/vendor/common/hal_perf_default.te
vendored
3
legacy/vendor/common/hal_perf_default.te
vendored
|
@ -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)
|
||||
|
|
1
legacy/vendor/common/property_contexts
vendored
1
legacy/vendor/common/property_contexts
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue