[ALPS04726173] enable AB partition slot

[Solution]
add sepolicy

MTK-Commit-Id: ec87109470594ffd592fd42a41c11209bdd001f6

Change-Id: Ie016e6bcd93ed4f2c5701b0ef719de8f1f394820
CR-Id: ALPS04726173
Feature: [Android Default] Fastboot
This commit is contained in:
xiao.liu 2020-01-18 10:18:42 +08:00 committed by Xiao.Liu
parent e22f81b608
commit c2e8765592

View File

@ -2,17 +2,24 @@
allow fastbootd { allow fastbootd {
bootdevice_block_device
cache_block_device cache_block_device
logo_block_device logo_block_device
para_block_device para_block_device
}:blk_file { rw_file_perms }; }:blk_file { rw_file_perms };
allow fastbootd {
sysfs_boot_type
}:file { rw_file_perms };
allowxperm fastbootd { allowxperm fastbootd {
bootdevice_block_device
cache_block_device cache_block_device
logo_block_device logo_block_device
para_block_device para_block_device
}:blk_file ioctl { }:blk_file ioctl {
BLKSECDISCARD BLKSECDISCARD
BLKDISCARD BLKDISCARD
MMC_IOCTLCMD
}; };