diff --git a/non_plat/md_monitor.te b/non_plat/md_monitor.te deleted file mode 100644 index 3f12322..0000000 --- a/non_plat/md_monitor.te +++ /dev/null @@ -1,33 +0,0 @@ -# ============================================== -# Policy File of /system/bin/md_monitor Executable File - - -# ============================================== -# Type Declaration -# ============================================== - -typeattribute md_monitor coredomain; -typeattribute md_monitor mlstrustedsubject; - -# ============================================== -# MTK Policy Rule -# ============================================== - - -# Date : 2015/10/12 -# Operation : IT -# Purpose : Allow md_monitor to set -allow md_monitor ccci_device:chr_file rw_file_perms; -allow md_monitor sysfs_ccci:dir search; -allow md_monitor sysfs_ccci:file r_file_perms; -allow md_monitor file_contexts_file:file r_file_perms; -#allow md_monitor sysfs:file r_file_perms; - -# Date : 2017/10/16 -# Operation : IT -# Purpose : Allow md_monitor to use restore_image_from_pt() -allow md_monitor block_device:dir search; -allow md_monitor md_block_device:blk_file r_file_perms; -allow md_monitor self:capability { chown }; -allow md_monitor storage_file:dir search; -allow md_monitor tmpfs:lnk_file read; diff --git a/non_plat/system_app.te b/non_plat/system_app.te index 9eb3bc9..bb9f531 100644 --- a/non_plat/system_app.te +++ b/non_plat/system_app.te @@ -28,7 +28,6 @@ allow system_app mtk_thermal_config_prop:file { getattr open read }; # Package: CAT tool allow system_app aee_exp_data_file:file r_file_perms; allow system_app aee_exp_data_file:dir r_dir_perms; -allow system_app md_monitor:unix_stream_socket connectto; # Date: 2018/11/08 # Operation : JPEG diff --git a/plat_public/md_monitor.te b/plat_public/md_monitor.te deleted file mode 100644 index b00365e..0000000 --- a/plat_public/md_monitor.te +++ /dev/null @@ -1,13 +0,0 @@ -# ============================================== -# Policy File of /system/bin/md_monitor Executable File - - -# ============================================== -# Type Declaration -# ============================================== - -type md_monitor ,domain; - -# ============================================== -# MTK Policy Rule -# ==============================================