From 9fa7dc9c7b0716554c8098dfea55033bbc01d159 Mon Sep 17 00:00:00 2001 From: shubang Date: Fri, 22 Oct 2021 00:02:05 -0700 Subject: [PATCH] Add SE policy for tv_iapp Bug: 203730671 Test: cuttlefish; Change-Id: I533f2004343aafe5660e4018e73111880dfa647f --- private/compat/31.0/31.0.ignore.cil | 1 + private/service_contexts | 1 + public/service.te | 1 + 3 files changed, 3 insertions(+) diff --git a/private/compat/31.0/31.0.ignore.cil b/private/compat/31.0/31.0.ignore.cil index 7decba144..232741f02 100644 --- a/private/compat/31.0/31.0.ignore.cil +++ b/private/compat/31.0/31.0.ignore.cil @@ -31,6 +31,7 @@ untrusted_app_30 proc_vendor_sched sysfs_vendor_sched + tv_iapp_service vendor_vm_file vendor_vm_data_file virtual_device_service diff --git a/private/service_contexts b/private/service_contexts index b9ab85da2..70b73c325 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -291,6 +291,7 @@ thermalservice u:object_r:thermal_service:s0 tracing.proxy u:object_r:tracingproxy_service:s0 translation u:object_r:translation_service:s0 trust u:object_r:trust_service:s0 +tv_iapp u:object_r:tv_iapp_service:s0 tv_input u:object_r:tv_input_service:s0 tv_tuner_resource_mgr u:object_r:tv_tuner_resource_mgr_service:s0 uce u:object_r:uce_service:s0 diff --git a/public/service.te b/public/service.te index a82194198..049c074f5 100644 --- a/public/service.te +++ b/public/service.te @@ -219,6 +219,7 @@ type timezone_service, system_server_service, service_manager_type; type timezonedetector_service, app_api_service, system_server_service, service_manager_type; type translation_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type trust_service, app_api_service, system_server_service, service_manager_type; +type tv_iapp_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type tv_input_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type tv_tuner_resource_mgr_service, app_api_service, system_server_service, service_manager_type; type uimode_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;