summaryrefslogtreecommitdiff
path: root/prebuilts/api/32.0/private/asan_extract.te
diff options
context:
space:
mode:
Diffstat (limited to 'prebuilts/api/32.0/private/asan_extract.te')
-rw-r--r--prebuilts/api/32.0/private/asan_extract.te11
1 files changed, 11 insertions, 0 deletions
diff --git a/prebuilts/api/32.0/private/asan_extract.te b/prebuilts/api/32.0/private/asan_extract.te
new file mode 100644
index 000000000..69bcd5010
--- /dev/null
+++ b/prebuilts/api/32.0/private/asan_extract.te
@@ -0,0 +1,11 @@
+# type_transition must be private policy the domain_trans rules could stay
+# public, but conceptually should go with this
+# Technically not a daemon but we do want the transition from init domain to
+# asan_extract to occur.
+with_asan(`
+ typeattribute asan_extract coredomain;
+ init_daemon_domain(asan_extract)
+
+ # We need to signal a reboot when done.
+ set_prop(asan_extract, powerctl_prop)
+')