diff options
author | Michael Bestas <mkbestas@lineageos.org> | 2018-04-21 18:24:16 +0300 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2018-04-21 18:24:51 +0300 |
commit | 33cb04de188e3a3f25864dfeecc0d178be420159 (patch) | |
tree | d1512f4e9d10587740cf0eb97c6c7121678a6dd5 | |
parent | be4408870c61af148788f8c89a82023d154cb038 (diff) | |
download | android_device_qcom_sepolicy-33cb04de188e3a3f25864dfeecc0d178be420159.tar.gz android_device_qcom_sepolicy-33cb04de188e3a3f25864dfeecc0d178be420159.tar.bz2 android_device_qcom_sepolicy-33cb04de188e3a3f25864dfeecc0d178be420159.zip |
sepolicy: Remove leftover folders
msmpeafowl: sdm670
msmskunk: sdm845
Change-Id: I1c71c14af53123cc7852cd7948ee66575323d239
-rw-r--r-- | msmpeafowl/bootanim.te | 31 | ||||
-rw-r--r-- | msmpeafowl/device.te | 26 | ||||
-rw-r--r-- | msmpeafowl/file_contexts | 146 | ||||
-rw-r--r-- | msmpeafowl/init-qti-fbe-sh.te | 36 | ||||
-rw-r--r-- | msmpeafowl/init_shell.te | 29 | ||||
-rw-r--r-- | msmpeafowl/mediaserver.te | 28 | ||||
-rw-r--r-- | msmpeafowl/property.te | 29 | ||||
-rw-r--r-- | msmpeafowl/property_contexts | 28 | ||||
-rw-r--r-- | msmpeafowl/update_engine_common.te | 36 | ||||
-rw-r--r-- | msmpeafowl/wfdservice.te | 30 | ||||
-rw-r--r-- | msmskunk/device.te | 35 | ||||
-rw-r--r-- | msmskunk/file_contexts | 80 | ||||
-rw-r--r-- | msmskunk/hal_bootctl.te | 54 | ||||
-rw-r--r-- | msmskunk/update_engine_common.te | 36 |
14 files changed, 0 insertions, 624 deletions
diff --git a/msmpeafowl/bootanim.te b/msmpeafowl/bootanim.te deleted file mode 100644 index a617d241..00000000 --- a/msmpeafowl/bootanim.te +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (c) 2017, 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 regionalization -allow bootanim persist_file:dir r_dir_perms; -allow bootanim regionalization_file:dir r_dir_perms; -allow bootanim regionalization_file:file r_file_perms; diff --git a/msmpeafowl/device.te b/msmpeafowl/device.te deleted file mode 100644 index 647d2261..00000000 --- a/msmpeafowl/device.te +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (c) 2016-2017, 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. diff --git a/msmpeafowl/file_contexts b/msmpeafowl/file_contexts deleted file mode 100644 index ef87ddec..00000000 --- a/msmpeafowl/file_contexts +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright (c) 2016-2017, 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. -################################### -# Dev block nodes - -# UFS Devices -/dev/block/platform/soc/1d84000.ufshc/by-name/system u:object_r:system_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/userdata u:object_r:userdata_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/boot u:object_r:boot_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/logdump u:object_r:logdump_partition:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/fsc u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/fsg u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/modemst1 u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/modemst2 u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/ssd u:object_r:ssd_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/misc u:object_r:misc_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/rpm u:object_r:rpmb_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/msadp u:object_r:mba_debug_dev:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/recovery u:object_r:recovery_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/cache u:object_r:cache_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/frp u:object_r:frp_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/mdtp u:object_r:mdtp_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/dip u:object_r:dip_device:s0 - -#rawdump partition -/dev/block/platform/soc/1d84000.ufshc/by-name/rawdump u:object_r:rawdump_block_device:s0 - -# A/B partitions. -/dev/block/platform/soc/1d84000.ufshc/by-name/abl_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/apdp_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/boot_[ab] u:object_r:boot_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/cmnlib_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/cmnlib64_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/devcfg_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/hyp_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/keymaster_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/modem_[ab] u:object_r:modem_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/bluetooth_[ab] u:object_r:modem_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/msadp_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/pmic_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/rpm_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/system_[ab] u:object_r:system_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/tz_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/vendor_[ab] u:object_r:system_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/xbl_[ab] u:object_r:xbl_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/aop_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/vbmeta_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/dtbo_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/dsp_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/mdtp_[ab] u:object_r:mdtp_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/mdtpsecapp_[ab] u:object_r:mdtp_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/qupfw_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc/by-name/xbl_config_[ab] u:object_r:custom_ab_block_device:s0 - -#for eMMC -# A/B partitions. -/dev/block/platform/soc/7c4000.sdhci/by-name/abl_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/apdp_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/boot_[ab] u:object_r:boot_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/cmnlib_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/cmnlib64_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/devcfg_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/hyp_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/keymaster_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/modem_[ab] u:object_r:modem_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/bluetooth_[ab] u:object_r:modem_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/msadp_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/pmic_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/rpm_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/system_[ab] u:object_r:system_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/tz_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/vendor_[ab] u:object_r:system_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/xbl_[ab] u:object_r:xbl_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/aop_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/vbmeta_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/dtbo_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/dsp_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/mdtp_[ab] u:object_r:mdtp_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/mdtpsecapp_[ab] u:object_r:mdtp_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/qupfw_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/xbl_config_[ab] u:object_r:custom_ab_block_device:s0 - -#non A/B -/dev/block/platform/soc/7c4000.sdhci/by-name/system u:object_r:system_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/userdata u:object_r:userdata_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/boot u:object_r:boot_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/logdump u:object_r:logdump_partition:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/fsc u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/fsg u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/modemst1 u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/modemst2 u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/ssd u:object_r:ssd_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/misc u:object_r:misc_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/rpm u:object_r:rpmb_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/msadp u:object_r:mba_debug_dev:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/recovery u:object_r:recovery_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/cache u:object_r:cache_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/frp u:object_r:frp_block_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/mdtp u:object_r:mdtp_device:s0 -/dev/block/platform/soc/7c4000.sdhci/by-name/dip u:object_r:dip_device:s0 - -#rawdump partition -/dev/block/platform/soc/7c4000.sdhci/by-name/rawdump u:object_r:rawdump_block_device:s0 - -# Block device holding the GPT, where the A/B attributes are stored. -/dev/block/platform/soc/1d84000.ufshc/sd[ade] u:object_r:gpt_block_device:s0 - -# Block devices for the drive that holds the xbl_a and xbl_b partitions. -/dev/block/platform/soc/1d84000.ufshc/sd[bc] u:object_r:xbl_block_device:s0 - -################################## -# non-hlos mount points -/firmware u:object_r:firmware_file:s0 -/bt_firmware u:object_r:bt_firmware_file:s0 - -# FBE -/(vendor|system/vendor)/bin/init.qti.qseecomd.sh u:object_r:init-qti-fbe-sh_exec:s0 - -################################## -# same process HAL libs -/(vendor|system/vendor)/lib(64)?/hw/gralloc\.msmpeafowl\.so u:object_r:same_process_hal_file:s0 -/(vendor|system/vendor)/lib(64)?/hw/vulkan\.msmpeafowl\.so u:object_r:same_process_hal_file:s0 diff --git a/msmpeafowl/init-qti-fbe-sh.te b/msmpeafowl/init-qti-fbe-sh.te deleted file mode 100644 index d71511cb..00000000 --- a/msmpeafowl/init-qti-fbe-sh.te +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright (c) 2017, 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. - -type init-qti-fbe-sh, domain; -type init-qti-fbe-sh_exec, exec_type, file_type, vendor_file_type; - -init_daemon_domain(init-qti-fbe-sh) - -not_full_treble(`allow init-qti-fbe-sh shell_exec:file rx_file_perms;') - -# execute toybox/toolbox -not_full_treble(`allow init-qti-fbe-sh toolbox_exec:file rx_file_perms;') diff --git a/msmpeafowl/init_shell.te b/msmpeafowl/init_shell.te deleted file mode 100644 index 42d6007a..00000000 --- a/msmpeafowl/init_shell.te +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) 2017, 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. - -# media_sdm670_version_prop - to choose target version specific media_codecs.xml -set_prop(qti_init_shell, media_sdm670_version_prop) diff --git a/msmpeafowl/mediaserver.te b/msmpeafowl/mediaserver.te deleted file mode 100644 index dfebae9f..00000000 --- a/msmpeafowl/mediaserver.te +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (c) 2017, 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 mediaserver media_sdm670_version_prop:file r_file_perms; diff --git a/msmpeafowl/property.te b/msmpeafowl/property.te deleted file mode 100644 index 948eeb8f..00000000 --- a/msmpeafowl/property.te +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (c) 2017, 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. - -#properites for init.qcom.sh script -type media_sdm670_version_prop, property_type; diff --git a/msmpeafowl/property_contexts b/msmpeafowl/property_contexts deleted file mode 100644 index 3797b4d2..00000000 --- a/msmpeafowl/property_contexts +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (c) 2017, 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. - -media.sdm670.version u:object_r:media_sdm670_version_prop:s0 diff --git a/msmpeafowl/update_engine_common.te b/msmpeafowl/update_engine_common.te deleted file mode 100644 index 75f67679..00000000 --- a/msmpeafowl/update_engine_common.te +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright (c) 2017, 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 update_engine and update_engine_sideload (recovery) read/write on the -# device-specific partitions it should update. -allow update_engine_common { - custom_ab_block_device - xbl_block_device - ssd_device - modem_block_device -}:blk_file rw_file_perms; - diff --git a/msmpeafowl/wfdservice.te b/msmpeafowl/wfdservice.te deleted file mode 100644 index bc7dfce7..00000000 --- a/msmpeafowl/wfdservice.te +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) 2017, 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 access to read property file -get_prop(wfdservice,media_sdm670_version_prop) diff --git a/msmskunk/device.te b/msmskunk/device.te deleted file mode 100644 index bbfe3e58..00000000 --- a/msmskunk/device.te +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (c) 2016-2017, 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. - -#Define rawdump block device -type rawdump_block_device, dev_type; - -#Block device for A/B partitions -type custom_ab_block_device, dev_type; -type xbl_block_device, dev_type; -type gpt_block_device, dev_type; -type modem_block_device, dev_type; diff --git a/msmskunk/file_contexts b/msmskunk/file_contexts deleted file mode 100644 index f88e3a1a..00000000 --- a/msmskunk/file_contexts +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright (c) 2016-2017, 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. -################################### -# Dev block nodes - -# UFS Devices -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/system u:object_r:system_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/userdata u:object_r:userdata_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/boot u:object_r:boot_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/logdump u:object_r:logdump_partition:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/fsc u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/fsg u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/modemst1 u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/modemst2 u:object_r:modem_efs_partition_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/ssd u:object_r:ssd_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/misc u:object_r:misc_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/rpm u:object_r:rpmb_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/msadp u:object_r:mba_debug_dev:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/recovery u:object_r:recovery_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/cache u:object_r:cache_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/frp u:object_r:frp_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/mdtp u:object_r:mdtp_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/dip u:object_r:dip_device:s0 - -#rawdump partition -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/rawdump u:object_r:rawdump_block_device:s0 - -# A/B partitions. -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/abl_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/apdp_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/boot_[ab] u:object_r:boot_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/cmnlib_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/cmnlib64_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/devcfg_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/hyp_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/keymaster_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/modem_[ab] u:object_r:modem_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/bluetooth_[ab] u:object_r:modem_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/msadp_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/pmic_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/rpm_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/system_[ab] u:object_r:system_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/tz_[ab] u:object_r:custom_ab_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/vendor_[ab] u:object_r:system_block_device:s0 -/dev/block/platform/soc/1d84000.ufshc_mem/by-name/xbl_[ab] u:object_r:xbl_block_device:s0 - -# Block device holding the GPT, where the A/B attributes are stored. -/dev/block/platform/soc/1d84000.ufshc_mem/sd[ade] u:object_r:gpt_block_device:s0 - -# Block devices for the drive that holds the xbl_a and xbl_b partitions. -/dev/block/platform/soc/1d84000.ufshc_mem/sd[bc] u:object_r:xbl_block_device:s0 - -################################## -# non-hlos mount points -/firmware u:object_r:firmware_file:s0 -/bt_firmware u:object_r:bt_firmware_file:s0 diff --git a/msmskunk/hal_bootctl.te b/msmskunk/hal_bootctl.te deleted file mode 100644 index 3118e884..00000000 --- a/msmskunk/hal_bootctl.te +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright (c) 2017, 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. - -# These are the permissions required to use the boot_control HAL implemented -# here: hardware/qcom/bootctrl/boot_control.c - -# Getting and setting GPT attributes for the bootloader iterates over all the -# partition names in the block_device directory /dev/block/.../by-name -allow hal_bootctl block_device:dir { open read search }; - -# Allow boot_control_hal to get attributes on all the A/B partitions. -allow hal_bootctl { - custom_ab_block_device - xbl_block_device - boot_block_device - ssd_device - modem_block_device - system_block_device -}:blk_file { getattr }; - -# Allow the boot_control_hal to edit the attributes stored in the GPT. -allow hal_bootctl gpt_block_device:blk_file rw_file_perms; - -# Allow boot_control_hal to access /dev/sgN devices (generic SCSI) to write the -# A/B slot selection for the XBL partition. Allow also to issue a -# UFS_IOCTL_QUERY ioctl. -allow hal_bootctl sg_device:chr_file rw_file_perms; - -# Allow boot_control_hal to write to the XBL devices. -allow hal_bootctl xbl_block_device:blk_file rw_file_perms; diff --git a/msmskunk/update_engine_common.te b/msmskunk/update_engine_common.te deleted file mode 100644 index 75f67679..00000000 --- a/msmskunk/update_engine_common.te +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright (c) 2017, 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 update_engine and update_engine_sideload (recovery) read/write on the -# device-specific partitions it should update. -allow update_engine_common { - custom_ab_block_device - xbl_block_device - ssd_device - modem_block_device -}:blk_file rw_file_perms; - |