sepolicy: Adding vbmeta and dtbo dev/block path

Change required for A/B, DAP build.

Change-Id: I43d91e029935f347ebd9cc00fd129dbc810c94a7
This commit is contained in:
Rajshekar Eashwarappa 2021-02-22 14:29:20 +05:30 committed by Gerrit - the friendly Code Review server
parent e373d6be26
commit 39c3a61ec2
2 changed files with 6 additions and 0 deletions

View file

@ -28,6 +28,7 @@
###################################
# Primary storage device nodes
#
/dev/mmcblk0rpmb u:object_r:rpmb_device:s0
/dev/block/mmcblk0 u:object_r:root_block_device:s0
/dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0
@ -82,6 +83,7 @@
/dev/block/platform/soc/7824900.sdhci/by-name/keymaster_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/modem_[ab] u:object_r:modem_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/dsp_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/dtbo_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/pmic_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/rpm_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/system_[ab] u:object_r:system_block_device:s0
@ -90,4 +92,5 @@
/dev/block/platform/soc/7824900.sdhci/by-name/vendor_[ab] u:object_r:system_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/sbl1_[ab] u:object_r:xbl_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/recovery_[ab] u:object_r:recovery_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/vbmeta_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/vbmeta_system_[ab] u:object_r:custom_ab_block_device:s0

View file

@ -28,6 +28,7 @@
###################################
# Primary storage device nodes
#
/dev/mmcblk0rpmb u:object_r:rpmb_device:s0
/dev/block/mmcblk0 u:object_r:root_block_device:s0
/dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0
@ -74,6 +75,7 @@
/dev/block/platform/soc/7824900.sdhci/by-name/keymaster_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/modem_[ab] u:object_r:modem_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/dsp_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/dtbo_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/pmic_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/rpm_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/system_[ab] u:object_r:system_block_device:s0
@ -82,4 +84,5 @@
/dev/block/platform/soc/7824900.sdhci/by-name/vendor_[ab] u:object_r:system_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/sbl1_[ab] u:object_r:xbl_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/recovery_[ab] u:object_r:recovery_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/vbmeta_[ab] u:object_r:custom_ab_block_device:s0
/dev/block/platform/soc/7824900.sdhci/by-name/vbmeta_system_[ab] u:object_r:custom_ab_block_device:s0