From eac861613e2116eb13538a0f070579410bd27584 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Tue, 9 Aug 2016 00:06:35 -0700 Subject: [PATCH] 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 --- sepolicy/livedisplay.te | 4 ---- sepolicy/qcom/livedisplay.te | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 sepolicy/qcom/livedisplay.te diff --git a/sepolicy/livedisplay.te b/sepolicy/livedisplay.te index 783edbfb..a260e079 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 00000000..ae7b1950 --- /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;