summaryrefslogtreecommitdiffstats
path: root/sepolicy/system_server.te
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-09-06 13:53:29 -0700
committerSteve Kondik <shade@chemlab.org>2015-09-09 11:53:23 -0700
commita385501738e6867e5329e52fef7d83208aa10d24 (patch)
tree1b8bdf9e4106cdc38b96309f9d60d223a4d480fe /sepolicy/system_server.te
parent1fd23a931010f93f045307fec88f7e21272e64a7 (diff)
downloadvendor_replicant-a385501738e6867e5329e52fef7d83208aa10d24.zip
vendor_replicant-a385501738e6867e5329e52fef7d83208aa10d24.tar.gz
vendor_replicant-a385501738e6867e5329e52fef7d83208aa10d24.tar.bz2
cm: SELinux policy for persistent properties API
* Set up persistent properties for devices with a /persist partition. Change-Id: I78974dd4e25831338462c91fc25e36e343795510
Diffstat (limited to 'sepolicy/system_server.te')
-rw-r--r--sepolicy/system_server.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te
index 4728a44..b6a65ee 100644
--- a/sepolicy/system_server.te
+++ b/sepolicy/system_server.te
@@ -1,2 +1,6 @@
allow system_server recovery_cache_file:dir rw_dir_perms;
allow system_server recovery_cache_file:file create_file_perms;
+
+# Persistent properties
+allow system_server persist_property_file:dir rw_dir_perms;
+allow system_server persist_property_file:file { create_file_perms unlink };