1typeattribute dumpstate coredomain;
2typeattribute dumpstate domain_deprecated;
3
4init_daemon_domain(dumpstate)
5
6# Execute and transition to the vdc domain
7domain_auto_trans(dumpstate, vdc_exec, vdc)
8
9# Acquire advisory lock on /system/etc/xtables.lock from ip[6]tables
10allow dumpstate system_file:file lock;
11
12# TODO: deal with tmpfs_domain pub/priv split properly
13allow dumpstate dumpstate_tmpfs:file execute;
14
15# systrace support - allow atrace to run
16allow dumpstate debugfs_tracing:dir r_dir_perms;
17allow dumpstate debugfs_tracing:file rw_file_perms;
18allow dumpstate debugfs_trace_marker:file getattr;
19allow dumpstate atrace_exec:file rx_file_perms;
20allow dumpstate storaged_exec:file rx_file_perms;
21
22# Allow dumpstate to make binder calls to storaged service
23binder_call(dumpstate, storaged)
24
25# Collect metrics on boot time created by init
26get_prop(dumpstate, boottime_prop)
27