aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/mmc_ffu.te
blob: 81ccb996f1762305f1b909a87532c8d9b19924b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# ==============================================
# 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 };