blob: c0b4ee5a7b005bfb46667b446cd5c6cf5501da54 [file] [log] [blame]
Alex Klyubinf5446eb2017-03-23 14:27:32 -07001typeattribute shell coredomain;
2
dcashman2e00e632016-10-12 14:58:09 -07003# systrace support - allow atrace to run
4allow shell debugfs_tracing:dir r_dir_perms;
Nick Kralevich4cae28d2017-02-11 22:01:58 -08005allow shell debugfs_tracing:file r_file_perms;
6allow shell tracing_shell_writable:file rw_file_perms;
dcashman2e00e632016-10-12 14:58:09 -07007allow shell debugfs_trace_marker:file getattr;
8allow shell atrace_exec:file rx_file_perms;
9
Carmen Jackson25788df2017-04-14 12:12:50 -070010userdebug_or_eng(`
11 allow shell tracing_shell_writable_debug:file rw_file_perms;
12')
13
dcashman3e8dbf02016-12-08 11:23:34 -080014# Run app_process.
15# XXX Transition into its own domain?
16app_domain(shell)
Jin Qiana239f302017-03-23 12:28:20 -070017
18# allow shell to call dumpsys storaged
19binder_call(shell, storaged)