From 05675aa94c505f500299ba77f53740b9cf87ac1d Mon Sep 17 00:00:00 2001 From: Fyodor Kupolov <fkupolov@google.com> Date: Wed, 10 Jan 2018 18:11:22 -0800 Subject: [PATCH] Added SELinux policy for BinderCallsStatsService Test: manual Bug: 75318418 Change-Id: I700c1b8b613dba1c99f4fbffdd905c0052c1b2e7 --- private/compat/26.0/26.0.ignore.cil | 1 + private/compat/27.0/27.0.ignore.cil | 1 + private/service_contexts | 1 + public/service.te | 1 + 4 files changed, 4 insertions(+) diff --git a/private/compat/26.0/26.0.ignore.cil b/private/compat/26.0/26.0.ignore.cil index 6c7b31ad9..9fbd514fc 100644 --- a/private/compat/26.0/26.0.ignore.cil +++ b/private/compat/26.0/26.0.ignore.cil @@ -5,6 +5,7 @@ (typeattributeset new_objects ( adb_service adbd_exec + binder_calls_stats_service bootloader_boot_reason_prop blank_screen blank_screen_exec diff --git a/private/compat/27.0/27.0.ignore.cil b/private/compat/27.0/27.0.ignore.cil index 8ec640919..2b6eae18a 100644 --- a/private/compat/27.0/27.0.ignore.cil +++ b/private/compat/27.0/27.0.ignore.cil @@ -4,6 +4,7 @@ (typeattribute new_objects) (typeattributeset new_objects ( adb_service + binder_calls_stats_service blank_screen blank_screen_exec blank_screen_tmpfs diff --git a/private/service_contexts b/private/service_contexts index 985444f90..8656b4eca 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -15,6 +15,7 @@ backup u:object_r:backup_service:s0 batteryproperties u:object_r:batteryproperties_service:s0 batterystats u:object_r:batterystats_service:s0 battery u:object_r:battery_service:s0 +binder_calls_stats u:object_r:binder_calls_stats_service:s0 bluetooth_manager u:object_r:bluetooth_manager_service:s0 bluetooth u:object_r:bluetooth_service:s0 broadcastradio u:object_r:broadcastradio_service:s0 diff --git a/public/service.te b/public/service.te index ae45987a9..394e33478 100644 --- a/public/service.te +++ b/public/service.te @@ -47,6 +47,7 @@ type autofill_service, app_api_service, ephemeral_app_api_service, system_server type backup_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type batterystats_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type battery_service, system_server_service, service_manager_type; +type binder_calls_stats_service, system_server_service, service_manager_type; type bluetooth_manager_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type; type broadcastradio_service, system_server_service, service_manager_type; type cameraproxy_service, system_server_service, service_manager_type; -- GitLab