[ALPS04080300] Connsys log: catch log when host suspend

add permission of setprop on user load

MTK-Commit-Id: 417b98edd6ff2731c9ebc676db6877dc2c3a7225

Change-Id: I5ed35f2494298cdfc7ea36e7434cc5cbd16260fc
CR-Id: ALPS04080300
Feature: [Module]WMT Driver
Signed-off-by: Willy Yu <willy.yu@mediatek.com>
This commit is contained in:
Willy Yu 2020-01-18 10:07:02 +08:00 committed by Dennis Lin
parent 05bd363466
commit 11bf606dc5
3 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,7 @@ type proc_slogger, fs_type, proc_type;
type proc_lk_env, fs_type, proc_type;
type proc_ged, fs_type, proc_type;
type proc_perfmgr, fs_type, proc_type;
type proc_wmtdbg, fs_type, proc_type;
type proc_slabinfo, fs_type, proc_type;
type proc_zraminfo, fs_type, proc_type;
type proc_cpu_alignment, fs_type, proc_type;

View File

@ -19,6 +19,8 @@ genfscon proc /mrdump_rst u:object_r:proc_mrdump_rst:s0
genfscon proc /mtk_battery_cmd u:object_r:proc_battery_cmd:s0
genfscon proc /ged u:object_r:proc_ged:s0
genfscon proc /perfmgr u:object_r:proc_perfmgr:s0
genfscon proc /driver/wmt_dbg u:object_r:proc_wmtdbg:s0
genfscon proc /slabinfo u:object_r:proc_slabinfo:s0
genfscon proc /zraminfo u:object_r:proc_zraminfo:s0
genfscon proc /gpulog u:object_r:proc_gpulog:s0

View File

@ -130,6 +130,7 @@ allow init kernel:key search;
# Operation : boost cpu while booting
# Purpose : enhance boottime
allow init proc_perfmgr:file write;
allow init proc_wmtdbg:file write;
# Date : W18.20
# Operation : mount soc vendor's partition when booting