Merge tag 'LA.QSSI.13.0.r1-08300-qssi.0' into staging/lineage-20.0_merge-LA.QSSI.13.0.r1-08300-qssi.0

"LA.QSSI.13.0.r1-08300-qssi.0"

# By Himanshu Shukla
# Via Linux Build Service Account (1) and Stephen Thomas-Dorin (1)
* tag 'LA.QSSI.13.0.r1-08300-qssi.0':
  IMS: sepolicy for dcservice

Change-Id: I0a202e2e0d7b3f216cb5425bada5c25f8bfac273
This commit is contained in:
Michael Bestas
2023-01-10 18:56:24 +02:00
4 changed files with 8 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ net_domain(vendor_dataservice_app)
add_service(vendor_dataservice_app, vendor_cne_service)
add_service(vendor_dataservice_app, vendor_dpmservice)
add_service(vendor_dataservice_app, uce_service)
add_service(vendor_dataservice_app, vendor_imsdc_service)
allow vendor_dataservice_app {
app_api_service
system_api_service
@@ -45,7 +46,7 @@ allow vendor_dataservice_app radio_data_file:{ file lnk_file } create_file_perms
hwbinder_use(vendor_dataservice_app)
add_service(vendor_dataservice_app, vendor_dpmservice)
allow vendor_dataservice_app system_app_data_file:dir create_dir_perms;
allow vendor_dataservice_app vendor_dpmd_socket:sock_file write;
allow vendor_dataservice_app vendor_dpmd_data_file:dir rw_dir_perms;

View File

@@ -25,6 +25,7 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
type vendor_cne_service, service_manager_type;
type vendor_imsdc_service, service_manager_type;
type vendor_seemp_service, service_manager_type;
type vendor_dpmservice, service_manager_type;
type vendor_MinkBinderSvc, app_api_service, service_manager_type;

View File

@@ -25,6 +25,7 @@
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cneservice u:object_r:vendor_cne_service:s0
vendor.imsdcservice u:object_r:vendor_imsdc_service:s0
com.qualcomm.qti.ustaservice.USTAServiceImpl u:object_r:vendor_usta_app_service:s0
dpmservice u:object_r:vendor_dpmservice:s0
MinkBinderSvc u:object_r:vendor_MinkBinderSvc:s0

View File

@@ -293,6 +293,10 @@ attribute vendor_hal_qms_qti;
attribute vendor_hal_qms_qti_client;
attribute vendor_hal_qms_qti_server;
attribute vendor_hal_dcservice_qti;
attribute vendor_hal_dcservice_qti_client;
attribute vendor_hal_dcservice_qti_server;
attribute vendor_hal_minkipc;
attribute vendor_hal_minkipc_client;
attribute vendor_hal_minkipc_server;