diff --git a/dumpstate.te b/dumpstate.te index 633eabcb19e5aadc67a9ec678c9bb49e259cbc38..c72042b39b6ec57149ca51cae1f4b00857fb855f 100644 --- a/dumpstate.te +++ b/dumpstate.te @@ -121,3 +121,9 @@ allow dumpstate devpts:chr_file rw_file_perms; # Set properties. # dumpstate_prop is used to share state with the Shell app. set_prop(dumpstate, dumpstate_prop) + +# systrace support - allow atrace to run +allow dumpstate debugfs_tracing:dir r_dir_perms; +allow dumpstate debugfs_tracing:file rw_file_perms; +allow dumpstate debugfs_trace_marker:file getattr; +allow dumpstate atrace_exec:file rx_file_perms;