• 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 statsd and shell
30 allow perfetto { statsd shell su }:fd use;
31 allow perfetto { statsd shell su }:fifo_file { getattr read write };
34 allow perfetto adbd:fd use;
35 allow perfetto adbd:unix_stream_socket { read write };
37 # Allow adbd to reap perfetto.
38 allow perfetto adbd:process { sigchld };
40 # Allow perfetto to write to statsd.
41 unix_socket_send(perfetto, statsdw, statsd)
44 allow perfetto devpts:chr_file rw_file_perms;
46 # Allow perfetto to ask incidentd to start a report.
47 allow perfetto incident_service:service_manager find;
48 binder_call(perfetto, incidentd)
50 # perfetto log formatter calls isatty() on its stderr. Denial when running
52 dontaudit perfetto adbd:unix_stream_socket getattr;
53 dontauditxperm perfetto adbd:unix_stream_socket ioctl unpriv_tty_ioctls;
56 dontauditxperm perfetto su:unix_stream_socket ioctl unpriv_tty_ioctls;
58 dontauditxperm perfetto shell:fifo_file ioctl unpriv_tty_ioctls;
63 ### perfetto should NEVER do any of this
67 neverallow perfetto self:process execmem;
70 neverallow perfetto dev_type:blk_file { read write };
73 neverallow perfetto domain:process ptrace;
76 neverallow perfetto {
87 neverallow perfetto { system_data_file -perfetto_traces_data_file }:dir ~{ getattr search };
88 neverallow perfetto zoneinfo_data_file:dir ~r_dir_perms;
89 neverallow perfetto { data_file_type -zoneinfo_data_file -perfetto_traces_data_file }:lnk_file *;
90 neverallow perfetto {