From 743969baeabcc50ff7db6c64b227780a15d2e510 Mon Sep 17 00:00:00 2001 From: Ruben Brunk <rubenbrunk@google.com> Date: Tue, 5 Apr 2016 18:12:21 -0700 Subject: [PATCH] Update selinux policy for VrManager AIDL. Bug: 27884853 Change-Id: I097306a324bdc25c5d22868f0342e175ce0dbb9a --- platform_app.te | 1 + service.te | 1 + service_contexts | 1 + 3 files changed, 3 insertions(+) diff --git a/platform_app.te b/platform_app.te index 3e6cd1aac..8ac79327e 100644 --- a/platform_app.te +++ b/platform_app.te @@ -50,3 +50,4 @@ allow platform_app radio_service:service_manager find; allow platform_app surfaceflinger_service:service_manager find; allow platform_app app_api_service:service_manager find; allow platform_app system_api_service:service_manager find; +allow platform_app vr_manager_service:service_manager find; diff --git a/service.te b/service.te index 71f8f3bdb..bd6ab38b0 100644 --- a/service.te +++ b/service.te @@ -110,6 +110,7 @@ type usb_service, app_api_service, system_server_service, service_manager_type; type user_service, app_api_service, system_server_service, service_manager_type; type vibrator_service, app_api_service, system_server_service, service_manager_type; type voiceinteraction_service, app_api_service, system_server_service, service_manager_type; +type vr_manager_service, system_server_service, service_manager_type; type wallpaper_service, app_api_service, system_server_service, service_manager_type; type webviewupdate_service, app_api_service, system_server_service, service_manager_type; type wifip2p_service, app_api_service, system_server_service, service_manager_type; diff --git a/service_contexts b/service_contexts index c1fe96131..288ff901e 100644 --- a/service_contexts +++ b/service_contexts @@ -135,6 +135,7 @@ usb u:object_r:usb_service:s0 user u:object_r:user_service:s0 vibrator u:object_r:vibrator_service:s0 voiceinteraction u:object_r:voiceinteraction_service:s0 +vrmanager u:object_r:vr_manager_service:s0 wallpaper u:object_r:wallpaper_service:s0 webviewupdate u:object_r:webviewupdate_service:s0 wifip2p u:object_r:wifip2p_service:s0 -- GitLab