Lines Matching refs:shell
1 typeattribute shell coredomain;
3 # allow shell input injection
4 allow shell uhid_device:chr_file rw_file_perms;
7 allow shell debugfs_tracing_debug:dir r_dir_perms;
8 allow shell debugfs_tracing:dir r_dir_perms;
9 allow shell debugfs_tracing:file rw_file_perms;
10 allow shell debugfs_trace_marker:file getattr;
11 allow shell atrace_exec:file rx_file_perms;
14 allow shell debugfs_tracing_debug:file rw_file_perms;
18 allow shell config_gz:file r_file_perms;
22 app_domain(shell)
24 # allow shell to call dumpsys storaged
25 binder_call(shell, storaged)
28 selinux_check_access(shell)
29 selinux_check_context(shell)
33 unix_socket_connect(shell, traced_consumer, traced)
35 # Allow shell binaries to write trace data to Perfetto. Used for testing and
37 allow shell traced:fd use;
38 allow shell traced_tmpfs:file { read write getattr map };
39 unix_socket_connect(shell, traced_producer, traced)
41 domain_auto_trans(shell, vendor_shell_exec, vendor_shell)
43 # Allow shell binaries to exec the perfetto cmdline util and have that
46 domain_auto_trans(shell, perfetto_exec, perfetto)
48 # Allow shell to run adb shell cmd stats commands. Needed for CTS.
49 binder_call(shell, statsd);
51 # Allow shell to read and unlink traces stored in /data/misc/perfetto-traces.
52 allow shell perfetto_traces_data_file:dir rw_dir_perms;
53 allow shell perfetto_traces_data_file:file r_file_perms;