summaryrefslogtreecommitdiffstats
path: root/msm8953/mm-qcamerad.te
diff options
context:
space:
mode:
authorSrinivasa Rao Kuppla <srkupp@codeaurora.org>2017-06-19 11:34:12 -0700
committerSrinivasa Rao Kuppala <srkupp@codeaurora.org>2018-02-21 15:42:29 +0530
commit6104922f3fbbaf512cee125a36007db47d7761e5 (patch)
tree2c6cce280eff571b91461e9d8e2343d15c674cc2 /msm8953/mm-qcamerad.te
parent8f869565638e875bc1cc50ce0cc74cbed6997a3d (diff)
downloadandroid_device_qcom_sepolicy-6104922f3fbbaf512cee125a36007db47d7761e5.tar.gz
android_device_qcom_sepolicy-6104922f3fbbaf512cee125a36007db47d7761e5.tar.bz2
android_device_qcom_sepolicy-6104922f3fbbaf512cee125a36007db47d7761e5.zip
sepolicy: Bootup denials on msm8953 and sdm450
Addressing sepolicy boot up denials on msm8953 and sdm450 Change-Id: I3af7e38bbfac80712ce650ebc7122725ab29f806
Diffstat (limited to 'msm8953/mm-qcamerad.te')
-rw-r--r--msm8953/mm-qcamerad.te30
1 files changed, 30 insertions, 0 deletions
diff --git a/msm8953/mm-qcamerad.te b/msm8953/mm-qcamerad.te
new file mode 100644
index 00000000..5ed285a5
--- /dev/null
+++ b/msm8953/mm-qcamerad.te
@@ -0,0 +1,30 @@
+# Copyright (c) 2018, 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.
+
+#for v4L node "name" access
+allow mm-qcamerad sysfs_graphics:file r_file_perms;
+allow mm-qcamerad sysfs_video4linux_device:file rw_file_perms;