blob: a54591d86ecfc79e316db45540ea92d661011f12 [file] [log] [blame]
dcashmancc39f632016-07-22 13:13:11 -07001# type_transition must be private policy the domain_trans rules could stay
2# public, but conceptually should go with this
3init_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
8# TODO: deal with tmpfs_domain pub/priv split properly
9allow dumpstate dumpstate_tmpfs:file execute;
10
11# systrace support - allow atrace to run
12allow dumpstate debugfs_tracing:dir r_dir_perms;
13allow dumpstate debugfs_tracing:file rw_file_perms;
14allow dumpstate debugfs_trace_marker:file getattr;
15allow dumpstate atrace_exec:file rx_file_perms;