[ALPS04840835] Remove all vendor sepolicy for fastbootd

[Solution]
1. remove sepolicy for native partition erase permission
2. remove AB partition sepolicy, leave it to Google solution

MTK-Commit-Id: 0476e00269accaf247550928cc72c010f99787c1

Change-Id: I67ab4363307a69b5a94a0242c12750bc94670344
CR-Id: ALPS04840835
Feature: [Android Default] Fastboot
This commit is contained in:
xiao.liu 2020-01-18 10:21:33 +08:00 committed by Xiao.Liu
parent 9487dd3031
commit 222d04459c

View File

@ -1,25 +1,25 @@
# fastbootd (used in recovery init.rc for /sbin/fastbootd) # fastbootd (used in recovery init.rc for /sbin/fastbootd)
allow fastbootd { #allow fastbootd {
bootdevice_block_device # 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 { #allow fastbootd {
sysfs_boot_type # sysfs_boot_type
}:file { rw_file_perms }; #}:file { rw_file_perms };
allowxperm fastbootd { #allowxperm fastbootd {
bootdevice_block_device # 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 # MMC_IOCTLCMD
}; # };