[Detail] New sepolicy path declared and also support legacy android. MTK-Commit-Id: 8982268bbef8f852c153428f1a5f83849953c7c2 Change-Id: Ic10f297a312ff2e89e44a0aa323ffa11bc78ff6e CR-Id: ALPS04767749 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
26 lines
473 B
Plaintext
26 lines
473 B
Plaintext
# fastbootd (used in recovery init.rc for /sbin/fastbootd)
|
|
|
|
|
|
allow fastbootd {
|
|
bootdevice_block_device
|
|
cache_block_device
|
|
logo_block_device
|
|
para_block_device
|
|
}:blk_file { rw_file_perms };
|
|
|
|
allow fastbootd {
|
|
sysfs_boot_type
|
|
}:file { rw_file_perms };
|
|
|
|
allowxperm fastbootd {
|
|
bootdevice_block_device
|
|
cache_block_device
|
|
logo_block_device
|
|
para_block_device
|
|
}:blk_file ioctl {
|
|
BLKSECDISCARD
|
|
BLKDISCARD
|
|
MMC_IOCTLCMD
|
|
};
|
|
|