• Home
  • Raw
  • Download

Lines Matching refs:perfetto

2 # explicitly allowlisted with a domain_auto_trans(X, perfetto_exec, perfetto).
9 tmpfs_domain(perfetto);
12 unix_socket_connect(perfetto, traced_consumer, traced)
16 perfetto_producer(perfetto)
18 # Allow to write and unlink traces into /data/misc/perfetto-traces.
19 allow perfetto perfetto_traces_data_file:dir rw_dir_perms;
20 allow perfetto perfetto_traces_data_file:file create_file_perms;
23 binder_use(perfetto)
24 binder_call(perfetto, system_server)
25 allow perfetto dropbox_service:service_manager find;
27 # Allow perfetto to read the trace config from /data/misc/perfetto-configs.
29 allow perfetto perfetto_configs_data_file:dir r_dir_perms;
30 allow perfetto perfetto_configs_data_file:file r_file_perms;
32 # Allow perfetto to read the trace config from statsd, mm_events and shell
35 allow perfetto { statsd mm_events shell su }:fd use;
36 allow perfetto { statsd mm_events shell su }:fifo_file { getattr read write };
39 allow perfetto adbd:fd use;
40 allow perfetto adbd:unix_stream_socket { read write };
42 # Allow adbd to reap perfetto.
43 allow perfetto adbd:process { sigchld };
45 # Allow perfetto to write to statsd.
46 unix_socket_send(perfetto, statsdw, statsd)
49 allow perfetto devpts:chr_file rw_file_perms;
51 # Allow perfetto to ask incidentd to start a report.
52 allow perfetto incident_service:service_manager find;
53 binder_call(perfetto, incidentd)
55 # perfetto log formatter calls isatty() on its stderr. Denial when running
57 dontaudit perfetto adbd:unix_stream_socket getattr;
58 dontauditxperm perfetto adbd:unix_stream_socket ioctl unpriv_tty_ioctls;
61 dontauditxperm perfetto su:unix_stream_socket ioctl unpriv_tty_ioctls;
63 dontauditxperm perfetto shell:fifo_file ioctl unpriv_tty_ioctls;
68 ### perfetto should NEVER do any of this
72 neverallow perfetto self:process execmem;
75 neverallow perfetto dev_type:blk_file { read write };
78 neverallow perfetto domain:process ptrace;
81 neverallow perfetto {
93 neverallow perfetto { system_data_file -perfetto_traces_data_file }:dir ~{ getattr search };
94 neverallow perfetto zoneinfo_data_file:dir ~r_dir_perms;
95 neverallow perfetto { data_file_type -zoneinfo_data_file -perfetto_traces_data_file }:lnk_file *;
96 neverallow perfetto {