summaryrefslogtreecommitdiffstats
path: root/sepolicy
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-08-09 00:06:35 -0700
committerSteve Kondik <steve@cyngn.com>2016-08-09 00:07:19 -0700
commiteac861613e2116eb13538a0f070579410bd27584 (patch)
tree7895f1f26dc718e12d75a77bf5c00dc2ecf9a4c1 /sepolicy
parentdfcd4726731542f663ec8bd948447d6e98be2037 (diff)
downloadvendor_replicant-eac861613e2116eb13538a0f070579410bd27584.zip
vendor_replicant-eac861613e2116eb13538a0f070579410bd27584.tar.gz
vendor_replicant-eac861613e2116eb13538a0f070579410bd27584.tar.bz2
sepolicy: Move new QCOM-specific policy to the right place
* Don't wanna break the build for anyone again :( The native stuff is very QCOM specific and won't work elsewhere. Change-Id: Id5dbba1a46dc12cbd5914cf3072ed92a72039b31
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/livedisplay.te4
-rw-r--r--sepolicy/qcom/livedisplay.te3
2 files changed, 3 insertions, 4 deletions
diff --git a/sepolicy/livedisplay.te b/sepolicy/livedisplay.te
index 783edbf..a260e07 100644
--- a/sepolicy/livedisplay.te
+++ b/sepolicy/livedisplay.te
@@ -1,6 +1,2 @@
# Various knobs used by LiveDisplay
allow system_server livedisplay_sysfs:file rw_file_perms;
-
-# Storage of default mode
-allow system_server display_misc_file:dir r_dir_perms;
-allow system_server display_misc_file:file create_file_perms;
diff --git a/sepolicy/qcom/livedisplay.te b/sepolicy/qcom/livedisplay.te
new file mode 100644
index 0000000..ae7b195
--- /dev/null
+++ b/sepolicy/qcom/livedisplay.te
@@ -0,0 +1,3 @@
+# Storage of default mode by native API
+allow system_server display_misc_file:dir r_dir_perms;
+allow system_server display_misc_file:file create_file_perms;