• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1typeattribute shell coredomain;
2
3# systrace support - allow atrace to run
4allow shell debugfs_tracing:dir r_dir_perms;
5allow shell debugfs_tracing:file r_file_perms;
6allow shell tracing_shell_writable:file rw_file_perms;
7allow shell debugfs_trace_marker:file getattr;
8allow shell atrace_exec:file rx_file_perms;
9
10# read config.gz for CTS purposes
11allow shell config_gz:file r_file_perms;
12
13userdebug_or_eng(`
14  allow shell tracing_shell_writable_debug:file rw_file_perms;
15')
16
17# Run app_process.
18# XXX Transition into its own domain?
19app_domain(shell)
20
21# allow shell to call dumpsys storaged
22binder_call(shell, storaged)
23