sepolicy: cleanup mdlog unused rules

This commit is contained in:
Mister Oyster 2017-09-10 11:57:17 +02:00
parent 471295ac08
commit 3629edfad6
6 changed files with 0 additions and 11 deletions

View File

@ -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;

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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;

View File

@ -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);