[ALPS04153997] get modem dump info
change device node to get modem dump info add permission to read mddb MTK-Commit-Id: 461f3252135aa29a2bf88c43ddf23eea7c235f10 Change-Id: Id8da2ece58aad29d1ed66ecbc34a6a9f96634b55 CR-Id: ALPS04153997 Feature: Modem Log Tool
This commit is contained in:
parent
ae82eac4a3
commit
20d2ca6bd9
@ -61,6 +61,9 @@ allow emdlogger sysfs_boot_mode:file { read open };
|
|||||||
allow emdlogger sysfs_ccci:dir search;
|
allow emdlogger sysfs_ccci:dir search;
|
||||||
allow emdlogger sysfs_ccci:file r_file_perms;
|
allow emdlogger sysfs_ccci:file r_file_perms;
|
||||||
|
|
||||||
|
allow emdlogger sysfs_mdinfo:file r_file_perms;
|
||||||
|
allow emdlogger sysfs_mdinfo:dir search;
|
||||||
|
|
||||||
# Allow read avc: denied { read } for name="mddb" dev="mmcblk0p25" ino=681
|
# Allow read avc: denied { read } for name="mddb" dev="mmcblk0p25" ino=681
|
||||||
# scontext=u:r:emdlogger:s0 tcontext=u:object_r:system_file:s0 tclass=dir permissive=0
|
# scontext=u:r:emdlogger:s0 tcontext=u:object_r:system_file:s0 tclass=dir permissive=0
|
||||||
allow emdlogger system_file:dir read;
|
allow emdlogger system_file:dir read;
|
||||||
|
@ -74,6 +74,7 @@ type proc_cmdq_debug, fs_type, proc_type;
|
|||||||
type sysfs_therm, fs_type, sysfs_type;
|
type sysfs_therm, fs_type, sysfs_type;
|
||||||
type sysfs_fps, fs_type, sysfs_type;
|
type sysfs_fps, fs_type, sysfs_type;
|
||||||
type sysfs_ccci, fs_type, sysfs_type;
|
type sysfs_ccci, fs_type, sysfs_type;
|
||||||
|
type sysfs_mdinfo, fs_type,sysfs_type;
|
||||||
type sysfs_ssw, fs_type,sysfs_type;
|
type sysfs_ssw, fs_type,sysfs_type;
|
||||||
type sysfs_vcorefs_pwrctrl, fs_type, sysfs_type;
|
type sysfs_vcorefs_pwrctrl, fs_type, sysfs_type;
|
||||||
type sysfs_md32, fs_type, sysfs_type;
|
type sysfs_md32, fs_type, sysfs_type;
|
||||||
|
@ -110,3 +110,8 @@ genfscon sysfs /devices/virtual/net u:object_r:sysfs_net:s0
|
|||||||
# Date : 2018/11/01
|
# Date : 2018/11/01
|
||||||
# Purpose : mtk EM c2k bypass read usb file
|
# Purpose : mtk EM c2k bypass read usb file
|
||||||
genfscon sysfs /devices/virtual/usb_rawbulk u:object_r:sys_usb_rawbulk:s0
|
genfscon sysfs /devices/virtual/usb_rawbulk u:object_r:sys_usb_rawbulk:s0
|
||||||
|
|
||||||
|
#Date : 2018/11/22
|
||||||
|
#Purpose: allow mdlogger to read mdinfo file
|
||||||
|
genfscon sysfs /kernel/md/mdee u:object_r:sysfs_mdinfo:s0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user