platform_system_sepolicy/prebuilts/api/33.0/private/mm_events.te
Yurii Zubrytskyi f9a00364c8 platform/system/sepolicy - SEPolicy Prebuilts for Tiramisu
Bug: 225745567
Test: Build
Change-Id: I49fb91c7a60fb1e871bdf3553d978bb16c476fd7
Merged-In: I49fb91c7a60fb1e871bdf3553d978bb16c476fd7
2022-04-29 07:34:35 +00:00

14 lines
420 B
Text

type mm_events, domain, coredomain;
type mm_events_exec, system_file_type, exec_type, file_type;
init_daemon_domain(mm_events)
allow mm_events shell_exec:file rx_file_perms;
# Allow running the sleep command to rate limit attempts
# to arm mm_events on failure.
allow mm_events toolbox_exec:file rx_file_perms;
allow mm_events perfetto_exec:file rx_file_perms;
domain_auto_trans(mm_events, perfetto_exec, perfetto)