Seandroid: Allow mm-pp-daemon to set system.prop
Allowing mm-ppd to set system property
Change-Id: I8559aded3b70c560ff9eb531bd1762cfef90699f
diff --git a/common/mm-pp-daemon.te b/common/mm-pp-daemon.te
index 6c40e45..5a62334 100755
--- a/common/mm-pp-daemon.te
+++ b/common/mm-pp-daemon.te
@@ -14,7 +14,7 @@
# Allow pp daemon to save settings to /data
allow mm-pp-daemon display_config:file rw_file_perms;
-
+allow mm-pp-daemon system_prop:property_service set;
#Calibration can only be done on userdebug or eng builds
userdebug_or_eng(`
# Display calibration service opens /dev/diag in order to communicate with the
diff --git a/common/system_server.te b/common/system_server.te
index 4989730..8967e3c 100644
--- a/common/system_server.te
+++ b/common/system_server.te
@@ -35,6 +35,7 @@
allow system_server location_data_file:fifo_file create_file_perms;
allow system_server location_socket:sock_file rw_file_perms;
allow system_server location_app_data_file:dir r_dir_perms;
+allow system_server location_data_file:sock_file rw_file_perms;
#For wifistatemachine
allow system_server kernel:key search;