summaryrefslogtreecommitdiffstats
path: root/sepolicy/file_contexts
diff options
context:
space:
mode:
authorAndy Mast <andy@cyngn.com>2014-12-16 11:05:54 -0800
committerAndy Mast <andy@cyngn.com>2014-12-19 10:35:48 -0800
commitf27401910097d2084fafe36429f814c43841eccd (patch)
treeda819708ca89236ff74f3a251f39b7bbffffdf47 /sepolicy/file_contexts
parent96ff95e52aa597861074b2f80a00d478c240b5f0 (diff)
downloadvendor_replicant-f27401910097d2084fafe36429f814c43841eccd.zip
vendor_replicant-f27401910097d2084fafe36429f814c43841eccd.tar.gz
vendor_replicant-f27401910097d2084fafe36429f814c43841eccd.tar.bz2
selinux: New rw privileges for themes
- New theme_data_file context for files under /data/system/theme - Permit systemserver to create files/dirs under /data/resource-cache - Permit systemserver to create files/dirs under /data/system/theme Change-Id: Id597fc20b477ea395a8631623f26a7edde280799
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r--sepolicy/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index c179f1e..983f911 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -4,6 +4,9 @@
/system/bin/auditd u:object_r:logd_exec:s0
/data/misc/audit(/.*)? u:object_r:auditd_log:s0
+# Themes
+/data/system/theme(/.*)? u:object_r:theme_data_file:s0
+
/system/bin/sysinit u:object_r:sysinit_exec:s0
# For minivold in recovery