blob: 194c28d635e0537f7725ba0535c5730a7bf3b2c4 [file] [log] [blame]
# ==============================================
# Common SEPolicy Rule
# ==============================================
# fastbootd (used in recovery init.rc for /sbin/fastbootd)
allow fastbootd {
bootdevice_block_device
para_block_device
}:blk_file rw_file_perms;
allow fastbootd sysfs_boot_type:file rw_file_perms;
allow fastbootd self:process setfscreate;
allow fastbootd self:capability sys_rawio;
allowxperm fastbootd bootdevice_block_device:blk_file ioctl {
BLKSECDISCARD
BLKDISCARD
MMC_IOCTLCMD
};