summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Tang <zhikait@codeaurora.org>2015-10-14 18:35:42 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2015-10-22 22:13:50 -0700
commit03d6f16e2bb2b974e37ca59e06a7801bab5958a9 (patch)
tree66a0360cb4c70ac4397a60ff9f34ff1a6d56a234
parentae0a6698f5def2c4ea72f9ccd3eeb4faf6bf59a0 (diff)
downloadandroid_device_qcom_sepolicy-03d6f16e2bb2b974e37ca59e06a7801bab5958a9.tar.gz
android_device_qcom_sepolicy-03d6f16e2bb2b974e37ca59e06a7801bab5958a9.tar.bz2
android_device_qcom_sepolicy-03d6f16e2bb2b974e37ca59e06a7801bab5958a9.zip
Location: added network access permission for test app
ODLT needs to use Maps for testing, which would require internet network access. Adding the correspnoding SE rule. Change-Id: Ifea3b6f8e3769744fc9a5f5250539d0003a9896b CRs-Fixed: 923772
-rw-r--r--common/location_app.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/location_app.te b/common/location_app.te
index a2ef5690..7bc7a5a7 100644
--- a/common/location_app.te
+++ b/common/location_app.te
@@ -6,6 +6,7 @@ qmux_socket(location_app)
#Permissions for JDWP
userdebug_or_eng(`
+ net_domain(location_app)
allow location_app { adbd su }:unix_stream_socket connectto;
allow location_app surfaceflinger_service:service_manager find;
')