You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
564 B
29 lines
564 B
# 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 };
|
|
|
|
allow fastbootd self:process setfscreate;
|
|
allow fastbootd self:capability sys_rawio;
|
|
|
|
allowxperm fastbootd {
|
|
bootdevice_block_device
|
|
# cache_block_device
|
|
# logo_block_device
|
|
# para_block_device
|
|
}:blk_file ioctl {
|
|
BLKSECDISCARD
|
|
BLKDISCARD
|
|
MMC_IOCTLCMD
|
|
};
|
|
|