Merge "[ALPS04709387] Support to catch MCUPM log" into alps-trunk-q0.basic
Change-Id: I9d160429e50304a82ec83b4c7133126d52ea8eb4 MTK-Commit-Id: 4b4e661646a1ff87863669fd53af94707835bc3c
This commit is contained in:
commit
753142662c
@ -18,3 +18,5 @@ type access_sys_file, fs_type, sysfs_type;
|
|||||||
type mddb_filter_data_file, file_type, data_file_type, core_data_file_type;
|
type mddb_filter_data_file, file_type, data_file_type, core_data_file_type;
|
||||||
|
|
||||||
type debuglog_data_file, file_type, data_file_type, core_data_file_type;
|
type debuglog_data_file, file_type, data_file_type, core_data_file_type;
|
||||||
|
|
||||||
|
type sysfs_mcupm, fs_type, sysfs_type;
|
@ -45,3 +45,4 @@
|
|||||||
/dev/ubi[_0-9]* u:object_r:mtd_device:s0
|
/dev/ubi[_0-9]* u:object_r:mtd_device:s0
|
||||||
/dev/block/mtd(.*)? u:object_r:mtd_device:s0
|
/dev/block/mtd(.*)? u:object_r:mtd_device:s0
|
||||||
/dev/block/mntlblk(.*)? u:object_r:mtd_device:s0
|
/dev/block/mntlblk(.*)? u:object_r:mtd_device:s0
|
||||||
|
/dev/mcupm(/.*)? u:object_r:mcupm_device:s0
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
genfscon sysfs /devices/platform/vibrator@0/leds/vibrator u:object_r:sysfs_vibrator:s0
|
genfscon sysfs /devices/platform/vibrator@0/leds/vibrator u:object_r:sysfs_vibrator:s0
|
||||||
|
|
||||||
genfscon sysfs /block/mmcblk0rpmb/size u:object_r:access_sys_file:s0
|
genfscon sysfs /block/mmcblk0rpmb/size u:object_r:access_sys_file:s0
|
||||||
|
genfscon sysfs /devices/virtual/misc/mcupm u:object_r:sysfs_mcupm:s0
|
||||||
|
@ -81,3 +81,8 @@ allow mobile_log_d debuglog_data_file:dir {relabelto create_dir_perms};
|
|||||||
allow mobile_log_d debuglog_data_file:file create_file_perms;
|
allow mobile_log_d debuglog_data_file:file create_file_perms;
|
||||||
allow mobile_log_d system_data_file:dir create_dir_perms;
|
allow mobile_log_d system_data_file:dir create_dir_perms;
|
||||||
file_type_auto_trans(mobile_log_d, system_data_file, debuglog_data_file)
|
file_type_auto_trans(mobile_log_d, system_data_file, debuglog_data_file)
|
||||||
|
|
||||||
|
#mcupm
|
||||||
|
allow mobile_log_d mcupm_device:chr_file r_file_perms;
|
||||||
|
allow mobile_log_d sysfs_mcupm:file w_file_perms;
|
||||||
|
allow mobile_log_d sysfs_mcupm:dir search;
|
||||||
|
@ -3,3 +3,4 @@
|
|||||||
# ==============================================
|
# ==============================================
|
||||||
|
|
||||||
type mtd_device, dev_type;
|
type mtd_device, dev_type;
|
||||||
|
type mcupm_device, dev_type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user