summaryrefslogtreecommitdiffstats
path: root/r_non_plat/mmc_ffu.te
diff options
context:
space:
mode:
Diffstat (limited to 'r_non_plat/mmc_ffu.te')
-rw-r--r--r_non_plat/mmc_ffu.te21
1 files changed, 0 insertions, 21 deletions
diff --git a/r_non_plat/mmc_ffu.te b/r_non_plat/mmc_ffu.te
deleted file mode 100644
index 1206991..0000000
--- a/r_non_plat/mmc_ffu.te
+++ /dev/null
@@ -1,21 +0,0 @@
-# ==============================================
-# Policy File of /system/bin/mmc_ffu Executable File
-
-# ==============================================
-# Type Declaration
-# ==============================================
-type mmc_ffu, domain;
-type mmc_ffu_exec, exec_type, file_type, vendor_file_type;
-
-# ==============================================
-# MTK Policy Rule
-# ==============================================
-init_daemon_domain(mmc_ffu)
-# Purpose: For seek file size
-allow mmc_ffu block_device:dir r_dir_perms;
-
-# Purpose: ioctl to /dev/misc-sd and for obtaining emmc vendor id and firmware revision
-allow mmc_ffu misc_sd_device:chr_file r_file_perms;
-
-#Purpose: Write eMMC firmware data to /dev/block/mmcblk0 for upgrade firmware
-allow mmc_ffu bootdevice_block_device:blk_file rw_file_perms;