Merge "sepolicy: Configure hbtp jnis as same hal process"

This commit is contained in:
Linux Build Service Account
2018-04-17 14:27:26 -07:00
committed by Gerrit - the friendly Code Review server
4 changed files with 12 additions and 0 deletions

View File

@@ -164,6 +164,11 @@
/vendor/lib(64)?/libTimeService\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libtime_genoff\.so u:object_r:same_process_hal_file:s0
# hbtp dependencies
/vendor/lib(64)?/libhbtpitsjni\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libhbtpdbgclientjni\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libhbtpjni\.so u:object_r:same_process_hal_file:s0
# RenderScript dependencies.
# To test: run cts -m CtsRenderscriptTestCases
/vendor/lib(64)?/libRSDriver_adreno\.so u:object_r:same_process_hal_file:s0

View File

@@ -112,6 +112,7 @@ allow qti_init_shell radio_vendor_data_file:dir create_dir_perms;
allow qti_init_shell radio_vendor_data_file:file create_file_perms;
set_prop(qti_init_shell, system_radio_prop)
set_prop(qti_init_shell, ctl_vendor_hbtp_prop)
# rules for vm_bms
allow qti_init_shell {

View File

@@ -34,3 +34,6 @@ type wc_prop, property_type;
type ctl_vendor_imsrcsservice_prop, property_type;
#mpdecision
type vendor_mpdecision_prop, property_type;
# HBTP
type ctl_vendor_hbtp_prop, property_type;

View File

@@ -44,3 +44,6 @@ ctl.vendor.imsrcsservice u:object_r:ctl_vendor_imsrcsservice_prop:s0
#mpdecision
vendor.post_boot.parsed u:object_r:vendor_mpdecision_prop:s0
ro.vendor.perf.cores_online u:object_r:vendor_mpdecision_prop:s0
# HBTP
ctl.vendor.hbtp u:object_r:ctl_vendor_hbtp_prop:s0