blob: b8f81526cddc1f713b42a4f2e83c97882c1d82dd [file] [log] [blame]
Alex Klyubinf5446eb2017-03-23 14:27:32 -07001typeattribute dumpstate coredomain;
2
dcashmancc39f632016-07-22 13:13:11 -07003init_daemon_domain(dumpstate)
4
5# Execute and transition to the vdc domain
6domain_auto_trans(dumpstate, vdc_exec, vdc)
dcashman2e00e632016-10-12 14:58:09 -07007
Joel Scherpelz5e901bb2017-04-25 11:53:51 +09008# Acquire advisory lock on /system/etc/xtables.lock from ip[6]tables
9allow dumpstate system_file:file lock;
10
dcashman2e00e632016-10-12 14:58:09 -070011# TODO: deal with tmpfs_domain pub/priv split properly
12allow dumpstate dumpstate_tmpfs:file execute;
13
14# systrace support - allow atrace to run
15allow dumpstate debugfs_tracing:dir r_dir_perms;
16allow dumpstate debugfs_tracing:file rw_file_perms;
17allow dumpstate debugfs_trace_marker:file getattr;
18allow dumpstate atrace_exec:file rx_file_perms;
ynwange68d2d22016-07-01 12:18:54 -070019allow dumpstate storaged_exec:file rx_file_perms;
20
21# Allow dumpstate to make binder calls to storaged service
22binder_call(dumpstate, storaged)
Keun-young Park43e8fae2017-03-03 13:13:25 -080023
24# Collect metrics on boot time created by init
25get_prop(dumpstate, boottime_prop)