summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2015-08-05 16:16:18 -0700
committerAvijit Kanti Das <avijitnsec@codeaurora.org>2015-08-10 18:41:56 -0700
commiteb2548da3e49d084553e4e045bf0c2c621927050 (patch)
tree686e663fe21cf29791e51d78b2d3d9c99f4fc177
parent42077eb9957741bfe20daf23034b5845387797de (diff)
downloadandroid_device_qcom_sepolicy-eb2548da3e49d084553e4e045bf0c2c621927050.tar.gz
android_device_qcom_sepolicy-eb2548da3e49d084553e4e045bf0c2c621927050.tar.bz2
android_device_qcom_sepolicy-eb2548da3e49d084553e4e045bf0c2c621927050.zip
Add more policies for location_app
Add service_manager find policy. Change-Id: I0106901e65e66e71bbdd5daace8a3e6cc5f694d0
-rw-r--r--common/location_app.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/location_app.te b/common/location_app.te
index a1936009..a2ef5690 100644
--- a/common/location_app.te
+++ b/common/location_app.te
@@ -7,6 +7,7 @@ qmux_socket(location_app)
#Permissions for JDWP
userdebug_or_eng(`
allow location_app { adbd su }:unix_stream_socket connectto;
+ allow location_app surfaceflinger_service:service_manager find;
')
allow location_app location_app_data_file:dir create_dir_perms;
@@ -17,3 +18,4 @@ allow location_app self:socket create_socket_perms;
allow location_app system_app_data_file:dir r_dir_perms;
allow location_app anr_data_file:dir rw_dir_perms;
allow location_app anr_data_file:file rw_file_perms;
+allow location_app { app_api_service system_api_service }:service_manager find;