common: sepolicy: legacy: Label persist partition for all SoCs

Change-Id: I8db3acb9a1b958ec59c7f14c6ee16ea466548cc7
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
This commit is contained in:
Michael Bestas 2019-03-03 00:59:38 +02:00 committed by Jake Weinstein
parent 2b1d3d1de6
commit 97e4802166
4 changed files with 6 additions and 4 deletions

View File

@ -49,8 +49,7 @@
/dev/block/platform/soc/7824900.sdhci/by-name/cache u:object_r:cache_block_device:s0 /dev/block/platform/soc/7824900.sdhci/by-name/cache u:object_r:cache_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/logdump u:object_r:logdump_partition:s0 /dev/block/platform/soc/7824900.sdhci/by-name/logdump u:object_r:logdump_partition:s0
/dev/block/platform/soc/7824900.sdhci/by-name/super u:object_r:super_block_device:s0 /dev/block/platform/soc/7824900.sdhci/by-name/super u:object_r:super_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/persist u:object_r:persist_block_device:s0
#rawdump partition #rawdump partition
/dev/block/platform/soc/7824900.sdhci/by-name/rawdump u:object_r:rawdump_block_device:s0 /dev/block/platform/soc/7824900.sdhci/by-name/rawdump u:object_r:rawdump_block_device:s0

View File

@ -49,6 +49,7 @@
/dev/block/platform/soc/7824900.sdhci/by-name/recovery u:object_r:recovery_block_device:s0 /dev/block/platform/soc/7824900.sdhci/by-name/recovery u:object_r:recovery_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/cache u:object_r:cache_block_device:s0 /dev/block/platform/soc/7824900.sdhci/by-name/cache u:object_r:cache_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/super u:object_r:super_block_device:s0 /dev/block/platform/soc/7824900.sdhci/by-name/super u:object_r:super_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/persist u:object_r:persist_block_device:s0
#rawdump partition #rawdump partition
/dev/block/platform/soc/7824900.sdhci/by-name/rawdump u:object_r:rawdump_block_device:s0 /dev/block/platform/soc/7824900.sdhci/by-name/rawdump u:object_r:rawdump_block_device:s0

View File

@ -49,7 +49,7 @@
/dev/block/platform/soc/c0c4000.sdhci/by-name/mdm1m9kefsc u:object_r:efs_boot_dev:s0 /dev/block/platform/soc/c0c4000.sdhci/by-name/mdm1m9kefsc u:object_r:efs_boot_dev:s0
/dev/block/platform/soc/c0c4000.sdhci/by-name/logdump u:object_r:logdump_partition:s0 /dev/block/platform/soc/c0c4000.sdhci/by-name/logdump u:object_r:logdump_partition:s0
/dev/block/platform/soc/c0c4000.sdhci/by-name/super u:object_r:super_block_device:s0 /dev/block/platform/soc/c0c4000.sdhci/by-name/super u:object_r:super_block_device:s0
/dev/block/platform/soc/c0c4000.sdhci/by-name/persist u:object_r:persist_block_device:s0
#for UFS blocks #for UFS blocks
/dev/block/platform/soc/1da4000.ufshc/by-name/fsc u:object_r:modem_efs_partition_device:s0 /dev/block/platform/soc/1da4000.ufshc/by-name/fsc u:object_r:modem_efs_partition_device:s0
@ -74,6 +74,7 @@
/dev/block/platform/soc/1da4000.ufshc/by-name/mdm1m9kefsc u:object_r:efs_boot_dev:s0 /dev/block/platform/soc/1da4000.ufshc/by-name/mdm1m9kefsc u:object_r:efs_boot_dev:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/logdump u:object_r:logdump_partition:s0 /dev/block/platform/soc/1da4000.ufshc/by-name/logdump u:object_r:logdump_partition:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/super u:object_r:super_block_device:s0 /dev/block/platform/soc/1da4000.ufshc/by-name/super u:object_r:super_block_device:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/persist u:object_r:persist_block_device:s0
#Primary storage device nodes #Primary storage device nodes
/dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0 /dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0

View File

@ -49,7 +49,7 @@
/dev/block/platform/soc/c0c4000.sdhci/by-name/mdm1m9kefsc u:object_r:efs_boot_dev:s0 /dev/block/platform/soc/c0c4000.sdhci/by-name/mdm1m9kefsc u:object_r:efs_boot_dev:s0
/dev/block/platform/soc/c0c4000.sdhci/by-name/logdump u:object_r:logdump_partition:s0 /dev/block/platform/soc/c0c4000.sdhci/by-name/logdump u:object_r:logdump_partition:s0
/dev/block/platform/soc/c0c4000.sdhci/by-name/super u:object_r:super_block_device:s0 /dev/block/platform/soc/c0c4000.sdhci/by-name/super u:object_r:super_block_device:s0
/dev/block/platform/soc/c0c4000.sdhci/by-name/persist u:object_r:persist_block_device:s0
#for UFS blocks #for UFS blocks
/dev/block/platform/soc/1da4000.ufshc/by-name/fsc u:object_r:modem_efs_partition_device:s0 /dev/block/platform/soc/1da4000.ufshc/by-name/fsc u:object_r:modem_efs_partition_device:s0
@ -74,6 +74,7 @@
/dev/block/platform/soc/1da4000.ufshc/by-name/mdm1m9kefsc u:object_r:efs_boot_dev:s0 /dev/block/platform/soc/1da4000.ufshc/by-name/mdm1m9kefsc u:object_r:efs_boot_dev:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/logdump u:object_r:logdump_partition:s0 /dev/block/platform/soc/1da4000.ufshc/by-name/logdump u:object_r:logdump_partition:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/super u:object_r:super_block_device:s0 /dev/block/platform/soc/1da4000.ufshc/by-name/super u:object_r:super_block_device:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/persist u:object_r:persist_block_device:s0
#Primary storage device nodes #Primary storage device nodes
/dev/mmcblk0rpmb u:object_r:rpmb_device:s0 /dev/mmcblk0rpmb u:object_r:rpmb_device:s0