Merge changes I4981c061,Ifc1ca446 into alps-trunk-q0.basic
* changes: [ALPS04383536] debugfs_tracing_debug allow rule [ALPS04383536] AEE: add some new rules Change-Id: I2fc6397bbdecfa58abec7702838f461560082fb7 MTK-Commit-Id: 1c3d1f9a790848826c31aef5ccfc23c410d90686
This commit is contained in:
commit
6247cd3587
@ -388,9 +388,9 @@ allow aee_aedv sysfs_vcore_debug:file r_file_perms;
|
||||
allow aee_aedv sysfs_boot_mode:file r_file_perms;
|
||||
|
||||
#Purpose: Allow aee_aedv to read/write /sys/kernel/debug/tracing/buffer_total_size_kb
|
||||
#userdebug_or_eng(`
|
||||
# allow aee_aedv debugfs_tracing_debug:file { r_file_perms write };
|
||||
#')
|
||||
userdebug_or_eng(`
|
||||
allow aee_aedv debugfs_tracing_debug:file { rw_file_perms };
|
||||
')
|
||||
|
||||
#Purpose: Allow aee_aedv to read /sys/mtk_memcfg/slabtrace
|
||||
allow aee_aedv proc_slabtrace:file r_file_perms;
|
||||
|
@ -131,3 +131,18 @@ allow dumpstate proc_cmdq_debug:file r_file_perms;
|
||||
|
||||
#Purpose: Allow dumpstate to read /proc/cpuhvfs/dbg_repo
|
||||
allow dumpstate proc_dbg_repo:file r_file_perms;
|
||||
|
||||
#Purpose: Allow dumpstate to read /proc/isp_p2/isp_p2_dump
|
||||
allow dumpstate proc_isp_p2_dump:file r_file_perms;
|
||||
|
||||
#Purpose: Allow dumpstate to read /proc/isp_p2/isp_p2_kedump
|
||||
allow dumpstate proc_isp_p2_kedump:file r_file_perms;
|
||||
|
||||
#Purpose: Allow dumpstate to read /proc/mali/memory_usage
|
||||
allow dumpstate proc_memory_usage:file r_file_perms;
|
||||
|
||||
#Purpose: Allow dumpstate to read /proc/mtk_es_reg_dump
|
||||
allow dumpstate proc_mtk_es_reg_dump:file r_file_perms;
|
||||
|
||||
#Purpose: Allow dumpstate to read /sys/power/mtkpasr/execstate
|
||||
allow dumpstate sysfs_execstate:file r_file_perms;
|
||||
|
@ -71,6 +71,11 @@ type proc_kpageflags, fs_type, proc_type;
|
||||
type proc_slabtrace, fs_type, proc_type;
|
||||
type proc_cmdq_debug, fs_type, proc_type;
|
||||
type proc_dbg_repo, fs_type, proc_type;
|
||||
type proc_isp_p2_dump, fs_type, proc_type;
|
||||
type proc_isp_p2_kedump, fs_type, proc_type;
|
||||
type proc_memory_usage, fs_type, proc_type;
|
||||
type proc_mtk_es_reg_dump, fs_type, proc_type;
|
||||
type sysfs_execstate, fs_type, sysfs_type;
|
||||
type sysfs_therm, fs_type, sysfs_type;
|
||||
type sysfs_fps, fs_type, sysfs_type;
|
||||
type sysfs_ccci, fs_type, sysfs_type;
|
||||
|
@ -628,3 +628,10 @@
|
||||
# Date: 2018/07/06
|
||||
# Purpose for same-process HAL files and their dependencies: libGLES_mali.so need libm4u.so on mali GPU.
|
||||
/vendor/lib(64)?/libm4u\.so u:object_r:same_process_hal_file:s0
|
||||
|
||||
# Purpose dump not exit file
|
||||
/proc/isp_p2/isp_p2_dump u:object_r:proc_isp_p2_dump:s0
|
||||
/proc/isp_p2/isp_p2_kedump u:object_r:proc_isp_p2_kedump:s0
|
||||
/proc/mali/memory_usage u:object_r:proc_memory_usage:s0
|
||||
/proc/mtk_es_reg_dump u:object_r:proc_mtk_es_reg_dump:s0
|
||||
/sys/power/mtkpasr/execstate u:object_r:sysfs_execstate:s0
|
||||
|
Loading…
x
Reference in New Issue
Block a user