android_device_mt6753_common/sepolicy/mmc_ffu.te

19 lines
707 B
Plaintext
Executable File

# ==============================================
# Policy File of /system/bin/mmc_ffu Executable File
# ==============================================
# Type Declaration
# ==============================================
type mmc_ffu, domain;
type mmc_ffu_exec, exec_type, file_type;
# ==============================================
# MTK Policy Rule
# ==============================================
init_daemon_domain(mmc_ffu)
allow init mmc_ffu_exec:file execute_no_trans;
allow mmc_ffu block_device:dir search;
allow mmc_ffu misc_sd_device:chr_file { read ioctl open };
allow mmc_ffu mmcblk_device:blk_file { read write ioctl open };
allow mmc_ffu platformblk_device:blk_file { read write ioctl open };