diff options
author | Avijit Kanti Das <avijitnsec@codeaurora.org> | 2014-10-25 16:34:06 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-10-26 18:19:25 -0700 |
commit | c58a6f792ff101dc6b4eceb431b3641bacdf91c8 (patch) | |
tree | 33b10d27f20b54b9896f1d449506302e4cdaecb7 | |
parent | d8ab626d6443c4ad8b0d5eaad8f5f324da17e8c6 (diff) | |
download | android_device_qcom_sepolicy-c58a6f792ff101dc6b4eceb431b3641bacdf91c8.tar.gz android_device_qcom_sepolicy-c58a6f792ff101dc6b4eceb431b3641bacdf91c8.tar.bz2 android_device_qcom_sepolicy-c58a6f792ff101dc6b4eceb431b3641bacdf91c8.zip |
Seandroid: Allow mm-pp-daemon to set system.prop
Allowing mm-ppd to set system property
Change-Id: I8559aded3b70c560ff9eb531bd1762cfef90699f
-rwxr-xr-x | common/mm-pp-daemon.te | 2 | ||||
-rw-r--r-- | common/system_server.te | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/common/mm-pp-daemon.te b/common/mm-pp-daemon.te index 6c40e452..5a623349 100755 --- a/common/mm-pp-daemon.te +++ b/common/mm-pp-daemon.te @@ -14,7 +14,7 @@ allow mm-pp-daemon persist_file:dir search; # 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 49897307..8967e3c6 100644 --- a/common/system_server.te +++ b/common/system_server.te @@ -35,6 +35,7 @@ allow system_server location_data_file:dir rw_dir_perms; 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; |