1type mm_events, domain, coredomain;
2type mm_events_exec, system_file_type, exec_type, file_type;
3
4init_daemon_domain(mm_events)
5
6allow mm_events shell_exec:file rx_file_perms;
7
8# Allow running the sleep command to rate limit attempts
9# to arm mm_events on failure.
10allow mm_events toolbox_exec:file rx_file_perms;
11
12allow mm_events perfetto_exec:file rx_file_perms;
13
14domain_auto_trans(mm_events, perfetto_exec, perfetto)
15