[ALPS04726173] Add AB partition some partition RW permission
[Solution] add device/mediatek/sepolicy/basic/non_plat/fastbootd.te MTK-Commit-Id: 5529b3e558d2809977f66e3a37a43c72ad948280 Change-Id: Ie24496994f4a025850b4020066a62f13c1383f1f CR-Id: ALPS04726173 Feature: [Android Default] Fastboot
This commit is contained in:
parent
aecfc15854
commit
38b4858be6
18
non_plat/fastbootd.te
Normal file
18
non_plat/fastbootd.te
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# fastbootd (used in recovery init.rc for /sbin/fastbootd)
|
||||||
|
|
||||||
|
|
||||||
|
allow fastbootd {
|
||||||
|
cache_block_device
|
||||||
|
logo_block_device
|
||||||
|
para_block_device
|
||||||
|
}:blk_file { rw_file_perms };
|
||||||
|
|
||||||
|
allowxperm fastbootd {
|
||||||
|
cache_block_device
|
||||||
|
logo_block_device
|
||||||
|
para_block_device
|
||||||
|
}:blk_file ioctl {
|
||||||
|
BLKSECDISCARD
|
||||||
|
BLKDISCARD
|
||||||
|
};
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user