Merge "sepolicy: Add label and property policies for vendor_confqmaa"

This commit is contained in:
qctecmdr 2020-11-04 16:23:27 -08:00 committed by Gerrit - the friendly Code Review server
commit 361340b532
4 changed files with 8 additions and 0 deletions

View file

@ -32,6 +32,8 @@ vendor_public_prop(vendor_qcc_prop);
vendor_internal_prop(vendor_mdm_helper_prop); vendor_internal_prop(vendor_mdm_helper_prop);
vendor_internal_prop(vendor_disable_spu_prop); vendor_internal_prop(vendor_disable_spu_prop);
vendor_restricted_prop(vendor_confqmaa);
# boot mode property # boot mode property
vendor_internal_prop(vendor_boot_mode_prop); vendor_internal_prop(vendor_boot_mode_prop);

View file

@ -37,6 +37,8 @@ ctl.vendor.mdm_helper u:object_r:vendor_mdm_helper_prop:s
# qcc property # qcc property
vendor.qti.qdma. u:object_r:vendor_qcc_prop:s0 vendor.qti.qdma. u:object_r:vendor_qcc_prop:s0
ro.vendor.confqmaa u:object_r:vendor_confqmaa:s0 exact bool
#perf #perf
vendor.post_boot.parsed u:object_r:vendor_mpctl_prop:s0 vendor.post_boot.parsed u:object_r:vendor_mpctl_prop:s0
vendor.perf.cores_online u:object_r:vendor_mpctl_prop:s0 vendor.perf.cores_online u:object_r:vendor_mpctl_prop:s0

View file

@ -34,6 +34,8 @@ binder_call(system_server, vendor_hal_srvctracker_default)
allow system_server vendor_proc_audiod:file r_file_perms; allow system_server vendor_proc_audiod:file r_file_perms;
get_prop(system_server, vendor_confqmaa)
# allow system_server to access IOP HAL service # allow system_server to access IOP HAL service
hal_client_domain(system_server, vendor_hal_iop) hal_client_domain(system_server, vendor_hal_iop)

View file

@ -51,6 +51,8 @@ userdebug_or_eng(`
set_prop(vendor_init, vendor_audio_debug_prop) set_prop(vendor_init, vendor_audio_debug_prop)
') ')
set_prop(vendor_init, vendor_confqmaa)
set_prop(vendor_init, vendor_disable_spu_prop) set_prop(vendor_init, vendor_disable_spu_prop)
set_prop(vendor_init, vendor_persist_dpm_prop) set_prop(vendor_init, vendor_persist_dpm_prop)