You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
877 B
26 lines
877 B
typeattribute dumpstate coredomain; |
|
typeattribute dumpstate domain_deprecated; |
|
|
|
init_daemon_domain(dumpstate) |
|
|
|
# Execute and transition to the vdc domain |
|
domain_auto_trans(dumpstate, vdc_exec, vdc) |
|
|
|
# Acquire advisory lock on /system/etc/xtables.lock from ip[6]tables |
|
allow dumpstate system_file:file lock; |
|
|
|
# TODO: deal with tmpfs_domain pub/priv split properly |
|
allow dumpstate dumpstate_tmpfs:file execute; |
|
|
|
# systrace support - allow atrace to run |
|
allow dumpstate debugfs_tracing:dir r_dir_perms; |
|
allow dumpstate debugfs_tracing:file rw_file_perms; |
|
allow dumpstate debugfs_trace_marker:file getattr; |
|
allow dumpstate atrace_exec:file rx_file_perms; |
|
allow dumpstate storaged_exec:file rx_file_perms; |
|
|
|
# Allow dumpstate to make binder calls to storaged service |
|
binder_call(dumpstate, storaged) |
|
|
|
# Collect metrics on boot time created by init |
|
get_prop(dumpstate, boottime_prop)
|
|
|