Merge "sepolicy: Fix avc denials for QSTA test app."

This commit is contained in:
qctecmdr
2019-11-04 04:08:15 -08:00
committed by Gerrit - the friendly Code Review server
3 changed files with 4 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ ctl.vendor.ipacm-diag u:object_r:ipacm-diag_prop:s0
ctl.vendor.dataqti u:object_r:vendor_dataqti_prop:s0
ctl.vendor.sensors u:object_r:sensors_prop:s0
persist.vendor.sensors. u:object_r:sensors_prop:s0
ro.vendor.sensors. u:object_r:sensors_prop:s0
vendor.audio. u:object_r:vendor_audio_prop:s0
vendor.voice. u:object_r:vendor_audio_prop:s0
persist.vendor.audio. u:object_r:vendor_audio_prop:s0

View File

@@ -33,6 +33,7 @@ type qsta_app, domain;
app_domain(qsta_app)
hal_client_domain(qsta_app, hal_perf)
r_dir_file(qsta_app, persist_sensors_file)
get_prop(qsta_app, sensors_prop)
allow qsta_app {
app_api_service

View File

@@ -32,8 +32,8 @@ user=system seinfo=platform name=.pdtapps domain=pdt_app type=system_app_data_fi
user=system seinfo=platform name=com.qualcomm.qti.usta domain=usta_app type=system_app_data_file
#Add new domain for qsta app
user=system seinfo=platform name=com.qualcomm.qti.sensors.qsensortest domain=qsta_app type=system_app_data_file
user=_app seinfo=platform name=com.qualcomm.qti.sensors.qsensortest domain=qsta_app type=app_data_file
#Add new domain for ustaservice app
# Needed for USTA test app
user=system seinfo=platform name=com.qualcomm.qti.ustaservice domain=ustaservice_app type=system_app_data_file
user=system seinfo=platform name=com.qualcomm.qti.ustaservice domain=ustaservice_app type=system_app_data_file