Lines Matching refs:perfetto
2 # explicitly allowlisted with a domain_auto_trans(X, perfetto_exec, perfetto).
6 type perfetto, domain, coredomain;
9 tmpfs_domain(perfetto);
12 unix_socket_connect(perfetto, traced_consumer, traced)
14 # Allow to write and unlink traces into /data/misc/perfetto-traces.
15 allow perfetto perfetto_traces_data_file:dir rw_dir_perms;
16 allow perfetto perfetto_traces_data_file:file create_file_perms;
19 binder_use(perfetto)
20 binder_call(perfetto, system_server)
21 allow perfetto dropbox_service:service_manager find;
23 # Allow statsd and shell to pipe the trace config to perfetto on stdin and to
25 allow perfetto statsd:fd use;
26 allow perfetto statsd:fifo_file { getattr read write };
27 allow perfetto shell:fd use;
28 allow perfetto shell:fifo_file { getattr read write };
31 allow perfetto adbd:fd use;
32 allow perfetto adbd:unix_stream_socket { read write };
34 # allow adbd to reap perfetto
35 allow perfetto adbd:process { sigchld };
38 allow perfetto devpts:chr_file rw_file_perms;
43 ### perfetto should NEVER do any of this
47 neverallow perfetto self:process execmem;
50 neverallow perfetto dev_type:blk_file { read write };
53 neverallow perfetto domain:process ptrace;
56 neverallow perfetto {
65 neverallow perfetto { system_data_file -perfetto_traces_data_file }:dir ~{ getattr search };
66 neverallow perfetto zoneinfo_data_file:dir ~r_dir_perms;
67 neverallow perfetto { data_file_type -zoneinfo_data_file -perfetto_traces_data_file }:lnk_file *;
68 neverallow perfetto { data_file_type -zoneinfo_data_file -perfetto_traces_data_file }:file ~write;