diff --git a/non_plat/aee_aedv.te b/non_plat/aee_aedv.te index f2b24b6..5998134 100644 --- a/non_plat/aee_aedv.te +++ b/non_plat/aee_aedv.te @@ -165,7 +165,7 @@ allow aee_aedv proc_interrupts:file read; # avc: denied { open } for path="/sys/kernel/debug/tracing/tracing_on" dev= # "debugfs" ino=2087 scontext=u:r:dumpstate:s0 tcontext=u:object_r: # tracing_shell_writable:s0 tclass=file permissive=1 -allow aee_aedv debugfs_tracing:file { write read open }; +allow aee_aedv debugfs_tracing:file rw_file_perms; # Purpose: # 01-01 00:05:16.730 3566 3566 W dmesg : type=1400 audit(0.0:5173): avc: diff --git a/non_plat/dumpstate.te b/non_plat/dumpstate.te index 9ba9dca..a4941b6 100644 --- a/non_plat/dumpstate.te +++ b/non_plat/dumpstate.te @@ -168,3 +168,6 @@ allow dumpstate proc_last_kmsg:file r_file_perms; # Date: 19/07/15 # Purpose: Allow dumpstate to read /sys/kernel/debug/kmemleak allow dumpstate debugfs_kmemleak:file r_file_perms; + +#Purpose: Allow dumpstate to read /sys/class/misc/adsp/adsp_last_log +allow dumpstate sysfs_adsp:file r_file_perms;