summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvinash Nalluri <anallu@codeaurora.org>2015-10-28 21:31:47 +0530
committerSteve Kondik <steve@cyngn.com>2016-08-05 00:19:12 -0700
commit2bf358cb5d0f6e1e83259f15d769579585651e45 (patch)
tree24908830961969e75ae3ce9ee68b07a8eea0a815
parentdc1abcd0010df8899f4237b31acd6b5cd9e84ed7 (diff)
downloadandroid_device_qcom_sepolicy-2bf358cb5d0f6e1e83259f15d769579585651e45.tar.gz
android_device_qcom_sepolicy-2bf358cb5d0f6e1e83259f15d769579585651e45.tar.bz2
android_device_qcom_sepolicy-2bf358cb5d0f6e1e83259f15d769579585651e45.zip
sepolicy: Add secontexts boot and persist.nativehmi.exit
persist.nativehmi.exit is used by the bootanimation app boot is the bin used for bootandimation Change-Id: I508ba92ad98a8575edf4cafc02566781069bd2fb
-rwxr-xr-xmsm8960/file_contexts1
-rw-r--r--msm8960/property_contexts29
2 files changed, 30 insertions, 0 deletions
diff --git a/msm8960/file_contexts b/msm8960/file_contexts
index c43f6a14..ae0f939a 100755
--- a/msm8960/file_contexts
+++ b/msm8960/file_contexts
@@ -42,6 +42,7 @@
/system/bin/qcks u:object_r:mdm_helper_exec:s0
/system/bin/efks u:object_r:mdm_helper_exec:s0
/system/bin/DR_AP_Service u:object_r:location_exec:s0
+/system/bin/boot u:object_r:bootanim_exec:s0
###################################
# Data files
diff --git a/msm8960/property_contexts b/msm8960/property_contexts
index bb3c9d52..9eb53876 100644
--- a/msm8960/property_contexts
+++ b/msm8960/property_contexts
@@ -1 +1,30 @@
+# Copyright (c) 2015, The Linux Foundation. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above
+# copyright notice, this list of conditions and the following
+# disclaimer in the documentation and/or other materials provided
+# with the distribution.
+# * Neither the name of The Linux Foundation nor the names of its
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+#This is need for the nativehmi bootanimation
ctl.thermal-engine u:object_r:ctl_thermal-engine_prop:s0
+persist.nativehmi.exit u:object_r:ctl_bootanim_prop:s0