From 9e582d4bc39d4c5117a22b6619323868c672eb7b Mon Sep 17 00:00:00 2001 From: andychou Date: Fri, 12 Mar 2021 11:41:24 +0800 Subject: [PATCH] Fix cuttlefish test fail due to sepolicy of Exo Need to grant gpu_device dir search permission and device_config_runtime_native_boot_prop for testing. Bug: 182445508 Test: atest ExoTests pass on Cuttlefish Change-Id: Ia4c27efa2a900a3781301de19ab38209f818aba1 --- ambient/exo_app.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ambient/exo_app.te b/ambient/exo_app.te index a901a197..941f09ae 100644 --- a/ambient/exo_app.te +++ b/ambient/exo_app.te @@ -10,5 +10,8 @@ allow exo_app mediaserver_service:service_manager find; allow exo_app radio_service:service_manager find; allow exo_app fwk_stats_hwservice:hwservice_manager find; allow exo_app mediametrics_service:service_manager find; +allow exo_app gpu_device:dir search; binder_call(exo_app, statsd) + +get_prop(exo_app, device_config_runtime_native_boot_prop)