[ALPS04682157] aee: ufs: Enable write permission for ufs_debug
Enable write permission for /proc/ufs_debug to try to catch precise UFS command history in erroneous scenes by: - Stopping UFS command history immediately just after error (e.g., NE, JE ...etc.) happens. - Re-starting UFS command history after UFS command history is dumped. MTK-Commit-Id: 59f4a6c71850d7131cf6312e802124fe68a830c6 Change-Id: I738eff0040210b4a833f15af526c68282f697d5b CR-Id: ALPS04682157 Feature: Android Exception Engine(AEE)
This commit is contained in:
parent
81bde14096
commit
1a276c5460
@ -375,6 +375,9 @@ allow aee_aedv sysfs_vibrator:dir search;
|
|||||||
# Purpose: Allow aee_aedv to read /sys/kernel/debug/rcu/rcu_callback_log
|
# Purpose: Allow aee_aedv to read /sys/kernel/debug/rcu/rcu_callback_log
|
||||||
allow aee_aedv debugfs_rcu:file r_file_perms;
|
allow aee_aedv debugfs_rcu:file r_file_perms;
|
||||||
|
|
||||||
|
# Purpose: Allow aee_aedv to read /proc/ufs_debug
|
||||||
|
allow aee_aedv proc_ufs_debug:file rw_file_perms;
|
||||||
|
|
||||||
# Purpose: Allow aee_aedv to read /proc/msdc_debug
|
# Purpose: Allow aee_aedv to read /proc/msdc_debug
|
||||||
allow aee_aedv proc_msdc_debug:file r_file_perms;
|
allow aee_aedv proc_msdc_debug:file r_file_perms;
|
||||||
|
|
||||||
|
@ -111,6 +111,9 @@ allow dumpstate sysfs_vibrator_setting:file write;
|
|||||||
# Purpose: Allow dumpstate to read /sys/kernel/debug/rcu/rcu_callback_log
|
# Purpose: Allow dumpstate to read /sys/kernel/debug/rcu/rcu_callback_log
|
||||||
allow dumpstate debugfs_rcu:file r_file_perms;
|
allow dumpstate debugfs_rcu:file r_file_perms;
|
||||||
|
|
||||||
|
# Purpose: Allow dumpstate to read /proc/ufs_debug
|
||||||
|
allow dumpstate proc_ufs_debug:file rw_file_perms;
|
||||||
|
|
||||||
# Purpose: Allow dumpstate to read /proc/msdc_debug
|
# Purpose: Allow dumpstate to read /proc/msdc_debug
|
||||||
allow dumpstate proc_msdc_debug:file r_file_perms;
|
allow dumpstate proc_msdc_debug:file r_file_perms;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user