summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2019-01-03 06:26:09 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2019-01-03 06:26:09 -0800
commit9c2cf858edf71fa8fc9af2f697ad8794073bb2ad (patch)
tree96c684ae2bc5a61cf1038ad54c8d70b9179b3f08
parent406b4d8d0bf09883b9e8e88690cc347bf83a5930 (diff)
parentae6af2936c6aa4e08ac90472862d0525718cf2cc (diff)
downloadandroid_device_qcom_sepolicy-9c2cf858edf71fa8fc9af2f697ad8794073bb2ad.tar.gz
android_device_qcom_sepolicy-9c2cf858edf71fa8fc9af2f697ad8794073bb2ad.tar.bz2
android_device_qcom_sepolicy-9c2cf858edf71fa8fc9af2f697ad8794073bb2ad.zip
Merge "Sepolicy: Address bootup denials for configstore"
-rw-r--r--vendor/common/hal_configstore.te31
1 files changed, 31 insertions, 0 deletions
diff --git a/vendor/common/hal_configstore.te b/vendor/common/hal_configstore.te
new file mode 100644
index 00000000..1a6c2f14
--- /dev/null
+++ b/vendor/common/hal_configstore.te
@@ -0,0 +1,31 @@
+# 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.
+
+# allow configstore client to find display config service.
+allow hal_configstore_default hal_display_config_hwservice:hwservice_manager find;
+
+binder_call(hal_configstore_default, hal_graphics_composer_default)