summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiafei Wen <jiafeiw@codeaurora.org>2015-11-09 13:57:00 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-02-24 03:46:00 -0800
commit84249b6bdd1066c09e4367308c9539c1dd6a17df (patch)
treed1ca370b9087a47b51d55cbf535cbaa2288d5432
parentdec783f73679f4fa09eeee7d86f80f30b842339e (diff)
downloadandroid_device_qcom_sepolicy-84249b6bdd1066c09e4367308c9539c1dd6a17df.tar.gz
android_device_qcom_sepolicy-84249b6bdd1066c09e4367308c9539c1dd6a17df.tar.bz2
android_device_qcom_sepolicy-84249b6bdd1066c09e4367308c9539c1dd6a17df.zip
sepolicy: allow location daemons to create directory
Add directory creating permissions to location daemons Change-Id: Iabd866ea1dfcea8bf2ebf9c79360d493b409c8ae CRs-fixed: 841091
-rw-r--r--common/location.te2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/location.te b/common/location.te
index 805130c3..7763e7f1 100644
--- a/common/location.te
+++ b/common/location.te
@@ -13,7 +13,7 @@ qmux_socket(location)
binder_use(location)
binder_call(location, system_server)
-allow location location_data_file:dir rw_dir_perms;
+allow location location_data_file:dir create_dir_perms;
allow location location_data_file:{ file fifo_file } create_file_perms;
allow location location_data_file:sock_file write;
allow location location_exec:file x_file_perms;