blob: fbd9676a733c74b6ae39c225bca0f370330c7c80 [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
Yifan Hong19a87732017-05-08 14:38:45 -070010# read config.gz for CTS purposes
11allow shell config_gz:file r_file_perms;
12
Carmen Jackson25788df2017-04-14 12:12:50 -070013userdebug_or_eng(`
14 allow shell tracing_shell_writable_debug:file rw_file_perms;
15')
16
dcashman3e8dbf02016-12-08 11:23:34 -080017# Run app_process.
18# XXX Transition into its own domain?
19app_domain(shell)
Jin Qiana239f302017-03-23 12:28:20 -070020
21# allow shell to call dumpsys storaged
22binder_call(shell, storaged)