diff --git a/sepolicy/ccci_mdinit.te b/sepolicy/ccci_mdinit.te index b006740..52c951a 100644 --- a/sepolicy/ccci_mdinit.te +++ b/sepolicy/ccci_mdinit.te @@ -23,8 +23,5 @@ set_prop(ccci_mdinit, ctl_rildaemon_prop) set_prop(ccci_mdinit, radio_prop) set_prop(ccci_mdinit, ril_mux_report_case_prop) -allow ccci_mdinit mdlog_data_file:file r_file_perms; -allow ccci_mdinit mdlog_data_file:dir r_dir_perms; - # boot_mode allow ccci_mdinit sysfs_boot_mode:file r_file_perms; diff --git a/sepolicy/device.te b/sepolicy/device.te index 0b9f58d..68a102c 100644 --- a/sepolicy/device.te +++ b/sepolicy/device.te @@ -7,7 +7,6 @@ type hwmsensor_device, dev_type; type wmtWifi_device, dev_type; type wmtdetect_device, dev_type; type gsm0710muxd_device, dev_type; -type mdlog_device, dev_type; type pmic_adc_device, dev_type; # Sensors diff --git a/sepolicy/file.te b/sepolicy/file.te index 6a77a27..1e14d5d 100644 --- a/sepolicy/file.te +++ b/sepolicy/file.te @@ -7,7 +7,6 @@ type agpsd_data_file, file_type, data_file_type; type mnld_data_file, file_type, data_file_type; type ccci_cfg_file, file_type, data_file_type; type logmisc_data_file, file_type, data_file_type; -type mdlog_data_file, file_type, data_file_type; type thermal_manager_data_file, file_type, data_file_type; type sysfs_gps_file, fs_type, sysfs_type; diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 4fac7af..690f4f0 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -67,7 +67,6 @@ /dev/stpwmt(/.*)? u:object_r:stpwmt_device:s0 /dev/wmtdetect u:object_r:wmtdetect_device:s0 /dev/ttyC0 u:object_r:gsm0710muxd_device:s0 -/dev/ttyC1 u:object_r:mdlog_device:s0 /dev/radio(/.*)? u:object_r:radio_device:s0 /dev/Vcodec u:object_r:Vcodec_device:s0 /dev/M4U_device(/.*)? u:object_r:M4U_device_device:s0 @@ -135,8 +134,6 @@ /data/misc/mnl_nlp.dat u:object_r:mnld_data_file:s0 /data/misc/mblog(/.*)? u:object_r:logmisc_data_file:s0 /data/log_temp(/.*)? u:object_r:logmisc_data_file:s0 -/data/mdlog(/.*)? u:object_r:mdlog_data_file:s0 -/data/mdl(/.*)? u:object_r:mdlog_data_file:s0 /data/ccci_cfg(/.*)? u:object_r:ccci_cfg_file:s0 /data/.tp(/.*)? u:object_r:thermal_manager_data_file:s0 /data/\.tp\.settings u:object_r:thermal_manager_data_file:s0 diff --git a/sepolicy/meta_tst.te b/sepolicy/meta_tst.te index 2bfce58..7a18b90 100644 --- a/sepolicy/meta_tst.te +++ b/sepolicy/meta_tst.te @@ -5,7 +5,6 @@ init_daemon_domain(meta_tst) allow meta_tst ccci_device:chr_file rw_file_perms; allow meta_tst serial_device:chr_file rw_file_perms; -allow meta_tst mdlog_device:chr_file rw_file_perms; allow meta_tst nvdata_file:dir create_dir_perms; allow meta_tst nvdata_file:file create_file_perms; diff --git a/sepolicy/mnld.te b/sepolicy/mnld.te index b5bb201..0372b94 100644 --- a/sepolicy/mnld.te +++ b/sepolicy/mnld.te @@ -38,8 +38,6 @@ allow mnld fuse:file create_file_perms; allow mnld storage_file:dir search; allow mnld storage_file:lnk_file read; -allow mnld mdlog_device:chr_file { read write }; - allow mnld block_device:dir search; file_type_auto_trans(mnld,system_data_file,mnld_data_file);