From 624dc30de4533f934bc044c07de72cb312484608 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 Merged-In: I700c1b8b613dba1c99f4fbffdd905c0052c1b2e7 Change-Id: I700c1b8b613dba1c99f4fbffdd905c0052c1b2e7 --- private/compat/26.0/26.0.ignore.cil | 1 + private/compat/27.0/27.0.ignore.cil | 3 ++- private/service_contexts | 1 + public/service.te | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/private/compat/26.0/26.0.ignore.cil b/private/compat/26.0/26.0.ignore.cil index f293d0808..1be457403 100644 --- a/private/compat/26.0/26.0.ignore.cil +++ b/private/compat/26.0/26.0.ignore.cil @@ -4,6 +4,7 @@ (typeattribute new_objects) (typeattributeset new_objects ( 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 ed6f8bffd..bfa68d02e 100644 --- a/private/compat/27.0/27.0.ignore.cil +++ b/private/compat/27.0/27.0.ignore.cil @@ -3,7 +3,8 @@ ;; previous ones. Add here to pass checkapi tests. (typeattribute new_objects) (typeattributeset new_objects - ( blank_screen + ( binder_calls_stats_service + blank_screen blank_screen_exec blank_screen_tmpfs bootloader_boot_reason_prop diff --git a/private/service_contexts b/private/service_contexts index bf087ea8e..5ec45a23e 100644 --- a/private/service_contexts +++ b/private/service_contexts @@ -14,6 +14,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 e13b6d5e7..3526049f2 100644 --- a/public/service.te +++ b/public/service.te @@ -46,6 +46,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