Add the init_boot partition sepolicy
Tagging the partition as a boot_block_device so everything that had permission to read/write to the boot partition now also has permissions for this new init_boot partition. This is required for update_engine to be able to write to init_boot on builds that are enforcing sepolicy. Bug: 222052598 Test: adb shell setenforce 1 && update_device.py ota.zip Change-Id: Ic991fa314c8a6fdb848199a626852a68a57d1df5
This commit is contained in:
parent
a8c8d9f1be
commit
b3a10db9d6
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@
|
|||
/dev/block/platform/14700000\.ufs/by-name/bl2_[ab] u:object_r:custom_ab_block_device:s0
|
||||
/dev/block/platform/14700000\.ufs/by-name/bl31_[ab] u:object_r:custom_ab_block_device:s0
|
||||
/dev/block/platform/14700000\.ufs/by-name/boot_[ab] u:object_r:boot_block_device:s0
|
||||
/dev/block/platform/14700000\.ufs/by-name/init_boot_[ab] u:object_r:boot_block_device:s0
|
||||
/dev/block/platform/14700000\.ufs/by-name/devinfo u:object_r:devinfo_block_device:s0
|
||||
/dev/block/platform/14700000\.ufs/by-name/dpm_[ab] u:object_r:custom_ab_block_device:s0
|
||||
/dev/block/platform/14700000\.ufs/by-name/dram_train_[ab] u:object_r:custom_ab_block_device:s0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue