Bharat Pawar | 327503a | 2020-05-14 12:57:48 +0530 | [diff] [blame] | 1 | # Copyright (c) 2016, The Linux Foundation. All rights reserved. |
| 2 | # |
| 3 | # Redistribution and use in source and binary forms, with or without |
| 4 | # modification, are permitted provided that the following conditions are |
| 5 | # met: |
| 6 | # * Redistributions of source code must retain the above copyright |
| 7 | # notice, this list of conditions and the following disclaimer. |
| 8 | # * Redistributions in binary form must reproduce the above |
| 9 | # copyright notice, this list of conditions and the following |
| 10 | # disclaimer in the documentation and/or other materials provided |
| 11 | # with the distribution. |
| 12 | # * Neither the name of The Linux Foundation nor the names of its |
| 13 | # contributors may be used to endorse or promote products derived |
| 14 | # from this software without specific prior written permission. |
| 15 | # |
| 16 | # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| 17 | # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 18 | # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| 19 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| 20 | # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 21 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 22 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| 23 | # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 24 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 25 | # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 26 | # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | |
| 28 | ################################### |
| 29 | # Primary storage device nodes |
| 30 | # |
Rajshekar Eashwarappa | 39c3a61 | 2021-02-22 14:29:20 +0530 | [diff] [blame] | 31 | /dev/mmcblk0rpmb u:object_r:rpmb_device:s0 |
Bharat Pawar | 327503a | 2020-05-14 12:57:48 +0530 | [diff] [blame] | 32 | /dev/block/mmcblk0 u:object_r:root_block_device:s0 |
| 33 | /dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0 |
| 34 | |
| 35 | #Using soc instead of soc.0 for 3.18 kernel |
| 36 | /dev/block/platform/soc/7824900.sdhci/by-name/fsg u:object_r:modem_efs_partition_device:s0 |
| 37 | /dev/block/platform/soc/7824900.sdhci/by-name/fsc u:object_r:modem_efs_partition_device:s0 |
| 38 | /dev/block/platform/soc/7824900.sdhci/by-name/modemst1 u:object_r:modem_efs_partition_device:s0 |
| 39 | /dev/block/platform/soc/7824900.sdhci/by-name/modemst2 u:object_r:modem_efs_partition_device:s0 |
| 40 | /dev/block/platform/soc/7824900.sdhci/by-name/ssd u:object_r:ssd_device:s0 |
| 41 | /dev/block/platform/soc/7824900.sdhci/by-name/misc u:object_r:misc_block_device:s0 |
| 42 | /dev/block/platform/soc/7824900.sdhci/by-name/system u:object_r:system_block_device:s0 |
| 43 | /dev/block/platform/soc/7824900.sdhci/by-name/userdata u:object_r:userdata_block_device:s0 |
| 44 | /dev/block/platform/soc/7824900.sdhci/by-name/dip u:object_r:dip_device:s0 |
| 45 | /dev/block/platform/soc/7824900.sdhci/by-name/mdtp u:object_r:mdtp_device:s0 |
| 46 | /dev/block/platform/soc/7824900.sdhci/by-name/config u:object_r:frp_block_device:s0 |
| 47 | /dev/block/platform/soc/7824900.sdhci/by-name/logdump u:object_r:logdump_partition:s0 |
| 48 | /dev/block/platform/soc/7824900.sdhci/by-name/boot u:object_r:boot_block_device:s0 |
| 49 | /dev/block/platform/soc/7824900.sdhci/by-name/recovery u:object_r:recovery_block_device:s0 |
| 50 | /dev/block/platform/soc/7824900.sdhci/by-name/cache u:object_r:cache_block_device:s0 |
| 51 | /dev/block/platform/soc/7824900.sdhci/by-name/super u:object_r:super_block_device:s0 |
| 52 | |
| 53 | #rawdump partition |
| 54 | /dev/block/platform/soc/7824900.sdhci/by-name/rawdump u:object_r:rawdump_block_device:s0 |
| 55 | /sys/kernel/dload/emmc_dload u:object_r:sysfs_emmc_dload:s0 |
| 56 | |
| 57 | ############################################################################################ |
| 58 | #Same hal process libs |
| 59 | # |
| 60 | /vendor/lib(64)?/hw/gralloc\.msm8953\.so u:object_r:same_process_hal_file:s0 |
| 61 | /vendor/lib(64)?/hw/vulkan\.msm8953\.so u:object_r:same_process_hal_file:s0 |
| 62 | |
Michael Bestas | 7534b93 | 2022-10-24 22:57:43 +0300 | [diff] [blame] | 63 | # MMC |
| 64 | /sys/devices/platform/soc/7824900.sdhci/mmc_host/mmc0/mmc0:0001/block/mmcblk0/queue/discard_max_bytes u:object_r:sysfs_mmc_host:s0 |
| 65 | |
Bharat Pawar | 327503a | 2020-05-14 12:57:48 +0530 | [diff] [blame] | 66 | # FBE |
| 67 | /(vendor|system/vendor)/bin/init.qti.qseecomd.sh u:object_r:init-qti-fbe-sh_exec:s0 |
| 68 | |
| 69 | ################################## |
| 70 | # A/B partitions. |
| 71 | #EMMC |
| 72 | /dev/block/platform/soc/7824900.sdhci/by-name/aboot_[ab] u:object_r:custom_ab_block_device:s0 |
| 73 | /dev/block/platform/soc/7824900.sdhci/by-name/boot_[ab] u:object_r:boot_block_device:s0 |
| 74 | /dev/block/platform/soc/7824900.sdhci/by-name/cmnlib_[ab] u:object_r:custom_ab_block_device:s0 |
| 75 | /dev/block/platform/soc/7824900.sdhci/by-name/cmnlib64_[ab] u:object_r:custom_ab_block_device:s0 |
| 76 | /dev/block/platform/soc/7824900.sdhci/by-name/devcfg_[ab] u:object_r:custom_ab_block_device:s0 |
| 77 | /dev/block/platform/soc/7824900.sdhci/by-name/mdtp_[ab] u:object_r:mdtp_device:s0 |
| 78 | /dev/block/platform/soc/7824900.sdhci/by-name/keymaster_[ab] u:object_r:custom_ab_block_device:s0 |
| 79 | /dev/block/platform/soc/7824900.sdhci/by-name/modem_[ab] u:object_r:modem_block_device:s0 |
| 80 | /dev/block/platform/soc/7824900.sdhci/by-name/dsp_[ab] u:object_r:custom_ab_block_device:s0 |
Rajshekar Eashwarappa | 39c3a61 | 2021-02-22 14:29:20 +0530 | [diff] [blame] | 81 | /dev/block/platform/soc/7824900.sdhci/by-name/dtbo_[ab] u:object_r:custom_ab_block_device:s0 |
Bharat Pawar | 327503a | 2020-05-14 12:57:48 +0530 | [diff] [blame] | 82 | /dev/block/platform/soc/7824900.sdhci/by-name/pmic_[ab] u:object_r:custom_ab_block_device:s0 |
| 83 | /dev/block/platform/soc/7824900.sdhci/by-name/rpm_[ab] u:object_r:custom_ab_block_device:s0 |
| 84 | /dev/block/platform/soc/7824900.sdhci/by-name/system_[ab] u:object_r:system_block_device:s0 |
| 85 | /dev/block/platform/soc/7824900.sdhci/by-name/tz_[ab] u:object_r:custom_ab_block_device:s0 |
| 86 | /dev/block/platform/soc/7824900.sdhci/by-name/ImageFv_[ab] u:object_r:custom_ab_block_device:s0 |
| 87 | /dev/block/platform/soc/7824900.sdhci/by-name/vendor_[ab] u:object_r:system_block_device:s0 |
| 88 | /dev/block/platform/soc/7824900.sdhci/by-name/sbl1_[ab] u:object_r:xbl_block_device:s0 |
| 89 | /dev/block/platform/soc/7824900.sdhci/by-name/recovery_[ab] u:object_r:recovery_block_device:s0 |
Rajshekar Eashwarappa | 39c3a61 | 2021-02-22 14:29:20 +0530 | [diff] [blame] | 90 | /dev/block/platform/soc/7824900.sdhci/by-name/vbmeta_[ab] u:object_r:custom_ab_block_device:s0 |
Bharat Pawar | 327503a | 2020-05-14 12:57:48 +0530 | [diff] [blame] | 91 | /dev/block/platform/soc/7824900.sdhci/by-name/vbmeta_system_[ab] u:object_r:custom_ab_block_device:s0 |
Prashantsinh Parmar | f3b9110 | 2021-12-09 17:51:02 +0530 | [diff] [blame] | 92 | /dev/block/platform/soc/7824900.sdhci/by-name/lksecapp_[ab] u:object_r:custom_ab_block_device:s0 |